Files
relayview-skills/packages/planner-scope/scope.md
T
adminandClaude Opus 5.5 d8c73c21f9
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 5s
Address second review: conditional docs, escalation checks, rung 3 wording
- OVERRIDING.md describes Implementer flag triage as conditional, no
  longer implies RelayView assigns the manual code-review, and links the
  ladder to the layer-4 authoring template's trust pyramid.
- README labels the v0.16.0 guardrail behavior as not yet tagged.
- Both review packages' rung 3 includes formal checks and no longer ties
  property tests to the running application; their Escalate sections and
  planner-scope's escalation guide gain a check that the risk summary
  names one Operator decision.
- planner-scope says what to do when the owner reports nothing about a
  Tester step; code-review-auto's heading matches its display name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 20:46:24 -05:00

67 lines
3.0 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 the owner reports that no Tester step will run for the task, list each verification goal as a remaining manual Operator check with its steps and passing observation instead. When the owner reports nothing about a Tester step, keep the verification goals and record the assumption that a Tester will run them as an open question.
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:
- ...
```