Add Technical Coordinator recovery package (v0.17.0)
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>
This commit is contained in:
1 parent
7d3b057510
commit
3cef92a36d
7 files changed
+195
-12
No files matched your search
@@ -137,6 +137,20 @@ class OverrideGuideTests(unittest.TestCase):
|
||||
"`portfolio_conflict`", "`unique_resource_needed`", "leases"):
|
||||
self.assertIn(phrase.lower(), text)
|
||||
|
||||
def test_coordinator_recovery_is_overridable_without_dispatch(self):
|
||||
text = section(self.text, "Customize the Technical Coordinator")
|
||||
for phrase in ("`coordinator-recovery`", "nudge", "reorientation", "Working Ledger",
|
||||
"named set", "Settings → Skills", "nudge budgets and cooldowns"):
|
||||
self.assertIn(phrase.lower(), text.lower())
|
||||
members = re.search(r"members: \[(.*?)\]", text).group(1).split(", ")
|
||||
self.assertIn("coordinator-dispatch", members)
|
||||
self.assertIn("coordinator-communication", members)
|
||||
self.assertNotIn("coordinator-recovery", members)
|
||||
fork = [name for name in members if name.endswith("-coordinator-recovery")]
|
||||
self.assertEqual(len(fork), 1, members)
|
||||
self.assertIn("role: coordinator", text)
|
||||
self.assertIn("step: coordination", text)
|
||||
|
||||
def test_layer_four_template_is_a_valid_user_package(self):
|
||||
template = section(self.text, "Layer-4 authoring template")
|
||||
skill = re.search(r"```markdown\n(.*?)```", template, re.S).group(1)
|
||||
|
||||
Reference in new issue
Block a user