dsh-fs-reobserve:智能體自跑 shell 後刷新文件觀測,避免誤觸 FS_STALE_VERSION

DSH 的文件觀測策略只從 instrumentation 的讀寫學習版本,bash/shell 改文件不會上報 fs/observed,導致智能體下一筆 edit 誤報 FS_STALE_VERSION。dsh-fs-reobserve 在本會話 bash/shell 結束後對曾觀測路徑 re-stat 並再次發出 fs/observed,消除自傷 stale,仍保留第三方寫入的 stale 與 FS_NOT_OBSERVED。介紹安裝命令、cordis.patch.yml 配置項及排錯入口。

閱讀全文
dsh-auto-observe:讓 bash 查過的文件也能通過「先讀後改」校驗

DSH 的 fs 觀察策略只認 read/write/edit 等通道,bash 用 sed、awk、cat 看過文件不會登記,智能體常因此收到 file has not been read 拒改。dsh-auto-observe 在 edit/write intent 前補發 fs/observed,用 stat 記錄真實版本,且不削弱 FS_STALE_VERSION 與 edit 逐字匹配。安裝用倉庫 install.sh,需重啓 Harness;write 默認關。MIT,Node>=20。

閱讀全文