AI Agent Hub
Back to plugins
dsh-backstory preview

dsh-backstory

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install MeghanBao/dsh-backstory

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install MeghanBao/dsh-backstory in your terminal to add the dsh-backstory plugin to your current DeepSeek Harness session; source code is available at https://github.com/MeghanBao/dsh-backstory .

About this plugin

When you stare at unfamiliar code, git blame tells you who wrote a line and when, but not what it actually does or why it exists. dsh-backstory closes that gap by asking every line its backstory and answering with grounded, source-tracked what and why.

Under the hood it runs a three-layer provenance engine. A content-hash ledger records every write or edit along with text fingerprints of the touched lines, so attribution survives line-number drift. Commit trailers fold DSH-Turn and DSH-Prompt metadata into git history, letting git blame recover semantic origin for free. A live session log covers the current turn before anything is persisted. All three degrade gracefully, and the tool always returns at least the source lines. Explanations are cached per content hash so unchanged lines never trigger a repeat model call, and prompts written to the ledger or trailers are automatically redacted for common secrets, tokens, and Bearer headers.

It is built for developers who frequently inherit code written by teammates or by AI agents, and for any MCP client user who wants semantic-level provenance layered on top of plain git history, with or without DeepSeek Harness running.

Screenshots

Use Cases

  • Tracing what each line does and why it exists in unfamiliar code
  • Auditing agent-generated code to find which prompt produced which line
  • Following code writing history across sessions and machines

Best For

  • Developers who frequently inherit code written by teammates or AI agents
  • Teams wanting semantic-level provenance layered on top of git history
  • Engineers using MCP clients such as Claude Code or Cursor