/advisors:solfrom advisors
Advisory Sol consultation - gpt-5.6-sol via the codex CLI (ChatGPT sub), verified fail-closed
Ships in advisors. Installing the plugin adds it to Claude Code.
Run an advisory Sol consultation — a design / architecture / workflow second opinion from
the gpt-5.6-sol model via the OpenAI codex CLI, billed to your ChatGPT
subscription (NOT the metered API). This is the codex-provider sibling of /advisors:fable
(bare /fable resolves only where the bundled CCMAF commands are installed), for when
Fable is unavailable or when you want a second, independent advisor.
$ARGUMENTS is the consultation topic / question (free text). If empty, ask the user what they
want Sol's take on before proceeding.
Sol is advisory only here: it critiques and designs; it never enters the build/review loop and never edits code or state. The codex agent runs OS-sandboxed read-only in an empty directory, so its agency is caged by construction.
The advisor is defined in the consumer-owned registry advisors.toml (project .claude/ override, else ~/.claude/) (row
[advisors.sol] → provider="codex", model="gpt-5.6-sol", effort); first use creates it
from the shipped template (Step 0). ${CLAUDE_PLUGIN_ROOT}/scripts/
ships the driver + verifier + preflight. See ${CLAUDE_PLUGIN_ROOT}/scripts/PROTOCOL.md.
_advisors/ is not git-ignored, append _advisors/ to the repo's
committed .gitignore (idempotent — check first; create .gitignore if the repo has
none). Never commit _advisors/ contents. Not in a git repo → skip the ignore step.bash -c '. "${CLAUDE_PLUGIN_ROOT}/scripts/advisors-lib.sh"; advisors_ensure_registry'
creates it from the plugin's shipped template — project .claude/advisors.toml if present,
else ~/.claude/advisors.toml — and prints the resolved path. (The driver auto-ensures it
too; this step just makes the location visible.)Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/codex-preflight.sh".
mkdir -p .claude && touch .claude/.codex-training-optout-confirmed (this repo) or
mkdir -p ~/.claude && touch ~/.claude/.codex-training-optout-confirmed (all repos).
A trivial/generic question with no repo internals may proceed./advisors:fable instead.Pick a short kebab <topic> slug from $ARGUMENTS. Write the question + ALL needed context
into _advisors/<topic>/conversation.md (the advisor has no memory and no file access — inline
everything). If continuing a prior consultation, include the earlier turns.
Pick a fresh unique NONCE (e.g. SOL-<topic>-<something>). Run the driver in the background
(an xhigh consult can exceed the Bash tool's 600s cap — Fable A1):
bash "${CLAUDE_PLUGIN_ROOT}/scripts/codex-run.sh" sol <topic> <NONCE>
(via your Bash tool with run_in_background: true). It stages the brief into a dedicated,
ephemeral CODEX_HOME (minimal config + a fresh, scrubbed-on-exit copy of the sub auth),
inlines the brief via stdin, pins model+effort per-invocation, runs read-only in an empty cwd,
and writes _advisors/<topic>/.run-sol/{last.txt, session.jsonl, status, …}. Do NOT use
codex exec resume — every turn is a fresh run (continuity lives in conversation.md).
When it completes, read _advisors/<topic>/.run-sol/status (OK / TIMEOUT / ERROR / UNAVAILABLE).
Run bash "${CLAUDE_PLUGIN_ROOT}/scripts/verify-sol.sh" sol <topic> <NONCE>.
.run-sol/last.txt to _advisors/<topic>/turns/<NNN>-sol.md (zero-padded
next N), append it into conversation.md, and relay Sol's take to the user. Always relay the
verifier's client-attestation caveat — a Sol PASS proves the model was requested + a
response produced, not that the server served gpt-5.6-sol (weaker than Fable's
server-attested verify).gpt-5.6-sol, paste the
FAIL reason, and offer to retry or use /advisors:fable. NEVER promote or relay an unverified turn.For another turn, repeat Steps 3–4 with a NEW background run + NEW nonce (continuity lives in
conversation.md). The .run-sol/ scratch (incl. the ephemeral token copy) is scrubbed by the
driver on exit; the workbench stays (git-ignored) for the next /sol.
codex exec resume). 2. Model + effort are registry config, pinned
per-invocation, not hardcoded and not from the shared ~/.codex/config.toml. 3. Advisory /
read-only — never in the build/review loop; OS-sandboxed. 4. Fail-closed + no silent
downgrade. 5. Client-attestation ceiling — always disclosed.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
7 commands in this plugin
/consultStep 1 — Parse the roster (fail-closed)Multi-advisor panel - one staged brief, several advisors, one extractive divergence map/crossbenchStage 0 — Workbench + preflightThree-stage cross-reviewed advisor consultation ending in one consolidated design document/fableConfigAdvisory Fable consultation - claude-fable-5 with fresh-spawn + transcript verification/lunaAdvisory Luna consultation - gpt-5.6-luna via the codex CLI (ChatGPT sub), verified fail-closed/modeNo argument — SHOW the current modeShow or switch the watcher mode (which codex advisor augments review + verify)/terraAdvisory Terra consultation - gpt-5.6-terra via the codex CLI (ChatGPT sub), verified fail-closednpx claudepluginhub drushegh/ccmaf --plugin advisors