Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea7c2c5e0a | ||
|
|
bdf6b47e8e | ||
|
|
319314924c | ||
|
|
40cdbbb12b | ||
|
|
e923bb56a0 |
No files matched your search
+29
-31
@@ -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 |
|
| 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 |
|
| 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, 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` |
|
| 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` |
|
| 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` |
|
| 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` |
|
| 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
|
as this repository's Designer default. The replacement adds guidance on
|
||||||
requested proof artifacts, fast-test completeness, declared test resources,
|
requested proof artifacts, fast-test completeness, declared test resources,
|
||||||
and the recommended review stamp, and the eight methods carry the same
|
and the recommended review stamp, and the eight methods carry the same
|
||||||
guidance where they touch those decisions. RelayView still pins
|
guidance where they touch those decisions. RelayView pins `v0.15.0` and
|
||||||
`issue-designer-default` and assigns it until it pins `v0.15.0`, which needs
|
assigns `specification-designer-default` to new Designer Chats; the
|
||||||
the owner changes the
|
|
||||||
[contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-specification-designer-default)
|
[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
|
describes the adoption. `issue-designer-default` stays unchanged at `v0.13.0`
|
||||||
sessions reconstruct their captured bytes.
|
so retained sessions reconstruct their captured bytes.
|
||||||
|
|
||||||
RelayView's Tester runs today without skill assignment, and RelayView has no
|
RelayView's Tester runs today without skill assignment, and RelayView has no
|
||||||
Technical Coordinator role yet. This repository already validates both pairs
|
Technical Coordinator role yet. This repository already validates both pairs
|
||||||
and publishes the Tester packages described in
|
and publishes the Tester packages described in
|
||||||
[Tester packages](#tester-packages), so a fork can be prepared, but RelayView
|
[Tester packages](#tester-packages), so a fork can be prepared, but RelayView
|
||||||
refuses `tester` and `coordinator` packages until it adopts them. The
|
refuses `tester` and `coordinator` packages until it adopts them. The
|
||||||
Coordinator packages are in source for the proposed `v0.17.0` release, with
|
Coordinator packages are released in `v0.17.0`, with the manual
|
||||||
the manual `coordinator-release-verify` added for the proposed `v0.18.0`
|
`coordinator-release-verify` added in `v0.18.0`, and become RelayView defaults
|
||||||
release, and become RelayView defaults only when RelayView adopts the role and
|
only when RelayView adopts the role and pins those releases; the
|
||||||
pins those releases; the
|
|
||||||
[contract](docs/authoritative/instruction-package-contract.md#relayview-adoption-of-the-tester-and-coordinator-pairs)
|
[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
|
Other first-party packages run only when an Operator assigns them; see
|
||||||
[assign other first-party guidance](#assign-other-first-party-guidance). A
|
[assign other first-party guidance](#assign-other-first-party-guidance). A
|
||||||
@@ -64,14 +62,14 @@ method, through the owner's method-entry gate.
|
|||||||
|
|
||||||
Mode comes from the `SKILL.md` frontmatter: `disable-model-invocation: true`
|
Mode comes from the `SKILL.md` frontmatter: `disable-model-invocation: true`
|
||||||
makes a package manual. Release is the sidecar's `source.reference`, the tag
|
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*
|
whose bytes RelayView pins for that package. When a row marks its release
|
||||||
is the planned tag; until it is published, the package exists only on `main`
|
*not yet tagged*, that tag is planned; until it is published, the package
|
||||||
and no RelayView bundle contains it.
|
exists only on `main` and no RelayView bundle contains it.
|
||||||
|
|
||||||
| Package | Role / step | Mode | Schema | Sidecar extra | Version | Release | RelayView maintained default |
|
| 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 |
|
| `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` | Pinned Designer default; replaced by `specification-designer-default` once RelayView pins `v0.15.0` |
|
| `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-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-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 |
|
| `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-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-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 |
|
| `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-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`, not yet tagged | 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`, not yet tagged | 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`, not yet tagged | 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`, not yet tagged | 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`, not yet tagged | 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-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-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`, not yet tagged | Planner automatic, 3rd |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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-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-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`, not yet tagged | Implementer automatic, 3rd |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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 |
|
| `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`, not yet tagged | Reviewer automatic, 3rd |
|
| `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 |
|
| `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 |
|
| `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`, not yet tagged | No; pair not yet admitted |
|
| `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 |
|
| `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
|
`tests/test_overriding.py` fails when this table disagrees with a package's
|
||||||
|
|||||||
@@ -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 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`,
|
Automatic role communication packages (`planner-communication`,
|
||||||
`implementer-communication`, `reviewer-communication`, and the not yet admitted
|
`implementer-communication`, `reviewer-communication`, and the not yet admitted
|
||||||
@@ -72,22 +72,22 @@ 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.
|
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 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`
|
The automatic Technical Coordinator packages are released in `v0.17.0`.
|
||||||
release and are not yet tagged. `coordinator-dispatch` selects compatible
|
`coordinator-dispatch` selects compatible parallel waves, batches work around
|
||||||
parallel waves, batches work around scarce resources such as `ml-server` and
|
scarce resources such as `ml-server` and GPU workers, and raises typed
|
||||||
GPU workers, and raises typed `portfolio_conflict` and `unique_resource_needed`
|
`portfolio_conflict` and `unique_resource_needed` escalations.
|
||||||
escalations. `coordinator-recovery` triages a stalled task's blockers before a
|
`coordinator-recovery` triages a stalled task's blockers before a bounded
|
||||||
bounded nudge, parks repeated stalls for the Operator, rebuilds the
|
nudge, parks repeated stalls for the Operator, rebuilds the Coordinator's
|
||||||
Coordinator's posture from the owner's Portfolio Read Model and Working Ledger
|
posture from the owner's Portfolio Read Model and Working Ledger after a
|
||||||
after a context refresh, and records implicit contention in that ledger.
|
context refresh, and records implicit contention in that ledger.
|
||||||
`coordinator-communication` (schema 3) shapes Control Tower status reports.
|
`coordinator-communication` (schema 3) shapes Control Tower status reports. Two
|
||||||
Two manual methods for the same release run only when the Operator invokes
|
manual methods for the same release run only when the Operator invokes them
|
||||||
them with `/skill:<name>`: `coordinator-wave-audit` returns a structured wave
|
with `/skill:<name>`: `coordinator-wave-audit` returns a structured wave plan
|
||||||
plan for the whole Ready queue without dispatching, and
|
for the whole Ready queue without dispatching, and
|
||||||
`coordinator-tracker-hygiene` drafts prerequisite-edge and issue-comment
|
`coordinator-tracker-hygiene` drafts prerequisite-edge and issue-comment
|
||||||
proposals from the contention recorded in the Working Ledger for the Operator
|
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
|
to approve and apply. RelayView does not yet admit the `coordinator` role; when
|
||||||
@@ -96,8 +96,8 @@ nudge budgets and cooldowns, the Working Ledger, and review policy.
|
|||||||
[OVERRIDING.md](OVERRIDING.md#customize-the-technical-coordinator) shows which
|
[OVERRIDING.md](OVERRIDING.md#customize-the-technical-coordinator) shows which
|
||||||
seam to fork for each customization.
|
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.
|
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.
|
||||||
+116
-2
@@ -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
|
replaced by a bundled update. [OVERRIDING.md](OVERRIDING.md) lists every
|
||||||
package's current version and release.
|
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
|
Feature Map verification for RelayView's proposed verification scaling: the
|
||||||
Implementer runs the checks a repository's Feature Map maps to the paths it
|
Implementer runs the checks a repository's Feature Map maps to the paths it
|
||||||
@@ -93,7 +93,64 @@ changes; every earlier release keeps its bytes.
|
|||||||
- **Fork:** schema 1 with `disable-model-invocation: true`; keep both so the
|
- **Fork:** schema 1 with `disable-model-invocation: true`; keep both so the
|
||||||
method stays manual.
|
method stays manual.
|
||||||
|
|
||||||
## v0.16.0 (not yet tagged)
|
## 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. 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 what sharing a commit with `v0.16.0` means. 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, declaring `SKILL.md` and
|
||||||
|
`wave-selection.md`.
|
||||||
|
|
||||||
|
### `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
|
Planner, Implementer, and Reviewer guidance for RelayView's proposed tiered
|
||||||
review: the Planner turns the Specification Designer's requested proof into
|
review: the Planner turns the Specification Designer's requested proof into
|
||||||
@@ -217,3 +274,60 @@ or step changes; every earlier release keeps its bytes.
|
|||||||
recommendation rather than a blocker, and no cautionary escalation when
|
recommendation rather than a blocker, and no cautionary escalation when
|
||||||
nothing needs the Operator.
|
nothing needs the Operator.
|
||||||
- **Fork:** schema 3 and `communication_context` are unchanged.
|
- **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 generic Designer display
|
||||||
|
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`.
|
||||||
|
- **After:** the same IDs with "Specification Designer" display names and
|
||||||
|
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`
|
||||||
|
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, declaring `SKILL.md` and `inspection.md`.
|
||||||
|
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.
|
||||||
@@ -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
|
under a new release tag; RelayView keeps earlier bundles to reconstruct
|
||||||
retained sessions.
|
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, 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
|
## RelayView adoption of the Tester and Coordinator pairs
|
||||||
|
|
||||||
RelayView's owner admits only `planner`, `implementer`, `reviewer`, and
|
RelayView's owner admits only `planner`, `implementer`, `reviewer`, and
|
||||||
@@ -124,19 +130,20 @@ RelayView's owner admits only `planner`, `implementer`, `reviewer`, and
|
|||||||
(schema 3). `coordinator-dispatch` (schema 1), `coordinator-recovery` (schema 1),
|
(schema 3). `coordinator-dispatch` (schema 1), `coordinator-recovery` (schema 1),
|
||||||
`coordinator-communication` (schema 3), and the manual `coordinator-wave-audit`
|
`coordinator-communication` (schema 3), and the manual `coordinator-wave-audit`
|
||||||
and `coordinator-tracker-hygiene` (schema 1) declare
|
and `coordinator-tracker-hygiene` (schema 1) declare
|
||||||
`coordinator`/`coordination` in this repository with source reference
|
`coordinator`/`coordination` with source reference `v0.17.0`, the published
|
||||||
`v0.17.0`, a proposed release that is not yet published. The proposed
|
release that introduces that pair. The published `v0.18.0` release adds no
|
||||||
`v0.18.0` release adds no pair: it moves `tester-inspection` to source
|
pair: it moves `tester-inspection` to source reference `v0.18.0` and adds the
|
||||||
reference `v0.18.0` and adds the manual `coordinator-release-verify`
|
manual `coordinator-release-verify` (schema 1):
|
||||||
(schema 1):
|
|
||||||
|
|
||||||
| Release | Pair | Packages |
|
| Release | Pair | Packages |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `v0.15.0`, published | `tester`/`testing`, new | `tester-inspection` (schema 1) and `tester-communication` (schema 3) |
|
| `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.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`, proposed | Both, already introduced | In source: `tester-inspection` (schema 1, automatic) and `coordinator-release-verify` (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` /
|
1. **Know the role.** Add it to the owner's role types (`SkillWorkflowRole` /
|
||||||
`TrustedSkillRole` in `src/owner/workflowPresets.ts`) and give it an
|
`TrustedSkillRole` in `src/owner/workflowPresets.ts`) and give it an
|
||||||
@@ -150,9 +157,12 @@ Before RelayView pins a release containing either pair, it must:
|
|||||||
assignment, and set-selection schemas in `src/api/contract-skill-settings.ts`
|
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
|
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.
|
in `src/owner/workflowPresets.ts`, so the role's sets can be selected.
|
||||||
4. **Pin and verify the release.** Add `first-party-skills/<tag>/` with its
|
4. **Pin and verify the packages.** Add them to the
|
||||||
`bundle-lock.json`, and add the bundle to
|
`first-party-skills/<tag>/` bundle of the release that declares them,
|
||||||
`scripts/verify-first-party-skills-source.py`.
|
creating that bundle if RelayView has none, list them in its
|
||||||
|
`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.
|
||||||
|
|
||||||
The identity framing, archive format, file rules, and frontmatter rules do not
|
The identity framing, archive format, file rules, and frontmatter rules do not
|
||||||
change for these pairs, so existing bundle locks stay valid.
|
change for these pairs, so existing bundle locks stay valid.
|
||||||
@@ -165,26 +175,16 @@ From `v0.15.0`, `specification-designer-default` replaces
|
|||||||
identity and every earlier release are unchanged; it is no longer a maintained
|
identity and every earlier release are unchanged; it is no longer a maintained
|
||||||
default. The eight manual Designer methods keep their IDs.
|
default. The eight manual Designer methods keep their IDs.
|
||||||
|
|
||||||
RelayView's owner names its Designer default by ID. Before RelayView pins a
|
RelayView's owner names its Designer default by ID. RelayView pins `v0.15.0`
|
||||||
release whose Designer default is `specification-designer-default`, it must:
|
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
|
- New Designer Chats receive `specification-designer-default`. The eight
|
||||||
where the owner assigns the Designer default and its maintained comparison
|
`v0.15.0` manual methods are admitted, and a Designer Chat captures one only
|
||||||
selection, checks that optional Designer skills differ from it, and
|
when an Operator assigns it.
|
||||||
requires it to be the one automatic pinned Designer package.
|
- The `v0.13.0` catalog joins the retained chain, so a session that recorded
|
||||||
2. **Load the new release as current.** The current catalog admits the nine
|
`issue-designer-default` or another earlier Designer package reopens with
|
||||||
`v0.15.0` packages with their new identities, and new Designer sessions
|
its exact bytes.
|
||||||
capture the default and any assigned methods from them. Today the current
|
- A saved Designer Settings selection naming `issue-designer-default` resumes
|
||||||
catalog takes its Designer packages from the operator release:
|
with `specification-designer-default`.
|
||||||
`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`.
|
|
||||||
@@ -287,7 +287,7 @@ class DocumentationTests(unittest.TestCase):
|
|||||||
|
|
||||||
def test_readme_paragraph_stands_alone(self):
|
def test_readme_paragraph_stands_alone(self):
|
||||||
readme = (ROOT / "README.md").read_text()
|
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.assertEqual(readme[start - 2:start], "\n\n")
|
||||||
self.assertNotEqual(readme[start - 3], "\n")
|
self.assertNotEqual(readme[start - 3], "\n")
|
||||||
end = readme.index("\n", start)
|
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):
|
def test_contract_and_readme_name_the_v0_18_0_release(self):
|
||||||
contract = (ROOT / "docs/authoritative/instruction-package-contract.md").read_text()
|
contract = (ROOT / "docs/authoritative/instruction-package-contract.md").read_text()
|
||||||
adoption = guide_section(contract, "RelayView adoption of the Tester and Coordinator pairs")
|
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)
|
self.assertIn("`coordinator-release-verify`", adoption)
|
||||||
readme = (ROOT / "README.md").read_text()
|
readme = (ROOT / "README.md").read_text()
|
||||||
for name in PACKAGES:
|
for name in PACKAGES:
|
||||||
|
|||||||
@@ -0,0 +1,110 @@
|
|||||||
|
"""Keep the documents' release status in step with the published tags.
|
||||||
|
|
||||||
|
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 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")
|
||||||
|
# "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)"
|
||||||
|
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}}}"
|
||||||
|
VERSION_HEADING = re.compile(r"^## (v\d+\.\d+\.\d+)$", re.M)
|
||||||
|
|
||||||
|
|
||||||
|
def flat(text):
|
||||||
|
return " ".join(text.split())
|
||||||
|
|
||||||
|
|
||||||
|
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 = flat_document(document)
|
||||||
|
for tag in PUBLISHED:
|
||||||
|
escaped = re.escape(tag)
|
||||||
|
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))
|
||||||
|
|
||||||
|
def test_package_matrix_names_published_releases_plainly(self):
|
||||||
|
for name, row in package_matrix().items():
|
||||||
|
release = codes(row[6])[0]
|
||||||
|
if release in PUBLISHED:
|
||||||
|
with self.subTest(package=name):
|
||||||
|
self.assertEqual(row[6], f"`{release}`")
|
||||||
|
|
||||||
|
def test_contract_adoption_table_marks_releases_published(self):
|
||||||
|
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(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):
|
||||||
|
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))
|
||||||
|
|
||||||
|
|
||||||
|
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 = 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", flat_document(document)))
|
||||||
|
|
||||||
|
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(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__":
|
||||||
|
unittest.main()
|
||||||
Reference in new issue
Block a user