pavangupta352/stalegreen

Evidence hygiene for coding agents: records every verification run unmasked and blocks a done claim when the evidence is stale, failed or masked.

The problem it attacks is measured, not hypothetical: a coding agent quotes a test run that happened before its own later edits, or pipes the runner through tail, grep or a trailing echo so the exit status and summary line never reach the transcript. stalegreen records each verification run in full and cites that receipt when the agent claims success, blocking the stop when the evidence is stale or was masked by the pipeline. Each category is blocked at most once per turn, and a second stop is allowed and recorded, so the agent can correct itself but cannot get stuck.

Coding & Development ★ 4
View on GitHub ↗

Install

dsh plugin add dsh-plugin-stalegreen

Copied verbatim from the README section that covers the native DeepSeek Harness plugin (the repository is primarily a Claude Code / Codex hook, so the DSH instructions sit in a sub-section after them). package dsh-plugin-stalegreen, registry latest 0.1.0, and its repository field resolves back to github.com/pavangupta352/stalegreen. Add --profile if your DSH profile is not the default.

Compatibility

On DSH the plugin listens on tools/pre-execute, tools/post-execute and agent/turn-stopping. The harness cannot rewrite a tool call, so masked runs are only denied there in strict mode rather than being unmasked, which is the one behavioural difference from the Claude Code and Codex hooks in the same repository. The hook itself has no dependencies and nothing runs at install time.

Details

Alternatives

Jaylor-Wang/dsh-tool-ast-grep · codeAnqiang-ma/dsh-superpowers · adithyanraj03/dsh-graft-plugin

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins