fix: reject stale context previews and protect pending edits
This commit is contained in:
@@ -1290,5 +1290,45 @@
|
||||
"preservation": "Existing before/after backend preview and confirmation flow retained; no data writes, schema, permissions, tax rules or backend changes. Historical accepted suites reused.",
|
||||
"visual_acceptance": "Pending team execution and recording against candidate.",
|
||||
"installation": "Not triggered; main and active release unchanged."
|
||||
},
|
||||
"context_preview_consistency_increment": {
|
||||
"recorded_at": "2026-10-29T21:01:36.362775+00:00",
|
||||
"base_commit": "a10dd83d8dda0eab50d1c77ef3920ba9d5daf172",
|
||||
"requirements": [
|
||||
"V2-07",
|
||||
"V2-10",
|
||||
"Tempo adaptive journey decision 2026-10-23: preserve deliberate edits and compare impact before confirmation"
|
||||
],
|
||||
"behavior": [
|
||||
"Opportunity addition, common declarations and explicit replacement checkboxes are disabled while a context operation is busy, consistently with existing preparation controls.",
|
||||
"Starting a new preview clears the preceding plan and confirmation body, so a failed new preview cannot leave an older preview confirmable.",
|
||||
"Before accepting the asynchronous response, compare the current draft snapshot to the requested draft; reject stale responses and preserve later edits with an explicit request to compare again."
|
||||
],
|
||||
"checks": {
|
||||
"new_cases_reproduced_against_previous_revision": 3,
|
||||
"directed_frontend_passed": 13,
|
||||
"new_frontend_cases": 3,
|
||||
"existing_cases_reused": 10,
|
||||
"types": "passed",
|
||||
"lint": "passed",
|
||||
"format": "passed",
|
||||
"qa_build": "passed"
|
||||
},
|
||||
"source_sha256": {
|
||||
"resources/js/pages/investor-path/context.tsx": "41c919e19246d0e913603cbbb747b82d7ed41f0d93caaadd072443704891eb0d",
|
||||
"tests/frontend/investor-usability-components.test.mjs": "21b23496b8bb009cc52e13e0061e32c18338d8a325eb74c8fbf5e865de8db99f"
|
||||
},
|
||||
"evidence": {
|
||||
"outputs/validation-20261029/context-preview-red.log": "6524233d96ce46217274fd174d2764b4c9b9d2289cbdfd0b48413913fcebded8",
|
||||
"outputs/validation-20261029/context-preview-tests.log": "584f31229dca89319d25fe6f981813bed010b621bb28165f11fbc9f9f44b5915",
|
||||
"outputs/validation-20261029/context-preview-types.log": "82962651e47f564de653ad2883f8fd34e7dae4b4468e4ac459cb3331962a3879",
|
||||
"outputs/validation-20261029/context-preview-lint.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"outputs/validation-20261029/context-preview-format-check.log": "90f26a8036b540babd912c8093386e9f09e41d13b5debbd3ed1a5c6e4bcbd3c6",
|
||||
"outputs/validation-20261029/context-preview-build.log": "4aafb7a9bf6062810cdbbcd000a49bea2043c89540af876ae1b5d77f397c0ad6",
|
||||
"outputs/validation-20261029/context-preview-build-exit.json": "124fd50cb6d223cdd18fedc166d00af7254199b6e6dedf9be82f71db87af6d01"
|
||||
},
|
||||
"preservation": "Frontend request consistency only. No new business conditions, backend/schema/permissions/tax-rule changes or writes to active data. Existing accepted suites reused without full rerun.",
|
||||
"visual_acceptance": "Pending team execution and recording against candidate; mocked asynchronous component tests are not a browser-session acceptance.",
|
||||
"installation": "Not triggered; main and active release unchanged."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user