I4001 — The execution state machine has Authorizing, Claimed, Verifying, Refused and UnknownOutcome
Add Authorizing, Claimed, Verifying, Refused and UnknownOutcome to the execution state machine with may_move_to for each edge and a versioned event schema (Mission Control B3).
BLOKOVÁNO vlna 1 · p1 · profil implementation · běží samostatně
Blocked. This issue cannot start until I4000 is done. The status is derived from that, not declared.
Cíl
Add Authorizing, Claimed, Verifying, Refused and UnknownOutcome to the execution state machine with may_move_to for each edge and a versioned event schema (Mission Control B3).
Proč
The executor knows only running and its terminal states, so a refused start, a claimed-but-not-started item and a run whose outcome is unknown are indistinguishable.
Aktuální stav
Not built: this issue is planned by the milestone a-session-proceeds-through-the-mesh and nothing of it exists.
Cílový stav
The acceptance criteria below hold and case 4001 proves them.
Rozsah
- apps/majordomus-cli/src/execution/model.rs
- apps/majordomus-cli/src/execution
- share/schemas/majordomus
- docs/EXECUTIONS.md
- test/cases/4001_the_execution_state_machine_names_authorizing_to_unknown_outcome.sh
- .ai/repo/project/issues/I4001.yaml
Závislosti
Co na tom čeká
Kritéria přijetí
- may_move_to admits exactly the declared edges and refuses every other
- Every event carries a schema version and an older reader refuses a newer one by name
- An execution whose outcome cannot be read ends UnknownOutcome, never completed
Validace
- env -u MAJORDOMUS_SHARE -u MAJORDOMUS_HTTP_HOST -u MJ_ROOT bash test/run.sh 4001_the_execution_state_machine_names_authorizing_to_unknown_outcome
Požadované důkazy
- case_4001_the_execution_state_machine_names_authorizing_to_unknown_outcome
Důkazy
Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.
Časová osa
- zahájeno
- —
- ověřeno
- —
- dokončeno
- —
Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.
Canonical record: .ai/repo/project/issues/I4001.yaml. Read it back with majordomus plan show I4001.