SDD ledger — plan: C:/Users/megahefm/Dropbox/Miami/Code/claude/fine_tuned_jev/replication_materials/plans/2026-11-25-box-pixel-plan.md

plans/2026-11-25-box-pixel-ledger.md · Status: Closed

| Item | Value |
|---|---|
| Status | Closed |
| Version | 1.0 (2026-11-26) |
| Written by | Claude Code |

This ledger is a copy of the working ledger for the plan `C:/Users/megahefm/Dropbox/Miami/Code/claude/fine_tuned_jev/replication_materials/plans/2026-11-25-box-pixel-plan.md`. It was copied on 2026-11-26 at the end of the work. Internal agent IDs are removed.

# SDD ledger — plan: C:/Users/megahefm/Dropbox/Miami/Code/claude/fine_tuned_jev/replication_materials/plans/2026-11-25-box-pixel-plan.md

Spec: replication_materials/plans/2026-11-25-box-pixel-design.md (approved in plan mode, D340 to D344).

## Pre-flight

| Tasks | Produces / consumes | Found |
|---|---|---|
| 1 -> 2..6 | evaluate.R (truth_masks, map_write/read, boxes_to_map, pixel_hist, eval_*), the method row, the map format | consistent |
| 2 -> 4, 5 | maps.R (spread_windows, tile_map) and the H0 best map used for H6 and the H7 crop | consistent |
| 3 -> 4, 5, 6 | register.R (nearest_good), boxseg.py sam/dino outputs | consistent |
| 5 -> 6 | superpixel and SAM-pick maps used by H13 fusion | consistent |
| Task 1 self | Step 1 test "a constant map gives 0.5 at each limit" vs spec Design A "constant map (chance: AU-sPRO@0.05 = 0.025)" | conflict |
| Task 3 self | Step 1 "Expected: 5 rows" vs one sha256 per weight file (a repo can have several files) | conflict (minor) |
| Task 3 self | Step 2 writes replication_materials/environment/ in the main checkout, but the implementer works in the worktree | conflict |
| Task 6 self | Step 6 records on main | controller work |
| Tasks 2..6 | text vs own files | consistent |

Ruling: Task 1 constant-map test asserts AU-sPRO = limit / 2 (0.025 at 0.05, 0.5 at 1.0), the area under the diagonal normalised by the limit, as the spec says; the official-code check in Step 6 decides if the official code differs — cost if wrong: one test value to change.
Ruling: Task 3 weights.csv has one row per weight file, at least one per repo (5 repos) — cost if wrong: none.
Ruling: Task 3 writes the env record to box/results/px/local/env-eagerprep.txt in the worktree; the controller copies it to replication_materials/environment/python-boxseg-environment.txt on main — cost if wrong: none.
Ruling: Task 6 Step 6 (records on main) is controller work, done after the task review — cost if wrong: none.
Ruling: Execution is subagent-driven (one implementer and one task reviewer per task), as the plan header recommends; fmm approved the plan in plan mode with stage reports — cost if wrong: more tokens than inline.

