codex-memory-guard - Guard task boundaries and preserve state across compaction
Guards task boundaries and preserves confirmed critical project state across Codex compaction using four-layer memory and pre-compact hooks.
Tags
Updated: 2026-09-24Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply task boundary state machine
- Initialize four-layer Markdown memory system
- Install memory workflow hooks and policy
- Validate and update HANDOFF checkpoints
- Review bounded transcript deltas after HANDOFF
- Close and clean pending records
- Verify memory workflow via test scripts
Inputs
- User input and task clarifications
- Target project root directory
- Existing AGENTS.md and memory files
- User authorization for global installation
Outputs
- Four-layer Markdown memory files
- Pending checkpoint JSON records
- Updated global AGENTS.md policy block
- Configured project hooks JSON file
- Read-back confirmations and test reports
Requirements
- PowerShell execution environment
- File write permissions for project and global AGENTS.md
- Codex environment with hook support
- User authorization for hook trust
