dsh-context-ledger: Preserving Retrievable Engineering Evidence When Compressing Long Sessions

dsh-context-ledger is a native context plugin (v0.1.1) for DSH 0.2.1-rc.5, maintained by dehong831-arch. It writes session events to SQLite prior to summarization by the official BasicCompactionEngine, and provides bounded retrieval through ledger_status, ledger_search, and ledger_read, enabling traceability of tool outputs and errors after compaction or restart. The article covers the compatibility scope, conflicts with billion-context, installation via npm pack, root-scope and Web preset configuration, and archive quota fields, while also cautioning about untrustworthy evidence and data security.

Read More