Commit Graph

1 Commits

Author SHA1 Message Date
James Feng
8f0a6c1806 feat: wire mode persona injection — distilled Claude Soul Document into system prompt
- prompts.ts: add getModePersonaSection() → injects current mode's
  systemPrompt as 'mode_persona' dynamic section (first in order,
  before operational instructions)
- modes/personas/claude.ts: 3KB distilled Claude persona from
  Anthropic's leaked Soul Document (70KB → operational extract):
  core traits, honesty principles, helpfulness/caution balance,
  collaboration stance, identity stability
- Custom mode via ~/.claude/modes/claude.yaml loads seamlessly:
  2848 chars, 7 modes total including the new Claude persona
2026-06-07 18:26:25 +08:00