Add manual Coordinator wave-audit and tracker-hygiene packages
coordinator-wave-audit (schema 1, manual) audits the entire Ready queue on /skill: request and returns a four-section wave plan: Safe Parallel Wave 1, Contention Pairs, Resource-Affinity Batches, and Blocked/Stale. It dispatches nothing. coordinator-tracker-hygiene (schema 1, manual) classifies implicit contention edges recorded in the Working Ledger and drafts minimal prerequisite-edge or issue-comment proposals that change the tracker only after the Operator approves each one. Both target the proposed v0.17.0 release. OVERRIDING.md lists both packages in the role and package matrices and explains their seams and a manual-set assignment; the README and the contract name them alongside the automatic Coordinator packages. Refs #28 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7d3b057510
commit
462c2c705c
9 files changed
+213
-10
No files matched your search
@@ -75,6 +75,44 @@ class PackageTests(unittest.TestCase):
|
||||
"Review Packet inbox", "Autopilot"):
|
||||
self.assertIn(phrase, text)
|
||||
|
||||
def test_coordinator_manual_methods_are_v0_17_0_manual_coordination_guidance(self):
|
||||
for name in ("coordinator-wave-audit", "coordinator-tracker-hygiene"):
|
||||
with self.subTest(package=name):
|
||||
package = ROOT / "packages" / name
|
||||
check_package(package)
|
||||
manifest = json.loads((package / "relayview-skill.json").read_text())
|
||||
self.assertEqual(manifest["schemaVersion"], 1)
|
||||
self.assertEqual((manifest["role"], manifest["step"]), ("coordinator", "coordination"))
|
||||
self.assertEqual(manifest["source"], {"kind": "first-party", "reference": "v0.17.0"})
|
||||
self.assertEqual([item["path"] for item in manifest["files"]], ["SKILL.md"])
|
||||
frontmatter = (package / "SKILL.md").read_text().split("---", 2)[1]
|
||||
self.assertRegex(frontmatter, r"(?m)^disable-model-invocation: true$")
|
||||
self.assertIn("relayview-version: 0.17.0", frontmatter)
|
||||
size = sum((package / path).stat().st_size for path in ("SKILL.md", "relayview-skill.json"))
|
||||
self.assertLess(size, 16 * 1024, "well under the 128 KiB package cap")
|
||||
|
||||
def test_coordinator_wave_audit_returns_a_structured_wave_plan_without_dispatching(self):
|
||||
text = (ROOT / "packages/coordinator-wave-audit/SKILL.md").read_text()
|
||||
for phrase in ("/skill:coordinator-wave-audit", "entire Ready queue",
|
||||
"branch and pull-request footprints", "Lease Registry",
|
||||
"Safe Parallel Wave 1", "Contention Pairs", "Resource-Affinity Batches",
|
||||
"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"):
|
||||
self.assertIn(phrase, text)
|
||||
# The four sections appear in the order the Operator reads them.
|
||||
order = [text.index(f"### {heading}") for heading in (
|
||||
"Safe Parallel Wave 1", "Contention Pairs", "Resource-Affinity Batches", "Blocked/Stale")]
|
||||
self.assertEqual(order, sorted(order))
|
||||
|
||||
def test_coordinator_tracker_hygiene_drafts_proposals_and_never_mutates_silently(self):
|
||||
text = (ROOT / "packages/coordinator-tracker-hygiene/SKILL.md").read_text()
|
||||
for phrase in ("/skill:coordinator-tracker-hygiene", "Working Ledger",
|
||||
"implicit contention edges", "prerequisite edge", "issue comment",
|
||||
"Operator approval", "Never change the tracker silently",
|
||||
"cycle", "Already recorded", "Stale"):
|
||||
self.assertIn(phrase, text)
|
||||
|
||||
def test_tester_release_sidecars_and_building_inspector_method(self):
|
||||
expected = {
|
||||
"tester-inspection": (1, None, (
|
||||
|
||||
Reference in new issue
Block a user