Examples
Short recipes for the AI coding agent + AuthRight path. Assume Installation and authright init are done. Type the host form in chat—not the terminal—for scan, Decide, handoff, and review. Bare authright scan / authright change --… in the shell are offline twins (no LLM). See How commands work.
Product names below use colon form (/auth:…). Cursor uses hyphens (/auth-…); Codex uses $authright-…. After Decide allocates a change, follow-ups omit the id (it stays in chat context); an or line shows the explicit form when needed.
Recipe: OIDC adapter decision (auto-plan)
Prefer change. In Cursor chat (Claude: colon forms; Codex: $authright-*):
/auth-scanContext → .authright/context.yaml
/auth-change Integrate OIDC via adapter for the BFFBrief / slice, then auto-plan for AUTH-YYYY-NNNN (kept in this chat context). Multi-turn: answer open slots until you confirm the plan and lock.
/auth-request-match(or /auth-request-match AUTH-YYYY-NNNN)
Locked plan still matches what you asked (or lists gaps)
/auth-to-openspec(or /auth-to-plan — Plan mode) · (or /auth-to-openspec AUTH-YYYY-NNNN)
Handoff package ready
/auth-review(or /auth-review AUTH-YYYY-NNNN — after agents implement)
Recipe: Greenfield HITL Decide (explore)
/auth:explore Integrate OIDC via adapter (Brief + slice accept via native HITL when unbounded; recommended is **not** a default) confirm / lock → request-match → to-openspec or to-plan)
(after accepted: same session starts Decide — Agenda next, summary;
Explore allocates an Auth Change only after a Brief slice is accepted_for_lock. Cancelled-empty slice-accept does not start Decide.
Recipe: Greenfield auto-plan (change)
/auth:change Integrate OIDC via adapter (Brief + slice accept; auto-plan of resolved + unresolved) (multi-turn overrides → confirm plan → lock → request-match → export)
Recipe: Doctor then Decide
/auth:doctor → open .authright/diagnosis/report.md/auth:change Fix logout not clearing IdP session(or /auth:explore … for HITL)
Recipe: Codex
$authright-scan$authright-change Integrate OIDC via adapter$authright-request-match(or $authright-request-match AUTH-YYYY-NNNN)
$authright-to-plan(or $authright-to-openspec) · (or $authright-to-plan AUTH-YYYY-NNNN)
$authright-review(or $authright-review AUTH-YYYY-NNNN)
$authright-doctorHITL alternative: $authright-explore instead of $authright-change.
Related
Workflows
This page is the AI coding agent + AuthRight path. Common patterns use design user-intent commands (colon product names). In Cursor type hyphen forms (/auth-scan); in Claude Code type colon forms (/auth:scan); in Codex type $authright-scan. Greenfield and brownfield are paths, not slash commands.
Reviewing decisions
Before handoff, treat the Auth Change as a plan you are willing to lock. After implementation, review checks for silent inversions. Prefer the coding-agent host forms; bare terminal twins are offline.