dsh-postmortem
Run the following command in DeepSeek Harness:
dsh plugin install zzh-newlearner/dsh-postmortem
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install zzh-newlearner/dsh-postmortem to install the plugin into your selected DSH profile and register its bundle layer automatically; the source is at https://github.com/zzh-newlearner/dsh-postmortem
About this plugin
When a DeepSeek Harness agent run fails, you are left staring at raw session events and an ambiguous error string. dsh-postmortem reads those existing events locally and, in seconds, answers three practical questions: what failed, what evidence supports that conclusion, and what should be verified before the next attempt. The entire process is read-only, requires no model call, and sends no data over the network.
Its local rules identify failed tools, detect three or more unchanged retries via a one-way argument fingerprint, separate terminal states from earlier causal evidence, and report user cancellations honestly without inventing a repairable failure. Beyond the text diagnosis, /postmortem-repair emits a bounded recovery prompt that instructs the next agent to verify the missing resource first and forbids repeating the identical failed call; /postmortem-plan exports strict schema-v1 JSON with evidence categories, advisory actions, and verification steps for external runners. Every output is redacted: user messages, tool arguments, tool outputs, file contents, prompts, credentials, and raw traces are never retained or exported.
It is built for DSH users who want a safe, reproducible next action after a failure, and for teams that need redacted reports to file issues or run paired evaluations. It is deliberately not an autonomous retry system, a trace-upload service, or a replacement for task-level observability. You keep full control; it simply makes the failure legible and points to the right next check.
Use Cases
- Pinpoint the failed tool, error code, and causal evidence right after a run goes wrong
- Detect repeated unchanged retries and generate a bounded recovery prompt for the next agent attempt
- Export redacted schema-v1 JSON reports for external runners or issue filing
Best For
- DSH users who need a safe, reproducible next action after an agent run fails
- Engineering teams that require redacted reports for paired evaluations or issue filing
- Developers who prefer local, read-only diagnosis without relying on a model call
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.