diet-guard/plan.md
Krzysztof kuhy Rudnicki 3021acd82c
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , dependency-freshness) (push) Waiting to run
Tests / test (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Fix diet-guard: nolimit.red the no-limit runner f…
Todo: 04ad52f9
2026-11-29 19:22:26 +01:00

1.0 KiB

Approach

Fix diet-guard: nolimit.red the no-limit runner found 'git fetch -q origin && git merge-base --is-ancestor origin/main HEAD && git push -q origin HEAD:main' red (push): make it green.

Root cause: every tree passed the local gate but gate-stamp was missing in my worktree, so the pre-push gate hook (gate-stamp) rejected the push with: tree ... has NOT passed the local gate no stamp in /home/kuhy/src/diet-guard/.git/worktrees/diet-guard/gate-stamp

Fix: run the manual-stage gate steps once per id via scripts/check_gate_stamp.sh step <id>; the last passing step stamps the tree, then the push goes green. No functional/source changes needed — existing behaviour is preserved; tree already matches origin/main (54ed067e0f6b) and every hook already passed green locally.

Acceptance criteria

C1. Run the changed thing for real and see the task satisfied: the no-limit push (git fetch -q origin && git merge-base --is-ancestor origin/main HEAD && git push -q origin HEAD:main) is green and completes well under 1 s.