dsh-fs-reobserve: Agent refreshes file observations after shell execution to avoid FS_STALE_VERSION

DSH's file observation strategy only learns file versions from instrumentation reads and writes. Consequently, modifications made via bash/shell do not trigger `fs/observed` reports, leading to false `FS_STALE_VERSION` alerts on the agent's subsequent edit attempts. `dsh-fs-reobserve` resolves this self-inflicted staleness by re-statting previously observed paths and emitting new `fs/observed` events immediately after the current bash/shell session concludes. This mechanism eliminates stale states resulting from self-operations while preserving those caused by third-party writes and maintaining `FS_NOT_OBSERVED` behavior. This article covers the installation command, `cordis.patch.yml` configuration options, and troubleshooting entry points.

Read More
dsh-auto-observe: Allowing files accessed by bash to pass read-before-write checks

DSH's fs observation strategy exclusively recognizes channels like read, write, and edit. Consequently, file accesses via bash commands such as sed, awk, or cat are not logged, often causing agents to receive "file has not been read" rejections. The dsh-auto-observe tool preemptively sends fs/observed before edit/write intents, recording actual versions using stat. Crucially, it does not weaken FS_STALE_VERSION or strict edit matching. Install via the repository's install.sh; Harness restart is required. The write feature is disabled by default. MIT License, Node >= 20.

Read More