1.9 KiB
Independent attachment metadata changes
17 November 2026. Source 62038242 on codex/a3-ui-10, baseline aff54a9b.
Purpose and AI-use controls both sent a reconstructed full metadata pair from their rendered attachment. Two edits before either response returned could reset the other choice on the server while the local display appeared correct. Send only the explicit patch. The existing controller's nullable Purpose/UseForAi fields already preserve omitted fields; no API implementation/schema change is needed. Both inline callers remain unchanged, including explicit false for disabling AI use.
Four original EN/NB tests, both edit orders, FAILED against controlled server partial-update semantics. Final 111 frontend cases/four complete suites PASSED, zero failures/skips, including response-order reversal and the existing disable-false case. 19 backend attachment cases PASSED, including two new direct-controller/EF InMemory checks for both partial-update orders, unchanged filename/path and recomputed job flags. Existing locked offline-restored assets were reused with --no-restore; this run compiled the current test source. No fresh restore, online dependency audit, MariaDB or HTTP binding qualification.
Non-incremental TypeScript, three-file lint, source diff check and AST update PASSED19,329 nodes/47,478 edges. Earlier103/105/107 selections overlap111; do not sum. Source/native gzip receipts: evidence/attachment-metadata-partial/SOURCE_RECEIPTS.json. Native red logs preserve whitespace and are not a whole-evidence clean-diff assertion.
No real file/API/provider/model/browser/device operation; no full European locale, A3, security/recovery/release acceptance. Prior Next build remains FAILED. Same-field backend concurrency, a read overlapping a metadata write, and final connected/native document journeys remain separate. Rollback: revert this source commit, with no data migration.