I2866 — Each node of a measured derive reports its fingerprint, cache status and times, and each run its critical path and peak memory
Have a measured derive report, per node, its input fingerprint, cache status, run and queue time in milliseconds, outputs and changed-output count; and per run, wall time, CPU time, critical path, subprocess count and peak memory, with cargo overhead apart from the derivation.
BLOKOVÁNO vlna 1 · p2 · profil implementation · běží samostatně
Zablokováno. Tento úkol nemůže začít, dokud není hotovo I2521. Stav je z toho odvozen, ne deklarován.
Cíl
Have a measured derive report, per node, its input fingerprint, cache status, run and queue time in milliseconds, outputs and changed-output count; and per run, wall time, CPU time, critical path, subprocess count and peak memory, with cargo overhead apart from the derivation.
Proč
Split from I2521 on 2026-10-21 (3e with a3). These were the 2026-10-18 amendment to I2521's desired state. They are new instrumentation in the crate's bench module, not a measurement of the present derive, and need a build and tests of their own.
Aktuální stav
scripts/derive records whole-stage durations only (I2521's second slice). Nothing reports per-node fingerprints, cache status or queue time, and no run reports a critical path, subprocess count or peak memory.
Cílový stav
A measured derive's report carries every per-node and per-run field above, and a test pins their presence and units.
Rozsah
- apps/majordomus-cli/src/bench
- scripts/derive
- .ai/repo/project/issues/I2866.yaml
Mimo rozsah
- Změna toho, co zapisuje jakýkoli generátor
- Rozpočty nebo kontroly na změřených dobách trvání
Závislosti
Kritéria přijetí
- Each node of a measured run reports its input fingerprint, cache status, run and queue time in milliseconds, outputs and changed-output count
- Each run reports wall, CPU, critical path, subprocess count and peak memory, with cargo overhead apart from the derivation
- A test fails when any of those fields is missing or carries the wrong unit
Validace
- bin/majordomus plan validate
- cargo test --manifest-path apps/majordomus-cli/Cargo.toml bench
Požadované důkazy
- derive_node_metrics
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/I2866.yaml. Read it back with majordomus plan show I2866.