1.5 KiB
Preserve interview answers after failed saves
17 November 2026. Source 5aa204b6, baseline 7cb66826, branch codex/a3-ui-10.
PrepRow now reports its error cause and existing fallback key to the parent presenter. That caller contract has one owner; all preparation errors now use that cause/key shape, removing the old captured string alternative. The existing Shell retains rows specifically for answer-save errors, preserving the local unsaved answer for an explicit retry. Initial board load/mutation error presentation remains separately controlled. No endpoint, payload, job/item identity, success/reload, auto-save or model behavior changed.
Four original EN/NB regressions FAILED for delayed and already-visible failures across language switches. Final 50 cases/three complete affected suites PASSED, zero failures/skips; prior46 overlaps50. Non-incremental TypeScript, two-file lint, source diff and AST19,343 nodes/47,488 edges passed. Tests retain the answer, current-language fallback, no preparation read or second write on language change, and the exact original job/item/content payload on explicit retry. Source/native gzip receipts: evidence/prep-answer-recovery/SOURCE_RECEIPTS.json. Native failure-log bytes/whitespace retained.
Synthetic API/JSDOM only; no real save, models/providers, browser/device or full A3/European/security/release acceptance. Existing broader job/session lifetimes, add-question failure handling and linked-CV read presentation remain separate. Prior Next build remains FAILED. Rollback: revert this source commit; no migration.