Skip to content

v5.9.0 — V5-5: auto_orchestration trigger split

Choose a tag to compare

@alexherrero alexherrero released this 19 Jun 15:46
· 43 commits to main since this release

MINOR. The auto_orchestration push-surface is split into its three natural owners without changing behavior or raising autonomy. phase_dispatch() in harness_memory is formalized as the write-capable sibling bridge (non-blocking, graceful-skip, kernel-single-writer, _BRIDGE_PHASES = frozenset({"post-work", "post-release"})). auto_orchestration.py is declared the sole writer of _meta/auto-orchestration-state.json, gate-checked by a static assertion in verify-v4.sh. Session-start hooks delegate plan-file discovery through a new list_plan_files() public function + list-plans CLI verb (V5-6 state_mode/Locator-aware). verify-v4.sh fractured to kernel-only (A+E+G, 162→85 lines); new verify-orchestration-briefing.sh holds the PM-half (B+C+D); session-marker + discover-skills scenarios relocated to verify-phases.sh; check-all.sh 20→21 gates. Import-direction gate extended to assert no bridge back-edge. PM-half trigger remains kernel-side until the crickets PM-trigger plan ships (gate lifted — github-projects exists). Gates: 21/21, CI green across Linux/Mac/Windows.

What shipped

  • phase_dispatch() orchestration bridge formalized (a65f901)_BRIDGE_PHASES constant; 4 contract properties codified in docstring; ValueError on unrecognized phase; 21 contract tests in test_orchestration_bridge.py.
  • list_plan_files() + list-plans CLI verb (a7e3bee) — canonical PLAN*.md enumeration; session-start hooks delegate discovery here; routes through harness_state_dir() Locator chain; 13 new tests.
  • Single-writer invariant declared + gate-checked (15da187)auto_orchestration.py declared sole state writer; static assertion in verify-v4.sh segment G.
  • verify-v4.sh fractured (8e4b170) — kernel-only (A+E+G); verify-orchestration-briefing.sh new (PM-half B+C+D); session-marker + discover-skills → verify-phases.sh; check-all.sh 20→21 gates.
  • Bridge back-edge gate (0fcdfb0)check-process-seam-import-direction.sh extended; 3 new tests.
  • Docs: PM-half + Orchestration-Bridge reference (9dffa4d, 4d3622c)Auto-Orchestration.md trigger-ownership section; new wiki/reference/Orchestration-Bridge.md; ADR 0011 DC-1 re-audit trigger filed.

Related