Repository navigation
Codex Retain 0.1.3
Codex Retain 0.1.3
Reduces repeated rollout-header reads during large archive cleanups while
preserving fresh filesystem discovery and dependency checks before each group.
- Reuses parsed headers within one run only when a fresh file stat matches
identity, size, modification/change times, permissions and link count. New or
changed files are read again; missing files leave the next dependency graph.
Recent timestamps must leave the coarse clock window before a header can be
cached, preventing same-size edits with unchanged timestamp fields from
reusing old dependencies.
Orphan files and every physical copy remain part of discovery. - Continues to validate candidate and staged files independently under the
existing locks and SQLite transaction. A new dependency still blocks deletion,
including when SQLite itself has not changed. - Syncs each distinct source/staging directory once before the SQL commit,
retaining the separate barrier after staged-file removal. - Refreshes the README with current format coverage, installation examples,
recovery behavior and performance evidence. Includes all previously local
verification reports and raw benchmark receipts. - Keeps the generated Homebrew formula loadable during cross-platform tap
validation while retaining its explicit macOS 15+ installation requirement.
The first large preview still reads the full header inventory. Earlier
optimization measurements used a candidate that preceded the final timestamp
freshness correction; its timing gains are not claimed for these release
archives. Small paginated timings were noisy and did not establish a speedup.
Historical measurements and limits.
Update
brew update
brew upgrade dankosik/codex-retain/codex-retain
codex-retain --version
codex-retain statusInstaller users can rerun the installer at the same installation directory.
Installation does not enable retention. Existing policy, exclusions, archive
grace periods and journal schemas remain unchanged. Finish pending recovery
with 0.1.2 or newer before downgrading to an older reader.
Compatibility remains the reviewed Codex 0.153.4 storage protocol, with macOS
15+ archives for Apple Silicon and Intel. Native conformance evidence uses
isolated synthetic profiles; organizational relationships are constructed after
native startup and are not a model-driven spawn certification. Separate
projection caches and other secondary stores remain outside cleanup.