Handoff — codex review remediation
Session: e36ef25c (Claude Code / Opus 5) · Closed: 2026-08-07
Branch: feat/rn-app-parity · My commit: 908eeba
The full record is four appended sections in docs/WORKLIST.md ("Review remediation" rounds 1–4). The findings themselves are in docs/REVIEW-codex-2026-08-06.md. This file is the short version for whoever picks it up.
1. Do these first
- [ ] PUSH.
feat/rn-app-paritywas 4 commits ahead of origin when this session closed, including908eeba. Nothing here is on the remote yet. - [ ] Decide
AST-OL-SK-6. See §3. It is the only finding left that needs a person rather than a patch. - [ ] Do not "tidy up" the two pinned asset divergences. They are pinned in
tests/registers.test.tswith reasons. Changing either silently changes what a past inspection was taken to cover.
2. What state the branch is in
908eeba executes the codex review. Verified at that commit:
| Check | Result |
|---|---|
npx tsc --noEmit -p tsconfig.json (console) | 0, with noUncheckedIndexedAccess ON |
npm test (console) | 79/79 |
npx tsc --noEmit (apps/esg-field) | 0 |
npx jest (apps/esg-field) | 313/313 |
node scripts/sync-device-mirrors.mjs --check | clean |
Re-verified green after two later peer commits (a39baa3, 2422e04) landed on top.
908eeba also REPAIRED the branch
3c12640 had committed TaskFlow.tsx importing areaSubmissionId and
buildAreaSubmission from lib/sync/outbox, which exported neither — the
branch had not compiled since that commit. The fix was sitting uncommitted in
the working tree and is carried in 908eeba. That outbox work and its
areaSubmission spec belong to another session, not this one.
3. Open, and needing a decision — not code
AST-OL-SK-6— consolez-ol-eastharbour, devicez-ol-lakeshore. Undocumented; found by the new asset test the first time it ran. The label is "Spill kit 6, rail adjacency" andz-ol-lakeshoreIS the rail-adjacency zone, so the console looks like the error — but that is a reading, not a decision. Pinned intests/registers.test.ts.AST-OL-WASH-3— consolez-ol-donvalley, devicez-ol-thorncliffe. Deliberate, documented atapp/lib/sitePlans.ts. Pete decided 2026-08-07: leave the values, add the guard. Done — pinned, no further action.
4. Deliberately not done, with the reason
- One shared geometry MODULE (instead of the generator). Needs Metro
watchFoldersat the repo root, and this repo hasnode_modulesat the root AND inapps/esg-field— the standard way to end up bundling two copies of React. Only a real device build can prove it, and the drift it would prevent is already prevented byscripts/sync-device-mirrors.mjsplus an equality test, both proven. Revisit when someone can run the bundle. - Nothing was run on a handset. Every fix in rounds 1–4 is static analysis plus the suites in §2. The audio lifecycle work in particular (microphone teardown, the closing tone, multi-turn recordings) has specs but no device run.
5. Guards that now exist, so nobody re-opens these by hand
scripts/sync-device-mirrors.mjs—pnpm sync:mirrors/pnpm check:mirrors. Makes "GENERATED" true; both device data files claimed it and nothing generated them.tests/registers.test.ts— corridor geometry asserted equal, not a subset (a subset is exactly what hid 7 console zones vs 10 device zones); assets reconciled for placement and for set membership; a test that every pin still describes the files, because a stale pin is worse than no pin.apps/esg-field/screens/capture/__tests__/noteLifecycle.test.tsx— the audio turn's order of operations. Several specs were proven to fail before their fix.- The console
tsconfig.jsonnow extends the base. Do not remove the explicitnoUncheckedIndexedAccess: truewithout doing the work it represents.
6. Working-tree warning
When this session closed, the tree had ~40 modified files belonging to another
active session (v2 surfaces, audio, capture). They are not this session's work
and were deliberately not committed. Several sessions were writing this repo
concurrently all day — one of them absorbed part of this session's HomeTab.tsx
change into its own commit, and another committed a consumer without its provider
(§2). Check git status and git log before assuming the tree is settled.