dsh-night-watch: A Four-Stage Closed Loop for Agent Memory, with Decision Authority Held Outside the Session

night-watch is c-dyang's DSH memory plugin: *settle* performs read-only distillation of session streams, *audit* conducts external reviews in isolated subprocesses, the ledger supports negation and fold-in, and *recall* provides hierarchical retrieval with anti-skip protection. By default it operates in read-only mode on session files, with the workspace tracking `session.header.cwd`. Configuration is centralized in `~/.night-watch/config.toml`. Installation follows SkillHub guidelines to install `c-dyang/dsh-night-watch` in Harness, with the bundle assembled via `plugin_manager install_bundle`. It is designed for long-term Agent scenarios requiring auditable, human-in-the-loop external reviews.

Read More