Files
relayview-skills/packages/implementer-handoff/handoff.md
T
adminandClaude Opus 5.5 b217bfcb03 Address review: keep sealing as guidance and the rules in handoff.md
Move the fast-check definition and flag triggers out of implementer-handoff's
SKILL.md so forking handoff.md alone changes them, as OVERRIDING.md says.
Reword sealing as an aim the owner's workflow decides rather than a gate the
prose restates, so a fast check that can never pass ends in a report. Raise
scope_exceeded for a failing check only when the fix leaves the Plan.
Rewrap the release-notes intro and rename one test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 23:29:30 -05:00

43 lines
4.6 KiB
Markdown

# Handoff guide
## Inner loop
- Take the fast checks from the Plan: deterministic checks that finish in seconds, not minutes, such as types, lint, static analysis, and unit and integration tests. When the Plan names none, use the repository's recorded focused checks for the changed areas and their direct consumers.
- Run them after each change and fix what they report before moving on. Keep the loop fast: a check that takes minutes belongs to verification, not to the inner loop.
- Resolve each piece of Planner feedback in the code or answer it with evidence, then rerun the affected checks.
- Aim to seal a candidate once every fast check passes on that exact candidate and no Planner feedback is open; the owner's workflow decides when it is sealed. Any later change makes earlier results stale; rerun the checks it affects.
- Do not run the Building Inspector's verification goals in place of fast checks, and do not use them to find defects a fast check would catch.
- If a fast check cannot pass, for example because of a failure outside the Plan or a missing tool, do not present the candidate as ready. Report the check, its output, and the cause you found to the Planner, and raise `scope_exceeded` only when fixing it needs work the Plan does not allow.
## Flags to the Planner
Before flagging, reread the specification, the Plan, and the project's documented contracts. If one of them settles the question, follow it and cite it in the handoff instead of flagging.
- `needs_operator_decision`: genuine specification ambiguity, where two materially different behaviors both fit; an unexpected sensitive boundary the Plan does not mention, such as a public contract or API, a schema migration, authentication or security, CI or release configuration, a user-facing screen, or a new dependency, network egress, secret, or privilege; or a visible tradeoff the specification does not settle.
- `scope_exceeded`: scope creep, where the work appears to need files, behavior, or changes beyond what the Plan allows.
Each flag states the question, the options you see, the evidence (files, lines, check output), and what you will do meanwhile. Raise it through the flag interface the owner assigns. Where none is assigned, put the flag at the top of your message to the Planner, and list any flag still open in the handoff.
While a flag is open, continue the work it does not affect, and do not build the flagged part as though it were decided. Do not page the Operator directly, and do not silently improvise the behavior. Do not flag just to be safe: a flag without a decision in it costs the Planner time and tells nobody what to decide. Raise one flag per decision, and add new evidence to an open flag rather than raising it again. The Planner answers inside the approved specification or escalates to the Operator; follow its answer.
## Implementation and clarification
Read the relevant files and make focused changes. Use the assigned investigation method for repository discovery; this handoff method owns clarification, flags, and report preparation.
Ask the planner for more information when blocked after reasonable investigation. If the final contract appears wrong, explain the mismatch clearly, make the safest local correction if obvious within the authoritative scope, and validate it; when the correction is not obvious, raise a flag instead. Clarification methods guide communication; scope changes require owner authority.
## Documentation
- Update the current-behavior contract only for behavior verified on the candidate. Keep proposed work clearly proposed.
- Record one disposition: `updated`, `not_required` with a concrete reason, `deferred`, or `blocked`.
- Put run-specific logs, screenshots, and command results in the review handoff, not the enduring contract, unless the contract explicitly depends on one identified run.
## Review content
- Summarize the user-visible change and its bounded impact.
- Name the candidate revision and the fast checks run against it, with observed pass or failure results.
- Report declared test resource readiness: for each resource the Plan's verification goals need, say whether you confirmed it is available with your assigned tools, could not check it, or found it missing. Do not report a mock as the declared resource.
- List known gaps honestly: acceptance observations no fast check covers, verification goals and remaining manual Operator checks still open, skipped or flaky checks, and open flags.
- Give a reviewer executable steps and expected observations for any behavior that automated checks cannot establish.
- State remaining uncertainty and recovery steps. Attribute provider or Operator observations to their actual source.