## What forced this
Codex was an advisory add-on. Two asks: give it real standing in the
ADW, and stop its `auth.json` going stale every ~8 days.
## The call
**First-class:** Codex gets its own instruction file (`AGENTS.md`, the
Codex counterpart to `CLAUDE.md`), its own workflow
(`adw-codex-review.yml`), a roster seat, and a defined cross-family
reviewer role — an independent second opinion from a different model
family, running on your ChatGPT subscription.
**Self-refreshing auth:** each run restores `auth.json` from a rolling
`actions/cache`, Codex rotates the token as it runs, and the refreshed
file is saved back under a new key — so it stays alive as long as CI
keeps using it. `CODEX_AUTH_JSON` is only the cold-start seed. No
secret-write permission needed.
## What we deliberately didn't do
Did not give Codex a merge-gate label. Every step is fail-open; it posts
a review + `codex-reviewed`, never a gating label — so an OpenAI outage
or an exhausted 5-hour window can't deadlock a merge (the audit rule: no
external service is load-bearing for landing code). Skips drafts +
Dependabot; prints the per-review window cost so cadence can be tuned.
## Evidence
Auth-refresh + review mechanics were priced/proven in `p37` (#33). The
gate remains driven solely by the Fable reviewers' labels (safety proven
by p36).
## Surface touched
`AGENTS.md`, `.github/workflows/adw-codex-review.yml`, the
`codex-reviewed` label, and the roster + first-class note in
`docs/plans/AGENTIC-DEVELOPMENT.md`.
## If this ages badly
Disable the workflow; nothing depends on it (fail-open, advisory). To
rate-limit, gate the job on a `codex-review` label instead of every PR.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01LABEHeVpg74oyZNtWLUWpB)_
Co-authored-by: Claude <noreply@anthropic.com>
5858description: "security-reviewer found no high-severity issue — the other half"description: "security-reviewer found no high-severity issue — the other half"
70+ codex exec --json --ephemeral "You are smith's cross-family reviewer (read AGENTS.md). Give an independent, file-anchored review of this pull request diff — correctness, security (untrusted Lua plugins, secrets, injection), and fit against docs/SPEC.md — flagging what a same-family reviewer might rationalize away. Concise markdown. Diff follows:
106106| `adw-doctor` | `schedule` (weekly) | diagnose the *workflow's own* health — failing/drifting workflows, doc-vs-config drift, gate pathologies — and propose one systemic fix | a **PR** on ADW config, or an **Issue** | Opus || `adw-doctor` | `schedule` (weekly) | diagnose the *workflow's own* health — failing/drifting workflows, doc-vs-config drift, gate pathologies — and propose one systemic fix | a **PR** on ADW config, or an **Issue** | Opus |
107107| `pioneer` (skill) | `needs:prototype` | prove/disprove an unproven spec claim with a prototype | `prototypes/*` | Sonnet || `pioneer` (skill) | `needs:prototype` | prove/disprove an unproven spec claim with a prototype | `prototypes/*` | Sonnet |
108+| `codex` (OpenAI) | `pull_request` (non-draft) | cross-family review — an independent second opinion from a *different model family* | a **PR comment** + `codex-reviewed` | Codex (ChatGPT sub) |
109121The **authority** for each model and tool scope is the agent's frontmatter — theThe **authority** for each model and tool scope is the agent's frontmatter — the
110122`.claude/agents/` directory is the one place to review and change them; a`.claude/agents/` directory is the one place to review and change them; a