I4008 — A push that only deletes refs runs no plan in the pre-push hook
A push whose every ref is a deletion runs no plan in the pre-push hook, by the reasoning of the refs/majordomus/* exemption: no source travels.
PŘIPRAVENO vlna 0 · p1 · profil implementation · bezpečné paralelně
Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I4008 bude přijato.
Cíl
A push whose every ref is a deletion runs no plan in the pre-push hook, by the reasoning of the refs/majordomus/* exemption: no source travels.
Proč
Deleting a merged branch runs the whole pre-push plan, which takes tens of minutes on a loaded machine and judges nothing.
Aktuální stav
Not built: this issue is planned by the milestone a-session-proceeds-through-the-mesh and nothing of it exists.
Cílový stav
The acceptance criteria below hold and case 4008 proves them.
Rozsah
- .githooks/pre-push
- apps/majordomus-cli/src/hooks
- docs/HOOKS.md
- test/cases/4008_a_push_that_only_deletes_runs_no_plan.sh
- .ai/repo/project/issues/I4008.yaml
Závislosti
Žádné. Tento úkol je kořenem grafu.
Kritéria přijetí
- A push of only deletions runs no plan and exits 0
- A push of any non-deletion ref runs the plan as before
- The exemption is declared data beside the refs/majordomus/* one
Validace
- env -u MAJORDOMUS_SHARE -u MAJORDOMUS_HTTP_HOST -u MJ_ROOT bash test/run.sh 4008_a_push_that_only_deletes_runs_no_plan
Požadované důkazy
- case_4008_a_push_that_only_deletes_runs_no_plan
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/I4008.yaml. Read it back with majordomus plan show I4008.