Skip to content

Commit 75adf11

Browse files
os-litantclaude
andauthored
docs(scripts): make check-agent-model-declared's header claim itself as the home of the model-resolution order (#14689)
The header's parenthetical still said "see `.claude/agents/os-dev.md` for the full order and both adjacent traps". That file's model-pin comment is now a two-line pointer back at this header, so the two comments pointed at each other and neither claimed to be the home. The header already documents everything the deferral promised: the full four-step resolution order above, the env var outranking every other step including this gate's own pin, and the org-allowlist fallback landing on the INHERITED model in the next paragraph. So the sentence now names both adjacent traps in place and states that os-dev.md carries only the `model: opus` pin plus a pointer here. Comment-only; no behaviour change. Claude-Session: https://claude.ai/code/session_01LraLgQVGq8egUwfYZpbYt1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 941952c commit 75adf11

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/check-agent-model-declared.mjs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
// model does this role run on" a property of whoever happened to dispatch it, at
1212
// whatever moment their own session was on, rather than a property of the role —
1313
// and it changes with no signal, mid-term, invisibly. (`CLAUDE_CODE_SUBAGENT_MODEL`
14-
// outranks every other step, including this gate's own pin — see
15-
// `.claude/agents/os-dev.md` for the full order and both adjacent traps.)
14+
// outranks every other step, including this gate's own pin — the first of the two
15+
// adjacent traps; the allowlist fallback below is the second. This header is the
16+
// home of that full order and of both traps, and `.claude/agents/os-dev.md` carries
17+
// only the `model: opus` pin plus a pointer back here.)
1618
//
1719
// A second, smaller nuance in that same order: a value blocked by the
1820
// organization's `availableModels` allowlist does NOT fall back to the frontmatter

0 commit comments

Comments
 (0)