CLAUDE.md as User Context Not System Prompt
- Entity ID:
ent-20260423-p2a029000001 - Type:
decision - Scope:
private - Status:
active
Description
Architectural choice: CLAUDE.md content is prepended to the message array via prependUserContext() rather than delivered as system prompt. Model compliance is therefore probabilistic, not guaranteed; deterministic enforcement is handled by the permission system. Creates a deliberate separation between guidance (probabilistic) and enforcement (deterministic).
Key claims
- CLAUDE.md is delivered as user context, making compliance probabilistic
- CLAUDE.md is re-injected on every request, not just the first
Relations
- CLAUDE.md as User Context Not System Prompt --[depends_on]--> 12 Boring Primitives Framework
- CLAUDE.md Every-Request Injection --[implements]--> CLAUDE.md as User Context Not System Prompt