Files
jobtrackingapp/docs/ui-modernisation/INTERVIEW_ADD_RECOVERY.md
T

2.3 KiB

Interview question add recovery

Baseline A3 a44a2f05, isolated branch codex/interview-ai-recovery, worktree E:/Storage/Projects/Active/temp docs/jobjakt-local-build/next-security-patch. Source be82e07. Uses the qualified isolated Next16.4.6 locked installation, not A3's older on-disk modules.

Adding a question previously cleared its draft before the write succeeded. On failure the generic mutation error also hid the form and existing answer drafts. Both EN/NB synthetic regressions failed on original runtime source because the form disappeared. The draft now clears only after successful explicit add; mutation errors retain the loaded form and existing answer rows. Initial read failures still hide unqualified content. The existing Add button retries; no automatic write or retry was introduced.

PASSED: 52 affected cases/two suites (48 InterviewPrep and four connected dashboard/reminder/table route cases), non-incremental TypeScript, scoped two-file ESLint and source diff check. The two red cases are included in52;46 skipped cases in the focused red selection are not skipped final-suite tests. New cases prove whitespace-preserved draft, original trimmed title/category/target, unchanged local STAR answer, no reload after failed write, exactly two user-requested POSTs and no PATCH/delete. All API operations are synthetic; no real interview/model/provider/data mutation.

No schema, backend, translation catalogue, generated-content language, CV renderer, profile ownership or revision contract changed. Other mutation errors now keep existing loaded content available through the same Shell option; busy disabling and explicit confirmation remain. Successful adds retain the established preparation reload. Session/job lifetime and stale AI completion are separate proof-required work. Backend/full-suite/browser/native/device/AT/semantic AI qualification NOT RUN for this increment; the preceding framework run and browser matrices remain separately source-bound and are not added to52.

Native/canonical receipts: evidence. Existing PDF metrics/visuals not reopened. No orchestrator, main merge, production or live services. Next eligible tasks include AI suggestion/acceptance failures, stale completion proof and independent performance evidence; final A3/security/release acceptance remains open.