Address final review: document hygiene's ledger write, align audit
OVERRIDING.md says tracker hygiene records stale edges as resolved in the Working Ledger and routes the "What goes in the Working Ledger" seam to both recovery and hygiene, so a fork of the resolution rule changes both. The wave audit regains dispatch's caveat that unrelated functions in one large file usually do not contend, and hygiene orders proposals by the waiting issue, running issues first. The guide test normalizes whitespace and checks the exact tracker-change phrase. Refs #28 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c309981987
commit
d9934bdb13
7 files changed
+17
-9
No files matched your search
@@ -137,14 +137,19 @@ class OverrideGuideTests(unittest.TestCase):
|
||||
"`portfolio_conflict`", "`unique_resource_needed`", "leases",
|
||||
"`coordinator-wave-audit`", "`coordinator-tracker-hygiene`",
|
||||
"`/skill:<name>`", "invocationmode: manual",
|
||||
"fork `coordinator-wave-audit` too", "tracker"):
|
||||
self.assertIn(phrase.lower(), text)
|
||||
self.assertNotIn("once relayview admits the pair", text)
|
||||
"fork `coordinator-wave-audit` too",
|
||||
"applies any tracker change the coordinator proposes",
|
||||
"records stale edges as resolved"):
|
||||
self.assertIn(phrase.lower(), " ".join(text.split()))
|
||||
self.assertNotIn("once relayview admits the pair", " ".join(text.split()))
|
||||
boundary = [row for row in table_rows(section(self.text, "What a skill controls and what the owner enforces"))
|
||||
if row[0] == "Coordination"]
|
||||
self.assertEqual(len(boundary), 1)
|
||||
self.assertIn("wave audit", boundary[0][1])
|
||||
self.assertIn("tracker changes", boundary[0][2])
|
||||
ledger_seam = [row for row in table_rows(text) if row[0] == "what goes in the working ledger"]
|
||||
self.assertEqual(len(ledger_seam), 1)
|
||||
self.assertIn("`coordinator-tracker-hygiene`", ledger_seam[0][1])
|
||||
|
||||
def test_coordinator_recovery_is_overridable_without_dispatch(self):
|
||||
text = section(self.text, "Customize the Technical Coordinator")
|
||||
|
||||
@@ -153,6 +153,7 @@ class PackageTests(unittest.TestCase):
|
||||
"Dispatch nothing", "an open prerequisite keeps it out",
|
||||
"leave repository code and shell commands to the roles that own them",
|
||||
"Check before finishing", "free GPU workers", "GPU-bound",
|
||||
"unrelated functions in one large file",
|
||||
"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.
|
||||
|
||||
Reference in new issue
Block a user