Prompt file imported from AlekseiSeleznev/intent-driven-codex (
.codex/prompts/opsx-review-set.md). Copyright stays with the author.
Project constitution preflight:
- Read and enforce root
CONSTITUTION.md; use theproject-constitutionskill rules before changing review state. - Do not read
.secrets.local.env; these commands inspect or change non-secret session/config metadata only.
Set session-level artifact review stage settings:
- Parse the requested stage and key/value settings. Supported keys include
model,effort,budget/maxBudgetUsd,budgetRub/maxBudgetRub,baseUrl,endpoint,apiKeyEnv,structuredOutputMode,blockOn,enabled, and non-secret request routing keys such asproviderOnly,providerIgnore,providerOrder,providerSort,allowFallbacks,providerMaxPrice, or JSONrequestProvider. - Run
scripts/openspec-session-state --set-review-stage <stage> key=value .... - Validate the ordinary session-effective config with
scripts/openspec-artifact-review --validate-config; use--raw-config/--ignore-sessiononly when intentionally diagnosing tracked raw config. - Show concise status and effective stage settings. Omit secret values;
apiKeyEnvis allowed, real API keys are not. - Leave
.codex/openspec-artifact-review.jsonunchanged unless the user explicitly asks to change global defaults.