Skip to content

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.

BLOCKED wave 2 · p2 · implementation profile · parallel safe

Part of the-mesh-is-measured-against-one-agent — Coordinated workers on the mesh are compared with a single agent on the same batch tasks, at quality held by a registered non-inferiority guard.

Blocked. This issue cannot start until I3367 is done. The status is derived from that, not declared.

Objective

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.

Why

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.

Current state

model.rs:527 tasks declare complexity and sessions; no task names other tasks.

Desired state

Four batches load and economics references proves each fails on the start and passes with all members' references applied.

Scope

  • apps/majordomus-cli/src/economics/model.rs
  • apps/majordomus-cli/tests/economics.rs
  • .ai/repo/benchmarks/economics/tasks

Out of scope

  • New member tasks
  • Changing an existing task

Dependencies

What waits on this

Acceptance criteria

  • 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

Validation

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
  • majordomus economics references --work-dir \"$(mktemp -d)\"

Evidence required

  • references_batches

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Timeline

started
—
verified
—
completed
—

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I3387.yaml. Read it back with majordomus plan show I3387.

Searches the titles and descriptions of every page this site publishes.