Root canon
AGENTS.md, brief.md, CURRENT.md, and GUIDE.md live at repo root.
Codex MemKit Documentation entry point
Codex MemKit v2.6.10 — current guide, daily workflow, and guardrails.
This page is based on GUIDE.md (v2.6.10). It explains what lives at repo root,
what stays in .codex/, how to run start, and how Spec YOLO can generate
spec/plan/tasks from a single MASTER_SPEC.md with no Q&A.
AGENTS.md + brief.md + CURRENT.md.GUIDE.md (single current guide)..codex/ (docs + scripts only).MASTER_SPEC.md → spec/plan/tasks.Codex Memory Kit is a repo-local memory bank + workflow contract that makes Codex predictable across sessions. It standardizes startup, keeps history append-only, and supports optional Spec Kit integration alongside Spec YOLO.
AGENTS.md, brief.md, CURRENT.md, and GUIDE.md live at repo root.
.codex/ stores memory/meta/state, never application code.
Mutation guards, component locks, and optional git checkpoints reduce drift.
One “current guide” flow: CURRENT.md points to GUIDE.md (single source).
CURRENT.md + GUIDE.md reduce doc drift across versions.
One file in, spec/plan/tasks out. No interactive prompts.
Component locks and optional git checkpoints add friction in the right places.
The control plane is root-only, and artifacts never get tracked.
AGENTS.md — contract Codex must follow.brief.md — canonical brief when Spec Kit is absent.CURRENT.md — canonical pointer.GUIDE.md — full current guide (v2.6.10).MASTER_SPEC.md — Spec YOLO input (recommended)..gitignore — must include the kit block..codex/meta/ — policies + flags..codex/memory/ — decision log + capability index..codex/state/ — run reports + task history..codex/scripts/ — helper scripts.Screenshots, images, and build artifacts. Use .keep only for folders.
Minimum steps to set up a new repo.
.codex/ into repo root.AGENTS.md, brief.md, CURRENT.md, and GUIDE.md..gitignore contains the kit block.Use a single root file for fast spec generation with no Q&A.
MASTER_SPEC.md.spec (or .codex/scripts/spec-from-master.sh)..specify/specs/<project-slug>/spec.md.specify/specs/<project-slug>/plan.md.specify/specs/<project-slug>/tasks.mdWhat the contract expects Codex to do every time.
start to bootstrap and enforce git hygiene..codex/scripts/codex-lint.sh (use --fix when needed)..codex/scripts/refresh-skills.sh to regenerate capabilities..codex/state/history.md append-only.Lock completed targets so they don’t drift when you move on.
.codex/scripts/lock-component.sh SOFT <path-or-glob> "note".codex/scripts/is-locked.sh <path>.codex/scripts/unlock-component.sh --i-acknowledge <LOCK_ID>Optional “autosave for vibe coding”: commit (and optionally push) with guardrails.
.codex/meta/git-autosave.enabled.flag = ENABLED.codex/meta/git-autopush.enabled.flag = ENABLED.codex/meta/git-branch-per-session.enabled.flag = ENABLED.codex/scripts/git-checkpoint.sh --force "checkpoint: …"Unknowns must be explicit and logged.
TBD or [ASSUMPTION] with rationale..codex/memory/decisions.md.Canonical files and supporting docs.
Single current guide + canonical pointer.
Root contract Codex must obey.
View AGENTS.mdCanonical brief when Spec Kit is absent.
View brief.mdOptional integration when .specify/ is present.
Head to the download hub for the latest build plus the archive.