From e923bb56a0134ad954106cff7305b2d632fbf48e Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Thu, 26 Nov 2026 09:40:16 -0500 Subject: [PATCH 1/4] Mark v0.16.0-v0.18.0 published and record the v0.15.0 Designer adoption Release tags v0.16.0 and v0.17.0 (both at 18ec0be) and v0.18.0 (1590b16) are pushed, so the README, override guide, release notes, and package contract now name them as published releases. The contract records why v0.16.0 and v0.17.0 share a commit and that each bundle takes only the packages declaring its tag. RelayView pins v0.15.0 and assigns specification-designer-default to new Designer Chats, so the docs drop the pending-adoption wording and the contract describes the adoption in present tense. tests/test_release_status.py keeps document release status in step with the published tags. Co-Authored-By: Claude Opus 5.5 --- OVERRIDING.md | 54 ++++++------ README.md | 12 +-- RELEASE-NOTES.md | 4 +- .../instruction-package-contract.md | 52 +++++------ tests/test_feature_map.py | 4 +- tests/test_release_status.py | 87 +++++++++++++++++++ 6 files changed, 146 insertions(+), 67 deletions(-) create mode 100644 tests/test_release_status.py diff --git a/OVERRIDING.md b/OVERRIDING.md index 765cdbf..868427c 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -23,8 +23,8 @@ default and shows the saved and effective choice for each role. | Role | `role` / `step` | Schemas | `communication_context` | RelayView admission | Maintained automatic default (launch order) | Other first-party packages | | --- | --- | --- | --- | --- | --- | --- | -| Specification Designer | `designer` / `design` | 1 | No (schema 3 is rejected) | Admitted | `issue-designer-default` (pinned) | Default from release v0.15.0, not yet pinned: `specification-designer-default`. Manual: `designer-wayfinder`, `designer-grilling`, `designer-research`, `designer-domain-modeling`, `designer-triage`, `designer-to-spec`, `designer-to-tickets`, `designer-prototype`; the maintained configuration assigns none | -| Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | Automatic, in source for the proposed v0.17.0 release: `coordinator-dispatch`, `coordinator-recovery`, `coordinator-communication`. Manual, in source for the same release: `coordinator-wave-audit`, `coordinator-tracker-hygiene`. Manual, in source for the proposed v0.18.0 release: `coordinator-release-verify` | +| Specification Designer | `designer` / `design` | 1 | No (schema 3 is rejected) | Admitted | `specification-designer-default` | Retained at v0.13.0 for earlier sessions: `issue-designer-default`. Manual: `designer-wayfinder`, `designer-grilling`, `designer-research`, `designer-domain-modeling`, `designer-triage`, `designer-to-spec`, `designer-to-tickets`, `designer-prototype`; the maintained configuration assigns none | +| Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | Automatic, released in v0.17.0: `coordinator-dispatch`, `coordinator-recovery`, `coordinator-communication`. Manual, released in the same release: `coordinator-wave-audit`, `coordinator-tracker-hygiene`. Manual, released in v0.18.0: `coordinator-release-verify` | | Planner | `planner` / `planning` | 1, 2, 3 | Yes | Admitted | `planner-investigation`, `planner-scope`, `planner-communication`, `research-auto` | Automatic: `codebase-design`. Manual: `grill-me`, `grilling`, `improve-codebase-architecture`, `research`, `to-questionnaire` | | Implementer | `implementer` / `implementation` | 1, 3 | Yes | Admitted | `implementer-investigation`, `implementer-handoff`, `implementer-communication` | Automatic: `tdd-auto`, `diagnosing-bugs`, `domain-modeling`. Manual: `tdd`, `pr`, `prototype`, `migrate-to-shoehorn`, `scaffold-exercises`, `shared-abstraction-refactor`, `split-large-files`, `writing-for-agents` | | Reviewer | `reviewer` / `review` | 1, 3 | Yes | Admitted | `reviewer-investigation`, `code-review-auto`, `reviewer-communication` | Manual: `code-review`, `c4-diff` | @@ -35,24 +35,22 @@ RelayView calls the Designer role the Specification Designer. From as this repository's Designer default. The replacement adds guidance on requested proof artifacts, fast-test completeness, declared test resources, and the recommended review stamp, and the eight methods carry the same -guidance where they touch those decisions. RelayView still pins -`issue-designer-default` and assigns it until it pins `v0.15.0`, which needs -the owner changes the +guidance where they touch those decisions. RelayView pins `v0.15.0` and +assigns `specification-designer-default` to new Designer Chats; the [contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-specification-designer-default) -lists. `issue-designer-default` stays unchanged at `v0.13.0` so retained -sessions reconstruct their captured bytes. +describes the adoption. `issue-designer-default` stays unchanged at `v0.13.0` +so retained sessions reconstruct their captured bytes. RelayView's Tester runs today without skill assignment, and RelayView has no Technical Coordinator role yet. This repository already validates both pairs and publishes the Tester packages described in [Tester packages](#tester-packages), so a fork can be prepared, but RelayView refuses `tester` and `coordinator` packages until it adopts them. The -Coordinator packages are in source for the proposed `v0.17.0` release, with -the manual `coordinator-release-verify` added for the proposed `v0.18.0` -release, and become RelayView defaults only when RelayView adopts the role and -pins those releases; the +Coordinator packages are released in `v0.17.0`, with the manual +`coordinator-release-verify` added in `v0.18.0`, and become RelayView defaults +only when RelayView adopts the role and pins those releases; the [contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-tester-and-coordinator-pairs) -lists the proposed releases and the owner changes each pair needs. +lists the releases and the owner changes each pair needs. Other first-party packages run only when an Operator assigns them; see [assign other first-party guidance](#assign-other-first-party-guidance). A @@ -70,8 +68,8 @@ and no RelayView bundle contains it. | Package | Role / step | Mode | Schema | Sidecar extra | Version | Release | RelayView maintained default | | --- | --- | --- | --- | --- | --- | --- | --- | -| `specification-designer-default` | `designer` / `design` | automatic | 1 | — | 0.15.0 | `v0.15.0` | Proposed Designer default | -| `issue-designer-default` | `designer` / `design` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Pinned Designer default; replaced by `specification-designer-default` once RelayView pins `v0.15.0` | +| `specification-designer-default` | `designer` / `design` | automatic | 1 | — | 0.15.0 | `v0.15.0` | Pinned Designer default | +| `issue-designer-default` | `designer` / `design` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No; replaced by `specification-designer-default` and retained for earlier sessions | | `designer-domain-modeling` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | | `designer-grilling` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | | `designer-prototype` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | @@ -80,15 +78,15 @@ and no RelayView bundle contains it. | `designer-to-tickets` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | | `designer-triage` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | | `designer-wayfinder` | `designer` / `design` | manual | 1 | — | 0.15.0 | `v0.15.0` | No | -| `coordinator-dispatch` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted | -| `coordinator-recovery` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted | -| `coordinator-communication` | `coordinator` / `coordination` | automatic | 3 | `communication_context` | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted | -| `coordinator-wave-audit` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted | -| `coordinator-tracker-hygiene` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0`, not yet tagged | No; role not yet admitted | -| `coordinator-release-verify` | `coordinator` / `coordination` | manual | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | No; role not yet admitted | +| `coordinator-dispatch` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0` | No; role not yet admitted | +| `coordinator-recovery` | `coordinator` / `coordination` | automatic | 1 | — | 0.17.0 | `v0.17.0` | No; role not yet admitted | +| `coordinator-communication` | `coordinator` / `coordination` | automatic | 3 | `communication_context` | 0.17.0 | `v0.17.0` | No; role not yet admitted | +| `coordinator-wave-audit` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0` | No; role not yet admitted | +| `coordinator-tracker-hygiene` | `coordinator` / `coordination` | manual | 1 | — | 0.17.0 | `v0.17.0` | No; role not yet admitted | +| `coordinator-release-verify` | `coordinator` / `coordination` | manual | 1 | — | 0.18.0 | `v0.18.0` | No; role not yet admitted | | `planner-investigation` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Planner automatic, 1st | -| `planner-scope` | `planner` / `planning` | automatic | 2 | `issueClaim: status/in-progress` | 0.16.0 | `v0.16.0`, not yet tagged | Planner automatic, 2nd | -| `planner-communication` | `planner` / `planning` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Planner automatic, 3rd | +| `planner-scope` | `planner` / `planning` | automatic | 2 | `issueClaim: status/in-progress` | 0.16.0 | `v0.16.0` | Planner automatic, 2nd | +| `planner-communication` | `planner` / `planning` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0` | Planner automatic, 3rd | | `research-auto` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Planner automatic, 4th | | `codebase-design` | `planner` / `planning` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No | | `grill-me` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | @@ -97,8 +95,8 @@ and no RelayView bundle contains it. | `research` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | | `to-questionnaire` | `planner` / `planning` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | | `implementer-investigation` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Implementer automatic, 1st | -| `implementer-handoff` | `implementer` / `implementation` | automatic | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | Implementer automatic, 2nd | -| `implementer-communication` | `implementer` / `implementation` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Implementer automatic, 3rd | +| `implementer-handoff` | `implementer` / `implementation` | automatic | 1 | — | 0.18.0 | `v0.18.0` | Implementer automatic, 2nd | +| `implementer-communication` | `implementer` / `implementation` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0` | Implementer automatic, 3rd | | `diagnosing-bugs` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No | | `domain-modeling` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No | | `tdd-auto` | `implementer` / `implementation` | automatic | 1 | — | 0.13.0 | `v0.13.0` | No | @@ -111,11 +109,11 @@ and no RelayView bundle contains it. | `tdd` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | | `writing-for-agents` | `implementer` / `implementation` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | | `reviewer-investigation` | `reviewer` / `review` | automatic | 1 | — | 0.13.0 | `v0.13.0` | Reviewer automatic, 1st | -| `code-review-auto` | `reviewer` / `review` | automatic | 1 | — | 0.16.0 | `v0.16.0`, not yet tagged | Reviewer automatic, 2nd | -| `reviewer-communication` | `reviewer` / `review` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0`, not yet tagged | Reviewer automatic, 3rd | +| `code-review-auto` | `reviewer` / `review` | automatic | 1 | — | 0.16.0 | `v0.16.0` | Reviewer automatic, 2nd | +| `reviewer-communication` | `reviewer` / `review` | automatic | 3 | `communication_context` | 0.16.0 | `v0.16.0` | Reviewer automatic, 3rd | | `c4-diff` | `reviewer` / `review` | manual | 1 | — | 0.13.0 | `v0.13.0` | No | -| `code-review` | `reviewer` / `review` | manual | 1 | — | 0.16.0 | `v0.16.0`, not yet tagged | No | -| `tester-inspection` | `tester` / `testing` | automatic | 1 | — | 0.18.0 | `v0.18.0`, not yet tagged | No; pair not yet admitted | +| `code-review` | `reviewer` / `review` | manual | 1 | — | 0.16.0 | `v0.16.0` | No | +| `tester-inspection` | `tester` / `testing` | automatic | 1 | — | 0.18.0 | `v0.18.0` | No; pair not yet admitted | | `tester-communication` | `tester` / `testing` | automatic | 3 | `communication_context` | 0.15.0 | `v0.15.0` | No; pair not yet admitted | `tests/test_overriding.py` fails when this table disagrees with a package's diff --git a/README.md b/README.md index 4910461..727e4f8 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ A release tag pins public source. CI runs package checks and archives from that The MIT license covers this repository only. The contribution policy is in [CONTRIBUTING.md](CONTRIBUTING.md); dependency notices are in [NOTICE.md](NOTICE.md). -The automatic `code-review-auto` package supplies optional bounded, path-aware finding presentation. Broader two-axis standards/spec inspection remains in the manual `code-review` package. In the not-yet-tagged v0.16.0 release, both packages also propose the lowest viable Trust Pyramid guardrail for a repeatable defect class and escalate with a typed reason and risk summary. Both use only the assigned Reviewer capabilities; required adequacy, disposition and recovery stay with the owner. +The automatic `code-review-auto` package supplies optional bounded, path-aware finding presentation. Broader two-axis standards/spec inspection remains in the manual `code-review` package. In the v0.16.0 release, both packages also propose the lowest viable Trust Pyramid guardrail for a repeatable defect class and escalate with a typed reason and risk summary. Both use only the assigned Reviewer capabilities; required adequacy, disposition and recovery stay with the owner. Automatic role communication packages (`planner-communication`, `implementer-communication`, `reviewer-communication`, and the not yet admitted @@ -72,12 +72,12 @@ answer/detail/example/acknowledgement presentation only. The automatic `research-auto` Planner package supplies primary-source selection, preferred-domain exploration/refinement and evidence-reading methodology, publication/version checking, corroboration and already-admitted empirical evidence methods. The manual `research` package remains available on request. Tool arguments, budgets, continuation, recovery and untrusted research provenance belong to the owner. -`specification-designer-default` v0.15.0 replaces `issue-designer-default` as this repository's Specification Designer default; RelayView keeps assigning `issue-designer-default` until it pins v0.15.0. With it, the eight Designer methods move to v0.15.0 with Specification Designer naming. They help the Operator specify requested proof artifacts, fast-test completeness, declared test resources, and a recommended Layer B review stamp; the Operator sets the stamp, and RelayView's owner decides review. `issue-designer-default` remains unchanged at v0.13.0 for retained sessions. +`specification-designer-default` v0.15.0 replaces `issue-designer-default` as the Specification Designer default, and RelayView pins v0.15.0 and assigns it to new Designer Chats. With it, the eight Designer methods move to v0.15.0 with Specification Designer naming. They help the Operator specify requested proof artifacts, fast-test completeness, declared test resources, and a recommended Layer B review stamp; the Operator sets the stamp, and RelayView's owner decides review. `issue-designer-default` remains unchanged at v0.13.0, and RelayView keeps its bytes so retained sessions reconstruct them. The automatic Tester packages `tester-inspection` and `tester-communication`, released in `v0.15.0`, teach the Building Inspector method: exercise the exact sealed candidate as a user, capture the requested proof, separate verified runtime observations from remaining manual Operator checks, and escalate with a typed reason. They are the proposed Tester defaults; RelayView admits them only after it adopts the `tester`/`testing` pair. See [Tester packages](OVERRIDING.md#tester-packages). -The automatic Technical Coordinator packages target the proposed `v0.17.0` -release and are not yet tagged. `coordinator-dispatch` selects compatible +The automatic Technical Coordinator packages are released in `v0.17.0`. +`coordinator-dispatch` selects compatible parallel waves, batches work around scarce resources such as `ml-server` and GPU workers, and raises typed `portfolio_conflict` and `unique_resource_needed` escalations. `coordinator-recovery` triages a stalled task's blockers before a @@ -96,8 +96,8 @@ 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 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). +The 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. -The not-yet-tagged v0.16.0 release updates `planner-scope`, `planner-communication`, `implementer-handoff`, `implementer-communication`, `code-review-auto`, `code-review`, and `reviewer-communication`: the Planner turns the Specification Designer's requested proof into Implementer fast checks and Building Inspector verification goals, resolves or promotes Implementer escalation flags, and escalates with typed reasons; the Implementer converges those fast checks before sealing a candidate and routes uncertainty and scope flags to the Planner instead of the Operator; and the Reviewer proposes guardrails. `planner-scope` keeps schema 2 and its `issueClaim`. Apart from these and the new Tester, Specification Designer, and Coordinator packages, other packages retain their existing versions. The [release notes](RELEASE-NOTES.md) give each changed package's before and after for fork maintainers. +The v0.16.0 release updates `planner-scope`, `planner-communication`, `implementer-handoff`, `implementer-communication`, `code-review-auto`, `code-review`, and `reviewer-communication`: the Planner turns the Specification Designer's requested proof into Implementer fast checks and Building Inspector verification goals, resolves or promotes Implementer escalation flags, and escalates with typed reasons; the Implementer converges those fast checks before sealing a candidate and routes uncertainty and scope flags to the Planner instead of the Operator; and the Reviewer proposes guardrails. `planner-scope` keeps schema 2 and its `issueClaim`. Apart from these and the new Tester, Specification Designer, and Coordinator packages, other packages retain their existing versions. The [release notes](RELEASE-NOTES.md) give each changed package's before and after for fork maintainers. diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 698060a..41932cc 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -6,7 +6,7 @@ changes you want. A fork keeps its own `source` identity and is never replaced by a bundled update. [OVERRIDING.md](OVERRIDING.md) lists every package's current version and release. -## v0.18.0 (not yet tagged) +## v0.18.0 Feature Map verification for RelayView's proposed verification scaling: the Implementer runs the checks a repository's Feature Map maps to the paths it @@ -93,7 +93,7 @@ changes; every earlier release keeps its bytes. - **Fork:** schema 1 with `disable-model-invocation: true`; keep both so the method stays manual. -## v0.16.0 (not yet tagged) +## v0.16.0 Planner, Implementer, and Reviewer guidance for RelayView's proposed tiered review: the Planner turns the Specification Designer's requested proof into diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index 0960121..f7f0215 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -116,6 +116,12 @@ A published tag is never moved or rebuilt. A change to any package byte ships under a new release tag; RelayView keeps earlier bundles to reconstruct retained sessions. +A release's packages are those whose `source.reference` names its tag, and a +tag may also contain packages that declare a later release. `v0.16.0` and +`v0.17.0` tag the same commit: the `v0.17.0` Coordinator packages merged +before the `v0.16.0` Planner, Implementer, and Reviewer changes. A bundle for +either tag takes only the packages that declare it. + ## RelayView adoption of the Tester and Coordinator pairs RelayView's owner admits only `planner`, `implementer`, `reviewer`, and @@ -124,17 +130,16 @@ RelayView's owner admits only `planner`, `implementer`, `reviewer`, and (schema 3). `coordinator-dispatch` (schema 1), `coordinator-recovery` (schema 1), `coordinator-communication` (schema 3), and the manual `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1) declare -`coordinator`/`coordination` in this repository with source reference -`v0.17.0`, a proposed release that is not yet published. The proposed -`v0.18.0` release adds no pair: it moves `tester-inspection` to source -reference `v0.18.0` and adds the manual `coordinator-release-verify` -(schema 1): +`coordinator`/`coordination` with source reference `v0.17.0`, the published +release that introduces that pair. The published `v0.18.0` release adds no +pair: it moves `tester-inspection` to source reference `v0.18.0` and adds the +manual `coordinator-release-verify` (schema 1): | Release | Pair | Packages | | --- | --- | --- | | `v0.15.0`, published | `tester`/`testing`, new | `tester-inspection` (schema 1) and `tester-communication` (schema 3) | -| `v0.17.0`, proposed | `coordinator`/`coordination`, new | In source: `coordinator-dispatch` and `coordinator-recovery` (schema 1, automatic), `coordinator-communication` (schema 3), and `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1, manual) | -| `v0.18.0`, proposed | Both, already introduced | In source: `tester-inspection` (schema 1, automatic) and `coordinator-release-verify` (schema 1, manual) | +| `v0.17.0`, published | `coordinator`/`coordination`, new | `coordinator-dispatch` and `coordinator-recovery` (schema 1, automatic), `coordinator-communication` (schema 3), and `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1, manual) | +| `v0.18.0`, published | Both, already introduced | `tester-inspection` (schema 1, automatic) and `coordinator-release-verify` (schema 1, manual) | Before RelayView pins a release containing either pair, it must: @@ -165,26 +170,15 @@ From `v0.15.0`, `specification-designer-default` replaces identity and every earlier release are unchanged; it is no longer a maintained default. The eight manual Designer methods keep their IDs. -RelayView's owner names its Designer default by ID. Before RelayView pins a -release whose Designer default is `specification-designer-default`, it must: +RelayView's owner names its Designer default by ID. RelayView pins `v0.15.0` +in `first-party-skills/v0.15.0/`, verifies it with +`scripts/verify-first-party-skills-source.py`, and loads it as the current +catalog: -1. **Rename the default.** In `src/owner/workflowPresets.ts`, use the new ID - where the owner assigns the Designer default and its maintained comparison - selection, checks that optional Designer skills differ from it, and - requires it to be the one automatic pinned Designer package. -2. **Load the new release as current.** The current catalog admits the nine - `v0.15.0` packages with their new identities, and new Designer sessions - capture the default and any assigned methods from them. Today the current - catalog takes its Designer packages from the operator release: - `loadRelease` hard-codes their release as `v0.13.0`, and - `OPERATOR_RELEASE_PACKAGES` holds their identities. -3. **Keep reconstructing `v0.13.0` sessions.** A session that recorded the - `v0.13.0` Designer packages, including `issue-designer-default`, must still - resolve to those exact bytes, and earlier lineages must keep resolving as - they do now. Today `resolveDesignerSkills` decides whether to pass a - recorded assignment down the retained catalog chain by comparing its - recorded release with the fixed string `v0.13.0`, so that routing must - change with the new current release. -4. **Pin and verify the release.** Add `first-party-skills/v0.15.0/` with its - `bundle-lock.json`, and add the bundle to - `scripts/verify-first-party-skills-source.py`. +- New Designer Chats receive `specification-designer-default` and the eight + `v0.15.0` manual methods. +- The `v0.13.0` catalog joins the retained chain, so a session that recorded + `issue-designer-default` or another earlier Designer package reopens with + its exact bytes. +- A saved Designer Settings selection naming `issue-designer-default` resumes + with `specification-designer-default`. diff --git a/tests/test_feature_map.py b/tests/test_feature_map.py index 5127f10..df26333 100644 --- a/tests/test_feature_map.py +++ b/tests/test_feature_map.py @@ -287,7 +287,7 @@ class DocumentationTests(unittest.TestCase): def test_readme_paragraph_stands_alone(self): readme = (ROOT / "README.md").read_text() - start = readme.index("The not-yet-tagged v0.18.0 release") + start = readme.index("The v0.18.0 release") self.assertEqual(readme[start - 2:start], "\n\n") self.assertNotEqual(readme[start - 3], "\n") end = readme.index("\n", start) @@ -311,7 +311,7 @@ class DocumentationTests(unittest.TestCase): def test_contract_and_readme_name_the_v0_18_0_release(self): contract = (ROOT / "docs/authoritative/instruction-package-contract.md").read_text() adoption = guide_section(contract, "RelayView adoption of the Tester and Coordinator pairs") - self.assertIn("`v0.18.0`, proposed", adoption) + self.assertIn("`v0.18.0`, published", adoption) self.assertIn("`coordinator-release-verify`", adoption) readme = (ROOT / "README.md").read_text() for name in PACKAGES: diff --git a/tests/test_release_status.py b/tests/test_release_status.py new file mode 100644 index 0000000..e4eb89e --- /dev/null +++ b/tests/test_release_status.py @@ -0,0 +1,87 @@ +"""Keep the documents' release status in step with the published tags. + +A release is listed in PUBLISHED once its tag is pushed; a published tag is +never moved or rebuilt. Documents may describe a release as proposed or not +yet tagged only while it is absent from PUBLISHED.""" + +import re +import unittest +from pathlib import Path + +from tests.test_overriding import codes, section, table_rows + +ROOT = Path(__file__).resolve().parents[1] +CONTRACT = ROOT / "docs/authoritative/instruction-package-contract.md" +PUBLISHED = ("v0.15.0", "v0.16.0", "v0.17.0", "v0.18.0") +DOCUMENTS = ("README.md", "OVERRIDING.md", "RELEASE-NOTES.md", "docs/authoritative/instruction-package-contract.md") + + +def flat(path): + return " ".join((ROOT / path).read_text().split()) + + +class ReleaseStatusTests(unittest.TestCase): + def test_documents_never_call_a_published_release_unpublished(self): + for document in DOCUMENTS: + text = flat(document) + for tag in PUBLISHED: + escaped = re.escape(tag) + unpublished = ( + rf"not[- ]yet[- ]tagged `?{escaped}", + rf"`?{escaped}`?,? \(?not yet tagged", + rf"proposed `?{escaped}", + rf"`?{escaped}`?, proposed", + rf"`?{escaped}`? release and are not yet tagged", + rf"`?{escaped}`?, a proposed release", + ) + for pattern in unpublished: + with self.subTest(document=document, tag=tag, pattern=pattern): + self.assertIsNone(re.search(pattern, text, re.I)) + + def test_package_matrix_names_published_releases_plainly(self): + rows = table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix")) + for row in rows: + release = codes(row[6])[0] + if release in PUBLISHED: + with self.subTest(package=codes(row[0])[0]): + self.assertEqual(row[6], f"`{release}`") + + def test_contract_adoption_table_marks_releases_published(self): + adoption = section(CONTRACT.read_text(), "RelayView adoption of the Tester and Coordinator pairs") + releases = [row[0] for row in table_rows(adoption)] + self.assertEqual(releases, ["`v0.15.0`, published", "`v0.17.0`, published", "`v0.18.0`, published"]) + + def test_contract_explains_the_shared_v0_16_0_and_v0_17_0_commit(self): + releases = " ".join(section(CONTRACT.read_text(), "Releases are immutable").split()) + self.assertIn("`v0.16.0` and `v0.17.0` tag the same commit", releases) + self.assertIn("A bundle for either tag takes only the packages that declare it.", releases) + + def test_release_notes_headings_carry_no_pending_marker(self): + notes = (ROOT / "RELEASE-NOTES.md").read_text() + headings = re.findall(r"^## (.+)$", notes, re.M) + self.assertEqual(headings[:2], ["v0.18.0", "v0.16.0"]) + + +class DesignerAdoptionTests(unittest.TestCase): + """RelayView pins v0.15.0 and assigns specification-designer-default.""" + + def test_package_matrix_names_the_pinned_specification_designer_default(self): + rows = {codes(row[0])[0]: row[7] for row in + table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix"))} + self.assertTrue(rows["specification-designer-default"].startswith("Pinned Designer default")) + self.assertFalse(rows["issue-designer-default"].startswith("Pinned Designer default")) + + def test_documents_drop_the_pending_designer_adoption(self): + for document in ("README.md", "OVERRIDING.md"): + text = flat(document) + for phrase in ("until it pins `v0.15.0`", "until it pins v0.15.0", "not yet pinned", + "RelayView still pins `issue-designer-default`", "keeps assigning `issue-designer-default`"): + with self.subTest(document=document, phrase=phrase): + self.assertNotIn(phrase, text) + adoption = section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default") + self.assertNotIn("Before RelayView pins", adoption) + self.assertIn("first-party-skills/v0.15.0/", adoption) + + +if __name__ == "__main__": + unittest.main() From 40cdbbb12bc17ec4001844e78a0a60312c277d20 Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Thu, 26 Nov 2026 09:44:15 -0500 Subject: [PATCH 2/4] Address review pass 1: method capture, bundled subset, release notes - The contract says new Designer Chats receive only the default; a manual method is captured when an Operator assigns it. - The pair-adoption precondition names bundling a package, since RelayView's v0.15.0 bundle holds only the Designer packages. - The shared v0.16.0/v0.17.0 commit is stated as current truth. - RELEASE-NOTES.md gains v0.17.0 and v0.15.0 sections. - tests/test_release_status.py reuses the shared helpers and checks wording near any published tag rather than the removed sentences. Co-Authored-By: Claude Opus 5.5 --- OVERRIDING.md | 6 +- RELEASE-NOTES.md | 108 ++++++++++++++++++ .../instruction-package-contract.md | 20 ++-- tests/test_release_status.py | 79 +++++++------ 4 files changed, 168 insertions(+), 45 deletions(-) diff --git a/OVERRIDING.md b/OVERRIDING.md index 868427c..a6da33a 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -24,7 +24,7 @@ default and shows the saved and effective choice for each role. | Role | `role` / `step` | Schemas | `communication_context` | RelayView admission | Maintained automatic default (launch order) | Other first-party packages | | --- | --- | --- | --- | --- | --- | --- | | Specification Designer | `designer` / `design` | 1 | No (schema 3 is rejected) | Admitted | `specification-designer-default` | Retained at v0.13.0 for earlier sessions: `issue-designer-default`. Manual: `designer-wayfinder`, `designer-grilling`, `designer-research`, `designer-domain-modeling`, `designer-triage`, `designer-to-spec`, `designer-to-tickets`, `designer-prototype`; the maintained configuration assigns none | -| Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | Automatic, released in v0.17.0: `coordinator-dispatch`, `coordinator-recovery`, `coordinator-communication`. Manual, released in the same release: `coordinator-wave-audit`, `coordinator-tracker-hygiene`. Manual, released in v0.18.0: `coordinator-release-verify` | +| Technical Coordinator | `coordinator` / `coordination` | 1, 3 | Yes | Not yet admitted | None | Automatic, released in v0.17.0: `coordinator-dispatch`, `coordinator-recovery`, `coordinator-communication`. Manual, also in v0.17.0: `coordinator-wave-audit`, `coordinator-tracker-hygiene`. Manual, released in v0.18.0: `coordinator-release-verify` | | Planner | `planner` / `planning` | 1, 2, 3 | Yes | Admitted | `planner-investigation`, `planner-scope`, `planner-communication`, `research-auto` | Automatic: `codebase-design`. Manual: `grill-me`, `grilling`, `improve-codebase-architecture`, `research`, `to-questionnaire` | | Implementer | `implementer` / `implementation` | 1, 3 | Yes | Admitted | `implementer-investigation`, `implementer-handoff`, `implementer-communication` | Automatic: `tdd-auto`, `diagnosing-bugs`, `domain-modeling`. Manual: `tdd`, `pr`, `prototype`, `migrate-to-shoehorn`, `scaffold-exercises`, `shared-abstraction-refactor`, `split-large-files`, `writing-for-agents` | | Reviewer | `reviewer` / `review` | 1, 3 | Yes | Admitted | `reviewer-investigation`, `code-review-auto`, `reviewer-communication` | Manual: `code-review`, `c4-diff` | @@ -62,8 +62,8 @@ method, through the owner's method-entry gate. Mode comes from the `SKILL.md` frontmatter: `disable-model-invocation: true` makes a package manual. Release is the sidecar's `source.reference`, the tag -whose bytes RelayView pins for that package. A release marked *not yet tagged* -is the planned tag; until it is published, the package exists only on `main` +whose bytes RelayView pins for that package. When a row marks its release *not +yet tagged*, that tag is planned; until it is published, the package exists only on `main` and no RelayView bundle contains it. | Package | Role / step | Mode | Schema | Sidecar extra | Version | Release | RelayView maintained default | diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 41932cc..7f048ed 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -93,6 +93,60 @@ changes; every earlier release keeps its bytes. - **Fork:** schema 1 with `disable-model-invocation: true`; keep both so the method stays manual. +## v0.17.0 + +Technical Coordinator guidance for RelayView's proposed `coordinator` role. +Every package is new and declares `coordinator`/`coordination`; RelayView does +not yet admit the role, and its owner keeps prerequisites, dispatch +execution, resource leases, nudge budgets and cooldowns, the Working Ledger, +and review policy. `v0.17.0` tags the same commit as `v0.16.0`, so its source +also carries the `v0.16.0` packages; this release's packages are those that +declare `v0.17.0`. Every earlier release keeps its bytes. + +### `coordinator-dispatch` + +- **Before:** no package. +- **After:** an automatic method that selects compatible parallel waves, + batches work around scarce resources such as `ml-server` and GPU workers, + and raises typed `portfolio_conflict` and `unique_resource_needed` + escalations. +- **Fork:** schema 1, automatic. + +### `coordinator-recovery` + +- **Before:** no package. +- **After:** an automatic method that triages a stalled task's blockers + before a bounded nudge, parks repeated stalls for the Operator, rebuilds the + Coordinator's posture from the owner's Portfolio Read Model and Working + Ledger after a context refresh, and records implicit contention in that + ledger. +- **Fork:** schema 1, automatic; it forks independently of + `coordinator-dispatch`. + +### `coordinator-communication` + +- **Before:** no package. +- **After:** shapes Control Tower status reports. +- **Fork:** schema 3 with `treatment: "communication_context"`; preserve the + declaration. + +### `coordinator-wave-audit` + +- **Before:** no package. +- **After:** a manual method, invoked with `/skill:coordinator-wave-audit`, + that returns a structured wave plan for the whole Ready queue without + dispatching. +- **Fork:** schema 1 with `disable-model-invocation: true`. + +### `coordinator-tracker-hygiene` + +- **Before:** no package. +- **After:** a manual method, invoked with + `/skill:coordinator-tracker-hygiene`, that drafts prerequisite-edge and + issue-comment proposals from the contention recorded in the Working Ledger + for the Operator to approve and apply. +- **Fork:** schema 1 with `disable-model-invocation: true`. + ## v0.16.0 Planner, Implementer, and Reviewer guidance for RelayView's proposed tiered @@ -217,3 +271,57 @@ or step changes; every earlier release keeps its bytes. recommendation rather than a blocker, and no cautionary escalation when nothing needs the Operator. - **Fork:** schema 3 and `communication_context` are unchanged. + +## v0.15.0 + +Specification Designer naming and proof guidance, and the first Tester +packages. No schema changes; `issue-designer-default` keeps its `v0.13.0` +bytes for retained sessions, and every earlier release keeps its bytes. + +### `specification-designer-default` + +- **Before:** no package; `issue-designer-default` (0.13.0) was the Designer + default. +- **After:** the automatic Designer default. It guides the Operator through + requested proof artifacts, fast-test completeness, declared test resources, + and a recommended Layer B review stamp; the Operator sets the stamp. +- **Fork:** a fork of `issue-designer-default` can carry over the proof and + stamp guidance; keep schema 1 and automatic mode. + +### Designer methods + +- **Before (0.13.0):** eight manual methods with Issue Designer naming: + `designer-domain-modeling`, `designer-grilling`, `designer-prototype`, + `designer-research`, `designer-to-spec`, `designer-to-tickets`, + `designer-triage`, and `designer-wayfinder`. +- **After:** the same IDs with "Specification Designer" display names and + descriptions. Each method adds the proof decisions it touches: + `designer-to-spec` completes requested proof artifacts, fast-test + completeness, test resources, and the recommended review stamp; + `designer-to-tickets` gives each proposed issue its own; `designer-grilling` + challenges them; `designer-domain-modeling` notes whether each invariant has + a fast deterministic check; `designer-triage` notes the proof a fix needs; + `designer-wayfinder` weighs how each option changes them; and + `designer-prototype` and `designer-research` settle the facts they depend + on. +- **Fork:** schema 1 and manual mode are unchanged; each package declares + only `SKILL.md`. Recalculate its digest. + +### `tester-inspection` + +- **Before:** no package. +- **After:** the automatic Building Inspector method: exercise the exact + sealed candidate as a user, capture the requested proof, separate verified + runtime observations from remaining manual Operator checks, and escalate + with a typed reason. +- **Fork:** schema 1, automatic. RelayView admits it only after it adopts the + `tester`/`testing` pair. + +### `tester-communication` + +- **Before:** no package. +- **After:** presents the Tester's proof summary for the Review Packet + evidence-first: observed behavior, defects found, the manual-check + checklist, and any typed escalation, for one named candidate. +- **Fork:** schema 3 with `treatment: "communication_context"`; preserve the + declaration. diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index f7f0215..2b66883 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -118,9 +118,9 @@ retained sessions. A release's packages are those whose `source.reference` names its tag, and a tag may also contain packages that declare a later release. `v0.16.0` and -`v0.17.0` tag the same commit: the `v0.17.0` Coordinator packages merged -before the `v0.16.0` Planner, Implementer, and Reviewer changes. A bundle for -either tag takes only the packages that declare it. +`v0.17.0` tag the same commit, so the `v0.16.0` source also contains the +Coordinator packages that declare `v0.17.0`. A bundle for either tag takes +only the packages that declare it. ## RelayView adoption of the Tester and Coordinator pairs @@ -141,7 +141,9 @@ manual `coordinator-release-verify` (schema 1): | `v0.17.0`, published | `coordinator`/`coordination`, new | `coordinator-dispatch` and `coordinator-recovery` (schema 1, automatic), `coordinator-communication` (schema 3), and `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1, manual) | | `v0.18.0`, published | Both, already introduced | `tester-inspection` (schema 1, automatic) and `coordinator-release-verify` (schema 1, manual) | -Before RelayView pins a release containing either pair, it must: +RelayView bundles a subset of a release: its `v0.15.0` bundle holds only the +Designer packages, not the Tester packages that release declares. Before +RelayView bundles a package declaring either pair, it must: 1. **Know the role.** Add it to the owner's role types (`SkillWorkflowRole` / `TrustedSkillRole` in `src/owner/workflowPresets.ts`) and give it an @@ -155,8 +157,9 @@ Before RelayView pins a release containing either pair, it must: assignment, and set-selection schemas in `src/api/contract-skill-settings.ts` and the generated owner schemas, and to named-set role and step validation in `src/owner/workflowPresets.ts`, so the role's sets can be selected. -4. **Pin and verify the release.** Add `first-party-skills//` with its - `bundle-lock.json`, and add the bundle to +4. **Pin and verify the packages.** Bundle them from the release that + declares them under `first-party-skills//` with its + `bundle-lock.json`, and verify that bundle with `scripts/verify-first-party-skills-source.py`. The identity framing, archive format, file rules, and frontmatter rules do not @@ -175,8 +178,9 @@ in `first-party-skills/v0.15.0/`, verifies it with `scripts/verify-first-party-skills-source.py`, and loads it as the current catalog: -- New Designer Chats receive `specification-designer-default` and the eight - `v0.15.0` manual methods. +- New Designer Chats receive `specification-designer-default`. The eight + `v0.15.0` manual methods are admitted, and a Designer Chat captures one only + when an Operator assigns it. - The `v0.13.0` catalog joins the retained chain, so a session that recorded `issue-designer-default` or another earlier Designer package reopens with its exact bytes. diff --git a/tests/test_release_status.py b/tests/test_release_status.py index e4eb89e..aa9c5cf 100644 --- a/tests/test_release_status.py +++ b/tests/test_release_status.py @@ -1,42 +1,41 @@ """Keep the documents' release status in step with the published tags. -A release is listed in PUBLISHED once its tag is pushed; a published tag is -never moved or rebuilt. Documents may describe a release as proposed or not -yet tagged only while it is absent from PUBLISHED.""" +Add a release to PUBLISHED when its tag is pushed; a published tag is never +moved or rebuilt. The list is written out because CI checks out a shallow +clone without tags. Documents may describe a release as proposed or not yet +tagged only while it is absent from PUBLISHED.""" import re import unittest -from pathlib import Path -from tests.test_overriding import codes, section, table_rows +from tests.test_overriding import CONTRACT, ROOT, codes, section, table_rows -ROOT = Path(__file__).resolve().parents[1] -CONTRACT = ROOT / "docs/authoritative/instruction-package-contract.md" PUBLISHED = ("v0.15.0", "v0.16.0", "v0.17.0", "v0.18.0") DOCUMENTS = ("README.md", "OVERRIDING.md", "RELEASE-NOTES.md", "docs/authoritative/instruction-package-contract.md") +# An unpublished marker within this many characters of a published tag, in +# either order, describes that tag as unpublished. +NEARBY = 40 +UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)|proposed" -def flat(path): - return " ".join((ROOT / path).read_text().split()) +def flat(text): + return " ".join(text.split()) + + +def read(path): + return flat((ROOT / path).read_text()) class ReleaseStatusTests(unittest.TestCase): def test_documents_never_call_a_published_release_unpublished(self): for document in DOCUMENTS: - text = flat(document) + text = read(document) for tag in PUBLISHED: escaped = re.escape(tag) - unpublished = ( - rf"not[- ]yet[- ]tagged `?{escaped}", - rf"`?{escaped}`?,? \(?not yet tagged", - rf"proposed `?{escaped}", - rf"`?{escaped}`?, proposed", - rf"`?{escaped}`? release and are not yet tagged", - rf"`?{escaped}`?, a proposed release", - ) - for pattern in unpublished: - with self.subTest(document=document, tag=tag, pattern=pattern): - self.assertIsNone(re.search(pattern, text, re.I)) + pattern = (rf"(?:{UNPUBLISHED})[^.;|]{{0,{NEARBY}}}{escaped}" + rf"|{escaped}[^.;|]{{0,{NEARBY}}}(?:{UNPUBLISHED})") + with self.subTest(document=document, tag=tag): + self.assertIsNone(re.search(pattern, text, re.I)) def test_package_matrix_names_published_releases_plainly(self): rows = table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix")) @@ -48,18 +47,23 @@ class ReleaseStatusTests(unittest.TestCase): def test_contract_adoption_table_marks_releases_published(self): adoption = section(CONTRACT.read_text(), "RelayView adoption of the Tester and Coordinator pairs") - releases = [row[0] for row in table_rows(adoption)] - self.assertEqual(releases, ["`v0.15.0`, published", "`v0.17.0`, published", "`v0.18.0`, published"]) + for row in table_rows(adoption): + release = codes(row[0])[0] + if release in PUBLISHED: + with self.subTest(release=release): + self.assertEqual(row[0], f"`{release}`, published") def test_contract_explains_the_shared_v0_16_0_and_v0_17_0_commit(self): - releases = " ".join(section(CONTRACT.read_text(), "Releases are immutable").split()) + releases = flat(section(CONTRACT.read_text(), "Releases are immutable")) self.assertIn("`v0.16.0` and `v0.17.0` tag the same commit", releases) self.assertIn("A bundle for either tag takes only the packages that declare it.", releases) - def test_release_notes_headings_carry_no_pending_marker(self): - notes = (ROOT / "RELEASE-NOTES.md").read_text() - headings = re.findall(r"^## (.+)$", notes, re.M) - self.assertEqual(headings[:2], ["v0.18.0", "v0.16.0"]) + def test_release_notes_cover_each_published_release_without_a_pending_marker(self): + headings = re.findall(r"^## (.+)$", (ROOT / "RELEASE-NOTES.md").read_text(), re.M) + for tag in PUBLISHED: + with self.subTest(tag=tag): + self.assertIn(tag, headings) + self.assertEqual(headings, sorted(headings, key=lambda tag: tuple(map(int, tag[1:].split("."))), reverse=True)) class DesignerAdoptionTests(unittest.TestCase): @@ -73,15 +77,22 @@ class DesignerAdoptionTests(unittest.TestCase): def test_documents_drop_the_pending_designer_adoption(self): for document in ("README.md", "OVERRIDING.md"): - text = flat(document) - for phrase in ("until it pins `v0.15.0`", "until it pins v0.15.0", "not yet pinned", - "RelayView still pins `issue-designer-default`", "keeps assigning `issue-designer-default`"): - with self.subTest(document=document, phrase=phrase): - self.assertNotIn(phrase, text) - adoption = section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default") + with self.subTest(document=document): + self.assertIsNone(re.search(r"until it pins `?v0\.15\.0|not yet pinned", read(document))) + adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default")) self.assertNotIn("Before RelayView pins", adoption) self.assertIn("first-party-skills/v0.15.0/", adoption) + def test_designer_methods_are_captured_only_when_assigned(self): + adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default")) + self.assertIn("New Designer Chats receive `specification-designer-default`.", adoption) + self.assertIn("captures one only when an Operator assigns it", adoption) + + def test_pair_adoption_names_the_bundled_subset(self): + adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Tester and Coordinator pairs")) + self.assertIn("Before RelayView bundles a package declaring either pair", adoption) + self.assertNotIn("Before RelayView pins a release containing either pair", adoption) + if __name__ == "__main__": unittest.main() From 319314924c4a81c2d37528012d2d72e788874d3a Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Thu, 26 Nov 2026 09:47:11 -0500 Subject: [PATCH 3/4] Address review pass 2: Designer method naming, declared files, test robustness - v0.15.0 notes give the methods' earlier generic Designer display names. - Fork bullets name coordinator-dispatch's and tester-inspection's second declared file. - The v0.17.0 intro points to the contract instead of repeating why it shares a commit with v0.16.0. - Contract step 4 says how pair packages join an existing release bundle. - OVERRIDING.md and README.md paragraphs are rewrapped. - tests/test_release_status.py shares section lookups, checks positive current-truth wording instead of removed sentences, ignores non-version headings, and lets version strings sit inside a checked span. Co-Authored-By: Claude Opus 5.5 --- OVERRIDING.md | 6 +- README.md | 22 +++---- RELEASE-NOTES.md | 21 ++++--- .../instruction-package-contract.md | 10 ++-- tests/test_release_status.py | 57 +++++++++++-------- 5 files changed, 67 insertions(+), 49 deletions(-) diff --git a/OVERRIDING.md b/OVERRIDING.md index a6da33a..84ecbad 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -62,9 +62,9 @@ method, through the owner's method-entry gate. Mode comes from the `SKILL.md` frontmatter: `disable-model-invocation: true` makes a package manual. Release is the sidecar's `source.reference`, the tag -whose bytes RelayView pins for that package. When a row marks its release *not -yet tagged*, that tag is planned; until it is published, the package exists only on `main` -and no RelayView bundle contains it. +whose bytes RelayView pins for that package. When a row marks its release +*not yet tagged*, that tag is planned; until it is published, the package +exists only on `main` and no RelayView bundle contains it. | Package | Role / step | Mode | Schema | Sidecar extra | Version | Release | RelayView maintained default | | --- | --- | --- | --- | --- | --- | --- | --- | diff --git a/README.md b/README.md index 727e4f8..45cdc88 100644 --- a/README.md +++ b/README.md @@ -77,17 +77,17 @@ The automatic `research-auto` Planner package supplies primary-source selection, The automatic Tester packages `tester-inspection` and `tester-communication`, released in `v0.15.0`, teach the Building Inspector method: exercise the exact sealed candidate as a user, capture the requested proof, separate verified runtime observations from remaining manual Operator checks, and escalate with a typed reason. They are the proposed Tester defaults; RelayView admits them only after it adopts the `tester`/`testing` pair. See [Tester packages](OVERRIDING.md#tester-packages). The automatic Technical Coordinator packages are released in `v0.17.0`. -`coordinator-dispatch` selects compatible -parallel waves, batches work around scarce resources such as `ml-server` and -GPU workers, and raises typed `portfolio_conflict` and `unique_resource_needed` -escalations. `coordinator-recovery` triages a stalled task's blockers before a -bounded nudge, parks repeated stalls for the Operator, rebuilds the -Coordinator's posture from the owner's Portfolio Read Model and Working Ledger -after a context refresh, and records implicit contention in that ledger. -`coordinator-communication` (schema 3) shapes Control Tower status reports. -Two manual methods for the same release run only when the Operator invokes -them with `/skill:`: `coordinator-wave-audit` returns a structured wave -plan for the whole Ready queue without dispatching, and +`coordinator-dispatch` selects compatible parallel waves, batches work around +scarce resources such as `ml-server` and GPU workers, and raises typed +`portfolio_conflict` and `unique_resource_needed` escalations. +`coordinator-recovery` triages a stalled task's blockers before a bounded +nudge, parks repeated stalls for the Operator, rebuilds the Coordinator's +posture from the owner's Portfolio Read Model and Working Ledger after a +context refresh, and records implicit contention in that ledger. +`coordinator-communication` (schema 3) shapes Control Tower status reports. Two +manual methods for the same release run only when the Operator invokes them +with `/skill:`: `coordinator-wave-audit` returns a structured wave plan +for the whole Ready queue without dispatching, and `coordinator-tracker-hygiene` drafts prerequisite-edge and issue-comment proposals from the contention recorded in the Working Ledger for the Operator to approve and apply. RelayView does not yet admit the `coordinator` role; when diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7f048ed..0e15a1a 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -99,9 +99,11 @@ Technical Coordinator guidance for RelayView's proposed `coordinator` role. Every package is new and declares `coordinator`/`coordination`; RelayView does not yet admit the role, and its owner keeps prerequisites, dispatch execution, resource leases, nudge budgets and cooldowns, the Working Ledger, -and review policy. `v0.17.0` tags the same commit as `v0.16.0`, so its source -also carries the `v0.16.0` packages; this release's packages are those that -declare `v0.17.0`. Every earlier release keeps its bytes. +and review policy. This release's packages are those that declare +`v0.17.0`; "Releases are immutable" in the +[package contract](docs/authoritative/instruction-package-contract.md) +explains why it shares a commit with `v0.16.0`. Every earlier release keeps +its bytes. ### `coordinator-dispatch` @@ -110,7 +112,8 @@ declare `v0.17.0`. Every earlier release keeps its bytes. batches work around scarce resources such as `ml-server` and GPU workers, and raises typed `portfolio_conflict` and `unique_resource_needed` escalations. -- **Fork:** schema 1, automatic. +- **Fork:** schema 1, automatic, declaring `SKILL.md` and + `wave-selection.md`. ### `coordinator-recovery` @@ -290,12 +293,14 @@ bytes for retained sessions, and every earlier release keeps its bytes. ### Designer methods -- **Before (0.13.0):** eight manual methods with Issue Designer naming: +- **Before (0.13.0):** eight manual methods with generic Designer display + names ("Designer grilling") and issue-oriented descriptions: `designer-domain-modeling`, `designer-grilling`, `designer-prototype`, `designer-research`, `designer-to-spec`, `designer-to-tickets`, `designer-triage`, and `designer-wayfinder`. - **After:** the same IDs with "Specification Designer" display names and - descriptions. Each method adds the proof decisions it touches: + headings ("Specification Designer grilling") and descriptions that name a + specification. Each method adds the proof decisions it touches: `designer-to-spec` completes requested proof artifacts, fast-test completeness, test resources, and the recommended review stamp; `designer-to-tickets` gives each proposed issue its own; `designer-grilling` @@ -314,8 +319,8 @@ bytes for retained sessions, and every earlier release keeps its bytes. sealed candidate as a user, capture the requested proof, separate verified runtime observations from remaining manual Operator checks, and escalate with a typed reason. -- **Fork:** schema 1, automatic. RelayView admits it only after it adopts the - `tester`/`testing` pair. +- **Fork:** schema 1, automatic, declaring `SKILL.md` and `inspection.md`. + RelayView admits it only after it adopts the `tester`/`testing` pair. ### `tester-communication` diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index 2b66883..c4307a5 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -157,10 +157,12 @@ RelayView bundles a package declaring either pair, it must: assignment, and set-selection schemas in `src/api/contract-skill-settings.ts` and the generated owner schemas, and to named-set role and step validation in `src/owner/workflowPresets.ts`, so the role's sets can be selected. -4. **Pin and verify the packages.** Bundle them from the release that - declares them under `first-party-skills//` with its - `bundle-lock.json`, and verify that bundle with - `scripts/verify-first-party-skills-source.py`. +4. **Pin and verify the packages.** Add them to the + `first-party-skills//` bundle of the release that declares them, + creating that bundle if RelayView has none, list them in its + `bundle-lock.json`, and verify it with + `scripts/verify-first-party-skills-source.py`. Packages already in the + bundle keep their bytes. The identity framing, archive format, file rules, and frontmatter rules do not change for these pairs, so existing bundle locks stay valid. diff --git a/tests/test_release_status.py b/tests/test_release_status.py index aa9c5cf..fb07548 100644 --- a/tests/test_release_status.py +++ b/tests/test_release_status.py @@ -16,82 +16,93 @@ DOCUMENTS = ("README.md", "OVERRIDING.md", "RELEASE-NOTES.md", "docs/authoritati # either order, describes that tag as unpublished. NEARBY = 40 UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)|proposed" +# Any text within one sentence or table cell: a period ends the span only +# when it ends a sentence, so other version strings may sit in between. +SPAN = rf"(?:(?!\. )[^;|]){{0,{NEARBY}}}" +VERSION_HEADING = re.compile(r"^## (v\d+\.\d+\.\d+)$", re.M) def flat(text): return " ".join(text.split()) -def read(path): +def flat_document(path): return flat((ROOT / path).read_text()) +def contract_section(heading): + return section(CONTRACT.read_text(), heading) + + +def package_matrix(): + return {codes(row[0])[0]: row for row in table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix"))} + + class ReleaseStatusTests(unittest.TestCase): def test_documents_never_call_a_published_release_unpublished(self): for document in DOCUMENTS: - text = read(document) + text = flat_document(document) for tag in PUBLISHED: escaped = re.escape(tag) - pattern = (rf"(?:{UNPUBLISHED})[^.;|]{{0,{NEARBY}}}{escaped}" - rf"|{escaped}[^.;|]{{0,{NEARBY}}}(?:{UNPUBLISHED})") + pattern = rf"(?:{UNPUBLISHED}){SPAN}{escaped}|{escaped}{SPAN}(?:{UNPUBLISHED})" with self.subTest(document=document, tag=tag): self.assertIsNone(re.search(pattern, text, re.I)) def test_package_matrix_names_published_releases_plainly(self): - rows = table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix")) - for row in rows: + for name, row in package_matrix().items(): release = codes(row[6])[0] if release in PUBLISHED: - with self.subTest(package=codes(row[0])[0]): + with self.subTest(package=name): self.assertEqual(row[6], f"`{release}`") def test_contract_adoption_table_marks_releases_published(self): - adoption = section(CONTRACT.read_text(), "RelayView adoption of the Tester and Coordinator pairs") - for row in table_rows(adoption): + for row in table_rows(contract_section("RelayView adoption of the Tester and Coordinator pairs")): release = codes(row[0])[0] if release in PUBLISHED: with self.subTest(release=release): self.assertEqual(row[0], f"`{release}`, published") def test_contract_explains_the_shared_v0_16_0_and_v0_17_0_commit(self): - releases = flat(section(CONTRACT.read_text(), "Releases are immutable")) + releases = flat(contract_section("Releases are immutable")) self.assertIn("`v0.16.0` and `v0.17.0` tag the same commit", releases) self.assertIn("A bundle for either tag takes only the packages that declare it.", releases) def test_release_notes_cover_each_published_release_without_a_pending_marker(self): - headings = re.findall(r"^## (.+)$", (ROOT / "RELEASE-NOTES.md").read_text(), re.M) + notes = (ROOT / "RELEASE-NOTES.md").read_text() + headings = VERSION_HEADING.findall(notes) for tag in PUBLISHED: with self.subTest(tag=tag): self.assertIn(tag, headings) self.assertEqual(headings, sorted(headings, key=lambda tag: tuple(map(int, tag[1:].split("."))), reverse=True)) + for heading in re.findall(r"^## (.+)$", notes, re.M): + if heading.split(" ")[0] in PUBLISHED: + with self.subTest(heading=heading): + self.assertIn(heading, PUBLISHED) class DesignerAdoptionTests(unittest.TestCase): """RelayView pins v0.15.0 and assigns specification-designer-default.""" def test_package_matrix_names_the_pinned_specification_designer_default(self): - rows = {codes(row[0])[0]: row[7] for row in - table_rows(section((ROOT / "OVERRIDING.md").read_text(), "Package matrix"))} - self.assertTrue(rows["specification-designer-default"].startswith("Pinned Designer default")) - self.assertFalse(rows["issue-designer-default"].startswith("Pinned Designer default")) + rows = package_matrix() + self.assertTrue(rows["specification-designer-default"][7].startswith("Pinned Designer default")) + self.assertFalse(rows["issue-designer-default"][7].startswith("Pinned Designer default")) def test_documents_drop_the_pending_designer_adoption(self): for document in ("README.md", "OVERRIDING.md"): with self.subTest(document=document): - self.assertIsNone(re.search(r"until it pins `?v0\.15\.0|not yet pinned", read(document))) - adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default")) - self.assertNotIn("Before RelayView pins", adoption) - self.assertIn("first-party-skills/v0.15.0/", adoption) + self.assertIsNone(re.search(r"until it pins `?v0\.15\.0|not yet pinned", flat_document(document))) - def test_designer_methods_are_captured_only_when_assigned(self): - adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Specification Designer default")) + def test_contract_describes_the_designer_adoption(self): + adoption = flat(contract_section("RelayView adoption of the Specification Designer default")) + self.assertIn("RelayView pins `v0.15.0` in `first-party-skills/v0.15.0/`", adoption) self.assertIn("New Designer Chats receive `specification-designer-default`.", adoption) self.assertIn("captures one only when an Operator assigns it", adoption) def test_pair_adoption_names_the_bundled_subset(self): - adoption = flat(section(CONTRACT.read_text(), "RelayView adoption of the Tester and Coordinator pairs")) + adoption = flat(contract_section("RelayView adoption of the Tester and Coordinator pairs")) + self.assertIn("its `v0.15.0` bundle holds only the Designer packages", adoption) self.assertIn("Before RelayView bundles a package declaring either pair", adoption) - self.assertNotIn("Before RelayView pins a release containing either pair", adoption) if __name__ == "__main__": From bdf6b47e8e2a70cec032f5abe2ea9543ced533a0 Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Thu, 26 Nov 2026 09:49:23 -0500 Subject: [PATCH 4/4] Address review pass 3: verifier bundle list, method descriptions, proposed match - Contract step 4 again says a new bundle joins the verifier's BUNDLES list. - v0.15.0 notes describe the earlier method descriptions accurately, and the v0.17.0 intro says what the shared commit means. - tests/test_release_status.py counts "proposed" only directly beside a published tag, since the documents also name RelayView's proposed owner rules, and drops a redundant heading loop. Co-Authored-By: Claude Opus 5.5 --- RELEASE-NOTES.md | 5 +++-- .../instruction-package-contract.md | 2 +- tests/test_release_status.py | 17 +++++++++-------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 0e15a1a..b93e918 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -102,7 +102,7 @@ execution, resource leases, nudge budgets and cooldowns, the Working Ledger, and review policy. This release's packages are those that declare `v0.17.0`; "Releases are immutable" in the [package contract](docs/authoritative/instruction-package-contract.md) -explains why it shares a commit with `v0.16.0`. Every earlier release keeps +explains what sharing a commit with `v0.16.0` means. Every earlier release keeps its bytes. ### `coordinator-dispatch` @@ -294,7 +294,8 @@ bytes for retained sessions, and every earlier release keeps its bytes. ### Designer methods - **Before (0.13.0):** eight manual methods with generic Designer display - names ("Designer grilling") and issue-oriented descriptions: + names ("Designer grilling") and issue-, design-, or work-oriented + descriptions: `designer-domain-modeling`, `designer-grilling`, `designer-prototype`, `designer-research`, `designer-to-spec`, `designer-to-tickets`, `designer-triage`, and `designer-wayfinder`. diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index c4307a5..3c46741 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -160,7 +160,7 @@ RelayView bundles a package declaring either pair, it must: 4. **Pin and verify the packages.** Add them to the `first-party-skills//` bundle of the release that declares them, creating that bundle if RelayView has none, list them in its - `bundle-lock.json`, and verify it with + `bundle-lock.json`, and add a new bundle to `BUNDLES` in `scripts/verify-first-party-skills-source.py`. Packages already in the bundle keep their bytes. diff --git a/tests/test_release_status.py b/tests/test_release_status.py index fb07548..a08f7d3 100644 --- a/tests/test_release_status.py +++ b/tests/test_release_status.py @@ -12,10 +12,13 @@ from tests.test_overriding import CONTRACT, ROOT, codes, section, table_rows PUBLISHED = ("v0.15.0", "v0.16.0", "v0.17.0", "v0.18.0") DOCUMENTS = ("README.md", "OVERRIDING.md", "RELEASE-NOTES.md", "docs/authoritative/instruction-package-contract.md") -# An unpublished marker within this many characters of a published tag, in -# either order, describes that tag as unpublished. +# "Not yet tagged" or "not yet published" within this many characters of a +# published tag, in either order, describes that tag as unpublished. +# "Proposed" also names RelayView's proposed owner rules, so it counts only +# directly beside the tag ("proposed `v0.17.0`", "`v0.18.0`, proposed"). NEARBY = 40 -UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)|proposed" +UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)" +ADJACENT = r"[\s`,]{0,3}" # Any text within one sentence or table cell: a period ends the span only # when it ends a sentence, so other version strings may sit in between. SPAN = rf"(?:(?!\. )[^;|]){{0,{NEARBY}}}" @@ -44,7 +47,8 @@ class ReleaseStatusTests(unittest.TestCase): text = flat_document(document) for tag in PUBLISHED: escaped = re.escape(tag) - pattern = rf"(?:{UNPUBLISHED}){SPAN}{escaped}|{escaped}{SPAN}(?:{UNPUBLISHED})" + pattern = (rf"(?:{UNPUBLISHED}){SPAN}{escaped}|{escaped}{SPAN}(?:{UNPUBLISHED})" + rf"|proposed{ADJACENT}{escaped}|{escaped}{ADJACENT}proposed") with self.subTest(document=document, tag=tag): self.assertIsNone(re.search(pattern, text, re.I)) @@ -74,10 +78,6 @@ class ReleaseStatusTests(unittest.TestCase): with self.subTest(tag=tag): self.assertIn(tag, headings) self.assertEqual(headings, sorted(headings, key=lambda tag: tuple(map(int, tag[1:].split("."))), reverse=True)) - for heading in re.findall(r"^## (.+)$", notes, re.M): - if heading.split(" ")[0] in PUBLISHED: - with self.subTest(heading=heading): - self.assertIn(heading, PUBLISHED) class DesignerAdoptionTests(unittest.TestCase): @@ -103,6 +103,7 @@ class DesignerAdoptionTests(unittest.TestCase): adoption = flat(contract_section("RelayView adoption of the Tester and Coordinator pairs")) self.assertIn("its `v0.15.0` bundle holds only the Designer packages", adoption) self.assertIn("Before RelayView bundles a package declaring either pair", adoption) + self.assertIn("add a new bundle to `BUNDLES` in `scripts/verify-first-party-skills-source.py`", adoption) if __name__ == "__main__":