Address review: keep sealing as guidance and the rules in handoff.md

Move the fast-check definition and flag triggers out of implementer-handoff's
SKILL.md so forking handoff.md alone changes them, as OVERRIDING.md says.
Reword sealing as an aim the owner's workflow decides rather than a gate the
prose restates, so a fast check that can never pass ends in a report. Raise
scope_exceeded for a failing check only when the fix leaves the Plan.
Rewrap the release-notes intro and rename one test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-25 23:29:30 -05:00
1 parent ca7b5e4b80
commit b217bfcb03
5 files changed
+51 -30

No files matched your search

+20 -2
View File
@@ -15,7 +15,7 @@ PACKAGES = {
class ImplementerReleaseTests(unittest.TestCase):
def test_packages_release_with_planner_and_reviewer_and_keep_their_schemas(self):
def test_packages_move_to_v0_16_0_with_unchanged_schemas(self):
for name, (schema, extra, files) in PACKAGES.items():
with self.subTest(package=name):
check_package(ROOT / "packages" / name)
@@ -61,8 +61,26 @@ class InnerLoopTests(unittest.TestCase):
def test_does_not_seal_a_failing_candidate_as_ready(self):
# A fast check that cannot pass is reported, never presented as ready.
self.assertIn("A command attempted is not a check passed", self.text)
self.assertIn("do not present the candidate as ready", self.text)
# Sealing is the owner's gate: the prose guides the Implementer toward
# it rather than restating it, so a check that can never pass still
# ends in a report instead of a step that cannot finish.
for gate in ("Seal a candidate only when", "complete when the fast checks pass"):
with self.subTest(gate=gate):
self.assertNotIn(gate, self.text)
# A failing check is a scope flag only when the fix leaves the Plan.
self.assertIn("raise `scope_exceeded` only when", self.text)
def test_handoff_guide_owns_the_forkable_rules(self):
# Like planner-scope's escalation guide, the resource carries the
# rules, so forking handoff.md alone changes the inner loop and flags.
handoff = (ROOT / "packages/implementer-handoff/handoff.md").read_text()
skill = (ROOT / "packages/implementer-handoff/SKILL.md").read_text()
for rule in ("seconds, not minutes", "types, lint, static analysis", "genuine specification ambiguity",
"Do not page the Operator", "silently improvise"):
with self.subTest(rule=rule):
self.assertIn(rule, handoff)
self.assertNotIn(rule, skill)
def test_reports_test_resource_readiness_and_known_gaps(self):
for phrase in ("declared test resource", "readiness", "known gap", "verification goal",