I3249 — A replan is bounded: past a declared budget of drafts without measurable progress it ends in a named state a person resolves
Declare in .ai/repo/policy.yaml a replan budget (drafts per intent revision without a newly satisfied criterion); intents.draft_plan reports `human_needed` with the criteria that did not move once the budget is spent, and drafts nothing further.
BLOKOVÁNO wave 2 · p2 · implementation profile · parallel safe
Blocked. This issue cannot start until I3247 is done. The status is derived from that, not declared.
Cíl
Declare in .ai/repo/policy.yaml a replan budget (drafts per intent revision without a newly satisfied criterion); intents.draft_plan reports `human_needed` with the criteria that did not move once the budget is spent, and drafts nothing further.
Proč
Autonomy without termination is an unbounded loop (2026-10-08, 2026-10-11, 2026-10-16); the proposed ADR 'Replanning is bounded, idempotent and never weakens its intent' needs one mechanism, not a runtime. Proposed in ADR 0192 (Replanning is bounded, idempotent and never weakens its intent) (proposed; it carries no authority until the owner accepts it). Sources: chatgpt-majordomus:c221#2, chatgpt-majordomus:c270#4.
Aktuální stav
No replan exists; nothing counts drafts per intent.
Cílový stav
Progress is measured from the verdicts at each draft's commit, read from the ledger; the bound is policy data.
Rozsah
- .ai/repo/policy.yaml
- share/schemas/majordomus/policy
- apps/majordomus-cli/src/policy.rs
- apps/majordomus-cli/src/intent_plan.rs
- apps/majordomus-cli/src/evidence/ledger.rs
- apps/majordomus-cli/src/capability/builtin/intents.rs
- apps/majordomus-cli/tests/intent_plan.rs
Závislosti
Kritéria přijetí
- The budget+1th draft with no newly satisfied criterion returns human_needed naming the stuck criteria
- A draft after a criterion moved resets the count
Validace
- majordomus plan validate
- majordomus intent validate
Požadované důkazy
- test_a_replan_is_bounded
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/I3249.yaml. Read it back with majordomus plan show I3249.