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

1.2 KiB

Visible attachment context reset

17 November 2026. Source 2affeaca68fa0cf191f1c57edb7cce2b0ac36e5b on codex/a3-ui-10, following local source a877b97d/evidence c354e38b. Publication remains pending afterHTTP502; last verified remote A3 was 13769a19.

On application change, clear previous attachment rows/actions/error and close/clear the previous preview. Existing URL-effect cleanup releases the old preview URL. Current application reads restore their own rows as before; upload state and session generation protections remain. This prevents a new application's controls from acting on a retained previous file while its list is pending.

Two original regressions FAILED; final89 cases/four suites PASSED (87 overlaps). TypeScript, scoped lint, diff check and AST update PASSED (19,294 nodes/47,419 edges). Native/gzip/source evidence: evidence/attachment-reset/SOURCE_RECEIPTS.json. Real UI providers, mocked API/session and synthetic blobs only; no real file deletion or native browser/device/full security/release acceptance.

Same-application competing preview ordering has separate reproduced follow-up tests. Existing Next build and final A3/I18N/security/release gates remain open. Rollback: revert only this source commit; no data/schema change.