slopmodcodex
v0.1.2
Published
Minimal reset-based continuity patcher for OpenAI Codex.
Maintainers
Readme
slopmodcodex
slopmodcodex is a small reset-based continuity patcher for @openai/codex.
It replaces summary-style compaction with reset-style continuity so long chats can clear live context and recover continuity from an Obsidian-style graph instead of stuffing an ever-growing summary capsule back into the model.
What It Does
- auto-compaction resets live history instead of summarizing it
/compactfollows the same reset flow- continuity is written under
~/.codex/obsidian_graph stockrestores the original Codex binary when a safe backup exists, or repairs Codex from the official npm package if it does not, then removes the managed config block
Install
Codex must already be installed:
npm install -g @openai/codex
npm install -g slopmodcodexPackage install patches Codex automatically. The explicit helper commands are only for repatching, restoring stock behavior, and inspection:
slopmodcodex patch
slopmodcodex stock
slopmodcodex statusThe installed package does not build Codex from source. It only does this:
- find a matching patched binary
- back up the current Codex binary once
- swap in the patched binary
- write the managed config block
Patched binaries are resolved in this order:
- bundled artifact in the package
- cached artifact under
~/.slopex/artifacts - matching GitHub release asset for the current package version
Maintainers
Release artifact builds are kept out of the shipped runtime. If you are working in the repo itself, use:
npm run build-release-artifactThe GitHub Actions release workflow can call that script and publish the resulting artifact without making normal installs compile Codex locally.
