You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Home state: a damaged state or appearance file should not fail the Home and System summaries #447
Split out of #444 design v3 (/tmp/444-design-v3.md §10), source at bfefe92. Found by Codex's cross-family review of design v2. This is an existing gap, not introduced by #444. Irzhy should judge whether it must move to 0.8.0.
FU2: preserve damaged bytes, expose recovery, keep the rest of Home working (api/gateway_home_system.rs:2620, :6265, :6579, :6627-6633, :6650, :6741, :7713, :451, :7273). Today one damaged Home state or appearance file fails the Home and System summaries. Under #444 v3 a damaged header returns "damaged" and is no longer silently reset.
Done means: a damaged state file is shown as damaged with a recovery action, its bytes are preserved, and Home and System still load.
Done there: active shell, browser state, services-state/requests, Appearance preferences and the background overlay read as defaults when damaged, and saves over a damaged file are refused, naming it.
Remaining here:
people-contacts, services-peer-contacts and the Profile authority still fail closed. A damaged Profile authority shows readiness as "unavailable".
N1: remove_home_background_images (gateway_home_system.rs:8086-8098) deletes damaged background images on Appearance upload or reset. This will be documented in PROTECTED_CONTENT.md; the guard belongs here.
is_unencrypted_principal_root_state and is_damaged_home_state match error text. Replace them with typed errors. Not exploitable now, because the save guard checks the damage marker (:6701).
Source: #444 security review (security-reviewer, reviewed 453f56eb2 and fix delta de2cf6276; local report /tmp/sec444.md) and Codex review /tmp/codex-runs/c444fix.final.md. Line refs at de2cf6276 on fix/444-check-at-open.
From the alpha.24 FU2 installed check: saving over a damaged Home state file is refused correctly, with the notice naming the file and the file unchanged, but the HTTP status is 500. It should be a named 4xx (409). The gateway test damaged_home_state_file_leaves_shell_and_summaries_answering only asserts that the save fails.
Library shows a damaged file as Blocked and offers only Properties, so the user cannot clear it from Library. Library should give a Blocked item a way out, for example Move to Trash with the usual confirmation.
Activity
andersalm commentedon Oct 19, 2026
Narrowed by #444's FU2 interim:
059bbd1a5.remove_home_background_images(gateway_home_system.rs:8086-8098) deletes damaged background images on Appearance upload or reset. This will be documented in PROTECTED_CONTENT.md; the guard belongs here.is_unencrypted_principal_root_stateandis_damaged_home_statematch error text. Replace them with typed errors. Not exploitable now, because the save guard checks the damage marker (:6701).Source: #444 security review (
security-reviewer, reviewed453f56eb2and fix deltade2cf6276; local report/tmp/sec444.md) and Codex review/tmp/codex-runs/c444fix.final.md. Line refs atde2cf6276onfix/444-check-at-open.andersalm commentedon Oct 19, 2026
From the alpha.24 FU2 installed check: saving over a damaged Home state file is refused correctly, with the notice naming the file and the file unchanged, but the HTTP status is 500. It should be a named 4xx (409). The gateway test
damaged_home_state_file_leaves_shell_and_summaries_answeringonly asserts that the save fails.irzhywau commentedon Oct 23, 2026
Library shows a damaged file as Blocked and offers only Properties, so the user cannot clear it from Library. Library should give a Blocked item a way out, for example Move to Trash with the usual confirmation.
Generated by Claude Code