Relax protein to 1.7 g/kg; add rational-portion guard + weekly protein floor

- diet.protein_per_kg 2 -> 1.7 g/kg (evidence ceiling for trained/resistance-adapted adults)
  daily target 190-200 -> 165-175 g/day, ~80-90 g/meal
- weekly non-whey protein floor 1330 -> 1190 g (170 g/day x 7), still excl whey
- SKILL.md: RATIONAL PORTIONS hard rule (per-item max_per_meal caps, no single-ingredient
  overload, honest shortfall reporting); WEEKLY PROTEIN FLOOR (>=3 sources, none >50%)
- inventory.json: per-item max_per_meal caps + rational_portions defaults table
- scripts/verify_portions.py: regression probe for overload/cap violations
- README + references synced to 1.7 g/kg; .idea/.agentbridge gitignored
This commit is contained in:
hermes
2026-08-29 07:50:16 +01:00
parent fb80f6a3dd
commit 33b7e17ef9
6 changed files with 229 additions and 16 deletions

View File

@ -4,12 +4,13 @@ User profile this skill was tuned for: recovering burns victim, healing well,
~95100 kg, wants to lose ~15 kg fat while **preserving lean mass**.
## Target math
- Burns recovery + lean-mass preservation during a deficit: **2 g protein per kg
bodyweight per day**.
- At 95100 kg → **~190200 g/day**.
- Split across 2 main meals: aim **~90100 g per meal**; any remainder comes from a
- Burns recovery + lean-mass preservation during a deficit: **1.7 g protein per kg
bodyweight per day** (evidence ceiling for trained/resistance-adapted adults;
relaxed from 2 g/kg per user preference).
- At 95100 kg → **~165175 g/day**.
- Split across 2 main meals: aim **~8090 g per meal**; any remainder comes from a
third hit.
- **Recompute whenever the user reports a new weight:** target = weight_kg × 2.
- **Recompute whenever the user reports a new weight:** target = weight_kg × 1.7.
Keep `diet.bodyweight_kg`, `diet.protein_per_kg`, and
`diet.protein_target_g_per_day` in inventory.json in sync with that.