Domdhi logoDOMDHI.OS
BACK_TO_COURSE

Roles, Models and Safety Rails

Model Tiers and Why Security Stays Pinned

Routing Policy, Not a Guarantee

Workflows name a tier, and each runtime maps tiers to its own models through adapters/{runtime}/model-tiers.json:

Tier Use
fast Not used until its bounded evaluation passes
standard Routine subagent work (the default)
deep New ADRs, high-risk review, strategic briefs, multi-component refactors
audit Security review — pinned, no cheaper override

Prose in workflows and roles uses tokens like {{model-arg:deep}}, so changing the map updates every reference together.

Two Cautions

  1. A requested tier is a routing policy, not evidence of the model actually used. Check what the runtime reports (Claude's /tasks shows the model used).
  2. Never supply a cheaper override to the audit role. The session-wide subagent-model override also affects the security auditor, so never leave it enabled during a security-auditor session.
WARNING

Keep launch-time model overrides in your environment or Git-ignored local settings, never in committed settings. A forced override that outlives its purpose silently downgrades your audits.

QUIZ

Why must the security-auditor not be run under a cheaper forced subagent model?

Sign in to track lesson progress and earn a certificate.SIGN IN TO SAVE PROGRESS