{ "date": "2026-11-22", "status": "implemented_tested_and_observed_in_existing_edge", "scope": "Requisition preparation only; other forms retain their existing navigation protection", "mechanism": "Native Inertia remembered form state, keyed by company, user, requisition and process version; encrypted history on create and edit pages", "storage": "Browser history only; no localStorage, automatic submission or additional database record", "cleared_form_regression": {"cause": "Restored operation UUID and visual row keys differ from freshly generated defaults", "fix": "Dirty comparison ignores only those technical identities; real fields and line order remain protected", "tests": "19 focused frontend tests passed, types and scoped lint passed without warnings", "native_verification": "Confirmed blank justification after reload of corrected assets, then Back returned directly to the prior receipt page without the false unsaved warning", "preview": "requisition-history-clean-preview.json"}, "validation": { "frontend_focused": {"tests": 18, "files": 4}, "backend": {"tests": 8, "passed": 7, "skipped": 1, "assertions": 70, "log": "storage/logs/requisition-history.txt"}, "typescript": "passed", "phpstan": "passed_zero_errors", "private_build": "passed", "preview": "requisition-history-preview.json" }, "native_observation": { "environment": "http://127.0.0.1:8005", "window": 133142, "viewport": "390x559 at 100 percent page scale", "steps": ["Opened new requisition preparation in the observed SGC tab", "Entered synthetic justification only", "Used Back and accepted the native unsaved-changes warning for this test text", "Verified return to the previous receipt consultation", "Used Forward and observed the exact justification restored", "Removed the test text without saving"], "result": "passed", "business_submission": false, "other_tabs_preserved": true } }