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>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-25 20:41:06 -05:00
1 parent 7d3b057510
commit 7c89205e06
17 files changed
+450 -45

No files matched your search

+18 -3
View File
@@ -1,9 +1,9 @@
---
name: planner-scope
description: Check assigned issue scope, neighboring work, and verification before drafting a Plan.
description: Check assigned issue scope, turn the specification's requested proof into fast checks and verification goals, and triage escalations while drafting and supervising a Plan.
metadata:
relayview-display-name: Planner scope
relayview-version: 0.13.0
relayview-version: 0.16.0
---
# Planner scope
@@ -12,6 +12,21 @@ When drafting the assigned Plan, identify the requested behavior, its boundary,
If the owner supplies an admitted work-item identity, use the assigned read tools to inspect it. Preserve source attribution; an issue description is a request, not evidence that its proposed behavior exists. Where tracker access is unavailable, state the missing context instead of guessing a work-item identity.
Write the Plan through the owner's assigned planning interface. The Plan is ready when each requested outcome has an implementation boundary and a checkable success or recovery observation. Owner-controlled workflow stages and checks determine execution authority.
## Translate the specification's proof into Plan v1
A specification from the Specification Designer may state requested proof artifacts, fast-test completeness, declared test resources, and a review stamp. Plan v1 turns them into work two other roles can do without rereading the specification:
- **Implementer fast checks:** the deterministic checks that run in seconds (types, lint, static analysis, unit and integration tests) the Implementer must run and pass before sealing the candidate, each tied to the acceptance observation it proves.
- **Building Inspector verification goals:** for each requested proof artifact, the flow the Tester (Building Inspector) exercises on the running candidate, the artifact it captures, and the observation that passes.
The [scope guide](scope.md) gives the translation rules. When the specification states none of these, derive fast checks from the acceptance criteria and record the missing proof requirements as an open decision.
## Triage and escalate
During planning and while supervising the Implementer, follow the [escalation guide](escalation.md): resolve Implementer flags that stay inside the approved specification yourself, and escalate to the Operator only with a typed reason and a short risk summary.
## Finish
Write the Plan through the owner's assigned planning interface. The Plan is ready when each requested outcome has an implementation boundary and a checkable success or recovery observation, and each requested proof artifact maps to a fast check, a verification goal, or a remaining manual Operator check. Owner-controlled workflow stages and checks determine execution authority.
For a linked Gitea issue, this package declares the owner's transition from `status/ready-for-agent` to `status/in-progress` after it proves that the exact Plan reached the Implementer. Finalize the Plan through the assigned interface, then use owner-reported handoff and issue-claim outcomes when explaining progress to the Operator. An accepted Plan alone does not establish that claim. A user may replace this skill with a Planner fork whose package declares a different target status or disables the claim; follow the selected package's policy recorded for the task.
+31
View File
@@ -0,0 +1,31 @@
# Escalation guide
Operator attention is the scarcest resource in the workflow. Escalate only what changes the Operator's intent or risk, and settle everything else inside the approved specification.
## Triage Implementer flags
The Implementer does not page the Operator directly. It reports `needs_operator_decision` when it meets an ambiguity, sensitive boundary, or tradeoff it cannot settle, and `scope_exceeded` when the work appears to need more than the Plan allows. For each flag:
1. Reread the specification, the Plan, and the evidence the Implementer cited.
2. **Resolve it** when the answer is strictly inside the approved specification: the specification, its acceptance criteria, or a documented project contract already settles it, or a choice changes neither user-visible behavior nor risk. Answer the Implementer with the decision and the clause or contract that supports it, and update the Plan if the answer changes a step.
3. **Promote it** to a typed escalation when the answer would change what the Operator asked for or the risk they accepted. Name the flag you promoted in the risk summary.
Never resolve a flag by quietly narrowing the requested proof, dropping an acceptance observation, or widening the scope.
## Escalate directly
Escalate with exactly one typed reason and a risk summary of one or two sentences that names the decision the Operator must make and the evidence behind it:
- `boundary_crossed`: the work needs a sensitive boundary the specification did not approve, 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.
- `spec_ambiguity`: the specification supports two materially different behaviors and no contract settles which one the Operator wants.
- `verification_incomplete`: the requested proof cannot be met as planned, for example because an acceptance observation cannot be covered by fast deterministic tests although the specification marked it `complete`.
- `behavioral_tradeoff`: meeting the specification needs a visible compromise or architectural tradeoff the specification did not settle.
- `convergence_exceeded`: correction rounds with the Implementer keep failing on the same findings, and another round is unlikely to converge.
Raise it through the escalation interface the owner assigns. Where none is assigned, state the reason and risk summary as an open decision in the Plan or your review result, so the Operator sees it without reading the conversation.
## Discipline
- Escalate only with a reason and evidence. A vague escalation made just to be safe spends Operator attention without telling them what to decide.
- An escalation only raises the review a task needs: never downgrade `operator_review_required`, ask the owner to lower a review tier, or argue that a stamped specification needs less review.
- One escalation per decision. Add new evidence to the existing escalation rather than raising the same decision again.
+7 -3
View File
@@ -2,7 +2,7 @@
"schemaVersion": 2,
"source": {
"kind": "first-party",
"reference": "v0.13.0"
"reference": "v0.16.0"
},
"role": "planner",
"step": "planning",
@@ -12,11 +12,15 @@
"files": [
{
"path": "SKILL.md",
"sha256": "015651bbb9022025ff71732cb9ff1f6ea087ed143d76fa69091b6273a8fc7db7"
"sha256": "e79d389fecacd119865fa71fe337b46f06f7bbae96b3493b8f35ab850dc84d4f"
},
{
"path": "scope.md",
"sha256": "abed1a1590273b5f62f1e1f47ba8c92d00693de72c0d5e9b014ed1c911ac0a8e"
"sha256": "b6ca7c2ae67914f78a6329a4aa467797f01d57331e581b2ee98f2a7c5ec6efd4"
},
{
"path": "escalation.md",
"sha256": "0555e8e86b458480c1c051e3f554b288f37c26113262eb2a5c6475f35733728d"
}
]
}
+22 -1
View File
@@ -16,6 +16,17 @@ Focus on:
- 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
@@ -33,6 +44,17 @@ steps:
- ...
depends_on:
- ...
fast_checks:
- check: ...
proves: ...
verification_goals:
- flow: ...
artifact: ...
passes_when: ...
test_resources:
- ...
manual_operator_checks:
- ...
edge_cases:
- ...
validation:
@@ -40,4 +62,3 @@ validation:
open_questions:
- ...
```