I3387 — Batch tasks compose existing corpus tasks into sets of issues several workers can share, with their dependencies and the union of their hidden tests
Add a batch kind to the task declaration: a batch names member task ids, their depends_on, and judges acceptance by the union of the members' hidden tests on the integrated tree. Declare four batches from existing tasks on the ledgerlite fixture (batch-invoicing, batch-reporting, batch-storage, batch-currency), choosing members that touch shared modules so conflicts are possible, and prove each with economics references.
BLOKOVÁNO wave 2 · p2 · implementation profile · parallel safe
Blocked. This issue cannot start until I3367 is done. The status is derived from that, not declared.
Cíl
Add a batch kind to the task declaration: a batch names member task ids, their depends_on, and judges acceptance by the union of the members' hidden tests on the integrated tree. Declare four batches from existing tasks on the ledgerlite fixture (batch-invoicing, batch-reporting, batch-storage, batch-currency), choosing members that touch shared modules so conflicts are possible, and prove each with economics references.
Proč
T4 of the owner's report of 2026-10-19 compares coordinated workers with one agent on the same work; that work must be divisible. Composing existing proven tasks keeps the batches comparable with the T2 corpus and needs no new fixture.
Aktuální stav
model.rs:527 tasks declare complexity and sessions; no task names other tasks.
Cílový stav
Four batches load and economics references proves each fails on the start and passes with all members' references applied.
Rozsah
- apps/majordomus-cli/src/economics/model.rs
- apps/majordomus-cli/tests/economics.rs
- .ai/repo/benchmarks/economics/tasks
Mimo rozsah
- New member tasks
- Changing an existing task
Závislosti
Co na tom čeká
Kritéria přijetí
- A batch naming an unknown member or a cyclic depends_on is refused
- economics references proves each batch
- Each batch has at least two members that touch one module
Validace
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
- majordomus economics references --work-dir \"$(mktemp -d)\"
Požadované důkazy
- references_batches
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/I3387.yaml. Read it back with majordomus plan show I3387.