Files
EscapistsReintroduced/docs/evidence/config-supply-recovery-2026-10-03/config/finding.json
T
jakub 6a667d8deb Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
2026-10-13 22:52:53 +02:00

14 lines
1.7 KiB
JSON

{
"trigger": "Primary unified document has valid JSON/configVersion but malformed recognized terrain scenario, while .bak contains the last valid selection. Terrain owner accepts the backup; an ordinary mission menu change calls ProfileConfig.Save.",
"before": "Save edits only mission; Commit accepts version-only Document(primary) and overwrites good backup with malformed primary. Terrain selection becomes unrecoverable on next load.",
"after": "ContentsValid checks all present known sections before any temporary-file write. Unrelated edits return existing Save failure without touching files. Repairing the damaged section succeeds while prior invalid primary is not copied over the good backup. Unknown keys and missing/default sections are retained.",
"scope": "Only ProfileConfig.c and existing test_profile_config.py. Document/Load fallback semantics and custom file owners unchanged.",
"tests": "Actual Save, Commit, new ContentsValid and unchanged actual TerrainPreference.Parse executed. Existing disk-fault matrix retained. Baseline compiles/runtime fails, proposal passes, removing previous-document validation compiles/runtime fails. JSON codec, disk, catalog and non-terrain validators explicitly doubled; native not qualified.",
"menu_failure": "ERR_Settings.Set returns false immediately when ProfileConfig.Save refuses; other owners similarly propagate false. No success response introduced.",
"limits": [
"An unrelated save is refused until the damaged recognized section is repaired; no automatic merge from backup or default overwrite.",
"Unknown future root keys remain preserved without semantic validation.",
"build-test.py is historical scratch construction, not an authoritative generator."
]
}