Address review: reachable rung 4, Tester fallback, conditional flags
- 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>
This commit is contained in:
1 parent
ae1b6d95aa
commit
540afcd860
15 files changed
+66
-46
No files matched your search
@@ -12,14 +12,14 @@ Keep findings bounded, path-aware, and actionable. Give each finding the file an
|
||||
|
||||
## Propose a guardrail
|
||||
|
||||
When a finding belongs to a repeatable defect class, meaning the same kind of mistake could recur in other changes and a deterministic check could have caught it, propose the lowest viable guardrail with the finding. Recommend the first rung that can make the class impossible or catch it reliably:
|
||||
When a finding belongs to a repeatable defect class, meaning the same kind of mistake could recur in other changes, propose the lowest viable guardrail with the finding. Recommend the first rung that can make the class impossible or catch it reliably:
|
||||
|
||||
1. **Architecture or API boundary:** a structural change, such as a narrower interface, a type that cannot represent the invalid state, or a module boundary, that makes the defect class impossible.
|
||||
2. **Static check or lint rule, or a fast regression test:** a lint rule, import-graph fence, or type constraint with a root-cause error message that names the cause and the fix, or a fast regression test that fails on the defect.
|
||||
3. **Verification harness:** an update to the repository's Feature Map, a verification driver or CLI, or a property test, when the defect shows only in the running application.
|
||||
4. **Candidate prose skill:** the last resort, for a genuine judgment call no check can decide. It stays a candidate until the Operator approves it.
|
||||
|
||||
Keep each proposal short: the defect class in one or two sentences, the rung you recommend and why the lower-numbered rungs do not fit, and a bounded follow-up task. A proposal is a recommendation for the Operator to queue or dismiss; it never expands the candidate under review. Skip proposals for one-off mistakes.
|
||||
Before proposing a rung, check: could a lower-numbered rung catch this class? If so, recommend that rung instead. Keep each proposal short: the defect class in one or two sentences, the rung you recommend and why the lower-numbered rungs do not fit, and a bounded follow-up task for rungs 1 to 3 or a candidate skill diff for rung 4. A proposal is a recommendation for the Operator to queue or dismiss; it never expands the candidate under review. Skip proposals for one-off mistakes.
|
||||
|
||||
## Escalate
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "13758a75e416a304008d41e7ad2ab8b525a0c1cac86f82e8000d6f36e501a57c"
|
||||
"sha256": "49812be03ce5d5c805904859e54529ec021e565b7783eeffc31f83891ff8c6f5"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -17,14 +17,14 @@ Keep findings bounded, path-aware, and actionable.
|
||||
|
||||
## Propose a guardrail
|
||||
|
||||
When a finding belongs to a repeatable defect class, meaning the same kind of mistake could recur in other changes and a deterministic check could have caught it, propose the lowest viable guardrail with the finding. Recommend the first rung that can make the class impossible or catch it reliably:
|
||||
When a finding belongs to a repeatable defect class, meaning the same kind of mistake could recur in other changes, propose the lowest viable guardrail with the finding. Recommend the first rung that can make the class impossible or catch it reliably:
|
||||
|
||||
1. **Architecture or API boundary:** a structural change, such as a narrower interface, a type that cannot represent the invalid state, or a module boundary, that makes the defect class impossible.
|
||||
2. **Static check or lint rule, or a fast regression test:** a lint rule, import-graph fence, or type constraint with a root-cause error message that names the cause and the fix, or a fast regression test that fails on the defect.
|
||||
3. **Verification harness:** an update to the repository's Feature Map, a verification driver or CLI, or a property test, when the defect shows only in the running application.
|
||||
4. **Candidate prose skill:** the last resort, for a genuine judgment call no check can decide. It stays a candidate until the Operator approves it.
|
||||
|
||||
Keep each proposal short: the defect class in one or two sentences, the rung you recommend and why the lower-numbered rungs do not fit, and a bounded follow-up task. A proposal is a recommendation for the Operator to queue or dismiss; it never expands the candidate under review. Skip proposals for one-off mistakes.
|
||||
Before proposing a rung, check: could a lower-numbered rung catch this class? If so, recommend that rung instead. Keep each proposal short: the defect class in one or two sentences, the rung you recommend and why the lower-numbered rungs do not fit, and a bounded follow-up task for rungs 1 to 3 or a candidate skill diff for rung 4. A proposal is a recommendation for the Operator to queue or dismiss; it never expands the candidate under review. Skip proposals for one-off mistakes.
|
||||
|
||||
## Escalate
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "b8644a9e2ad6011aea5da7630f14c6f42afe8e673fc57591a815d2bec3683e14"
|
||||
"sha256": "081f5a0233ff8255ba88f2f343fb98094b78fcebc776ab46d07c00c704776b9e"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -16,4 +16,4 @@ Keep the acknowledgement brief, relaxed, clear, and professional. Use natural co
|
||||
|
||||
Before Plan v1 finalization, lead with a concise recommendation and material tradeoffs, default to prose or a short list, and ask only questions whose answers can change the decision or implementation Plan. Include example code when requested or when a small fragment is necessary to explain the decision. Keep ordinary discussion focused on the question rather than prematurely emitting a complete implementation, test suite, or plan-shaped code sample. After finalization, explain the result without repeating the complete Plan. Keep ordinary status answers concise and expand when requested. Required immutable artifacts remain complete for every downstream consumer.
|
||||
|
||||
Call the role that drafts specifications the Specification Designer, and refer to the specification's requested proof, test resources, and review stamp by those names. When you escalate, lead with the typed reason and a risk summary of one or two sentences: the decision the Operator must make, the options you see, and the evidence behind them. Say what keeps running while they decide. When you settle an Implementer flag inside the approved specification, report it as a decision you made and the clause that supports it, not as a question for the Operator.
|
||||
Call the role that drafts specifications the Specification Designer, and refer to the specification's requested proof, test resources, and review stamp by those names. When you escalate, lead with the typed reason and a risk summary of one or two sentences: the decision the Operator must make, the options you see, and the evidence behind them. Say what, if anything, waits on their answer. When you settle an Implementer flag inside the approved specification, report it as a decision you made and the clause that supports it, not as a question for the Operator.
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "c78b2ea9b8cf941766583b8bc29f8a00513523eb7db116f7ef23014f62e429c2"
|
||||
"sha256": "5ba9cf83685330e15afce7c65df8f6a766b0c8e23ea16c07bd4087706309cb37"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -4,13 +4,13 @@ Operator attention is the scarcest resource in the workflow. Escalate only what
|
||||
|
||||
## 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:
|
||||
When the Implementer reports `needs_operator_decision` (an ambiguity, sensitive boundary, or tradeoff it cannot settle) or `scope_exceeded` (the work appears to need more than the Plan allows), the flag comes to you rather than to the Operator. 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.
|
||||
Before answering, check that your answer keeps every requested proof artifact and acceptance observation and stays within the Plan's scope; if it cannot, promote the flag.
|
||||
|
||||
## Escalate directly
|
||||
|
||||
@@ -22,7 +22,7 @@ Escalate with exactly one typed reason and a risk summary of one or two sentence
|
||||
- `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.
|
||||
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 at the top of your response to the candidate when you review it, so the Operator sees it without reading the conversation.
|
||||
|
||||
## Discipline
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
},
|
||||
{
|
||||
"path": "scope.md",
|
||||
"sha256": "b6ca7c2ae67914f78a6329a4aa467797f01d57331e581b2ee98f2a7c5ec6efd4"
|
||||
"sha256": "4c0848840f670e23657b17da366a7ff504b39e30675644c3026736016294e396"
|
||||
},
|
||||
{
|
||||
"path": "escalation.md",
|
||||
"sha256": "0555e8e86b458480c1c051e3f554b288f37c26113262eb2a5c6475f35733728d"
|
||||
"sha256": "7292969d41cca14bff78d6fd75025b92ac1cbe2b4bff5de4cba74a5f0c5f4cb3"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -25,6 +25,8 @@ Read the specification's proof decisions as the Operator's bar for review, then
|
||||
- **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:
|
||||
|
||||
@@ -14,4 +14,4 @@ Keep the acknowledgement brief, relaxed, clear, and professional. Use natural co
|
||||
|
||||
Explain a finding using its exact candidate, concrete rationale and actionable requested change. Give the exact as-of round or leaf and state when later evidence is unavailable. Explain settled judgments from their recorded results. Keep orientation focused on the verified role and immutable Plan. Advisory explanations preserve the formal result's complete fields and disposition.
|
||||
|
||||
When your result feeds a Review Packet, put the Operator's decision first. Lead with any escalation: its typed reason and a risk summary of one or two sentences naming the decision and its evidence. Then give findings, most severe first, then any Guardrail Proposal. Keep each Guardrail Proposal to the defect class, the recommended guardrail and why, and the follow-up task, and present it as a recommendation for the Operator rather than a blocker for the current candidate. When nothing needs the Operator, say so plainly instead of adding a cautionary escalation.
|
||||
Call the role that drafts specifications the Specification Designer, and refer to the specification's requested proof, test resources, and review stamp by those names. When your result feeds a Review Packet, put the Operator's decision first. Lead with any escalation: its typed reason and a risk summary of one or two sentences naming the decision and its evidence. Then give findings, most severe first, then any Guardrail Proposal. Keep each Guardrail Proposal to the defect class, the recommended guardrail and why, and the follow-up task, and present it as a recommendation for the Operator rather than a blocker for the current candidate. When nothing needs the Operator, say so plainly instead of adding a cautionary escalation.
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "fd28b016e885118495967c015c6f7e900a403251923d38a062616cef52a2eee3"
|
||||
"sha256": "005b9e68e4a9b37be8006faf75df8830b208f005454ee57b270087b9814f31ad"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user