# Framework self-review before research — job #1420 Required by the brief, done before the first research step. | essential | state | check performed this turn | |---|---|---| | task tracking | ok | attempt `6f2749ccb92c406509afa5ba7713b496` persisted via `sahtool next`; `outstanding` run *before* any submission and it saw the new attempt (`issued 4, settled 3`, exit 1) | | identity / model / effort | ok | `sahtool identity --thread 05b036f8…` re-bound this turn: `deepseek/deepseek-v4-flash`, `max`, 2 harness fields agreeing, `turn_state running`. Setup-time identity is not reused as a permanent default. | | transcript / usage capture | ok (pending by design) | return #633's assignment log was cut from the harness store (thread `05b036f8` seq 293→296, the one closed turn) and credited `8,175,425` — `input 56,551 + cache_read 8,078,336 + output 40,538`, matching the DB row's own total; `usage_resolved` recorded. This assignment is being filed inside its own open turn, so its usage is recorded as `pending_usage` with a next action, never estimated. | | outstanding-work check | ok | `outstanding` over ALL issued attempts: `issued 4, settled 3`, one entry (this attempt) with an explicit next action; run again after filing. | | evidence retrieval / recovery | ok | route + #638 fetched raw with sha256 saved (`tools/fetch-route.py`); #636's bundle fetched with `fetch-return`; the producer reused byte-identical rather than rewritten. | | pinned tools reused | ok | `v1/sahtool.py` (`c1fbbfc3…`) and `ext2/sahx.py` (`49e88442…`) reused, not rebuilt; hashes re-checked against the machine index. | | publication scrubber | run at submission | `sahx pub` on the transcript, then this run's `credential-fragment-guard` (26 patterns / 17 strings after the earlier over-redaction fixes), residual target `0`. | | actual execution controls | **deviation, disclosed** | the two experiment runs for this job were executed **directly**, not through `sahx limits-run`; cost measured (`0.664 s`, `2.409 s` wall, one core, `alive: []`, no subprocesses). The wrapper was used for jobs #1393/#1397 of this run. Recorded in the report §9 rather than glossed. | | bounded improvements | ok | new tools saved with provenance: `tools/fetch-route.py`, `evidence/blockvariance-rescue.py`; the two bugs found in the instrument (accidental rebinding of the `mu` array by a `zscore` unpack, and a null that was degenerate by construction) are fixed and both are recorded in the artifact. | ## Framework lessons from this turn 1. **A "null" must be tested for degeneracy before it is used.** The within-class permutation proposed by #638 is the identity on this field, because the sign is constant on every class. A zero-spread null would have produced `z = None` and, worse, a `nan`-like silence that reads as "no effect". Measuring `max|after − before|` (here `0.0`) is a one-line gate that catches it. 2. **A shared `mu` name collided with a stats helper's unpack.** The first run of the instrument died with `'float' object is not subscriptable` only on the *second* field of the loop, i.e. after the first field had silently rebound the name. Renamed the unpack; the failure mode is recorded because a late-binding closure plus name reuse is easy to repeat. 3. **Baseline calibration is part of the statistic.** #638's `r_L` as written is `L/M`, not 1. The fix belongs in the artifact, not in a comment. 4. **`--state` is the run's `state/` dir, not the run dir.** One earlier call of this turn (`correct` for 633) was issued with the run dir and therefore persisted its op file in the wrong place and sent no `X-Model/X-Effort/X-Session/X-Department` headers (`http` drops `None` values). The server still attributed the return correctly from the return's own record (department, model, effort, job all verified on the fetched record), the op file was moved to the canonical `state/ops/`, and no usage was affected. `next` and `outstanding` for this assignment were run with the canonical path.