Files
relayview-skills/packages/planner-scope/scope.md
T
adminandClaude Opus 5.5 7c89205e06 Update Planner and Reviewer packages for proof translation, typed escalation, and guardrails (v0.16.0)
planner-scope (schema 2, issueClaim unchanged) now translates the
Specification Designer's requested proof, fast-test completeness, and
declared test resources into Implementer fast checks and Building
Inspector verification goals in Plan v1. A new escalation.md resolves
Implementer needs_operator_decision and scope_exceeded flags inside the
approved specification or promotes them, and escalates directly with one
typed Layer C reason and a short risk summary, never downgrading
operator_review_required.

code-review-auto and code-review share a Trust Pyramid "Propose a
guardrail" section (architecture/API boundary, then static check or fast
regression test, then verification harness, then a candidate prose skill
as last resort) and a typed "Escalate" section. planner-communication and
reviewer-communication (schema 3) frame escalations and Review Packets.

RELEASE-NOTES.md gives each package's before and after for fork
maintainers; OVERRIDING.md and README.md record the new versions and seams.

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

65 lines
2.7 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.
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:
- ...
```