Trim per-dispatch CLAUDE.md cost paid by every os-sdlc subagent #272

Open
opened 2026-08-04 21:04:01 +00:00 by jared · 1 comment
Owner

Context

Docs-verified 2026-08-04: custom subagents always load the CLAUDE.md hierarchy + git status at spawn, with no per-agent opt-out (only built-in Explore/Plan skip it). Every os-sdlc dispatch into a worktree therefore pays the checked-out root CLAUDE.md (~12.8KB) plus any nested project CLAUDE.md. Only lever is file size: trim/split the root CLAUDE.md (ties into the deferred CLAUDE.md-split work) and keep programmer-relevant rules (e.g. no state comments) in agents/*.md instead. Vault note: reference/claude-code-subagent-context-loading.md.

## Context Docs-verified 2026-08-04: custom subagents always load the CLAUDE.md hierarchy + git status at spawn, with no per-agent opt-out (only built-in Explore/Plan skip it). Every os-sdlc dispatch into a worktree therefore pays the checked-out root CLAUDE.md (~12.8KB) plus any nested project CLAUDE.md. Only lever is file size: trim/split the root CLAUDE.md (ties into the deferred CLAUDE.md-split work) and keep programmer-relevant rules (e.g. no state comments) in agents/*.md instead. Vault note: reference/claude-code-subagent-context-loading.md.
Author
Owner

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.

Frozen in the 2026-08-16 backlog reset — see #419 for the expiry procedure. Do not work unless a live run rediscovers this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#272
No description provided.