I3241 — Only a job that reads history fetches all of it
Declare in gates.yaml which gates read history, and give fetch-depth 0 only to the jobs that run one of them.
BLOKOVÁNO wave 6 · p3 · implementation profile · parallel safe
Blocked. This issue cannot start until I3242 is done. The status is derived from that, not declared.
Cíl
Declare in gates.yaml which gates read history, and give fetch-depth 0 only to the jobs that run one of them.
Proč
c228#3: a full fetch costs 10-60 s per job on a repository of about 1 GB. It extends milestone ci-critical-path. Sources: chatgpt-majordomus:c228#3, chatgpt-majordomus:c025#3.
Aktuální stav
Measured on master 707a04c, 2026-10-18: nine validate.yml jobs check out with fetch-depth 0 (structure, suite-shard, rust, coverage, evidence, site, macos, install, pages); the plan job uses 2.
Cílový stav
fetch-depth follows the gate model, and a case refuses a full fetch no gate needs.
Rozsah
- .github/workflows/validate.yml
- .ai/repo/ci/gates.yaml
- scripts/ci-plan
Závislosti
Kritéria přijetí
- Each fetch-depth 0 is justified by a declared history gate (case)
- No history-reading gate fails for want of history
Validace
- scripts/ci-plan --check
Požadované důkazy
- fetch_depth_follows_gates_case
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/I3241.yaml. Read it back with majordomus plan show I3241.