AGENT SKILL

resolve-repository-state

Resolve an explicit Normalized Repository State contradiction. This is the sole writer allowed to update frozen repository facts or accepted decisions. Triggers: "resolve repository state", "resolve contradiction", "update a frozen repository fact".

License 许可
MIT
最近更新
2026-11-15
Stars
★ 23
Forks
4

01 前言 Front Matter

name
resolve-repository-state
version
4.10.0
description
Resolve an explicit Normalized Repository State contradiction. This is the sole writer allowed to update frozen repository facts or accepted decisions. Triggers: "resolve repository state", "resolve contradiction", "update a frozen repository fact".
argument-hint
<contradiction-id>
user-invocable
true

03 SKILL.md 正文

Resolve Repository State

Resolve evidence conflicts explicitly and publish the next frozen snapshot.

Turn contract

Load and verify the canonical Turn contract (11 boxes) before ending every turn. Skill-specific additions:

✓ A named contradiction and both evidence sources were read
✓ The disposition is accepted, rejected, or needs-input
✓ Accepted/rejected results publish a frozen snapshot; needs-input stops without freezing
✓ No unrelated fact or decision changed

Missing reference → STOP. About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first.

Step 0 — Discover the project (always first)

Read the agent guide, documentation map, frozen ledger, and the requested contradiction before deciding anything.

Process

  1. Read the frozen ledger and the contradiction row named by the user.
  2. Verify both the frozen fact's evidence and the proposed new evidence.
  3. Choose one result: accept new evidence, reject it, or request human input.
  4. If human input is required, update the contradiction row with the exact missing evidence or decision, keep snapshot status contradicted, and stop without incrementing the snapshot identifier or publishing a frozen snapshot.
  5. For an accepted result, supersede the fact or decision with a new row that cites both evidence sources. For a rejected result, retain the fact and record why.
  6. For accepted or rejected results only, update the contradiction row, increment the snapshot identifier, set status to frozen, and record the next frozen snapshot's source revision.

Guardrails

  • This skill is the sole writer for updates to frozen facts and accepted decisions.
  • A consumer may propose a contradiction but never resolve it inline.
  • Inference and documentation alone are insufficient to update a fact.

Portability

Without a slash menu, open this file and follow its process in a fresh turn.

Relationship to other skills

Consumes contradictions from every workflow role and produces the snapshot that discovery, planning, execution, review, and audit reuse. The contradiction's Reported by field identifies the interrupted role to resume; resolution never defaults a review, audit, or status interruption to planning.

Done when

The contradiction has a recorded disposition, and either the next frozen snapshot is internally consistent or the missing human input is explicit.

If human input is required:

→ Next: provide the requested evidence or decision — resolution cannot continue yet · evidence supplied → rerun /resolve-repository-state <contradiction-id>

Otherwise:

→ Next: resume the interrupted workflow named by Reported by — continue from the resolved snapshot · planning was interrupted → /unit-lane <slug> · implementation was interrupted → /execute-phase <NN> · review, audit, or status was interrupted → rerun that same skill

04 同仓库更多 Skills

gtrabanco
gtrabanco/agentic-workflow

runner-contract

The distributable runner's invocation contract: one train-stamped pin for every runtime command the workflow's skills cite. Referenced by the skills that run sensors, guards and ceremony operations; never a menu entry.

★ 23
gtrabanco
gtrabanco/agentic-workflow

verification-contract

Internal contract: the acceptance artifact per delivery unit — legacy (pre- feature 61) units may carry a frozen `ACCEPTANCE.md` (binding if present); post-feature 61 units use the unit doc's `## Acceptance criteria` section as the canonical acceptance source; the unit doc's evidence carrier — `## Evidence` table, or `## Log` `E` lines for a re-cut unit (#308) — serves as the execution receipt. Consumed by planners, execute-phase, and review-change.

★ 23
gtrabanco
gtrabanco/agentic-workflow

skill-lint

Internal agentic-workflow maintenance: after SKILL.md edits, lint the repo's authoring rules, the machine-surface registration rules and the skill-content smell/security checks. Triggers: "lint the skill", "skill authoring check", "check the skill rules", "scan skills for smells".

★ 23
gtrabanco
gtrabanco/agentic-workflow

review-seo

Internal SEO review pass of the agentic-workflow review pack — composed in-turn by review-change and product-audit; not a menu entry. Checks changed web pages/routes for indexability, metadata, and structured data — applies only to public web surfaces. Findings only; never edits code.

★ 23
gtrabanco
gtrabanco/agentic-workflow

review-security

Internal security review pass of the agentic-workflow review pack — composed in-turn by review-change and product-audit; not a menu entry. Checks secrets, input validation, injection, authn/authz, PII exposure, and dependency risk on the changed surface. Findings only; never edits code.

★ 23
gtrabanco
gtrabanco/agentic-workflow

review-perf

Internal performance review pass of the agentic-workflow review pack — composed in-turn by review-change and product-audit; not a menu entry. Checks the changed paths for algorithmic and resource regressions: N+1s, hot-path allocations, asset weight, and leaks. Findings only; never edits code.

★ 23