I3381 — A task counts as accepted only by the written definition of an accepted outcome, with the issue's furthest delivery stage shown beside it
Fill accepted from I0401's definition, called through its function and never restated; show beside it the issue's furthest delivery stage from plan.delivery (pr_open, merged, released, deployed) as a separate field.
BLOKOVÁNO vlna 1 · p1 · profil implementation · bezpečné paralelně
Blocked. This issue cannot start until I3376, I0401 are done. The status is derived from that, not declared.
Cíl
Fill accepted from I0401's definition, called through its function and never restated; show beside it the issue's furthest delivery stage from plan.delivery (pr_open, merged, released, deployed) as a separate field.
Proč
T3 of the owner's report of 2026-10-19 asks for accepted results. I0401 owns the definition, which must match what the finish contract enforces; a second definition would let the two drift. Delivery stage is shown apart because merged is not accepted.
Aktuální stav
share/events.yaml:48-62 declares task.finished with outcome and contract; I0401 is BLOCKED (milestone cost-per-accepted-outcome waits on execution-telemetry), which I3373 asks the owner to cut; apps/majordomus-cli/src/plan/delivery.rs:1-15 (I2740) derives delivery stages.
Cílový stav
Every record carries accepted by I0401 and the delivery stage, or not_observed until I0401 lands.
Rozsah
- apps/majordomus-cli/src/economics
- apps/majordomus-cli/tests/economics.rs
- docs/ECONOMICS.md
Mimo rozsah
- Defining accepted (I0401)
- Changing finish
Závislosti
- I3376READY One capability states each task's wall time and episodes from every checkout's ledger, and names every field it cannot yet fill as not observed
- I0401BLOKOVÁNO Definovat přijatý výsledek a spojit ho s jeho měřeními, aniž by se spojení ukládalo
Co na tom čeká
Kritéria přijetí
- A task finished as partial is not accepted
- A task finished completed and refused by the contract is not accepted
- accepted equals I0401's function on the same fixture
- Delivery stage is a separate field and never changes accepted
Validace
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
- majordomus plan validate
Požadované důkazy
- test_task_accepted_is_the_finish_definition
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/I3381.yaml. Read it back with majordomus plan show I3381.