fix: discard obsolete autosaves and bind acknowledgements to draft sequence

This commit is contained in:
2026-10-29 23:10:29 +02:00
parent ed96fd10b9
commit 87b74f0c2a
5 changed files with 171 additions and 8 deletions
@@ -1434,5 +1434,45 @@
"preservation": "No payload truncation, field/rule restrictions, backend/schema/permissions/tax changes or active writes. Authentication, methods and HTTP conflict behavior preserved. Historical accepted suites reused.",
"visual_acceptance": "Pending team execution and recording; mocked transport/component tests do not constitute browser acceptance.",
"installation": "Not triggered; main and active release unchanged."
},
"context_autosave_ordering_increment": {
"recorded_at": "2026-10-29T21:10:29.322457+00:00",
"base_commit": "ed96fd10b98041adf549383f98d8ee45449fc831",
"requirements": [
"V2-07",
"V2-10",
"Tempo adaptive journey decision 2026-10-23: retain choices and deliberate edits across navigation/refresh"
],
"defect": "Autosave captured the sequence when its timer ran, not when its body was scheduled; queued obsolete bodies could still be sent and a late completion could acknowledge later edits that returned to the same values.",
"behavior": "Capture the body/sequence pair together. Before queued transport and before reporting success/error, require matching current body and sequence and no saved-context recovery pending. Skip obsolete queued drafts without sending them or claiming they were saved.",
"checks": {
"previous_revision_reproduced": {
"passed": 0,
"failed": 2
},
"directed_frontend_passed": 22,
"new_frontend_cases": 2,
"existing_cases_reused": 20,
"types": "passed",
"lint": "passed",
"format": "passed",
"qa_build": "passed"
},
"source_sha256": {
"resources/js/pages/investor-path/context.tsx": "bf8c9201796ffb30edfef8154fa4a6798adae8cada61318002febd5f8e358527",
"tests/frontend/investor-usability-components.test.mjs": "73eba025623874af5cabe1357fea27603ca108b87121ec95e659f4684508ba14"
},
"evidence": {
"outputs/validation-20261029/context-autosave-red.log": "133130d478c25a34b1227de390fb9011cd924c52cee0876cfc13c3a5c0c7f21d",
"outputs/validation-20261029/context-autosave-tests.log": "2a3bea954316bee825ce3897067158532d3c90ab2435b94d3e47c2cb5fb7cba8",
"outputs/validation-20261029/context-autosave-types.log": "82962651e47f564de653ad2883f8fd34e7dae4b4468e4ac459cb3331962a3879",
"outputs/validation-20261029/context-autosave-lint.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"outputs/validation-20261029/context-autosave-format-check.log": "17d422f6370473903ddc578b4b3975c782e5d063a505553d9e3f046eaff248c3",
"outputs/validation-20261029/context-autosave-build.log": "5a70aa2d82a1b84f5f10f0169e7f3ed523371436fcd1dcc2282a380603711052",
"outputs/validation-20261029/context-autosave-build-exit.json": "124fd50cb6d223cdd18fedc166d00af7254199b6e6dedf9be82f71db87af6d01"
},
"preservation": "Frontend sequencing only. Existing backend version/sequence conflict checks preserved, not disabled. No schema, data, permissions or tax changes and no active writes. Historical suites reused.",
"visual_acceptance": "Pending team execution and recording; controlled timer/queue tests do not establish browser-session acceptance.",
"installation": "Not triggered; main and active release unchanged."
}
}