Adds coordinator-recovery, the third automatic Technical Coordinator package for the proposed v0.17.0 release (coordinator/coordination, schema 1, version 0.17.0). Closes#27.
task shown stalled in the Portfolio Read Model
triage: waiting reason, Lease Registry, nudge budget/cooldown, ledger entries
blocked (Operator input, external gate, held or queued lease) -> never nudge; resume once the owner clears it
projection missing/stale -> say which, do nothing
no blocker -> one "please keep going" + exact current stage, within owner budget and cooldown
stalls again after a nudge (any stage), budget spent, or owner refuses -> stop nudging, park, few-line diagnostic summary to Operator
Autopilot Off -> report and propose nudge/resume/park, act only on Operator approval; On -> act within owner budgets
Operator pauses Autopilot or starts a conversation -> yield at a safe turn boundary, then follow the reported setting
fresh session / context refresh
rebuild active waves, held leases, contention edges, nudge counts, parked tasks, pending Review Packets
from the Portfolio Read Model + Lease Registry + Working Ledger; drop closed-issue entries;
conversation is a hint, never state — the owner's state wins; posture goes in the next report, gaps at once
Working Ledger: one-line contention edges written when discovered; never changes the issue tracker
Docs: OVERRIDING.md lists the package in both matrices, extends the proposed Coordination boundary row, adds four recovery seams to the Coordinator customization table, and gives a named set (role: coordinator, step: coordination) that swaps in team-coordinator-recovery while keeping coordinator-dispatch and coordinator-communication. The contract's adoption table names the package and the planned manual v0.17.0 methods from #28; the README describes it.
Evidence
Before: with only the new tests added, python3 -m unittest tests.test_packages tests.test_overriding → FAILED (failures=1, errors=5) (missing packages/coordinator-recovery/SKILL.md; the override guide lacked `coordinator-recovery`).
After: the full focused suite passes at the head below.
New tests: test_coordinator_recovery_triages_blockers_before_a_bounded_nudge, test_coordinator_recovery_follows_autopilot_and_yields_to_the_operator, test_coordinator_recovery_reorients_from_owner_state_not_chat_memory (also forbids "remember", "recall", "from memory", "earlier in the conversation"), test_coordinator_recovery_keeps_the_working_ledger_concise_and_current, test_coordinator_recovery_stays_independent_of_dispatch, test_coordinator_recovery_is_overridable_without_dispatch; the shared Coordinator release test now covers the package's schema, sidecar, automatic mode, version, and size. The existing dispatch test still asserts that coordinator-dispatch contains no nudge, reorientation, or Working Ledger text.
Checks run
Final reviewed head 4843d2f4659dca26003308824626402edb400af3:
python3 -m unittest discover -s tests -v — Ran 54 tests, OK.
for package in packages/*; do python3 -m tools.packages check "$package"; done — all pass.
Two-axis review (Standards, Spec) against base 7d3b0575109532e21fe995c329be310b00770df3, three passes:
3cef92a — actionable on both axes: recovery actions were not bound to Autopilot Off/On and yielded only on a conversation, not on a pause; plus mixed ledger naming, a UI-specific park wording, a posture message after every refresh, contention holds missing from the blocker list, and unwrapped doc lines. Fixed in fc51868.
fc51868 — actionable: "stalls repeatedly" was narrowed to same-stage restalls; vague contract row; ledger wording assumed an update operation; summary length and "running tasks continue" nits. Fixed in 4843d2f.
4843d2f — no actionable findings on either axis.
Left as judgement calls: the package restates owner budget/cooldown rules (same accepted pattern as coordinator-dispatch); the Planner stays the nudge recipient because #27 names it; reorientation also reads the Lease Registry, which is owner state; resuming under Autopilot Off waits for Operator approval, matching dispatch's caution.
Documentation disposition
updated — OVERRIDING.md, README.md, and docs/authoritative/instruction-package-contract.md describe the new package, its override seams, and the owner gates it leaves alone; no CONTEXT.md or ADR exists or is needed for this change.
Merge Danger
Door: two-way. Adds one untagged package and doc text; nothing is tagged and RelayView does not yet admit the coordinator role.
Blast Radius: this repository's main only. The v0.17.0 tag is not yet cut, so no RelayView bundle changes. Rollback: revert the merge commit.
Reviewer prerequisites
Python 3 (standard library only); no services or credentials.
Manual Test Plan
None: the package is instruction text for a role RelayView does not yet admit, and the checks above cover validation, identity, archive reproducibility, and the documented override seams.
## Summary
Adds `coordinator-recovery`, the third automatic Technical Coordinator package for the proposed `v0.17.0` release (`coordinator`/`coordination`, schema 1, version 0.17.0). Closes #27.
```diff
packages/
├── coordinator-dispatch/ # wave selection, resource batching, typed escalation (unchanged)
+├── coordinator-recovery/ # stall triage, bounded nudge, park, reorientation, Working Ledger
+│ ├── SKILL.md
+│ └── relayview-skill.json
└── coordinator-communication/ # Control Tower reporting (unchanged)
```
The package's method, in order:
```text
task shown stalled in the Portfolio Read Model
triage: waiting reason, Lease Registry, nudge budget/cooldown, ledger entries
blocked (Operator input, external gate, held or queued lease) -> never nudge; resume once the owner clears it
projection missing/stale -> say which, do nothing
no blocker -> one "please keep going" + exact current stage, within owner budget and cooldown
stalls again after a nudge (any stage), budget spent, or owner refuses -> stop nudging, park, few-line diagnostic summary to Operator
Autopilot Off -> report and propose nudge/resume/park, act only on Operator approval; On -> act within owner budgets
Operator pauses Autopilot or starts a conversation -> yield at a safe turn boundary, then follow the reported setting
fresh session / context refresh
rebuild active waves, held leases, contention edges, nudge counts, parked tasks, pending Review Packets
from the Portfolio Read Model + Lease Registry + Working Ledger; drop closed-issue entries;
conversation is a hint, never state — the owner's state wins; posture goes in the next report, gaps at once
Working Ledger: one-line contention edges written when discovered; never changes the issue tracker
```
Docs: `OVERRIDING.md` lists the package in both matrices, extends the proposed Coordination boundary row, adds four recovery seams to the Coordinator customization table, and gives a named set (`role: coordinator`, `step: coordination`) that swaps in `team-coordinator-recovery` while keeping `coordinator-dispatch` and `coordinator-communication`. The contract's adoption table names the package and the planned manual `v0.17.0` methods from #28; the README describes it.
## Evidence
- **Before:** with only the new tests added, `python3 -m unittest tests.test_packages tests.test_overriding` → `FAILED (failures=1, errors=5)` (missing `packages/coordinator-recovery/SKILL.md`; the override guide lacked `` `coordinator-recovery` ``).
- **After:** the full focused suite passes at the head below.
New tests: `test_coordinator_recovery_triages_blockers_before_a_bounded_nudge`, `test_coordinator_recovery_follows_autopilot_and_yields_to_the_operator`, `test_coordinator_recovery_reorients_from_owner_state_not_chat_memory` (also forbids "remember", "recall", "from memory", "earlier in the conversation"), `test_coordinator_recovery_keeps_the_working_ledger_concise_and_current`, `test_coordinator_recovery_stays_independent_of_dispatch`, `test_coordinator_recovery_is_overridable_without_dispatch`; the shared Coordinator release test now covers the package's schema, sidecar, automatic mode, version, and size. The existing dispatch test still asserts that `coordinator-dispatch` contains no nudge, reorientation, or Working Ledger text.
### Checks run
Final reviewed head `4843d2f4659dca26003308824626402edb400af3`:
- `python3 -m unittest discover -s tests -v` — `Ran 54 tests`, `OK`.
- `for package in packages/*; do python3 -m tools.packages check "$package"; done` — all pass.
- `python3 -m tools.packages check packages/coordinator-recovery` — identity `6be0834157b9d12bc495e32cd5def5d07802f5259cfc1fed4f872f8d78830260`.
- `python3 -m tools.packages pack packages/coordinator-recovery` twice — identical archive SHA-256 `a4a9d53a25ee093f434e77b5d5a02a53942ef326345b2d58849408826a474035`; package is 6,642 bytes.
### Review
Two-axis review (Standards, Spec) against base `7d3b0575109532e21fe995c329be310b00770df3`, three passes:
1. `3cef92a` — actionable on both axes: recovery actions were not bound to Autopilot `Off`/`On` and yielded only on a conversation, not on a pause; plus mixed ledger naming, a UI-specific park wording, a posture message after every refresh, contention holds missing from the blocker list, and unwrapped doc lines. Fixed in `fc51868`.
2. `fc51868` — actionable: "stalls repeatedly" was narrowed to same-stage restalls; vague contract row; ledger wording assumed an update operation; summary length and "running tasks continue" nits. Fixed in `4843d2f`.
3. `4843d2f` — no actionable findings on either axis.
Left as judgement calls: the package restates owner budget/cooldown rules (same accepted pattern as `coordinator-dispatch`); the Planner stays the nudge recipient because #27 names it; reorientation also reads the Lease Registry, which is owner state; resuming under Autopilot `Off` waits for Operator approval, matching dispatch's caution.
## Documentation disposition
**updated** — `OVERRIDING.md`, `README.md`, and `docs/authoritative/instruction-package-contract.md` describe the new package, its override seams, and the owner gates it leaves alone; no `CONTEXT.md` or ADR exists or is needed for this change.
## Merge Danger
**Door:** two-way. Adds one untagged package and doc text; nothing is tagged and RelayView does not yet admit the `coordinator` role.
**Blast Radius:** this repository's `main` only. The `v0.17.0` tag is not yet cut, so no RelayView bundle changes. Rollback: revert the merge commit.
## Reviewer prerequisites
- Python 3 (standard library only); no services or credentials.
## Manual Test Plan
None: the package is instruction text for a role RelayView does not yet admit, and the checks above cover validation, identity, archive reproducibility, and the documented override seams.
## Post-Merge Cleanup
```sh
python /home/anodyine/.local/share/codex-skills/gitea-issues/scripts/gitea.py issue remove-worktree --issue 27 --pull 36
```
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Add coordinator-recovery, an automatic coordinator/coordination
package (schema 1) that triages a stalled task's blockers before any
nudge, sends one bounded "please keep going" nudge within the owner's
budget and cooldown, parks repeated stalls for the Operator with a
diagnostic summary, rebuilds the Coordinator's posture from the
Portfolio Read Model and Working Ledger after a context refresh, and
records implicit contention edges in the ledger when discovered.
The override guide, contract, and README list the package, show the
recovery seams, and give a named set that swaps recovery without
touching coordinator-dispatch.
Refs #27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
State what nudging, resuming, and parking do under Autopilot Off
(propose, act on Operator approval) and On, and yield on a paused
Autopilot as well as a conversation, matching coordinator-dispatch.
Count a contention hold as a blocker, use one Working Ledger name,
keep the escalation wording interface-neutral, fold the rebuilt
posture into the next report, and rewrap the README and contract
lines.
Refs #27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stop nudging when a nudged task stalls again at any stage, keep the
park summary to a few lines, say running tasks continue on yield,
record resolved ledger edges without assuming an update operation, and
name the planned manual v0.17.0 Coordinator methods in the contract.
Refs #27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Adds
coordinator-recovery, the third automatic Technical Coordinator package for the proposedv0.17.0release (coordinator/coordination, schema 1, version 0.17.0). Closes #27.The package's method, in order:
Docs:
OVERRIDING.mdlists the package in both matrices, extends the proposed Coordination boundary row, adds four recovery seams to the Coordinator customization table, and gives a named set (role: coordinator,step: coordination) that swaps inteam-coordinator-recoverywhile keepingcoordinator-dispatchandcoordinator-communication. The contract's adoption table names the package and the planned manualv0.17.0methods from #28; the README describes it.Evidence
python3 -m unittest tests.test_packages tests.test_overriding→FAILED (failures=1, errors=5)(missingpackages/coordinator-recovery/SKILL.md; the override guide lacked`coordinator-recovery`).New tests:
test_coordinator_recovery_triages_blockers_before_a_bounded_nudge,test_coordinator_recovery_follows_autopilot_and_yields_to_the_operator,test_coordinator_recovery_reorients_from_owner_state_not_chat_memory(also forbids "remember", "recall", "from memory", "earlier in the conversation"),test_coordinator_recovery_keeps_the_working_ledger_concise_and_current,test_coordinator_recovery_stays_independent_of_dispatch,test_coordinator_recovery_is_overridable_without_dispatch; the shared Coordinator release test now covers the package's schema, sidecar, automatic mode, version, and size. The existing dispatch test still asserts thatcoordinator-dispatchcontains no nudge, reorientation, or Working Ledger text.Checks run
Final reviewed head
4843d2f4659dca26003308824626402edb400af3:python3 -m unittest discover -s tests -v—Ran 54 tests,OK.for package in packages/*; do python3 -m tools.packages check "$package"; done— all pass.python3 -m tools.packages check packages/coordinator-recovery— identity6be0834157b9d12bc495e32cd5def5d07802f5259cfc1fed4f872f8d78830260.python3 -m tools.packages pack packages/coordinator-recoverytwice — identical archive SHA-256a4a9d53a25ee093f434e77b5d5a02a53942ef326345b2d58849408826a474035; package is 6,642 bytes.Review
Two-axis review (Standards, Spec) against base
7d3b0575109532e21fe995c329be310b00770df3, three passes:3cef92a— actionable on both axes: recovery actions were not bound to AutopilotOff/Onand yielded only on a conversation, not on a pause; plus mixed ledger naming, a UI-specific park wording, a posture message after every refresh, contention holds missing from the blocker list, and unwrapped doc lines. Fixed infc51868.fc51868— actionable: "stalls repeatedly" was narrowed to same-stage restalls; vague contract row; ledger wording assumed an update operation; summary length and "running tasks continue" nits. Fixed in4843d2f.4843d2f— no actionable findings on either axis.Left as judgement calls: the package restates owner budget/cooldown rules (same accepted pattern as
coordinator-dispatch); the Planner stays the nudge recipient because #27 names it; reorientation also reads the Lease Registry, which is owner state; resuming under AutopilotOffwaits for Operator approval, matching dispatch's caution.Documentation disposition
updated —
OVERRIDING.md,README.md, anddocs/authoritative/instruction-package-contract.mddescribe the new package, its override seams, and the owner gates it leaves alone; noCONTEXT.mdor ADR exists or is needed for this change.Merge Danger
Door: two-way. Adds one untagged package and doc text; nothing is tagged and RelayView does not yet admit the
coordinatorrole.Blast Radius: this repository's
mainonly. Thev0.17.0tag is not yet cut, so no RelayView bundle changes. Rollback: revert the merge commit.Reviewer prerequisites
Manual Test Plan
None: the package is instruction text for a role RelayView does not yet admit, and the checks above cover validation, identity, archive reproducibility, and the documented override seams.
Post-Merge Cleanup
🤖 Generated with Claude Code