AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Harness Repair

skill-haipingshi-coderail-harness-repair · by HaipingShi

Repair failing lint, typecheck, test, build, CI, migration dry-run, or manual acceptance loops without hiding failures. Binds failures to the CodeRail Coordinate V and P fields and writes trace events. Use when the done gate fails.

No reviews yet
0 installs
34 views
0.0% view→install

Install

$ agentstack add skill-haipingshi-coderail-harness-repair

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-haipingshi-coderail-harness-repair)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Harness Repair? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Harness Repair

Treat failing harness as signal, not noise. Failures belong to the coordinate's V field; reusable lessons belong to P → LESSONS; the repair result belongs to V and to the trace log.

Procedure

  1. Identify the exact failing command (this is a V entry).
  2. Capture a short failure summary, not a full log.
  3. Classify failure:
  • implementation bug
  • wrong test
  • stale fixture
  • environment issue
  • missing dependency
  • task contract mismatch
  • North-Star mismatch
  1. Fix the smallest root cause.
  2. Re-run the focused command (V).
  3. Re-run global checks if the fix touches shared code.
  4. Update docs/LESSONS.md only if the lesson is reusable (P → LESSONS).
  5. Write trace events:
  • verify with harness_result: failed for the original failure (command + summary + evidence location only).
  • change for the fix (files modified).
  • verify with harness_result: passed after the re-run.
  • lesson only if the failure is reusable.
  1. If failure repeats twice with unclear root cause, stop and report (X trigger).

Rules

  • Do not weaken tests just to pass.
  • Do not skip failing commands.
  • Do not mark done with failed harness.
  • Do not broaden scope (S) without updating the task contract.
  • Do not record full test output in trace — only the command, result, summary,

and where the evidence lives.

  • If the harness itself is wrong, create or update a harness task and record

the decision.

Output

## Harness Repair Report

Failing command (V):
Failure summary:
Failure class:
Root cause:
Fix applied (files in S):
Re-run result (V):
Global checks:
Lesson needed (P → LESSONS): yes | no
Trace events: verify(failed) | change | verify(passed) | lesson
Task can proceed to done: yes | no

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.