I3364 — The adoption-overhead bench takes a target repository, and Majordomus's overhead and footprint are measured in the adopted foreign repository
Give majordomus bench a --repository <path> input so I3299's adoption-overhead suite runs in a named repository instead of this repository's fixtures, compared with its declared budgets rather than .ai/repo/benchmarks/baseline.json. Run it in the adopted foreign repository at its adopted commit, list the adoption's footprint outside .ai/ and .majordomus/ as path classes, compare it class by class with case 3113's inventory, and commit the result beside the T1 record.
BLOKOVÁNO vlna 5 · p1 · profil implementation · bezpečné paralelně
Blocked. This issue cannot start until I3299, I3363 are done. The status is derived from that, not declared.
Cíl
Give majordomus bench a --repository <path> input so I3299's adoption-overhead suite runs in a named repository instead of this repository's fixtures, compared with its declared budgets rather than .ai/repo/benchmarks/baseline.json. Run it in the adopted foreign repository at its adopted commit, list the adoption's footprint outside .ai/ and .majordomus/ as path classes, compare it class by class with case 3113's inventory, and commit the result beside the T1 record.
Proč
T1 of the owner's report of 2026-10-19 asks for overhead, and its point that complexity is no moat makes overhead the cost side of the verdict. The critique found I3299 runs only on this repository's fixtures against its own baseline (lib/bench.sh:17,39), so this issue owns the target-repository input and depends on I3299 for the budgets.
Aktuální stav
I3299 (READY, p3) scopes apps/majordomus-cli/src/bench/* and .ai/repo/benchmarks/rust/policy.yaml. Case 3113 inventories the footprint on a fresh repository only.
Cílový stav
An overhead record per adopted repository with every exceeded budget shown as exceeded.
Rozsah
- apps/majordomus-cli/src/bench/runner.rs
- apps/majordomus-cli/src/commands/bench.rs
- apps/majordomus-cli/tests/bench.rs
- .ai/repo/benchmarks
- apps/majordomus-cli/tests/economics.rs
Mimo rozsah
- Changing I3299's budgets
- Reducing overhead; each exceeded budget becomes its own issue
Závislosti
- I3299READY Majordomus's own overhead in an adopting repository is measured per operation against declared budgets
- I3363BLOCKED One admitted foreign repository is adopted from the published installer to an accepted finish by a real coding agent, and its record is committed whatever its outcome
Kritéria přijetí
- bench --repository runs the adoption suite in a fixture clone and never writes outside its scratch tree
- Every operation I3299 declares has a measurement in the foreign repository, or the record names why not
- An exceeded budget is published as exceeded
- A test refuses a T1 record that reached an accepted finish but has no overhead record
Validace
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test bench
- majordomus bench --check
- bash test/run.sh 3113_the_adoption_footprint_is_inventoried
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
Požadované důkazy
- overhead_record_in_foreign_repository
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/I3364.yaml. Read it back with majordomus plan show I3364.