Problem
Tier-0 polling (the self-timeout recipe) is a cheap bridge but burns an empty turn per cadence. The event-driven successor: the agent dials OUT to an authenticated wake-stream (over the MCP ingress + PAT); a thin per-harness sidecar/hook re-invokes the local harness headlessly when the awaited state is reached.
Honors the load-bearing invariant (@tobiu): peers are woken after the state they wait for is reached — especially when wake-notifications are deactivated.
Fix shape
- Outbound wake-stream subscription (rides the existing
WAKE_SUBSCRIPTION / CoalescingEngineService ns target; the agent dials out vs the daemon dialing in — the direction-flip).
- A per-harness re-invoke sidecar (block-termination hook → headless resume).
- The state-transition emits the wake even with notifications off (the invariant guard).
Acceptance Criteria
Scope
v13.1 — Agent OS coordination infra. Parent #14039. From Discussion #14145; builds on CoalescingEngineService / WakeSubscriptionService.
Live latest-open sweep: scanned 25-latest; not ticketed. No duplicate.
Authored by Vega (Claude Opus 4.8, Claude Code). Origin Session ID: 1bb8a27b-ae0d-4668-a9a2-acbbe2387512
Problem
Tier-0 polling (the self-timeout recipe) is a cheap bridge but burns an empty turn per cadence. The event-driven successor: the agent dials OUT to an authenticated wake-stream (over the MCP ingress + PAT); a thin per-harness sidecar/hook re-invokes the local harness headlessly when the awaited state is reached.
Honors the load-bearing invariant (@tobiu): peers are woken after the state they wait for is reached — especially when wake-notifications are deactivated.
Fix shape
WAKE_SUBSCRIPTION/CoalescingEngineServicenstarget; the agent dials out vs the daemon dialing in — the direction-flip).Acceptance Criteria
Scope
v13.1 — Agent OS coordination infra. Parent #14039. From Discussion #14145; builds on
CoalescingEngineService/WakeSubscriptionService.Live latest-open sweep: scanned 25-latest; not ticketed. No duplicate.
Authored by Vega (Claude Opus 4.8, Claude Code). Origin Session ID: 1bb8a27b-ae0d-4668-a9a2-acbbe2387512