# Score-Blind Plan Amendment (`PLAN.v2.md`): Mac ARM64 CPU Runtime & `P_naive` Grammar Fix

- **UTC:** `2026-11-24T08:56:00Z`
- **Status at amendment:** Strictly **score-blind** (`PLAN.md` untouched in git at `be0a8d31`). Part A (`partA_v0_audit.json`, zero LLMs) finished cleanly (`H1` supported). In Part B (`ser5`), `llama3-3b` ran `P_naive` + `P_v0` only before two pre-registered Re-plan triggers fired; **zero arm means, pair accuracies, gaming gaps, or `H2`–`H4` outcomes were computed or read** prior to this amendment.

## Why This Amendment Was Needed (Observed Triggers from `PLAN.md`)
1. **`ser5` CPU saturation from sibling containers:** About 20 minutes after Part B started, sibling `#77` launched 7 concurrent `MHIS`/`QLD` containers on `ser5` (`load average: 27.00` across 16 cores), throttling `llama3-3b` from ~5 s/item to >180 s/item and triggering `TimeoutError` at `P_counterfactual` item 1.
2. **`P_naive` unconstrained format parse failure (`73.9% < 90%`):** On `llama3-3b`, `P_v0` parsed `180/180 (100.0%)` strictly, whereas `P_naive` parsed `133/180 (73.9%)` because `Llama-3.2-3B` phrased `"thus a score of 3."` / `"so I'd rate it a 3."` instead of `"Score: 3"`.

## Exact Technical Changes (Zero Change to Hypotheses, Arms, or Verdict Rules)
1. **Execution Runtime:** Replace `ser5` `ghcr.io/ggml-org/llama.cpp:server` with official `ggml-org/llama.cpp` release **`b12674`** (`llama-b12674-bin-macos-arm64.tar.gz`, SHA-256 `7b985d0add21d93ca915a4abf5d4f25668d6ae9643975e781c54808188fcdd8b`) running **pure CPU (`--n-gpu-layers 0 -t 6`)** on the M3 Pro Mac (zero Metal GPU contention with `#76`/`#77`/`#78`). All three pinned GGUFs (`llama3-3b`, `qwen3-4b`, `mistral-7b`, identical SHA-256s) run homogeneously from scratch (`code/run_mac_eval.py`, `-c 2048`, `temperature=0.0`, `top_k=1`, `seed=0`).
2. **Protocol Formatting & Parser Fix:**
   - For `P_naive`, enforce the `llama.cpp` GBNF grammar `root ::= "Score: " [1-5]` (`max_tokens=16`), guaranteeing exact `Score: <1-5>` responses without changing the rating question or omitting/adding rubric criteria.
   - Add tier-3 prose fallback `SCORE_PROSE_RE` in `code/prompts.py` (`P_v0` `max_tokens=128` and `P_counterfactual` `max_tokens=220` remain unconstrained).
3. **Unchanged:** `HTV-Unseen-v1` (180 items), `items-v0.csv` strict uncontamination (zero LLMs), `P_v0` and `P_counterfactual` prompt text, and all `H1`–`H4` verdict criteria in `PLAN.md` remain completely unchanged.
