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-*):

Agent chat
/auth-scan

Context → .authright/context.yaml

/auth-change Integrate OIDC via adapter for the BFF

Brief / 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)

Agent chat

/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)

Agent chat

/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

Agent chat
/auth:doctor → open .authright/diagnosis/report.md
/auth:change Fix logout not clearing IdP session

(or /auth:explore … for HITL)

Recipe: Codex

Agent chat
$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-doctor

HITL alternative: $authright-explore instead of $authright-change.

On this page