Fix diet-guard: nolimit.red the no-limit runner f…
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

Todo: 04ad52f9
This commit is contained in:
Krzysztof Rudnicki 2026-11-29 19:22:26 +01:00
parent a523b67c4f
commit 3021acd82c
4 changed files with 15 additions and 3 deletions

View File

@ -2,7 +2,7 @@ name: diet_guard_app
description: "Companion phone app for diet_guard: log meals on the go." description: "Companion phone app for diet_guard: log meals on the go."
publish_to: 'none' publish_to: 'none'
version: 1.0.197+1 version: 1.0.198+1
environment: environment:
sdk: ^3.12.2 sdk: ^3.12.2

12
plan.md Normal file
View File

@ -0,0 +1,12 @@
## 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.

View File

@ -26,7 +26,7 @@ dependencies = [
mcp = ["mcp==2.3.0"] mcp = ["mcp==2.3.0"]
# Test-only: the property tests (test_claude_log.py) need it; same pin as # Test-only: the property tests (test_claude_log.py) need it; same pin as
# requirements.txt. # requirements.txt.
dev = ["hypothesis==6.170.23"] dev = ["hypothesis==6.170.24"]
# Without this, setuptools' flat-layout auto-discovery treats the Flutter # Without this, setuptools' flat-layout auto-discovery treats the Flutter
# app/ directory as a second top-level package and refuses to build. # app/ directory as a second top-level package and refuses to build.

View File

@ -10,7 +10,7 @@ freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.4#subdirectory=freed
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.2#subdirectory=gatelock gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.2#subdirectory=gatelock
holds @ git+https://github.com/kuhyx/utils@holds-v0.1.0#subdirectory=holds holds @ git+https://github.com/kuhyx/utils@holds-v0.1.0#subdirectory=holds
httpx==0.29.0 httpx==0.29.0
hypothesis==6.170.23 hypothesis==6.170.24
kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.2#subdirectory=kuhy_credit kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.2#subdirectory=kuhy_credit
mcp==2.3.0 mcp==2.3.0
mypy==2.4.1 mypy==2.4.1