Add native coordinator interruption

This commit is contained in:
Meta Vens 2026-07-12 00:46:53 +01:00
commit a6965012a6
8 changed files with 236 additions and 9 deletions

View file

@ -1878,9 +1878,12 @@ survives there. The route-vocabulary audit is complete: active worker contracts
now name typed coordinator capabilities and Mind-admitted `statePatch` cargo;
status defaults to native; remaining Rust occurrences are explicit `--codex`
compatibility, phase-6 app-server contract smokes, negative tests, or a
historical-input fixture. The next live CLI fault is `--interrupt-binding`,
which still refuses native source and must route through the native coordinator
service before Codex interruption is demoted to explicit compatibility only.
historical-input fixture. Native `--interrupt-binding` is now live:
`interrupt_coordinator_job` owns revision/binding validation and canonical
binding mutation, while status reports `cancelRequested=false` honestly. A
focused core test and status-command test prove the transition. Explicit
`--codex` retains compatibility. The bridge still duplicates interruption
choreography; delegate it to `EpiphanyCoordinatorService::interrupt_job` next.
## Immediate Re-entry Instruction

View file

@ -264,6 +264,10 @@ now describe typed coordinator capabilities and Mind-admitted `statePatch`
cargo. `epiphany-mvp-status` defaults to native state; its route calls exist only
behind explicit `--codex` compatibility. `epiphany-phase6-*-smoke` binaries are
compatibility contract probes, coordinator source occurrences are negative
tests, and the distillation occurrence is a historical-input test fixture. The
live status gap is interruption: `--interrupt-binding` still requires the
explicit Codex source instead of a native coordinator operation.
tests, and the distillation occurrence is a historical-input test fixture.
Interruption now has a native owner. `interrupt_coordinator_job` validates the
binding and revision, records the operator reason through the canonical state
owner, and reports `cancelRequested=false` rather than inventing backend
cancellation. `epiphany-mvp-status --interrupt-binding` uses this path by
default; `--codex` selects the compatibility route explicitly. The bridge still
contains its older interruption choreography and should delegate next.