dsh-needle: Identify recurring requirements from local session logs
dsh-needle is a DeepSeek Harness Host-only plugin maintained by Daphne999, categorized under Memories. It reads session logs from $DSH_HOME/sessions, decodes zstd streams frame-by-frame, and pairs tool/calls with tool/results. It sorts three types of signals—recurring tool failures, repeated requests, and user corrections—based on cross-session stability thresholds to output a product brief containing de-identified evidence, delivery format suggestions, acceptance criteria, and non-goals. The process is fully offline, does not invoke models, and has no internet connection; the sole write operations are to `latest.json` and `report.md` in the `.dsh/needle/` workspace directory. It provides three tools: `needle_scan`, `needle_brief`, and `needle_report`, and can be configured in `cordis.patch.yml` using `sessionRoot`, `hours`, `maxSessions`, and `evidenceDir`. Its distinction from tools like `agent-clinic` (health check), `dsh-soul` (experience evolution), and `dsh-daily` (market daily report) is that it focuses solely on requirement discovery and generates human-readable briefs.
Read More