🎭 Codex Rig Roles¶
Each subdirectory under roles/ holds one ROLE.md — role card that packages Codex specialist: its model, reasoning effort, sandbox and approval posture, and trigger/evidence/execution/handover/confidence contract. This README explains the active GPT-6 routing map and the card schema checked by calibration.
Navigation
## 📋 Contents - [GPT-6 model and effort routing](#-gpt-6-model-and-effort-routing) - [Role roster](#-role-roster) - [Role-card contract](#-role-card-contract) - [Fallback modes](#-fallback-modes)Value at a glance: fifteen versioned role cards make specialist behavior portable and auditable while keeping model selection, sandbox posture, and fallback behavior explicit.
Current limits at a glance: role cards are behavioral profiles, not proof of native persistent-agent selection; the
solution-architectandsecurity-auditorroles are read-only advisory paths, and new shim installation remains platform-blocked.
🎚️ GPT-6 model and effort routing¶
Every role runs on gpt-6.1-sol or gpt-6-luna with independently assigned medium or high reasoning effort. All fifteen roles share approval_policy: on-request and fallback_modes: [shim, built-in-injected, inline]; sandbox mode remains role-specific. Astra has no standing route.
| Model | Effort | Roles | Quality reason for the pin |
|---|---|---|---|
gpt-6.1-sol |
medium |
sw-engineer, qa-specialist, squeezer |
Production code, tests and performance evidence need Sol at routine effort |
gpt-6.1-sol |
high |
challenger, data-steward, scientist, security-auditor, solution-architect |
Adversarial, data/ML, research, security and architecture judgment need Sol and deep review |
gpt-6-luna |
medium |
linting-expert, web-explorer |
Bounded static analysis and primary-source gathering fit normal effort |
gpt-6-luna |
high |
cicd-steward, curator, delegation-lead, doc-scribe, oss-shepherd |
Bounded support with deeper reasoning; the Sol parent keeps acceptance and final ownership |
Rationale¶
Evidence behind tier and sandbox assignments
The GPT-6 assignments are an explicit user-directed rollout. `runtime/calibration/accepted-route-evidence.json` records the current model-and-effort map in `active_assignments`, including parent Sol/medium and deep-review Sol/high requiring an explicit effort override. `active_assignment_basis` marks GPT-6 quality/cost evidence pending; the `historical_assignments` and `adjudication` sections retain the separate GPT-5.6 paid baseline and explain the older decisions: - `delegation-lead` used Luna by explicit human override while the older Terra parent retained implementation and executable acceptance. - `cicd-steward`, `doc-scribe`, `linting-expert`, `oss-shepherd`, and `web-explorer` used Luna by a second override for bounded support. - `adjudication.luna_strict_failure_preserved: true` means strict-route calibration result — Luna failed strict quality bar on its own (`luna-score.json` records `strict_status: "fail"`) — is kept on record rather than silently overwritten by human override. The override changes assignment; it does not erase evidence that produced different strict answer. - The adjudication rule itself only accepts evidence-derived candidate "with zero pair quality regressions and either mean F1 gain >= 0.01 or geometric-mean normalized cost ratio \<= 1.0" — human overrides above are recorded as explicit exceptions to that rule, not replacements for it. When a role's pinned model differs from the parent session's model, Codex injects a `🤖 Role roster¶
| Role | Tier | Sandbox mode | Purpose |
|---|---|---|---|
solution-architect |
Sol | read-only | System-design specialist for architecture, public API contracts, migrations, and module boundaries. |
security-auditor |
Sol | read-only | Security specialist for Python/web trust boundaries, ML supply chains, secrets, and CI/CD permissions. |
sw-engineer |
Sol | workspace-write | Primary production Python source reviewer; implementation specialist for code, bug fixes, refactors, and typed public APIs. |
qa-specialist |
Sol | workspace-write | Testing specialist for regression proof, risk-proportional edge coverage, and independent verification. |
challenger |
Sol | read-only | Adversarial reviewer for plans, architecture, migrations, releases, and non-trivial diffs. |
curator |
Luna | workspace-write | Configuration-quality specialist for instruction hygiene, routing clarity, duplication, and drift. |
data-steward |
Sol | workspace-write | ML data-pipeline integrity specialist for datasets, splits, labels, transforms, and leakage prevention. |
scientist |
Sol | workspace-write | ML research specialist for paper analysis, hypotheses, ablations, and evaluation protocols. |
squeezer |
Sol | read-only | Performance specialist for throughput, latency, memory, GPU utilization, and profiling evidence. |
doc-scribe |
Luna | workspace-write | Documentation specialist for public API docs, docstrings, README content, and changelogs. |
cicd-steward |
Luna | workspace-write | CI/CD reliability specialist for GitHub Actions, release automation, and flaky-CI diagnosis. |
delegation-lead |
Luna | workspace-write | Cost-aware orchestration specialist for decomposing work and consolidating specialist evidence. |
linting-expert |
Luna | workspace-write | Static-analysis specialist for Ruff, mypy, pre-commit, and suppression hygiene. |
oss-shepherd |
Luna | read-only | Open-source lifecycle specialist for issue triage, semantic versioning, and release readiness. |
web-explorer |
Luna | read-only | External-evidence specialist for official documentation, release notes, and version verification. |