bwndlct/dsh-session-audit

Session execution analytics and audit reports for DeepSeek Harness — see how your agent actually worked

Session execution audit for DeepSeek Harness: folds a single session's persisted event log into a readable audit report via one session_audit tool call — steps, tool calls, failures, duplicates, tokens, and verification commands (test/build/lint/typecheck). Deterministic signals only (no LLM scoring): consecutive failures, failure rate, high-frequency tools, identical repeated calls (parameter-key-order insensitive), repeated reads of the same file; verification-command recognition reports actually observed results; three formats (text default, Markdown, JSON with stable schemaVersion). Robust to empty sessions, malformed events, and crash-tail fragments.

Agent Capabilities ★ 4 updated 2026-08-14 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add github:bwndlct/dsh-plugins/plugins/dsh-session-audit

GitHub install per README (English edition): dsh plugin --profile web add github:bwndlct/dsh-plugins/plugins/dsh-session-audit (monorepo subpath), or local link dsh plugin --profile web add link:/path/to/dsh-plugins/plugins/dsh-session-audit; npm route noted 'once published' (dsh-session-audit not yet on npm as of 2026-08-26). Then add the package to dsh.profile.bundles in ~/.dsh/profiles/web/package.json (the install command does not do this step) and restart dsh. Requires dsh (@deepseek-ai/dsh) 0.1.0-rc.6+.

Compatibility

DSH (@deepseek-ai/dsh) 0.1.0-rc.6+. Audits the current in-memory session or any persisted session by id.

Details

Recent updates

session_audit tool; step/tool-call profiling; token folding; deterministic signals; verification-command recognition; text/Markdown/JSON output.

FAQ

What does the report include?
Duration, turns, steps, tool-call totals by tool with success/failure splits, token usage (input/output/cache), deterministic signals (consecutive failures, duplicates), and recognized verification commands with observed results.
Can I audit past sessions?
Yes — default is the current in-memory session; by id you can audit any persisted session, and it can list recent sessions.
How is it installed?
dsh plugin --profile web add github:bwndlct/dsh-plugins/plugins/dsh-session-audit, then add dsh-session-audit to dsh.profile.bundles in the profile's package.json and restart.

Alternatives

omdsh-dev/dsh-session-health · Cavan-Ou/dsh-observation-journal · Areium/dsh-fail-logger

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins