I3299 — Majordomus's own overhead in an adopting repository is measured per operation against declared budgets
Declare budgets for CLI start, warm discovery, idle server CPU and resident memory, incremental derive, and the bootstrap tokens a session pays, measure them in an adopting fixture repository with the existing bench, and fail when one is exceeded.
PŘIPRAVENO vlna 0 · p3 · profil implementation · bezpečné paralelně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3299 bude přijato.
Cíl
Declare budgets for CLI start, warm discovery, idle server CPU and resident memory, incremental derive, and the bootstrap tokens a session pays, measure them in an adopting fixture repository with the existing bench, and fail when one is exceeded.
Proč
The owner asked for an honest answer on whether overhead stays acceptable; the proposed numbers (2026-10-16) are targets, not measurements, and nothing measures them in a foreign repository today. It serves the intent's own-overhead-is-measured, the proof of the statement's 'costs'; it is the adopting-repository delta beside I2485, ADR 0169 and project.performance-evidence, which measure this repository only, and it stays bound to this intent because milestone development-runtime belongs to no intent. It extends milestone development-runtime. Sources: chatgpt-majordomus:c278#2, chatgpt-majordomus:c278#3.
Aktuální stav
rule project.performance-evidence and bench --check hold UI latency budgets (I2489 done) for this repository only.
Cílový stav
An adoption overhead suite in benchmark policy with recorded measurements.
Rozsah
- .ai/repo/benchmarks/rust/policy.yaml
- .ai/repo/benchmarks/rust/README.md
- .ai/repo/benchmarks/README.md
- apps/majordomus-cli/src/bench/system.rs
- apps/majordomus-cli/src/bench/runner.rs
- apps/majordomus-cli/src/bench/mod.rs
- apps/majordomus-cli/src/capability/benchmark.rs
- apps/majordomus-cli/src/commands/bench.rs
- apps/majordomus-cli/tests/bench.rs
- docs/generated/benchmarks.json
Závislosti
Žádné. Tento úkol je kořenem grafu.
Co na tom čeká
Kritéria přijetí
- Each budget has a benchmark that fails when exceeded
- Idle CPU is measured on an inactive fixture
Validace
- majordomus bench --check
- majordomus plan validate
Požadované důkazy
- bench_adoption_overhead
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/I3299.yaml. Read it back with majordomus plan show I3299.