I3144 — Checkpoints and handovers are recorded against the episode, and the shell only parses and renders them
ADR 0047 step 4: lib/checkpoint.sh and lib/handover.sh become argument parsing and rendering over the domain, which writes checkpoints and handovers against the episode.
BLOKOVÁNO vlna 3 · p2 · profil implementation · bezpečné paralelně
Blocked. This issue cannot start until I3142 is done. The status is derived from that, not declared.
Cíl
ADR 0047 step 4: lib/checkpoint.sh and lib/handover.sh become argument parsing and rendering over the domain, which writes checkpoints and handovers against the episode.
Proč
ADR 0052 found that tying checkpoints to the task disabled them for six days; ADR 0047 lists this as the fourth cutover step. Sources: chatgpt-majordomus:c109#3.
Aktuální stav
lib/checkpoint.sh (100 lines) and lib/handover.sh (174 lines; wc -l at 707a04c) write .ai/local/state/{checkpoints,handovers}; their front matter carries task_id and no session_id; cases 05_handover and 50_blocker_across_handover hold the behaviour.
Cílový stav
The domain writes both; the shell files are thin.
Rozsah
- lib/checkpoint.sh
- lib/handover.sh
- apps/majordomus-cli/src/session
- apps/majordomus-cli/src/continuity
Mimo rozsah
- The handover body format (Objective, Current State, Next Action)
Závislosti
Co na tom čeká
Kritéria přijetí
- cases 05, 50, 130_lifecycle_survives_a_stale_task and 822 pass unchanged
- A checkpoint is still written with no active task (regression check; it holds on master)
Validace
- bash test/run.sh --no-skips 05_handover 50_blocker_across_handover 130_lifecycle_survives_a_stale_task 822_a_dirty_handover_restores_context_not_source
Požadované důkazy
- case_handover_written_by_the_domain
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/I3144.yaml. Read it back with majordomus plan show I3144.