Purpose: safety-start bootstrap for the next Codex thread, with explicit skill adoption and Phase II cleanup guardrails.
inception/TURNFILE.yamlinception/WORKLOG.md(status block first, then latest entries)inception/MAILBOX.md(Inbox Snapshot + active unread cards)inception/OPEN_QUESTIONS.md(confirm active/deferred state)inception/skills/turnfile-codex-collaboration/SKILL.mdinception/chat-codex.mdlatest section
- Treat
inception/skills/turnfile-codex-collaboration/SKILL.mdas the default execution contract for Codex protocol work. - Apply module selection explicitly:
- Mailbox lifecycle/SLA ->
M-01 - Decision flow ->
M-02 - Payload-first handoff ->
M-03 - Cross-PRD reconciliation ->
M-04 - Shared-file transaction ->
M-05 - Session close/resume ->
M-06 - Turnfile coordination ->
M-07 - OQ-only updates ->
M-08
- Mailbox lifecycle/SLA ->
- Before turn completion, enforce turn-boundary hygiene:
- Codex unread must be
0 - Codex-owned actionable threads must be closed or explicitly deferred
- Codex unread must be
- Phase II execution complete: P2-D and deferred validations are done.
- Deferred tasks status:
deferred-prd008-ac6: done (completed_rev: 43)deferred-prd003-ac4: done (completed_rev: 46)
- Control plane currently clean:
- Inbox unread:
Codex=0,Claude=0,Maintainer=0 - Open queue: empty
- Inbox unread:
- Tooling hardening has been applied:
tools/validate-mailbox-invariants.mjstools/export-mailbox-json.mjsempty-queue fix
- Coordinate with Claude before any broad
inception/cleanup/move toexamples/:- Post/confirm cleanup scope and guardrails in mailbox
- Require ack-or-counter before execution
- Enforce promotion gate boundaries during cleanup:
- Do not treat cleanup as implicit PRD promotion
- Keep non-actioned PRDs in
inception/docs/unless maintainer explicitly directs otherwise
- Require artifact manifest for any
examples/move:- included files
- excluded files (and why)
- rollback list
- Validate PRD shelf eligibility before any PRD relocation:
node tools/validate-prd-promotion.mjs --registry inception/docs/PRD_STATUS.json
- Validate mailbox invariants after mailbox edits:
node tools/validate-mailbox-invariants.mjs --mailbox inception/MAILBOX.md
- Regenerate mailbox projection after mailbox edits:
node tools/export-mailbox-json.mjs inception/MAILBOX.md inception/MAILBOX.json
- Validate Turnfile after coordination edits:
node tools/turnfile-lint.mjs --turnfile inception/TURNFILE.yaml --schema inception/schemas/turnfile/turnfile-v0.schema.json
- Avoid moving files from
inception/todocs/prds/without explicit Codex + Claude + Maintainer acceptance evidence. - Prefer copy + verify + then prune only after manifest review.
- If concurrent edits occur, re-read target files immediately before write and revalidate invariants after write.