Task 1: dispatched (BASE 750eb85, implementer opus)
Task 1: implementer DONE_WITH_CONCERNS (1904cdb): 52/52 tests; ceiling .419/.368/.613/.495; R AU-sPRO = official within 3.9e-05 on 30 runs (official commit 8ccc3d95054edf8237a152a6c29f61c0504b0b09); constant map = limit/2 in the official code too.
Task 1: Ruling: image AUROC uses the standard estimate (a tie counts one half), not the official AutoVI image AUROC, which is wrong under tied scores (0.75 for good [1,1] vs defective [2]) — box-as-mask maps tie often (good images with no box score 0), and the comparisons are inside this study — cost if wrong: our image AUROC differs from a number the official script would print on tied maps; report both where they differ.
Task 1: Ruling: interface additions accepted for later tasks: map_write(map, file, width, height); eval_boxes(..., threshold, tol) with truth rows from truth_summary() — cost if wrong: none.
Task 1: Ruling: the official code ran with three Windows shims (os.nice, path join, numpy seed) and libdeflate=1.10; no metric code changed — cost if wrong: none (results agree within 4e-05).
Task 1: complete (commits 750eb85..1904cdb, review clean; 7 minors)
Task 1: minor (deferred): boot_compare reports resamples = R even when some draws are NA (evaluate.R:378); test gaps (AP below 1 with a false box on a good image; TP/sat clipping; pointing miss); set.seed in a test; long lines.
Ruling: Task 2 starts by fixing Task 1 minors 1-3 (eval_boxes keeps zero-area boxes and stops on inverted ones; pixel_hist stops on NA or values outside [0,1]; fabrid_masks stops on an empty channel), each with a failing test first — Task 2 is the first task to score boxes and in-memory maps at scale, and these are silent-error paths — cost if wrong: about 20 lines in Task 2's diff.
Task 2: dispatched (BASE 1904cdb, implementer opus)
Task 2: implementer DONE_WITH_CONCERNS (c3ed56f): 92/92 tests; re-scoring reproduces per_image.csv, measures.csv and final_table.csv; 2,676 maps in box_data/maps.
Task 2: Ruling: spreading rule — a window size that has no window over a pixel gives 0 for that size; "min_scale" for full window ladders (G4: .556 vs mean .404, better on every dataset), "mean" for top-down window sets (TD .451 vs .134) — the TD search asks deep windows only where the parent went on, so a zero for an unasked size carries information — cost if wrong: H6 uses the full ladder, so only the TD baseline changes.
Task 2: Ruling: "pooled" in the dev rule means the mean over datasets of the per-dataset AU-sPRO@0.05 gains (each dataset bootstrapped within itself, equal weight), not one AU-sPRO over all pixels — a pixel-pooled sPRO lets the 1000x750 tank images dominate the FPR (finding 3 of Task 2) and the rule meant every dataset to count — cost if wrong: a verdict can differ from a pixel-pooled one; both are reported.
Task 2: Ruling: image score of every map method = the map maximum (AutoVI); a gate enters by multiplying the map (map x p), as H5/H6 do with G^gamma — so a declared image score never disagrees with its own map; the free variant L_vote x .pred_defect (and T_vote x .pred_defect on dev) is added to Task 3 H4a with the other free gates — cost if wrong: one free variant.
Task 2: Ruling: pool.R (the 223-image pool loader) is accepted as an extra file; dev TD box scores are region Nouls, noted in the tables — cost if wrong: none.
Task 2: review: Needs fixes (1 Important: px_10 outputs lack the post hoc line). Fix round 1 sent to the implementer with the "pooled = dataset-mean" ruling as a tested dev_keep() in evaluate.R.
Task 2: minor (deferred): no independent check of tile/window geometry (compare a window Noul at a final region with its saved final Noul); eval_boxes drops NA-score rows silently; pool.R copies locate_* from decisions (drift risk); vote_map counts an NA-confidence box as 0 without a warning.
Task 2: fix round 1/5 implemented (6e3c5a1: post hoc lines; dev_keep() with dataset-mean gain; 121 tests); scoped re-review dispatched
Task 2: fix round 1/5 (2 addressed, 0 open; commits c3ed56f..6e3c5a1)
Task 2: complete (commits 1904cdb..6e3c5a1, review clean after 1 fix round)
Task 2: minor (deferred): px_02 whitespace "<-c("; px_10 compare() checks the fast AU-sPRO only on arm a; dev_keep sets keep FALSE silently when a dataset gain is NA.
Ruling: DINO maps are stored as s = cosine distance / 2 (a fixed monotone transform, no per-image or per-dataset scaling), so maps from different images and banks stay comparable and AU-sPRO is unchanged by the transform — cost if wrong: none for ranking metrics; thresholds are chosen on dev anyway.
Ruling: a DINO bank of size k = the k nearest train/good images by nearest_good() (64 px thumbnails), after the MD5 exclusion — the cameras are fixed, so near images align best — cost if wrong: a random bank could do better on FabriD-like scenes; FabriD uses self-reference anyway.
Task 3: dispatched (BASE 6e3c5a1, implementer opus)
Task 3: implementer DONE_WITH_CONCERNS (22e99be): 121 + 23 tests; H1 go fabrid (SAM 2.1 only, +.111 [.060,.165]) and pipe_clip (+.128 to +.152); stop tank (-.11 to -.13) and engine (+.01 to +.03). H2: no SAM-from-L-box map keeps vs L_box; all below L_vote. H3: best DINO_k16_local_S (dataset mean .363 vs L_box .359), best on engine (.425), image AUROC near chance elsewhere. H4a: only T_vote_gated keeps vs T_vote (+.006).
Task 3: Ruling: HQ-SAM keeps its H1 numbers with the documented one-line runtime patch of transformers 4.57.6 (SamHQMaskDecoder drops the two-way transformer output), but later stages use SAM 2.1 only (the one model that passes H1 on both go datasets) — dropping HQ-SAM downstream changes no recommendation — cost if wrong: none.
Task 3: Ruling: H1 go/stop gates the SAM mask steps only: H8 (Jev picks a SAM mask) runs on fabrid and pipe_clip; H7 (pure-Jev outlined segments) runs on all four datasets, because H1 measures SAM, not Jev's segment questions — cost if wrong: about 100 extra cheap calls on tank and engine.
Task 3: Ruling: Stage 5 must exclude from the final test every image whose MD5 equals an image used in a development bank or as a nearest good image (58 engine bank images equal test images outside the pool; 52 were used) — cost if wrong: none (fewer eligible images).
Task 3: Ruling: implementer choices accepted: DINO local radius 2 patches, noisy-box seed 2043 and shift rule, -0.5 px offset for SAM prompts, the SAM 2.1 sam2_video config warning — cost if wrong: small, all documented.
Task 3: complete (commits 6e3c5a1..22e99be, review clean; 9 minors)
Task 3: minor (deferred): f1_threshold duplicated from px_10 and sam_h2/dino_methods rebuilt 3 times; PYTHONUTF8 ignored under -I; H2 L_box IoU depends on the gate (latent); fetch_manifest.json holds an absolute path and fetch_log.txt is from the cached rerun; patch_sam_hq() not idempotent; no post hoc marker on rows.rds/hists.rds/sheet.jpg (as H0); cached-embedding equivalence untested.
Ruling: Task 5 starts with Task 3 minors 1, 2 and 4, test first: a SAM 2.1 round trip in test-local.R; the prompt helpers (sam_xy, box_prompts, noisy_box, pixel_iou, f1_threshold) move to box/R/prompts.R with geometry tests; run_boxseg() wraps models/backbones/ks with as.list() — H8 uses SAM 2.1 and these helpers — cost if wrong: about 60 lines in Task 5.
Ruling: Task 4 references — AutoVI: the nearest train/good image by nearest_good() (MD5-excluded); FabriD: the nominal reference crop of D336 (box/results/d336_test/refs, inputs.json crop_files nominal_example), since FabriD has no same-fabric good image. Words: inputs.json words[[dataset]]$one — cost if wrong: FabriD gate weaker than a registered one.
Ruling: Task 4 H6 pilot rule made mechanical: run all 223 images only if, on the 40 AutoVI D278 dev images, the tank AU-sPRO@0.05 gain over G4_windows_min_scale is > 0 and the pipe gain is >= -0.03 (point estimates) — cost if wrong: a stop that a bootstrap would not make.
Task 4: dispatched (BASE 22e99be, implementer opus; first paid stage, cap 5,000 calls / USD 4, prefix box px dev)
Task 4: implementer DONE_WITH_CONCERNS (a334c48): 42 + 121 + 23 tests; spend 357 calls, USD 0.1354 (smoke 14 / USD 0.009, rerun 0; H5 223 / USD 0.021; H6 pilot 120 / USD 0.106). H5 gate G image AUROC vs L (223 images): engine .783 vs .397 (+.39 [.17,.58]), tank .702 vs 1.000, fabrid .877 vs .824, pipe .750 vs .654; G beats Z everywhere. H6 pilot failed the rule: W_reg vs G4 tank -.580, pipe -.307 (registered Nouls compressed, median .32; background objects move between tank images); full H6 not run.
Task 4: Ruling: H6 (registered windows) is dropped — the pilot rule failed by a wide margin on both datasets — cost if wrong: a registered variant with better alignment is untested.
Task 4: Ruling: the FabriD wording change ("B shows fabric with no defect") ran only in the smoke run; accepted as documented — cost if wrong: none.
Ruling: Task 5 starts (after the Task 3 minors) with the free gated maps from saved answers: L_vote, TD_windows_mean, G4_windows_min_scale (dev) and DINO_k16_local_S, each x G^gamma (gamma 0.5, 1) and x .pred_defect; dev_keep against L_box and L_vote; the best of them (by the dataset-mean AU-sPRO@0.05, keep or not) is the "best map" whose peak centers the H7 crop — the plan's H7 needs a best map, and G was bought in H5 — cost if wrong: none (free).
Task 4: review: Needs fixes (Important: px_common.R overrides an outer BOX_MAX_CALLS). Ruling: Minor 3 (gated rows omit the gate's call and tokens in their cost) re-graded to Important — the row contract and the USD 0.01-per-image limit depend on it — cost if wrong: one more item in the fix round. Fix round 1 sent (cap helpers moved to box/R/requests.R with tests).
Task 4: Ruling: the AutoVI H6 state note ("Picture A in each question is ... picture B is the same place on a part with no defect.") is accepted as documented; H6 is dropped anyway — cost if wrong: none.
Task 4: minor (deferred): jev_ask retry after 429/503 skips the cap check (bounded by 1 request, inherited from d336); px_13 does not re-check refs.csv MD5s; per-image RDS cache keyed by id only; px_fit uses the size before the first resize; ref_path check does not check the dataset folder; replay hash includes JPEG bytes (a magick upgrade blocks replay, fails closed); duplicated window-fraction and G4 lookup code; no post hoc line on rows_gate.rds and smoke RDS.
Task 4: fix round 1/5 implemented (70f2b62: cap helpers in box/R/requests.R honour an outer BOX_MAX_CALLS; gated rows carry the gate cost; 67 tests; 0 calls); scoped re-review dispatched
Task 4: fix round 1/5 (2 addressed, 0 open; commits a334c48..70f2b62)
Task 4: complete (commits 22e99be..70f2b62, review clean after 1 fix round)
Task 4: minor (deferred): main_dir <-"..." spacing in px_common.R; the row-level USD 0.01 check runs after the requests (the pre-request check is per request).
Ruling: Task 5 H7 crop = the bounding box of the 8-connected part that holds the maximum of the best map, thresholded at half that maximum, grown 1.5x (at least 64 px a side), clamped to the image; H7 map = the best map outside the crop and p(segment) x max(best map) inside it, so the image score and the gate carry over — the design says "the coarse map outside the crop" and does not fix the inside scale — cost if wrong: a scale choice that dev_keep judges anyway.
Ruling: Task 5 H9 asks two Nouls per DINO region in the same request: the planned comparison with the same crop of the nearest good image, and a reference-free "Is there {one} in picture A?" with the D336 references in the state — H6 showed the comparison question compresses Nouls (median .32); the second question costs about 40 tokens — cost if wrong: one extra column.
Ruling: H7 and H9 run on all 223 pool images; H8 runs on fabrid and pipe_clip only (H1), after its free pre-check — every map method needs a map on good images for the FPR.
Task 5: dispatched (BASE 70f2b62, implementer opus; dev cap left about 4,643 calls / USD 3.86)
Task 5: implementer DONE_WITH_CONCERNS (9b4b920, da97f29): 322 tests; 602 calls, USD 0.183 (smoke 12, H7 375, H8 0, H9 215); box px dev total 959 calls, USD 0.318. Best free map LT_vote_G1 (L_vote x G) .500, keeps vs LT_vote (+.011 [.004,.017]). H7 SEG_numbered .492, SEG_outline .479, no keep (tank +.08, pipe -.13 to -.15). H8 pre-check +.033 on fabrid and pipe (< .08): no paid call. H9 cmp .337, ref .314 vs DINO .363: no keep.
Task 5: Ruling: implementer deviations accepted as documented: the SAM 2.1 round-trip test uses a tight box plus a point (SAM 2.1 misses the toy block with a loose box); SLIC compactness 40 (chosen on smoke crops before any call; 10 gave 85-417 pieces); the FabriD H9 wording "(fabric with no defect)"; the H7 question names its picture ("in this picture: {key}"); H9 uses no shift search — cost if wrong: small, all before or outside the full runs' decisions.
Task 5: review: Needs fixes (Important: H9 crops were 64 image px upscaled to 280, not >= 280 image px). Ruling: "(>= 280 px)" meant at least 280 image pixels of context; H9 is rerun as DINO_verified_cmp280/_ref280 with new request names (about 215 calls, USD 0.035); the 64 px run stays as a superseded variant — cost if wrong: USD 0.035.
Task 5: minor (deferred): k-means Quick-TRANSfer warnings on two H7 crops; smoke CSVs lack the post hoc line; H7 labels (868 KB) live only in box_data/px_seg; slic_lite default compactness 10 vs the study's 40; a wrong test comment (30 x 64); add_map_boxes duplicated; saved_rows() drops repeated methods silently; px_16 trusts refs.csv without a re-check.
Task 5: fix round 1/5 implemented (2146e1c: H9 rerun with >= 280 image px crops, 215 calls / USD 0.033; cmp280 .348, ref280 .354 vs DINO .363, no keep; cmp280 image AUROC fabrid .705, tank .816, pipe .880, engine .910; 337 tests); scoped re-review dispatched
Task 5: fix round 1/5 (2 addressed, 0 open; commits da97f29..2146e1c)
Task 5: complete (commits 70f2b62..2146e1c, review clean after 1 fix round)
Task 5: minor (deferred): peak_part() default path calls part_labels() needlessly; <id>_V is a prefix of <id>_V280 (separate folders, harmless).
Ruling: Task 6 H10 box TTA uses L's most likely tile only: 8 crops (the tile grown 1.2x, 4 shifts of 1/6 of the side, scales 0.75 and 1.5, one mirrored crop) x 2 wordings = 16 Box answers in one request (about 15k tokens); the TTA vote map adds L's 4 saved boxes — L's final box comes from that tile, and two tiles would double the cost — cost if wrong: misses defects in the second tile (L's other 2 boxes still vote).
Ruling: Task 6 H13 fusion uses fixed transforms only: z by per-dataset mean and sd of each map's pixels over the dev good images (constants saved), C = pnorm of the mean z; a SAM variant adds saved SAM masks (Task 3 H2 candidates, area < 20% of the image) weighted by mean C inside, then halves and clips to [0, 1]; no per-image scaling; the H9 cmp280 image score may gate a fused map (its calls counted) — boxseg.py has no automatic-mask subcommand — cost if wrong: a weaker SAM variant.
Ruling: candidate choice (Task 6 Step 5): pure-Jev = maps built only from Jev answers and simple image operations; hybrid = maps that use DINOv2 or SAM. Each candidate = the method with the highest dataset-mean AU-sPRO@0.05 among those that keep against L_box (dev_keep); if none keeps, the highest one, flagged. Cost <= USD 0.01 per image; settings frozen in frozen.json with a recipe that a fresh image can run.
Task 6: dispatched (BASE 2146e1c, implementer opus; dev cap left about 3,826 calls / USD 3.65)
Task 6: implementer DONE_WITH_CONCERNS (commits b079468, bd63169; 745 calls, USD 0.375; box px dev total 1,919 calls, USD 0.725); call-log rows committed on main d2f7b9c; concerns are result findings (no method keeps vs L_box on the image-AUROC part; FUSE saturates), not code faults; review dispatched (opus, code-only package review-2146e1c..bd63169-code.diff)
Task 6: review: Needs fixes (spec ❌: Important 1, the FUSE recipe has no rule for the z constants of a new class; review file task-6-review.md).
Ruling: Task 6 review ⚠️(a) — dev_keep reads the image AUROC limit (−0.02) per dataset; this reading stands, because the final rule (D342) tests image AUROC per dataset (5 datasets × 2 candidates, Holm) — cost if wrong: only the label "flagged"; under a pooled reading both candidates keep (dataset-mean image AUROC .840 and .732 against .719, every dataset pixel gain > 0) and the choice of candidates is the same.
Ruling: Task 6 review ⚠️(d) — "dev good images" of ruling 83 = the good images of the 223-image development pool (D344) — cost if wrong: none; no other good images have Jev answers without new calls.
Ruling: Task 6 review ⚠️(c) confirmed as a gap (joins the fix round): frozen.json must state how the words of a new class (held-out underbody_pipes, descriptive underbody_screw) are fixed before any final call — both candidates need them.
Ruling: Task 6 review Important 1 — the rule for the z constants of a new class: J (the frozen requests) and D on 20 train/good images of that class (seed 2042), MD5-excluded from the final test images, each with a DINO bank that excludes itself; mean and sd over their pixels, as px_18; their calls count under box px final; written into frozen.json now, no call now — cost if wrong: about 80 calls per new class (USD 0.04) in Stage 5, or a FUSE scale that differs from the dev scale on the new class.
Ruling: Task 6 review Minors 2 and 9 re-graded to Important (one finding) — the frozen TTA recipe must say that the TTA request is always sent, also when locate() step 1 answers "none" (then the 16 new boxes vote, divided by 20), and that a crop moved back inside the image that equals another crop is asked again (the base crop can count up to 3 times); this is how dev ran, and the final test must run the same — cost if wrong: none.
Ruling: Task 6 review Minor 3 re-graded to Important — the FUSE map text must state the 16-bit storage round(65535 × C), from which the frozen threshold and the image-score ties come — cost if wrong: none.
Ruling: Task 6 review Minor 7 re-graded to Important — px_19 stops when box/R, box/scripts or box/python have uncommitted changes, so frozen.json names the code that ran (frozen.json is the pre-registration of Stage 5) — cost if wrong: none.
Ruling: Task 6 review Minor 4 — FUSE_sam's extra rules (near twins with IoU > 0.85 out, at most 4 masks) are accepted as the plan's H8 text "up to 4 distinct SAM masks" — cost if wrong: FUSE_sam numbers only; it is not a candidate.
Task 6: minor (deferred): step_rows()/h10_rows() repeated in px_17, px_18, px_19 (move to px_seg_common.R); pick_candidate() gives an all-NA row when no method of a family is under the cap (fusion.R:56, no test); absolute paths in px_18:31, px_19:34, px_19:453 (scripts run with --no-environ); test name "box_from_px and box_to_px" (test-stage4.R:138); variables c and t hide base functions (test-stage4.R:75, px_17:143); px_19 header says every output carries the post hoc line but dev_spend.csv does not (call-log data only).
Task 6: fix round 1/5 (5 addressed, 0 open — FUSE z rule for a new class; words of a new class from d336_01_inputs.R:28-58; TTA always sent and repeated crops; FUSE 16-bit storage; clean-tree check in px_19; commits 78de1d0..bb8ee9c; dev numbers byte-identical to bd63169)
Task 6: minor (deferred): frozen.json pure_jev map text reads "... still divided by 20 x G (gamma 1)", which can be read as a division by 20 x G (paste() in box/R/frozen.R:150); words_new_class.notes lacks the keys of heldout_notes (strings match).
Task 6: complete (commits 2146e1c..bb8ee9c, review clean after 1 fix round)
Final review (opus, 750eb85..bb8ee9c, final-review.md): With fixes; 0 Critical, 5 Important, 8 Minor; Review Focus 1-5 pass; 4 test files pass (482 expectations).
Final: Ruling: Important 1 (bank and reference rule in frozen.json differs from what ran) — one exact rule: the bank of a class (DINO neighbours and gate reference) = its train/good images minus every image whose MD5 equals an image scored in the run (development: the 223 pool images; Stage 5: the final test images and the 223 pool images; a z-calibration image also leaves its own bank); the gate reference is the nearest image of that same bank; frozen.json says that this equals the development rule extended to the final images — cost if wrong: engine_wiring banks differ from development by the twins of final test images only.
Final: Ruling: Important 2 (nothing checks that the frozen recipe rebuilds the candidate maps) — fix now, with no call: the request builders and map steps of both candidates move into box/R, the scripts call them, and a no-call check rebuilds the TTA and gate requests (hash equal to the saved replay) and the TTA_vote_G1 and FUSE maps (histograms equal to the saved ones) on the 223 dev images — cost if wrong: one more refactor round.
Final: Ruling: Important 3 (the decisions version check pins nothing) — frozen.json records MD5s of the installed decisions files (box_data/rlib) and the source commit; a check function asserts them in px_17 and in Stage 5 — cost if wrong: none.
Final: Ruling: Important 4 (gaps of the z rule for a new class) — sd = 0 falls back to the mean of the 4 development datasets' sd of that map; "after the exclusions" = train/good minus the MD5s of the final test images, of every development image (dev_images_md5.csv) and of the class's locate() reference source images; the remaining full paths are sorted, then set.seed(2042) and sample 20 — cost if wrong: a different 20-image draw only.
Final: Ruling: Important 5 (FUSE image score degenerate; plan level) — the code and the candidate rule (ruling 84) stand; fmm sees the image AUROC by dataset with the go request and decides whether Stage 5 tests both candidates, TTA_vote_G1 only, or FUSE with J's image score — cost if wrong: the final test of a candidate that likely fails the image-AUROC family.
Final: Ruling: Minors M1 to M4 and M6 re-graded to Important (fix now): M1 "divided by 20 x G" text; M2 new-class notes keys (as.list); M3 TTA tile tie rule (lowest tile number) in frozen.json; M4 recipe facts that live only in code (pixel-center rule, >= threshold, FUSE on the stored 16-bit J and D maps, J's formula, the seed substitution) in frozen.json; M6 a map MD5 list for every method (spec F: git keeps the MD5 list of the maps) — each one leaves the pre-registration or the record incomplete — cost if wrong: none.
Final: Ruling: Minor M5 (pool.R reads untracked D278 inputs) — commit the four inputs that pool.R reads (box/results/d303_agent/per_image, d303_bank, bank, d303_offline/boxes.rds; about 1.2 MB, results only, no key) on m7-box in the fix wave — cost if wrong: 1.2 MB in git.
Final: minor (deferred): M7 requirements-boxseg.txt says Python 3.13.14, the plan says 3.12 (the environment is the truth; the record copy says 3.13.14); M8 wbf_box() gives NaN when the top box has zero area (TTA_wbf is not a candidate).
Final: carried to the Stage 5 plan: vote_map() drops a box with an NA confidence silently (count and log; dev had 0); per-image cache keyed by id only (new folder or recipe-hash key); jev_ask() retries once, rule D says twice; test that pool.R's locate_crop() copy equals decisions:::locate_crop(); define "failed" for a candidate with several requests (locate, TTA, gate).
Final: fix wave dispatched (Task 6 implementer resumed; base bb8ee9c)
Final: fix wave (commits f25b32b, abe9e82, 6d5a320): re-review (opus) F1 to F10 ADDRESSED; dev numbers byte-identical to bb8ee9c; recipe check 223/223 on 7 checks; tests 555/555; no paid call (box px dev still 1,919 calls, USD 0.725).
Final: Ruling: re-review N1 (Important, older than the wave: TTA_vote_G1 and FUSE use the stored gate value G = round(65535 x Noul) / 65535, but frozen.json says "G = the Noul"; with the raw Noul the map changes on 143 of 223 images, at most 1.5e-5 a pixel, and the image score on 3) — the stored value is the frozen convention, because it is what ran on all 223 dev images and gives pixel-identical maps; no second fix wave, so the first step of the Stage 5 plan, before any final call, adds a gate_g() helper in box/R/recipe.R that the scripts and Stage 5 use, writes the convention into frozen.json (no number changes), and reruns the recipe check — cost if wrong: maps that differ by at most 1.5e-5 a pixel.
Final: carried to the Stage 5 plan: N2 make the recipe check exact (identical rebuilt J pixels against the stored PNG; FUSE from the rebuilt J); N3 check_decisions_pin() also asserts that the loaded decisions namespace comes from box_data/rlib (the system library has decisions 0.1.0); the D map step of FUSE (px_11_local.R:316-330) moves into box/R with a rebuild check; d336_common.R checks only the decisions version (call check_decisions_pin() when Stage 5 builds new-class references).
Final: minor (deferred): N4 maps_md5.csv column rows names only the first rows file after distinct() (cosmetic).
Ruling: the SDD workspace stays until m7-box is merged, and finishing-a-development-branch waits until Stage 5 ends, because Stage 5 continues on m7-box and its plan reads the task reports — cost if wrong: none (git-ignored scratch).
Final: review complete; plan Tasks 1 to 6 done; stop for the go of fmm before Stage 5.