rlpatrao/claude_harness_forge/spec-backprop

Claude Code and agent skill by rlpatrao/claude_harness_forge

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Walk-back algorithm for the Spec-Auditor subagent. Given a failure at phase N, identifies the earliest phase whose spec, if tightened, would have prevented the failure. Proposes a surgical amendment.

Install

npx vskill@latest install rlpatrao/claude_harness_forge/spec-backprop

SKILL.md

The same SKILL.md was published earlier as rlpatrao/claude_harness_forge/spec-backprop.

Spec-gap backpropagation

The harness's tendency on a phase-N failure is to re-run phase N. But the root cause is usually upstream — the spec at phase K (K<N) was loose enough that the failure could occur. Without backprop, the harness grinds on symptoms.

Algorithm

let gap = describe failure at phase N
for K in (N-1, N-2, ..., 1):
let spec_K = read the spec / contract / step list for phase K
if spec_K, if tightened, could prevent gap:
return amendment for phase K
return "no upstream spec gap — failure is genuinely at phase N"

What "tightened spec prevents the failure" means

The amendment must be:

  • Local — one paragraph or 2-3 step additions.
  • Specific — names concrete files, fields, or invariants.
  • Mechanically checkable — a follow-up phase can verify the spec was met without re-interpreting the prose.

If you can only describe the tightening abstractly ("the spec should be clearer"), keep walking back; you haven't found the gap.

What does NOT trigger backprop

  • A failing test caused by a bug in the production code. That's a phase-N failure with a code fix — no spec amendment needed.
  • A failing test caused by a missing dependency. That's a phase-1 environmental fix — init.sh is the artifact to amend, not the BRD.
  • A flake. Re-run before backpropagating.

Anti-patterns

  • Walking all the way to phase 1. If the failure could only have been prevented by amending phase 1, the architecture is wrong — escalate to HITL, don't propose a BRD §1 amendment.
  • Proposing rewrites. Surgical diffs only. Replacing whole paragraphs hides the gap; the diff should make the gap visible in 1-3 added lines.
  • Cascading amendments in one audit. One gap per audit. If two exist, the second audit runs after the first amendment lands.

Source

Pattern from kingofevil/forge (MIT). See agents/spec-auditor.md for the subagent definition and BRD §10.3 §4.7.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rlpatrao/claude_harness_forge/spec-backprop/badge)](https://verified-skill.com/skills/rlpatrao/claude_harness_forge/spec-backprop)

Something wrong with this skill or its page? Tell us.