frontier-check — OpenAI Codex CLI¶
Decide whether a task needs Astra orchestration or a policy-selected worker.
- Source: codex/skills/frontier-check/SKILL.md
- Also available on: GitHub Copilot CLI
In practice¶
What it does¶
Explains whether work belongs to ordinary Luna, Terra, or Sol implementation, Astra orchestration, or the narrow Astra recovery path. It preserves Astra for planning, coordination, integration decisions, final acceptance, and corrections backed by machine-visible failure evidence.
When to reach for it¶
- Use it when deciding whether a hard task needs Sol or only Astra's coordination.
- Use it when reviewing whether recorded evidence actually opens the recovery gate.
- Not for promoting an ordinary task because someone asked for the most capable model.
Worked example¶
python3 bin/codex_execute.py prepare --role implementer --model strong --json
python3 bin/codex_execute.py status --kit tasks/kits/<slug> --json
The preview should resolve an ordinary hard implementation to the strongest eligible worker. Status shows Astra as reserved until the driver records accepted recovery evidence.
Failure modes & fallbacks¶
Planned or dispatched identity does not prove actual runtime use. If attestation is missing, preserve unknown; if it contradicts policy, block the result. Missing Astra also fails closed. Legacy frontier task pins migrate to the strongest worker without rewriting the original kit.
Cost & safety¶
These previews do not dispatch. Use runtime pricing data for burn and API-equivalent estimates, and keep request-size assumptions explicit for long-context rates. Astra recovery is not a general escalation rung and cannot be unlocked by preferences or routine review failure.
Related¶
- route previews ordinary worker routing.
- escalate defines qualifying recovery evidence.
- execute records and verifies the actual attempt.
The skill card — what the model reads¶
This is the SKILL.md body the model reads, transformed for this page: the source's own leading title, if it had one, is removed; every remaining heading is demoted one level to nest under this section; and relative links are rewritten to site or GitHub URLs. ${CLAUDE_PLUGIN_ROOT} and {{POLYTROPOS_ROOT}} are install-time path variables, left intact exactly as the model sees them. The unmodified original is codex/skills/frontier-check/SKILL.md.
Resolve the plugin root before running commands¶
Resolve POLYTROPOS_ROOT from this skill's location. In a managed copy use POLYTROPOS_ROOT="{{POLYTROPOS_ROOT}}". Reject a literal placeholder. Confirm pricing data, bin/codex_pricing.py, bin/codex_policy.py, and bin/codex_execute.py exist. If not, stop and use python3 bin/harness_select.py doctor --harness codex.
Use central policy, not a model picker, to distinguish worker work from orchestration. Get current availability, effort support, request-size rules, and estimates from the data-backed engine:
python3 "$POLYTROPOS_ROOT/bin/codex_pricing.py" models --profile <PROFILE>
python3 "$POLYTROPOS_ROOT/bin/codex_pricing.py" est <PROFILE> <worker-tier>
python3 "$POLYTROPOS_ROOT/bin/codex_execute.py" prepare --role implementer --model <worker-tier>
Choose a worker for implementation: cheap for mechanical work, mid for routine work, and strong for hard, security, integration, and independent-verification work. Under subscription billing lead with burn index and label dollars as API-equivalent proxies; API-key estimates are token-metered. State a per-request context assumption; aggregate session totals are not a context threshold.
Astra is justified to create a durable multi-task plan, coordinate dependencies, perform final acceptance, or correct a failure that the driver actually recorded. It is not a normal worker, a planned pin is not actual-use evidence, and there is no warm pool. Recovery requires the driver's structured evidence, so prepare --role recovery is intentionally rejected. The one sanctioned exception is explicit: under the opt-in adaptive routing policy (--policy adaptive, or a PLAN.md routing: line) a frontier-planned task may be implemented directly, and prepare ... --policy adaptive --explain shows why; the default stays reserved, and you never switch it on the user's behalf.