What's New
Hooks β 6 β 8 Event Types (+5 new scripts)
Full coverage of all Codex lifecycle events:
| Event | Script | Purpose |
|---|---|---|
| SubagentStop | subagent-stop.sh |
Log subagent completion, update token counters |
| PermissionDenied | permission-denied.sh |
Log blocked operations, surface alternatives |
| PreCompact | pre-compact.sh |
Checkpoint task state before context compaction |
| OnCompact | on-compact.sh |
Restore session context after compaction |
| EditAccumulator | edit-accumulator.sh |
Track cumulative edit size, warn at thresholds |
Previously missing events now covered. All 8 Codex event types registered in .codex/hooks.json.
install.sh β SOLO/TEAM Mode
install.sh now detects whether the target repo is a SOLO or TEAM setup:
- SOLO (AGENTS.md is gitignored): also gitignores
AGENTS.local.mdand.codex/settings.local.toml - TEAM (AGENTS.md is tracked): personal config files stay unignored for sharing
Skills
codeburnβ new skill: token burn budget tracking, session cost awareness, context efficiency guidance
brain/scripts/_platform.sh
supports_unicode() aligned with Claude reference: *utf8* locale variant, macOS auto-pass, WT_SESSION Windows Terminal detection.
brain/scripts/validate.sh
Domain-free check and template integrity section added. Validates AGENTS.md contains no foreign platform terms.
Audit score: 870 β 962/1000 (+92) per honest cross-repo audit.