Skip to content

Prevent paper init from overwriting existing account evidence - #14

Merged
PureSaber merged 1 commit into
mainfrom
codex/closeout-correctness-20261013
Oct 13, 2026
Merged

PureSaber merged 1 commit into
mainfrom
codex/closeout-correctness-20261013

Conversation

@PureSaber

@PureSaber PureSaber commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Running init against an existing state_dir could erase the authoritative account history. Under the existing writer lock, require an empty state directory and preserve journals, projections and partial/legacy evidence. Configuration mismatch errors now direct callers to restore original configuration or back up and use a separate account. Deterministic replay tests create separate accounts instead of resetting one; exact execution versions and historical replay rules remain unchanged.

Validation: Windows Python 3.12.14, isolated environment installed from this repository's committed requirements.lock, pip check, repository Ruff check/format and complete test suite: 175 passed, 4 skipped in 18.74s. Relevant repository coverage gates passed.

Hosted CI is tracked separately from these local results. No workflow, billing setting, protection rule or dependency pin was changed.

Additional full locked-environment replay suite and coverage gates passed on Python 3.10.

Additional full locked-environment replay suite and coverage gates passed on Python 3.11.

@PureSaber
PureSaber merged commit 236429d into main Oct 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant