Codex Dev Loop is a lightweight operating system for long-running development work with the Codex desktop app.
It packages a reusable Codex skill, a project memory vault, approval gates, goal cards, loop contracts, automation runbooks, and local helper scripts so Codex can keep context, verify work, and ask for approval at the right moments.
Version: 0.2.0
- A local Codex skill:
$codex-dev-loop - A repo-local
.codex-loop/memory vault - Goal cards with done criteria and verification
- Loop engineering specs with triggers, verifiers, budgets, and stop conditions
- Run logs for observed state, actions, verifier results, and escalations
- Approval gates for external or irreversible actions
- Approval queue for pushes, deploys, messages, merges, and production changes
- Open-loop tracking
- Automation registry and runbooks
- Voice/transcript intake workflow
- HTML status dashboard
- GitHub/CI monitoring runbook
- Side-panel review workflow
Clone the repo, then run the installer for your shell.
PowerShell:
powershell -ExecutionPolicy Bypass -File .\installers\install.ps1Bash:
bash installers/install.shThe installer copies skill/ into your Codex skills directory as codex-dev-loop.
In a project thread, say:
Use $codex-dev-loop for this repo.
Then ask Codex to initialize the vault:
Initialize the dev loop vault here.
Or run it yourself from the project root:
python $HOME\.codex\skills\codex-dev-loop\scripts\bootstrap_vault.py --target .The default vault shape:
.codex-loop/
project-brief.md
preferences.md
approval-gates.md
approval-queue.md
goals/
loops/
runs/
decisions/
inbox/
open-loops.md
runbooks/
automation-ideas.md
automation-registry.md
python <skill-dir>\scripts\bootstrap_vault.py --target .
python <skill-dir>\scripts\create_goal.py --target . --name "first goal" --objective "verified outcome"
python <skill-dir>\scripts\memory_check.py --target .
python <skill-dir>\scripts\finalize_check.py --target .
python <skill-dir>\scripts\loop_status.py --target . --html
python <skill-dir>\scripts\create_loop.py --target . --name "pr babysitter" --trigger "Every 15 minutes" --action "Inspect PRs labeled agent-watch" --verifier "CI green and no blocking comments" --stop-condition "CI green or budget exhausted"
python <skill-dir>\scripts\record_loop_run.py --target . --loop pr-babysitter --observed "CI red" --action "Prepared one deterministic fix" --verifier-result failed --next-step "Ask user before push"
python <skill-dir>\scripts\run_loop_check.py --target .
python <skill-dir>\scripts\queue_approval.py --target . --title "push branch" --action "Push branch feature-x"
python <skill-dir>\scripts\ingest_transcript.py --target . --source notes.txtCodex may normally proceed with local reads, local edits, tests, local dashboards, and drafts.
Codex must ask before:
- sending messages, comments, or emails
- pushing, merging, deploying, publishing, or releasing
- deleting data or running destructive operations
- changing production configuration
- spending money
- taking authenticated third-party actions on your behalf
This is an early system. Version 0.2.0 adds loop engineering primitives: explicit loop specs, budgets, verifiers, stop conditions, run logs, and stall detection.