Skip to content
Agentmart
Submit a tool

feedback-hardening

Evidence-backed user corrections or self-detected mistakes revealing reusable agent failures: delegate one systemic-fix recommendation, get approval, then…

Skill by jesse-merhi

IndexedMIT★ 4
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jesse-merhi-feedback-hardening

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Evidence-backed user corrections or self-detected mistakes revealing reusable agent failures: delegate one systemic-fix recommendation, get approval, then implement it.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/feedback-hardening

What's inside

Skill name
feedback-hardening
Description
Evidence-backed user corrections or self-detected mistakes revealing reusable agent failures: delegate one systemic-fix recommendation, get approval, then implement it.
License
MIT
Instructions
212 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Feedback hardening

Turn evidence of reusable agent failure into one durable repair without
derailing the current task.

## 1. Qualify and capture the failure

Use this workflow when:

- the user corrects how the agent worked and the evidence reveals a missing
  reusable guard or a failure likely to recur; or
- the agent independently finds that its action violated a reusable invariant
  across tasks, sessions, repositories, or users.

Handle trivial typos, expected review findings, ordinary debugging discoveries,
changed objectives, factual clarifications, vague criticism, and one-deliverable
preferences in the current task unless they expose that reusable invariant.

Acknowledge user feedback briefly. Repair the immediate user-facing result only
when existing task authority allows it. Capture and redact:

- the observed behavior and desired invariant;
- concrete evidence and affected surface;
- current task state and permissions;
- the likely Git repository or host-managed target.

Before the first recommendation, require a clean Git target and record an
immutable baseline: its canonical worktree root, absolute `--git-common-dir`,
`HEAD` and evidence that the index, tracked tree and untracked scope were clean.
A dirty target is a visible blocker. Once approved implementation begins, keep
that baseline and record the current implementation checkpoint separately:
phase, evidence and recommendation IDs, approval state, selected option, frozen
scope, current `HEAD`, exact status, a state checksum with the command and hash
algorithm used to produce it, validation and next action. For managed targets,
use the same split between the original revision or ETag and the current
approved state.

Keep one active hardening workflow per source conversation. Same-invariant
evidence refreshes it; a distinct direct or relayed invariant waits until the
active workflow closes. This step is complete when the immediate task is safe
to continue and the failure is stated as an observable invariant.

## 2. Delegate one recommendation

The source conversation remains the coordinator. Spawn one cold native
subagent, or the harness's equivalent isolated worker, solely to produce the
recommendation. In Codex, use `spawn_agent` with
`fork_turns: "none"`; in OpenClaw, use isolated context without a
transcript fork; elsewhere, use the harness's no-history equivalent.

Give it a compact redacted brief containing:

- an opaque workflow ID and evidence version;
- the captured failure, invariant, evidence, and coordinator-owned constraints;
- the immutable target baseline and current implementation checkpoint or its
  explicit absence;
- `role: feedback-hardening-recommendation`;
- `authority: recommendation-only`, with no coordinator approvals;
- an instruction to load `$feedback-hardening`, start at step 3, and return a
  closed envelope with the workflow ID, evidence version, target identity,
  reproducible state checksum, outcome, and no-mutation attestation.
  `recommended` requires a recommendation ID and options; `retargeted` requires
  the proposed target and evidence; `blocked` requires the actionable blocker.

The recommendation phase makes no state changes. Use a harness-enforced
read-only profile when available. Otherwise state that this is an
instruction-only boundary and tell the worker not to edit files, create or
update pull requests, post externally, or delegate implementation.

Retain the returned child handle. Complete independent immediate work, then use
the harness's event-driven wait or yield mechanism. Accept a brief only with the
retained handle's host-authenticated terminal `Completed` event, never
an interim message. Fail closed unless every required envelope field matches
and the no-mutation attestation is true. Surface a host-authenticated terminal
failure even when it lacks model-authored fields.

After a wait timeout, inspect only the retained handle. Recover and authenticate
its terminal result when available; otherwise report the exact delivery or
worker blocker. On abandonment or unrecoverable delivery failure, use a
harness-supported terminalization mechanism and wait for authenticated settled
status before releasing the slot. Codex V2 interruption is not terminalization;
without a terminal event, report an unreleasable blocker and keep the slot.
Do not search unrelated sessions. The recommendation worker never receives
approval or mutation authority and is never reused for implementation.

This step is complete when the coordinator has one authenticated recommendation
brief, or the user sees the actionable launch or delivery blocker.

### Hand off an active workflow

Settle the retained recommendation worker before handing the source
conversation to another full session. Worker handles are coordinator-local
unless the harness proves otherwise, so do not transfer an unresolved worker
or release its execution slot through a handoff.

Use the handoff document's current state, evidence, blockers, suggested skills
and next concrete actions sections to carry the workflow ID and evidence
version, immutable target baseline, authenticated recommendation, and the
current implementation checkpoint or its explicit absence. Name
`feedback-hardening` as a suggested skill.

The successor revalidates the baseline, inspects the current repository state
against the checkpoint, and decides how to continue the recorded next action.
An exact checkpoint match confirms that the carried state is intact; it does
not replace the successor's judgment, infer approval or widen authority.
Expected changes inside the frozen scope do not become invalid merely because
the worktree is dirty. Base drift, a checkpoint mismatch, out-of-scope changes
or new evidence requires a fresh recommendation under step 4. Refresh the
checkpoint after authorized work before another handoff.

Keep ownership with the source coordinator until a harness-delivered successor
acknowledgement verifies adoption. If the harness cannot verify adoption,
report the transfer blocker and keep the workflow active.

## 3. Recommend the systemic fix

The recommendation worker reconstructs the failure, locates the producer or
lifecycle owner, and ranks credible prevention options:

From jesse-merhi/skills, MIT.

More from jesse-merhi/skills

Signals

Stars
4
Forks
2
Open issues
0
Last commit (this folder)
Sep 4, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jesse-merhi

Cite this page

feedback-hardening skill. Agent Mart. https://agentmart.dev/skills/jesse-merhi-feedback-hardening (last updated 2026-10-24)