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
config: consolidate starter-config creation on one atomic writer (3 duplicate implementations, none atomic) #144
app.py:526-531 — init_default_config (re-duplicates the exists-check and error handling that launch/creation.propose_creation already provides)
None of them is atomic (plain write_text): an interrupted --init leaves a truncated .profiles, which then silently loads as defaults (#128) — compounding the damage. Only the editor save path uses write_text_atomic.
Suggested fix
Make write_starter_config the single writer, switch it to write_text_atomic, and have init_default_config / propose_creation (and the /api/config/create + /template endpoints) delegate to it. Fold propose_config_creation's fate into the dead-code sweep (#142).
Activity
refactor(config): consolidate starter config creation on atomic writer (