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 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-26 09:47:11 -05:00
1 parent 40cdbbb12b
commit 319314924c
5 files changed
+67 -49

No files matched your search

+3 -3
View File
@@ -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 |
| --- | --- | --- | --- | --- | --- | --- | --- |
+11 -11
View File
@@ -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:<name>`: `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:<name>`: `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
+13 -8
View File
@@ -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`
@@ -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/<tag>/` 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/<tag>/` 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.
+34 -23
View File
@@ -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__":