I3116 — The debt every ratchet baseline holds is one derived table, with its rule and its trend
Derive one table from every ratchet baseline file under .ai/repo: the top-level *-baseline.txt files and .ai/repo/ci/case-numbers-baseline.txt, .ai/repo/ci/github-drift-baseline.txt and .ai/repo/evidence/published-not-run.txt. Each row names the gate that writes it, the rule it serves, and its entry count now and at the previous release. Show the table in the evidence view and in doctor --json. A baseline with no owning gate is a finding.
PŘIPRAVENO vlna 0 · p2 · profil implementation · bezpečné souběžně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3116 bude přijato.
Cíl
Derive one table from every ratchet baseline file under .ai/repo: the top-level *-baseline.txt files and .ai/repo/ci/case-numbers-baseline.txt, .ai/repo/ci/github-drift-baseline.txt and .ai/repo/evidence/published-not-run.txt. Each row names the gate that writes it, the rule it serves, and its entry count now and at the previous release. Show the table in the evidence view and in doctor --json. A baseline with no owning gate is a finding.
Proč
The audit of 2026-10-08 (c193#1) found README claiming \"no baseline\" while 17 baseline files existed. Point Zero, discussed on 2026-10-16 (c269#0), lists \"known debt\" as an invariant. Counted on master 707a04c on 2026-10-18 with ls .ai/repo/*-baseline.txt: 16 top-level files, from 0 entries (rule-proof, claim-proof) to 1853 (rust-quality), plus the three under .ai/repo/ci and .ai/repo/evidence that the glob misses. It extends milestone architecture-is-enforced. Sources: chatgpt-majordomus:c193#1, chatgpt-majordomus:c269#0, chatgpt-majordomus:c062#3.
Aktuální stav
Each gate writes and reads its own baseline. No surface lists them together.
Cílový stav
One projection, derived from the files and their headers, read by the evidence view and the release notes.
Rozsah
- scripts/generate-site-data
- apps/majordomus-cli/src/capability/builtin/quality.rs
- docs/EVIDENCE.md
- .ai/repo/ci/case-numbers-baseline.txt
- .ai/repo/ci/github-drift-baseline.txt
- .ai/repo/evidence/published-not-run.txt
- site/templates/evidence.html
- lib/doctor.sh
- test/cases/10_site_data.sh
- .ai/repo/ci/gates.yaml
Mimo rozsah
- Paying down any baseline
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- Every baseline file appears with its gate, rule and count
- A baseline file no gate names is reported
- Every ratchet baseline file under .ai/repo appears, including .ai/repo/ci/case-numbers-baseline.txt, .ai/repo/ci/github-drift-baseline.txt and .ai/repo/evidence/published-not-run.txt, not only the top-level *-baseline.txt glob
Validace
- scripts/generate-site-data --check
- MJ_TEST_JOBS=4 bash test/run.sh 10_site_data
Požadované důkazy
- case_baselines_are_one_table
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/I3116.yaml. Read it back with majordomus plan show I3116.