AGENT SKILL

backtrack-after-failed-fixes

Recover from repeated ineffective edits by reverting unsupported changes and reopening diagnosis.

License 许可
MIT
所属仓库
syr-cn/PluginRSI
最近更新
2026-10-18
Stars
★ 61
Forks
1

01 前言 Front Matter

name
backtrack-after-failed-fixes
description
Recover from repeated ineffective edits by reverting unsupported changes and reopening diagnosis.

03 SKILL.md 正文

Backtrack After Failed Fixes

Internal ID: S30
Category: recovery
Tier: core
Output: BacktrackPlan

Activate when

  • The workflow reaches the recovery stage and the required inputs are present.

Applicable roles

  • Termination Controller
  • Critic
  • Solver

Required inputs

  • trajectory
  • candidate_patch
  • verification_failures

Optional inputs

  • component_credit

Procedure

  1. Identify edits that failed their predicted effect or introduced regressions.
  2. Separate useful evidence from unsupported code changes.
  3. Revert the smallest failed change set.
  4. Update hypotheses and choose a new discriminating check before repatching.

Verification

  • The working state after backtrack is known.
  • Retained edits have independent evidence.

Stop conditions

  • The system returns to a coherent state with a new diagnostic target.

Constraints

  • Do not accumulate speculative patches.
  • Do not erase useful failure evidence.

Allowed tools

  • git_diff
  • apply_patch
  • shell_exec

Provenance

Synthesized from design patterns in superpowers, addy-agent-skills, deepseek-harness. This file is a normalized reusable abstraction, not a verbatim copy of an upstream skill.

04 同仓库更多 Skills