- The guardrail trigger no longer presupposes a deterministic check, so a genuine judgment call can reach the candidate prose skill rung; rung 4 proposes a candidate skill diff, and a check asks whether a lower rung would catch the class. Both review packages' Escalate sections are now pinned identical too. - planner-scope turns verification goals into manual Operator checks when no Tester step will run, and triages Implementer flags only once the Implementer reports one. - reviewer-communication uses Specification Designer terminology. - Release notes cover the planner-scope SKILL.md change; README keeps "optional" for code-review-auto. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
67 lines
2.9 KiB
Markdown
67 lines
2.9 KiB
Markdown
# Scope guide
|
|
|
|
- State the user-visible outcome and the exact part of the system affected.
|
|
- Name prerequisites and neighboring work that change the boundary.
|
|
- Cite the current contract, code, or test that supports each existing-behavior claim.
|
|
- Distinguish verified current behavior from a proposal.
|
|
- Identify one observable success path and one meaningful failure or recovery path.
|
|
- Record uncertainty as an open decision; do not turn silence into approval.
|
|
|
|
Focus on:
|
|
- affected files and symbols
|
|
- existing patterns and architecture
|
|
- invariants and edge cases
|
|
- ordering and dependencies between changes
|
|
- tests, validation, and likely failure modes
|
|
- any assumptions that the implementer must know
|
|
- explicitly authorized supporting context that influences behavior
|
|
|
|
## Translate requested proof
|
|
|
|
Read the specification's proof decisions as the Operator's bar for review, then plan the cheapest checks that meet it:
|
|
|
|
- **Fast-test completeness `complete`:** every acceptance observation gets an Implementer fast check. Name the test file and case, or the seam a new test needs. Verification goals cover only proof artifacts the Operator still requested.
|
|
- **Fast-test completeness `requires_runtime_or_human_judgment`:** give each observation that fast tests can prove a fast check, and give each remaining observation a verification goal for the Building Inspector. Say which part needs a running application, a browser, a real service, timing, layout, or human perception.
|
|
- **Requested proof artifacts:** each becomes a verification goal naming the flow, its starting state, the steps, the artifact to capture (a browser recording, screenshots, a CLI/HTTP trace, a statechart), and the observation that passes. A request for fast automated tests only becomes fast checks and no verification goal.
|
|
- **Declared test resources:** name the resource each verification goal needs, such as `ml-server:<model>` or `gpu-worker`. When the specification marks `unique_resource_needed`, keep the Operator's manual steps as a remaining manual Operator check instead of planning a mock in its place.
|
|
|
|
When no Tester step will run for the task, as the owner reports it, list each verification goal as a remaining manual Operator check with its steps and passing observation instead.
|
|
|
|
Before finalizing, check that each requested proof artifact maps to exactly one place: a fast check, a verification goal, or a remaining manual Operator check.
|
|
|
|
Return a compact structured plan. Prefer YAML-compatible Markdown:
|
|
|
|
```yaml
|
|
objective: ...
|
|
constraints:
|
|
- ...
|
|
steps:
|
|
- id: ...
|
|
files:
|
|
- ...
|
|
symbols:
|
|
- ...
|
|
change: ...
|
|
requirements:
|
|
- ...
|
|
depends_on:
|
|
- ...
|
|
fast_checks:
|
|
- check: ...
|
|
proves: ...
|
|
verification_goals:
|
|
- flow: ...
|
|
artifact: ...
|
|
passes_when: ...
|
|
test_resources:
|
|
- ...
|
|
manual_operator_checks:
|
|
- ...
|
|
edge_cases:
|
|
- ...
|
|
validation:
|
|
- ...
|
|
open_questions:
|
|
- ...
|
|
```
|