CLAUDE.md as User Context Not System Prompt

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

Relations

Sources

src-20260423-0cff68d3291b src-20260423-115cbc011543