Add Technical Coordinator dispatch and communication packages #33

Merged
anodyine merged 7 commits from ISSUE-26 into main 2026-11-25 20:26:38 -05:00
Owner

Summary

Adds the first two first-party Technical Coordinator packages for the proposed v0.17.0 release (#26, epic #19). No tag is created here; RelayView does not yet admit the coordinator role, so neither package is a RelayView default yet.

 packages/
+├── coordinator-dispatch/          # automatic, schema 1, coordinator/coordination
+│   ├── SKILL.md                   # read owner projections → select wave → Autopilot Off/On → typed escalation
+│   └── wave-selection.md          # implicit contention, resource affinity, aggressiveness (the fork seams)
+└── coordinator-communication/     # automatic, schema 3, treatment: communication_context
+    └── SKILL.md                   # Control Tower status order: wave, leases, held, stalled, Review Packet inbox, decisions
 OVERRIDING.md                      # role + package matrix rows; new "Customize the Technical Coordinator" section
 README.md, docs/authoritative/instruction-package-contract.md   # note the in-source v0.17.0 Coordinator packages
 tests/test_packages.py, tests/test_overriding.py                # new coordinator assertions

coordinator-dispatch separates judgment from authority: the Coordinator reads the Portfolio Read Model, Ready issues, branch/PR footprints and the Shared Resource and Lease Registry, then proposes waves under Autopilot Off (dispatching only a wave the Operator approves, after re-running the selection steps) or dispatches through owner commands under Autopilot On, yielding at a safe turn boundary when the Operator pauses and then following whichever Autopilot setting the owner reports. "The owner grants leases, enforces prerequisites and review policy, and carries out dispatch." It escalates only portfolio_conflict and unique_resource_needed and never asks for a lower review tier. Nudging, reorientation and the Working Ledger are deliberately absent — they belong to coordinator-recovery (#27), and a test fences them out.

Evidence

  • Before: with the tests added and no packages/guide section, python3 -m unittest discover -s tests → Ran 41 tests … FAILED (failures=1, errors=5):
    • ERROR test_communication_packages_declare_their_treatment (now also iterates coordinator)
    • ERROR test_coordinator_communication_reports_the_control_tower
    • ERROR test_coordinator_dispatch_separates_judgment_from_owner_authority
    • ERROR test_coordinator_packages_are_automatic_v0_17_0_coordination_guidance (both subtests)
    • FAIL test_coordinator_customization_names_the_seams_and_the_owner_gates (no '## Customize the Technical Coordinator' section)
    • After the packages landed, the existing test_package_matrix_matches_every_package_sidecar and test_role_matrix_matches_contract_and_packages failed until OVERRIDING.md listed them — the guide's consistency checks caught the new packages as intended.
  • After: Ran 41 tests … OK on the final reviewed head 0b104c4e0ebc6f4d091470475be334ca0293dbd5; after merging main (Tester packages, #32) into the branch, Ran 42 tests … OK on merge head 3e1fa75; after also merging the Specification Designer packages (#34), Ran 48 tests … OK on the final head 320702ade8ebdee681e355cc18f3f8c17bb69ceb.

Package digests, identical at 0b104c4, 3e1fa75 and 320702a (POSIX host):

Package Identity Archive SHA-256 Bytes (sidecar + files)
coordinator-dispatch 5301528759ef613d8c0ccb9ec75d634813c1d65c119ddfde621e192bd12eea68 a227adaa09c3106fb9da5e165692153c52e4f31285970f268c5f1a8f2ffcf8fd 7,028 of 131,072
coordinator-communication 1c3a089215a8c029f1c46e9a7e2b7330aaa212bdffac5eb8a6320280fe6eecdd 7d7b6b649065dd116db804d6981392cb2d221c2797c9864d3188978a3b1148dd 2,752 of 131,072

Merge with main

main gained the v0.15.0 Tester packages (#32) after review, which conflicted in OVERRIDING.md, README.md, the contract and tests/test_packages.py. Merge commit 3e1fa75 keeps both sides (Tester and Coordinator rows, both communication packages, both pairs in the contract, both roles in the communication test) and marks the Tester v0.15.0 rows "not yet tagged" to match the package-matrix note. A second merge, 320702a, brought in the v0.15.0 Specification Designer packages (#34), keeping both sides of the role and package matrices and marking the untagged v0.15.0 Designer rows "not yet tagged" for the same reason. git diff origin/main...320702a removes only lines it replaces; no Coordinator package byte changed.

Review loop

Two-axis (Standards / Spec) review against base becb748, five passes. Fix commits 9f7ccba, 2139f04, f63c3d8, 0b104c4 addressed: dispatch of an Operator-approved wave under Autopilot Off (with a fresh re-check), "yield" rather than "abandon" on pause, resume bound to the owner-reported Autopilot setting, tie-breaks by the owner's Ready order, stalls taken from the Portfolio Read Model instead of chat memory, removal of invented owner details, and the README's schema-3 package list. The final pass on 0b104c4 found no actionable findings on either axis. Nonblocking notes left as-is: the package names owner surfaces from RelayView's speculative design (labelled proposed in every doc); the stall item depends on the owner exposing a stall marker; "Check before finishing" has no Autopilot item.

Checks run

  • python3 -m unittest discover -s tests -v — 41 tests, OK, on 0b104c4; 42 tests, OK, on 3e1fa75; 48 tests, OK, on 320702a.
  • for p in packages/* tests/fixtures/packages/* examples/starter-planner; do python3 -m tools.packages check "$p"; done — every package passed (the CI check loops).
  • python3 -m tools.packages pack packages/coordinator-dispatch … / … coordinator-communication … — archive digests above.

Documentation disposition

updated — OVERRIDING.md lists both packages and explains how to customize wave aggressiveness, contention heuristics, resource batching, escalation and reporting tone without touching owner gates; the package contract and README record the in-source v0.17.0 Coordinator packages. No CONTEXT.md/ADR term or decision was resolved.

Merge Danger

Door: two-way — new package directories and doc text only on main; no tag is published, so nothing is pinned by RelayView.

Blast Radius: this repository's main and its CI. No released bundle changes; existing package bytes and identities are untouched. RelayView refuses coordinator packages today, so no session can load them.

Rollback: git revert <merge commit> on main. Once v0.17.0 is tagged, rollback means shipping a new release instead (tags are immutable).

Reviewer prerequisites

  • Python 3 (standard library only) and a checkout of this repository. No services or credentials. About 10 minutes, mostly reading.

Pre-Test Setup

git fetch origin
git switch ISSUE-26
git pull --ff-only origin ISSUE-26

Expected: git rev-parse HEAD prints the PR's head commit.

Manual Test Plan

Automation pins structure, metadata and key phrases; whether the prose is good model-facing guidance needs a human read.

  1. Action: Run the focused checks and the two package checks.

    python3 -m unittest discover -s tests -v
    python3 -m tools.packages check packages/coordinator-dispatch
    python3 -m tools.packages check packages/coordinator-communication
    

    Expected: OK for 48 tests; the checks print the identities in the table above. Stop if any test fails.

  2. Action: Read packages/coordinator-dispatch/SKILL.md and packages/coordinator-dispatch/wave-selection.md.

    Expected: every instruction is an action or a check; the text never claims lease, prerequisite or review-tier authority for the Coordinator, and dispatch goes only through owner commands; the three Autopilot bullets agree with each other; nothing about nudging or reorientation (scope of #27).

  3. Action: Read packages/coordinator-communication/SKILL.md.

    Expected: the status order covers the running wave, ml-server/GPU leases and queue, held issues with reasons, stalled tasks, the pending Review Packet inbox count, and pending Operator decisions, with counts taken from owner projections.

  4. Action: Read OVERRIDING.md § "Customize the Technical Coordinator" and the Technical Coordinator rows of the role and package matrices.

    Expected: each customization names the exact file/section to fork; the owner-gate paragraph is labelled as the proposed operating model; releases are marked v0.17.0, not yet tagged.

Failure and recovery

  • A failing test or digest mismatch: record the output in a review comment; do not mark step 1 passed. Rerun after the follow-up commit on its exact head.

Post-Merge Cleanup

git switch main
git pull --ff-only origin main
git branch -d ISSUE-26
git push origin --delete ISSUE-26

🤖 Generated with Claude Code

## Summary Adds the first two first-party **Technical Coordinator** packages for the proposed `v0.17.0` release (#26, epic #19). No tag is created here; RelayView does not yet admit the `coordinator` role, so neither package is a RelayView default yet. ```diff packages/ +├── coordinator-dispatch/ # automatic, schema 1, coordinator/coordination +│ ├── SKILL.md # read owner projections → select wave → Autopilot Off/On → typed escalation +│ └── wave-selection.md # implicit contention, resource affinity, aggressiveness (the fork seams) +└── coordinator-communication/ # automatic, schema 3, treatment: communication_context + └── SKILL.md # Control Tower status order: wave, leases, held, stalled, Review Packet inbox, decisions OVERRIDING.md # role + package matrix rows; new "Customize the Technical Coordinator" section README.md, docs/authoritative/instruction-package-contract.md # note the in-source v0.17.0 Coordinator packages tests/test_packages.py, tests/test_overriding.py # new coordinator assertions ``` `coordinator-dispatch` separates judgment from authority: the Coordinator reads the Portfolio Read Model, Ready issues, branch/PR footprints and the Shared Resource and Lease Registry, then proposes waves under Autopilot `Off` (dispatching only a wave the Operator approves, after re-running the selection steps) or dispatches through owner commands under Autopilot `On`, yielding at a safe turn boundary when the Operator pauses and then following whichever Autopilot setting the owner reports. "The owner grants leases, enforces prerequisites and review policy, and carries out dispatch." It escalates only `portfolio_conflict` and `unique_resource_needed` and never asks for a lower review tier. Nudging, reorientation and the Working Ledger are deliberately absent — they belong to `coordinator-recovery` (#27), and a test fences them out. ## Evidence - **Before:** with the tests added and no packages/guide section, `python3 -m unittest discover -s tests` → `Ran 41 tests … FAILED (failures=1, errors=5)`: - ERROR `test_communication_packages_declare_their_treatment` (now also iterates `coordinator`) - ERROR `test_coordinator_communication_reports_the_control_tower` - ERROR `test_coordinator_dispatch_separates_judgment_from_owner_authority` - ERROR `test_coordinator_packages_are_automatic_v0_17_0_coordination_guidance` (both subtests) - FAIL `test_coordinator_customization_names_the_seams_and_the_owner_gates` (`no '## Customize the Technical Coordinator' section`) - After the packages landed, the existing `test_package_matrix_matches_every_package_sidecar` and `test_role_matrix_matches_contract_and_packages` failed until `OVERRIDING.md` listed them — the guide's consistency checks caught the new packages as intended. - **After:** `Ran 41 tests … OK` on the final reviewed head `0b104c4e0ebc6f4d091470475be334ca0293dbd5`; after merging `main` (Tester packages, #32) into the branch, `Ran 42 tests … OK` on merge head `3e1fa75`; after also merging the Specification Designer packages (#34), `Ran 48 tests … OK` on the final head `320702ade8ebdee681e355cc18f3f8c17bb69ceb`. Package digests, identical at `0b104c4`, `3e1fa75` and `320702a` (POSIX host): | Package | Identity | Archive SHA-256 | Bytes (sidecar + files) | | --- | --- | --- | --- | | `coordinator-dispatch` | `5301528759ef613d8c0ccb9ec75d634813c1d65c119ddfde621e192bd12eea68` | `a227adaa09c3106fb9da5e165692153c52e4f31285970f268c5f1a8f2ffcf8fd` | 7,028 of 131,072 | | `coordinator-communication` | `1c3a089215a8c029f1c46e9a7e2b7330aaa212bdffac5eb8a6320280fe6eecdd` | `7d7b6b649065dd116db804d6981392cb2d221c2797c9864d3188978a3b1148dd` | 2,752 of 131,072 | ### Merge with main `main` gained the `v0.15.0` Tester packages (#32) after review, which conflicted in `OVERRIDING.md`, `README.md`, the contract and `tests/test_packages.py`. Merge commit `3e1fa75` keeps both sides (Tester and Coordinator rows, both communication packages, both pairs in the contract, both roles in the communication test) and marks the Tester `v0.15.0` rows "not yet tagged" to match the package-matrix note. A second merge, `320702a`, brought in the `v0.15.0` Specification Designer packages (#34), keeping both sides of the role and package matrices and marking the untagged `v0.15.0` Designer rows "not yet tagged" for the same reason. `git diff origin/main...320702a` removes only lines it replaces; no Coordinator package byte changed. ### Review loop Two-axis (Standards / Spec) review against base `becb748`, five passes. Fix commits `9f7ccba`, `2139f04`, `f63c3d8`, `0b104c4` addressed: dispatch of an Operator-approved wave under Autopilot `Off` (with a fresh re-check), "yield" rather than "abandon" on pause, resume bound to the owner-reported Autopilot setting, tie-breaks by the owner's Ready order, stalls taken from the Portfolio Read Model instead of chat memory, removal of invented owner details, and the README's schema-3 package list. The final pass on `0b104c4` found **no actionable findings** on either axis. Nonblocking notes left as-is: the package names owner surfaces from RelayView's speculative design (labelled proposed in every doc); the stall item depends on the owner exposing a stall marker; "Check before finishing" has no Autopilot item. ### Checks run - `python3 -m unittest discover -s tests -v` — 41 tests, OK, on `0b104c4`; 42 tests, OK, on `3e1fa75`; 48 tests, OK, on `320702a`. - `for p in packages/* tests/fixtures/packages/* examples/starter-planner; do python3 -m tools.packages check "$p"; done` — every package passed (the CI check loops). - `python3 -m tools.packages pack packages/coordinator-dispatch …` / `… coordinator-communication …` — archive digests above. ## Documentation disposition **updated** — `OVERRIDING.md` lists both packages and explains how to customize wave aggressiveness, contention heuristics, resource batching, escalation and reporting tone without touching owner gates; the package contract and README record the in-source `v0.17.0` Coordinator packages. No `CONTEXT.md`/ADR term or decision was resolved. ## Merge Danger **Door:** two-way — new package directories and doc text only on `main`; no tag is published, so nothing is pinned by RelayView. **Blast Radius:** this repository's `main` and its CI. No released bundle changes; existing package bytes and identities are untouched. RelayView refuses `coordinator` packages today, so no session can load them. **Rollback:** `git revert <merge commit>` on `main`. Once `v0.17.0` is tagged, rollback means shipping a new release instead (tags are immutable). ## Reviewer prerequisites - Python 3 (standard library only) and a checkout of this repository. No services or credentials. About 10 minutes, mostly reading. ## Pre-Test Setup ```sh git fetch origin git switch ISSUE-26 git pull --ff-only origin ISSUE-26 ``` Expected: `git rev-parse HEAD` prints the PR's head commit. ## Manual Test Plan Automation pins structure, metadata and key phrases; whether the prose is good model-facing guidance needs a human read. 1. [ ] **Action:** Run the focused checks and the two package checks. ```sh python3 -m unittest discover -s tests -v python3 -m tools.packages check packages/coordinator-dispatch python3 -m tools.packages check packages/coordinator-communication ``` **Expected:** `OK` for 48 tests; the checks print the identities in the table above. Stop if any test fails. 2. [ ] **Action:** Read `packages/coordinator-dispatch/SKILL.md` and `packages/coordinator-dispatch/wave-selection.md`. **Expected:** every instruction is an action or a check; the text never claims lease, prerequisite or review-tier authority for the Coordinator, and dispatch goes only through owner commands; the three Autopilot bullets agree with each other; nothing about nudging or reorientation (scope of #27). 3. [ ] **Action:** Read `packages/coordinator-communication/SKILL.md`. **Expected:** the status order covers the running wave, `ml-server`/GPU leases and queue, held issues with reasons, stalled tasks, the pending Review Packet inbox count, and pending Operator decisions, with counts taken from owner projections. 4. [ ] **Action:** Read `OVERRIDING.md` § "Customize the Technical Coordinator" and the Technical Coordinator rows of the role and package matrices. **Expected:** each customization names the exact file/section to fork; the owner-gate paragraph is labelled as the proposed operating model; releases are marked `v0.17.0`, not yet tagged. ## Failure and recovery - A failing test or digest mismatch: record the output in a review comment; do not mark step 1 passed. Rerun after the follow-up commit on its exact head. ## Post-Merge Cleanup ```sh git switch main git pull --ff-only origin main git branch -d ISSUE-26 git push origin --delete ISSUE-26 ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anodyine added 1 commit 2026-11-25 19:53:47 -05:00
Add Technical Coordinator dispatch and communication packages
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 8s
f170b339c1
coordinator-dispatch (schema 1, with wave-selection.md) guides semantic
parallel wave selection, resource-affinity batching, Autopilot Off/On
discipline, and typed portfolio_conflict / unique_resource_needed
escalation over the owner's projections. coordinator-communication
(schema 3, communication_context) shapes Control Tower status reports.
Both target the proposed v0.17.0 release.

OVERRIDING.md lists both packages and gains a section on customizing
wave aggressiveness, contention heuristics, and reporting tone without
touching owner gates; the contract and README note the in-source
Coordinator packages.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 19:56:13 -05:00
Address review: approved-wave dispatch, yield wording, Ready-order ties
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 5s
9f7ccba6a4
Dispatch an Operator-approved wave under Autopilot Off, yield instead
of abandon on pause, break ties by the owner's Ready order, drop
invented owner details, and list coordinator-communication with the
schema-3 packages in the README.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 19:57:51 -05:00
Address second review: approved-wave recheck, resume rule, stall definition
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 5s
2139f04314
Re-check an approved wave's members before dispatch, resume after a
conversation ends, define a stall against the previous report, and
pin the code/shell and prerequisite boundaries in the tests.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 19:59:13 -05:00
Address third review: Autopilot-bound resume and owner-reported stalls
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 5s
f63c3d817b
Resume dispatch only under the Autopilot setting the owner reports,
re-run the selection steps on an approved wave, and report stalls from
the Portfolio Read Model rather than chat memory.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 20:00:28 -05:00
Keep approved-wave dispatch after a conversation with Autopilot Off
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 5s
0b104c4e0e
Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 20:24:59 -05:00
Merge main (Tester packages) into ISSUE-26
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 5s
3e1fa75d8c
Resolve doc and test conflicts with the v0.15.0 Tester packages by
keeping both: Tester and Coordinator rows in the override guide, both
communication packages in the README list, both pairs in the contract,
and both roles in the communication-package test. Mark the Tester
v0.15.0 rows "not yet tagged" to match the package-matrix note.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine added 1 commit 2026-11-25 20:25:59 -05:00
Merge main (Specification Designer packages) into ISSUE-26
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 5s
320702ade8
Keep the v0.15.0 Designer rows and the Coordinator rows in both
override-guide matrices, mark the untagged v0.15.0 Designer releases
"not yet tagged" to match the package-matrix note, and name all three
new package families in the README's version sentence.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anodyine merged commit 7d3b057510 into main 2026-11-25 20:26:38 -05:00
anodyine deleted branch ISSUE-26 2026-11-25 20:26:38 -05:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anodyine/relayview-skills#33