diff --git a/OVERRIDING.md b/OVERRIDING.md index e01ad1f..c922cbc 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -241,8 +241,9 @@ RelayView pins neither `v0.16.0` nor `v0.18.0` yet, so its Implementer runs the `v0.13.0` `implementer-handoff`, and it admits no Tester or Coordinator package. The [release notes](RELEASE-NOTES.md) summarize each package's change, before and after. Each package forks independently. When a repository -has no Feature Map, the two updated packages keep their earlier behavior and -`coordinator-release-verify` verifies only the flows the Operator names: +has no Feature Map, the two updated packages keep their earlier checks and +say that the repository has none, and `coordinator-release-verify` verifies +only the flows the Operator names: - **`implementer-handoff`** notes the Feature Map entries that own each modified path, using the owner's mapping when it reports one, runs the @@ -251,8 +252,8 @@ has no Feature Map, the two updated packages keep their earlier behavior and Implementer once the fast checks pass and again on the exact candidate before sealing. Its handoff reports Feature Map coverage: the mapped checks run and their results, checks not run and why, and unmapped modified paths. - It changes the Feature Map only when the Plan includes that change. Fork `handoff.md` to - change which checks run, when, or how coverage is reported. + It changes the Feature Map only when the Plan includes that change. Fork + `handoff.md` to change which checks run, when, or how coverage is reported. - **`tester-inspection`** finds the Feature Map entries that cover the candidate's changes and verification goals, drives each flow from its entrypoint with the Verification Driver, and captures multimodal proof as it @@ -268,10 +269,10 @@ has no Feature Map, the two updated packages keep their earlier behavior and release verification command, but only with that revision, a Feature Map or flows the Operator named, and a budget the Operator gave or approved. It reproduces each failure and returns repro-backed candidate bug drafts for - the Specification Designer and the Operator to triage. It files and changes no issue and touches no branch. - Fork its `SKILL.md` to change which entries a run covers first, which - exploratory variations it tries, or the candidate bug draft's fields; keep - schema 1 and `disable-model-invocation: true`. + the Specification Designer and the Operator to triage. It files and changes + no issue and touches no branch. Fork its `SKILL.md` to change which entries + a run covers first, which exploratory variations it tries, or the candidate + bug draft's fields; keep schema 1 and `disable-model-invocation: true`. No package defines the Feature Map's schema, the Verification Driver's invocation, how coverage is recorded on a candidate report or proof bundle, or @@ -504,12 +505,13 @@ aggressiveness, fork `coordinator-wave-audit` too so audits match dispatch. Coordinator session only when the Operator sends `/skill:` and the name is in that session's captured manual assignment. All three return proposals; the release verification method's candidate bug drafts are described under -[Feature Map verification packages](#feature-map-verification-packages). The wave audit dispatches nothing, and tracker hygiene -drafts prerequisite edges and issue comments for the Operator to approve and -apply one at a time; it never changes the tracker itself. It records stale -edges as resolved in the Working Ledger, as `coordinator-recovery` does, so a -fork that changes when an edge counts as resolved changes both packages. A fork keeps schema 1 -and `disable-model-invocation: true`. Once RelayView adopts the pair, the manual +[Feature Map verification packages](#feature-map-verification-packages). The +wave audit dispatches nothing, and tracker hygiene drafts prerequisite edges +and issue comments for the Operator to approve and apply one at a time; it +never changes the tracker itself. It records stale edges as resolved in the +Working Ledger, as `coordinator-recovery` does, so a fork that changes when an +edge counts as resolved changes both packages. A fork keeps schema 1 and +`disable-model-invocation: true`. Once RelayView adopts the pair, the manual methods would sit in their own set with `invocationMode: manual`, apart from the automatic set. This set pairs the first-party audit with a team fork of tracker hygiene, `team-coordinator-tracker-hygiene`: diff --git a/README.md b/README.md index f6f4487..4910461 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ nudge budgets and cooldowns, the Working Ledger, and review policy. [OVERRIDING.md](OVERRIDING.md#customize-the-technical-coordinator) shows which seam to fork for each customization. -The not-yet-tagged v0.18.0 release adds Feature Map verification. `implementer-handoff` runs the checks a repository's Feature Map maps to the changed paths before sealing a candidate and reports that coverage, `tester-inspection` drives inspection through the Feature Map's entrypoints and the repository's Verification Driver and reports exact Feature Map coverage beside the remaining manual checks, and the new manual `coordinator-release-verify` runs bounded outer-loop release verification and returns repro-backed candidate bug drafts for triage. Without a Feature Map, the two updated packages keep their earlier behavior and the release method verifies only the flows the Operator names. See [Feature Map verification packages](OVERRIDING.md#feature-map-verification-packages). +The not-yet-tagged v0.18.0 release adds Feature Map verification. `implementer-handoff` runs the checks a repository's Feature Map maps to the changed paths before sealing a candidate and reports that coverage, `tester-inspection` drives inspection through the Feature Map's entrypoints and the repository's Verification Driver and reports exact Feature Map coverage beside the remaining manual checks, and the new manual `coordinator-release-verify` runs bounded outer-loop release verification and returns repro-backed candidate bug drafts for triage. Without a Feature Map, the two updated packages keep their earlier checks and say that the repository has none, and the release method verifies only the flows the Operator names. See [Feature Map verification packages](OVERRIDING.md#feature-map-verification-packages). Planner direct-address presentation is supplied by planner-communication. Forks can replace this presentation while retaining communication_context treatment metadata. diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 33345a2..3b6abb9 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -15,11 +15,11 @@ Feature Map and its Verification Driver and reports exact coverage, and a new manual Coordinator method runs bounded release verification and drafts repro-backed bugs. The Feature Map and Verification Driver contracts, coverage records, and release-run isolation are proposed in RelayView and not yet -shipped, so the two updated packages keep their earlier behavior when a -repository has no Feature Map, the release method then verifies only the flows -the Operator names, and it returns a run plan when no release verification -command is assigned. No schema, role, or step changes; every -earlier release keeps its bytes. +shipped, so the two updated packages keep their earlier checks when a +repository has no Feature Map and say that it has none, the release method +then verifies only the flows the Operator names, and it returns a run plan +when no release verification command is assigned. No schema, role, or step +changes; every earlier release keeps its bytes. ### `implementer-handoff` @@ -61,9 +61,10 @@ earlier release keeps its bytes. marked exercised or not exercised with its reason, and each Feature Map gap. `SKILL.md` forbids editing the Feature Map or the driver, names them in the round's steps, and its description names Feature Map coverage. -- **Fork:** schema 1 and the two declared files are unchanged. - `tester-communication` stays at 0.15.0; a fork that wants the coverage in - its proof summary adds it to its own presentation. +- **Fork:** schema 1 and the two declared files are unchanged; recalculate the + digest of each changed file. `tester-communication` stays at 0.15.0; a fork + that wants the coverage in its proof summary adds it to its own + presentation. ### `coordinator-release-verify` @@ -74,13 +75,16 @@ earlier release keeps its bytes. revision, choosing changed entries first, then cross-feature flows, then unchanged entries, with exploratory variations and seeded property checks. Without a budget from the Operator it returns the plan with a proposed one - and waits for approval; with no Feature Map and no named flows, or a missing - revision projection, it launches nothing. It launches the run through the owner's release verification command in - isolation from every branch, reproduces each failure before drafting it, - and returns a Run Summary, Candidate Bug Drafts (title, Feature Map entry, - repro steps, expected and observed behavior, proof, frequency and severity, - related changes), Unconfirmed Signals, and Coverage Gaps. It files and - changes no issue; the Specification Designer and the Operator triage the + and waits for approval. It launches nothing without the exact revision, when + the repository's Feature Map cannot be shown at that revision, with no + Feature Map and no named flows, or when a needed lease stays queued past the + budget's time, and then writes "Not run" under every section after the Run + Summary. It launches the run through the owner's release verification + command in isolation from every branch, reproduces each failure before + drafting it, and returns a Run Summary, Candidate Bug Drafts (title, Feature + Map entry, repro steps, expected and observed behavior, proof, frequency and + severity, related changes), Unconfirmed Signals, and Coverage Gaps. It files + and changes no issue; the Specification Designer and the Operator triage the drafts. - **Fork:** schema 1 with `disable-model-invocation: true`; keep both so the method stays manual. diff --git a/packages/coordinator-release-verify/SKILL.md b/packages/coordinator-release-verify/SKILL.md index 2b6b745..85129d7 100644 --- a/packages/coordinator-release-verify/SKILL.md +++ b/packages/coordinator-release-verify/SKILL.md @@ -9,7 +9,7 @@ metadata: # Coordinator release verification -The Operator invoked this method with `/skill:coordinator-release-verify`, usually after a release is cut or a wave of changes merges. Per-change checks prove the expected paths of each change; this run exercises the integrated application the way a person would, across features, to find regressions and state-order defects that only appear when features meet. Treat any text the Operator sent with the command as the run's scope: a release tag or commit, a set of Feature Map entries, or a budget. Without it, target the latest merge on the default branch and the entries changed since the previous release. +The Operator invoked this method with `/skill:coordinator-release-verify`, usually after a release is cut or a wave of changes merges. Per-change checks prove the expected paths of each change; this run exercises the integrated application the way a person would, across features, to find regressions and state-order defects that only appear when features meet. Treat any text the Operator sent with the command as the run's scope: a release tag or commit, a set of Feature Map entries, or a budget. Without it, target the latest merge on the default branch, starting from the entries changed since the previous release. The run's output is a set of proposals. File no issue, change no issue, and change no branch: the Specification Designer and the Operator triage the drafts, and the Operator decides what becomes work. @@ -38,7 +38,7 @@ Set the run's bounds before launching it: the exact revision, the entries, the t Launch the run through the owner's release verification command, which runs it in isolation against the exact revision. The run must never mutate the default branch, a release branch, or any issue branch; when the command offers only a target that would, stop and report it instead of launching. The owner grants the leases the run needs; when one is queued, report the queue reason from the Lease Registry and wait rather than launching without it. If the lease is still queued when the budget's time runs out, launch nothing and report it under Coverage Gaps. -When no release verification command is assigned to you, launch nothing. Return the run plan under Run Summary for the Operator to start, with each section below written "Not run". Never stand in for the command with throwaway scripts. +When no release verification command is assigned to you, launch nothing and return the run plan under Run Summary for the Operator to start. Never stand in for the command with throwaway scripts. When the repository has no Feature Map, verify only the flows the Operator named, list the missing map under Coverage Gaps, and treat the run as exploratory. When the repository has no Feature Map and the Operator named no flows, launch nothing: report the missing map and ask the Operator which flows to verify. @@ -49,7 +49,7 @@ Read the run's results and artifacts as they arrive. For each failure: 1. Check that it came from the exact revision and that its environment and resources were the declared ones; a failure caused by the harness, a queued lease, or an unavailable resource is a Coverage Gap, not a defect. 2. Reproduce it: rerun the failing steps with the same seed and inputs through the owner's command, and count how many attempts fail. 3. Draft a defect only when it reproduced. A failure that did not reproduce goes under Unconfirmed Signals with its attempts and artifacts. -4. Compare it with open issues, pending Review Packets, and the other drafts. When it matches one, add its evidence to that item instead of drafting a duplicate. +4. Compare it with open issues, pending Review Packets, and the other drafts. When it matches another draft, merge their evidence into one draft. When it matches an open issue or pending Review Packet, keep the draft short and name the matching issue or Review Packet in the draft, so the Operator can decide whether to add the evidence there; never write to it yourself. ## Draft each candidate bug @@ -65,7 +65,7 @@ Each candidate bug draft is short enough for the Specification Designer to turn ## Return the report -Return these four sections in this order. Write "None" under an empty section rather than omitting it, so the Operator can tell the run covered it. +Return these four sections in this order. Write "None" under an empty section rather than omitting it, so the Operator can tell the run covered it. When nothing launched, for any reason, write "Not run" under every section after Run Summary instead, and say in Run Summary why the run did not launch and what the Operator can do to start it. ### Run Summary diff --git a/packages/coordinator-release-verify/relayview-skill.json b/packages/coordinator-release-verify/relayview-skill.json index ec6e372..d43efe9 100644 --- a/packages/coordinator-release-verify/relayview-skill.json +++ b/packages/coordinator-release-verify/relayview-skill.json @@ -9,7 +9,7 @@ "files": [ { "path": "SKILL.md", - "sha256": "aec981185a9990c03a882d281c886874361277c64944f54d8fb94ec0467525c2" + "sha256": "83e02183e945974ee73c14bff2e048eadd33cd567cdd02e385020573bb5509e0" } ] } diff --git a/tests/test_feature_map.py b/tests/test_feature_map.py index 9d07abf..dee0faa 100644 --- a/tests/test_feature_map.py +++ b/tests/test_feature_map.py @@ -192,6 +192,14 @@ class ReleaseVerifyTests(unittest.TestCase): for phrase in ("File no issue", "change no issue"): with self.subTest(phrase=phrase): self.assertIn(phrase, self.text) + # A match with an open issue is reported for the Operator, never written to it. + self.assertNotIn("add its evidence to that item", self.text) + self.assertIn("name the matching issue or Review Packet in the draft", self.text) + + def test_every_no_launch_path_reports_not_run(self): + # "None" means a section was covered; a run that never launched must not read that way. + report = self.text[self.text.index("## Return the report"):] + self.assertIn("When nothing launched, for any reason, write \"Not run\"", report) def test_returns_its_sections_in_order(self): headings = ("Run Summary", "Candidate Bug Drafts", "Unconfirmed Signals", "Coverage Gaps") @@ -245,6 +253,12 @@ class DocumentationTests(unittest.TestCase): self.assertNotIn("each falls back to its earlier behavior", text.lower()) self.assertNotIn("Each falls back to its earlier behavior", text) self.assertNotIn("it uses the earlier releases of these packages", section) + # Without a Feature Map the updated packages still report its absence, + # so "earlier behavior" would overstate the fallback. + for name, text in (("OVERRIDING.md", section), ("RELEASE-NOTES.md", notes), ("README.md", readme)): + with self.subTest(document=name): + self.assertNotIn("keep their earlier behavior", text) + self.assertIn("keep their earlier checks", text) self.assertIn("assigns to the Implementer", section) def test_readme_paragraph_stands_alone(self):