Almost For Ever: In-Situ Indexing and Acknowledged Writes in DSH Memory
Almost For Ever is a DSH memory plugin maintained by zwebzzz. The index is not persisted as a standalone file; instead, library names and chapter structures are derived on the fly from the memory markdown directory each round. At retrieval time, only the titles and line numbers of matched entries are injected into context, while the full body is loaded by the model via `read`, significantly reducing token overhead compared to a hand-written AGENTS.md index table. Write operations follow a propose-then-confirm flow: the model issues a `memory_propose` suggestion, which is validated via sticky-note confirmation before being written to disk. The plugin supports append, rewrite, and delete operations and explicitly rejects automatic table generation. The article walks through multi-dimensional retrieval, three-layer injection, empty-library starter templates, installation and YAML configuration, tag-comment syntax, and probe-based diagnostics, and reminds readers that the plugin accesses the memory directory with DSH process privileges—source code and the MIT license should be verified prior to installation.
Read More