diff --git a/OVERRIDING.md b/OVERRIDING.md index c4602b0..97ef28f 100644 --- a/OVERRIDING.md +++ b/OVERRIDING.md @@ -167,7 +167,7 @@ admission. | Communication | Tone, detail, examples, acknowledgements | Publication identity and order, mandatory status, complete durable artifacts; communication packages load only when the frozen `communication_context` treatment is on | Current | | Manual methods | When a method is worth invoking | `/skill:` reaches a session only if that name is in its captured assignment | Current | | Acceptance | Nothing | Operator acceptance requires a person | Current | -| Coordination | Wave aggressiveness, contention heuristics, resource batching, when to escalate, Control Tower reporting tone, on-request wave audit and tracker proposals | Ready state and prerequisites, dispatch through owner commands, the Operator's Autopilot toggle, resource leases, review policy, nudge budgets and cooldowns, tracker changes only through owner commands | Proposed | +| Coordination | Wave aggressiveness, contention heuristics, resource batching, when to escalate, Control Tower reporting tone, on-request wave audit and tracker proposals | Ready state and prerequisites, dispatch through owner commands, the Operator's Autopilot toggle, resource leases, review policy, nudge budgets and cooldowns, tracker changes, which the Coordinator only proposes and the Operator applies | Proposed | | Testing | How to exercise a candidate, which defects to look for, when to escalate, and how to present a proof summary | The Tester's tool and resource confinement, the exact-candidate binding of the Verification Proof Bundle and its fields, invalidation of proof from a superseded candidate, and the typed escalation record | Proposed | | Review tiers | How to frame a risk or escalation summary, and how the Specification Designer proposes proof artifacts, fast-test completeness, test resources, and a review stamp | Repository trust ceiling (Layer A), the Operator's per-specification stamp (Layer B), and the one-way escalation ratchet with typed reasons (Layer C): no agent may downgrade `operator_review_required` | Proposed | @@ -335,9 +335,9 @@ dispatch. their text reaches a Coordinator session only when the Operator sends `/skill:` and the name is in that session's captured manual assignment. Both return proposals. The wave audit dispatches nothing, and tracker hygiene -drafts prerequisite edges and issue comments that change the tracker only once -the Operator approves each one. A fork keeps schema 1 and -`disable-model-invocation: true`. Once RelayView adopts the pair, the manual +drafts prerequisite edges and issue comments for the Operator to approve and +apply one at a time; it never changes the tracker itself. A fork keeps schema 1 +and `disable-model-invocation: true`. Once RelayView adopts the pair, the manual methods would sit in their own set with `invocationMode: manual`, apart from the automatic set. This set pairs the first-party audit with a team fork of tracker hygiene, `team-coordinator-tracker-hygiene`: @@ -357,8 +357,8 @@ A fork changes the Coordinator's judgment, not the owner's gates. Under RelayView's proposed operating model, the owner keeps every gate regardless of the package: an issue with an open prerequisite never becomes Ready, the owner grants and releases resource leases and carries out dispatch through its own -commands, the Operator toggles Autopilot, the tracker changes only through -owner commands, and no agent can lower a review tier. +commands, the Operator toggles Autopilot and applies any tracker change the +Coordinator proposes, and no agent can lower a review tier. A fork can change when the Coordinator raises `portfolio_conflict` or `unique_resource_needed`, but not the escalation types or the one-way review ratchet, and prose asking for a lower review tier has no effect. diff --git a/README.md b/README.md index a2a05f2..76c5095 100644 --- a/README.md +++ b/README.md @@ -85,10 +85,9 @@ 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 recorded contention for the Operator to approve. RelayView does -not yet admit the `coordinator` role; when it does, its owner keeps -prerequisites, dispatch execution, resource leases, tracker changes and review -policy. +proposals from recorded contention for the Operator to approve and apply. +RelayView does not yet admit the `coordinator` role; when it does, its owner +keeps prerequisites, dispatch execution, resource leases and review policy. [OVERRIDING.md](OVERRIDING.md#customize-the-technical-coordinator) shows which seam to fork for each customization. diff --git a/docs/authoritative/instruction-package-contract.md b/docs/authoritative/instruction-package-contract.md index 4b2f82a..132de4f 100644 --- a/docs/authoritative/instruction-package-contract.md +++ b/docs/authoritative/instruction-package-contract.md @@ -131,7 +131,7 @@ proposed, not published: | Proposed release | New pair | Planned packages | | --- | --- | --- | | `v0.15.0` | `tester`/`testing` | `tester-inspection` (schema 1) and `tester-communication` (schema 3) | -| `v0.17.0` | `coordinator`/`coordination` | `coordinator-dispatch` (schema 1) and `coordinator-communication` (schema 3), and the manual `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1), in source; further Coordinator automatic methods (schema 1) | +| `v0.17.0` | `coordinator`/`coordination` | `coordinator-dispatch` (schema 1), `coordinator-communication` (schema 3), and the manual `coordinator-wave-audit` and `coordinator-tracker-hygiene` (schema 1), in source; further Coordinator automatic methods (schema 1) | Before RelayView pins a release containing either pair, it must: diff --git a/packages/coordinator-tracker-hygiene/SKILL.md b/packages/coordinator-tracker-hygiene/SKILL.md index 2b20e61..7d8f6a8 100644 --- a/packages/coordinator-tracker-hygiene/SKILL.md +++ b/packages/coordinator-tracker-hygiene/SKILL.md @@ -11,11 +11,11 @@ metadata: The Operator invoked this review with `/skill:coordinator-tracker-hygiene` to turn contention the Coordinator has only recorded for itself into tracker changes people can see. Treat any text the Operator sent with the command as the review's scope, such as a set of issues or an epic; without it, review every recorded edge. -Never change the tracker silently. This method drafts proposals; it adds no prerequisite, posts no comment, and changes no label or status on its own. +Never change the tracker silently. This method drafts proposals for the Operator to approve and apply. Make no tracker change yourself: add no prerequisite, post no comment, and change no label or status. ## Read the recorded edges -Read the implicit contention edges recorded in the Coordinator Working Ledger, and for each edge read the current state of both issues from the owner's projections: whether each is open, Ready, running, or merged; its prerequisites as the tracker records them; and the evidence the ledger gives for the edge. Work only through the owner's projections and the commands assigned to you, and leave repository code and shell commands to the roles that own them. +Read the implicit contention edges recorded in the Coordinator Working Ledger, and for each edge read the current state of both issues from the owner's projections: whether each is open, Ready, running, or merged; its prerequisites and comments as the tracker records them, read through the commands assigned to you; and the evidence the ledger gives for the edge. When you cannot read an issue's prerequisites or comments, say so, and mark proposals for that issue as possibly already recorded. Work only through the owner's projections and the commands assigned to you, and leave repository code and shell commands to the roles that own them. Take edges from the Working Ledger, not from this conversation. When the Working Ledger is missing, unreadable, or empty for the scope, say so and stop; propose nothing from memory. @@ -26,7 +26,7 @@ Put each edge in exactly one group: - **Ordering need:** one issue cannot be done correctly until the other lands, such as a schema migration another issue builds on, or an interface one issue changes and the other consumes. Draft a prerequisite edge. - **Coordination note:** the issues can run in either order but not together, such as two edits to one module's public surface or a shared test environment. Draft an issue comment. - **Already recorded:** the tracker already carries an equivalent prerequisite or comment. Propose nothing. -- **Stale:** either issue is closed or merged, or the evidence no longer holds. Propose nothing for the tracker, and list it so the Operator can retire it from the ledger. +- **Stale:** either issue is closed or merged, or the evidence no longer holds. Propose nothing for the tracker, and list it so the edge is marked resolved in the Working Ledger. When the evidence is only a guess from issue titles, say so and prefer a coordination note to a prerequisite edge. @@ -35,11 +35,11 @@ When the evidence is only a guess from issue titles, say so and prefer a coordin Keep each proposal as small as the evidence allows: - **Prerequisite edge:** name the issue that waits, the issue it requires, and one sentence of evidence. Propose only the direct edge, never one the tracker already implies through another prerequisite. Before proposing it, check that it would not form a cycle with the prerequisites the tracker already records, and flag an edge that would hold back an issue that is already running. -- **Issue comment:** name the issue to comment on and give the exact comment text, ready to post: the other issue, what both touch, and the order you suggest. Draft one comment per edge, on the issue later in the owner's Ready order. +- **Issue comment:** name the issue to comment on and give the exact comment text, ready to post: the other issue, what both touch, and the order you suggest. Draft one comment per edge, on the issue that has not started; when neither has started, on the one later in the owner's Ready order. -## Present and apply +## Present the proposals -Present the proposals grouped as above, in the owner's Ready order, with "None" under an empty group. Each proposal needs the Operator's explicit approval. Apply an approved proposal only through an owner command assigned to you and confirm from a fresh projection that it took effect; when no such command is assigned, give the Operator the exact change to make. Approval of one proposal is not approval of the others. +Present the proposals grouped as above, in the owner's Ready order, with "None" under an empty group. Give each proposal as the exact change for the Operator to make, so the Operator can approve and apply each one separately. Approval of one proposal is not approval of the others, and an approved proposal is still the Operator's to apply. End with a one-line summary: edges reviewed, proposals drafted, and stale edges found. @@ -47,4 +47,4 @@ End with a one-line summary: edges reviewed, proposals drafted, and stale edges - Does every proposal trace to a Working Ledger edge and name its evidence? - Is every proposed prerequisite direct, new to the tracker, and free of cycles? -- Did any tracker change happen without the Operator's explicit approval of that proposal? +- Did you leave every tracker change to the Operator? diff --git a/packages/coordinator-tracker-hygiene/relayview-skill.json b/packages/coordinator-tracker-hygiene/relayview-skill.json index 091e158..2fb5c27 100644 --- a/packages/coordinator-tracker-hygiene/relayview-skill.json +++ b/packages/coordinator-tracker-hygiene/relayview-skill.json @@ -9,7 +9,7 @@ "files": [ { "path": "SKILL.md", - "sha256": "b1a5eec5103b60b60eb9b227bab4399c4ddf627395927dda4da47a2b87ed5cba" + "sha256": "36795a31dedd03414bb99c109746f2f63e9a63c84431bfd39a5c1183ae3f9c63" } ] } diff --git a/packages/coordinator-wave-audit/SKILL.md b/packages/coordinator-wave-audit/SKILL.md index 5c62155..0e4140d 100644 --- a/packages/coordinator-wave-audit/SKILL.md +++ b/packages/coordinator-wave-audit/SKILL.md @@ -33,7 +33,7 @@ For each Ready issue, in the owner's Ready order: 3. Compare its declared resources with the Lease Registry, and group it with issues that need the same `ml-server` model or GPU setup. 4. Note anything that makes it look stale: a Ready issue whose footprint a merged or running change already covers, an issue that names a closed or superseded issue, or a running task the Portfolio Read Model shows with no progress and no waiting reason. -For every contention or anomaly, name the evidence and where you read it. When the evidence is only a guess from an issue title, say so. +For every contention or anomaly, name the evidence and where you read it. When the evidence is only a guess from an issue title, say so and treat the issue later in the owner's Ready order as the one held. ## Return the wave plan @@ -41,7 +41,7 @@ Return these four sections in this order. Write "None" under an empty section ra ### Safe Parallel Wave 1 -The largest set of Ready issues with no contention found among themselves or with running work, and whose resources are free or already loaded. List each issue with one line on why it is independent. Where two candidates conflict, keep the one whose resource is free or already loaded; when that does not decide, keep the one earlier in the owner's Ready order. List the other under Contention Pairs. +Ready issues with no contention among themselves or with running work, including plausible contention you could not rule out, and whose resources are free or already loaded. Size the wave to the free GPU workers the Lease Registry reports, and prefer a smaller wave whose members are clearly independent over a larger one that risks rework. List each issue with one line on why it is independent. Where two candidates conflict, keep the one whose resource is free or already loaded; when that does not decide, keep the one earlier in the owner's Ready order. List the other under Contention Pairs. ### Contention Pairs @@ -59,7 +59,7 @@ End with a one-line summary: Ready issues audited, the size of Safe Parallel Wav ## Check before finishing -- Does every Ready issue in scope appear in exactly one place: Safe Parallel Wave 1, a Contention Pair, or Blocked/Stale? +- Is every Ready issue in scope either in Safe Parallel Wave 1 or accounted for elsewhere: held by a Contention Pair, waiting in a Resource-Affinity Batch, or listed under Blocked/Stale? - Does every contention pair name its evidence and where you read it? - Does every queue reason come from the Lease Registry rather than an estimate? - Did you dispatch, change, or request nothing? diff --git a/packages/coordinator-wave-audit/relayview-skill.json b/packages/coordinator-wave-audit/relayview-skill.json index 0b9c55d..947ac81 100644 --- a/packages/coordinator-wave-audit/relayview-skill.json +++ b/packages/coordinator-wave-audit/relayview-skill.json @@ -9,7 +9,7 @@ "files": [ { "path": "SKILL.md", - "sha256": "c918553068df3ac7f89134a099b269717a9f7c6fe6aedbbd69347f06fb3362a2" + "sha256": "0dfa78a7720f286baef6055a742096ff3daf3dd8319d76fad07bef1a242b722c" } ] } diff --git a/tests/test_packages.py b/tests/test_packages.py index 331c6c2..c64cc90 100644 --- a/tests/test_packages.py +++ b/tests/test_packages.py @@ -99,7 +99,8 @@ class PackageTests(unittest.TestCase): "Blocked/Stale", "schema migration", "ml-server", "Dispatch nothing", "an open prerequisite keeps it out", "leave repository code and shell commands to the roles that own them", - "Check before finishing"): + "Check before finishing", "free GPU workers", + "smaller wave whose members are clearly independent"): self.assertIn(phrase, text) # Ties follow the dispatch guide: a free or loaded resource can beat Ready order. self.assertIn("free or already loaded", text) @@ -115,8 +116,10 @@ class PackageTests(unittest.TestCase): "Operator approval", "Never change the tracker silently", "cycle", "Already recorded", "Stale", "missing, unreadable, or empty", "not from this conversation", - "Check before finishing"): + "Check before finishing", "Make no tracker change yourself"): self.assertIn(phrase, text) + # Like coordinator-recovery, the Operator applies tracker changes. + self.assertNotIn("Apply an approved proposal", text) def test_tester_release_sidecars_and_building_inspector_method(self): expected = {