Check each os-sdlc agent for omitClaudeMd: true #1673
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#1673
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A custom agent loads the full CLAUDE.md chain unless its frontmatter sets
omitClaudeMd: true. Headless probes on Claude Code v2.1.322 showed this on 2026-11-10. Each os-sdlc agent underplugins/os-sdlc/agents/pays that fixed token cost on every dispatch. No one has checked which agents need CLAUDE.md. Some agents do need it: the programmer must obey the Forbidden Moves inplugins/os-sdlc/CLAUDE.md.Reproduce
n/a: this is an investigation, not a bug.
Approach
Check each agent definition under
plugins/os-sdlc/agents/on its own. For each agent, list the CLAUDE.md rules that it must obey. Mark the agentomitonly if its system prompt or its brief already carries each of those rules. Mark itkeepif a rule reaches it only through CLAUDE.md. Record one line per agent with the mark and the reason. AddomitClaudeMd: trueto the frontmatter of eachomitagent, then runbin/refresh-plugins.Required work: none beyond the acceptance criteria.
Acceptance criteria
plugins/os-sdlc/agents/, when the check is complete, then each agent has a recorded mark ofkeeporomitwith its reason.omit, when a session dispatches it, then its context holds no CLAUDE.md text.keep, when a session dispatches it, then its context still holds the CLAUDE.md text.Non-goals
The house
Exploreagent. Its draft sets the key already.Origin
Exploreagent, recorded in/home/jared/dev/house-explore-replay/replay/override-test/omitClaudeMdkey ← the default for a custom agent is to load CLAUDE.md,UPSTREAM-TOOL(Claude Code v2.1.322)plugins/os-sdlc/agents/*.mdVERDICT: CREATE — The fixed CLAUDE.md token cost on every os-sdlc agent dispatch was observed in probes on 2026-11-10, and the cause is a Claude Code default. No existing mechanism covers it.