diff --git a/.gitignore b/.gitignore index feaeb07d0..5d8c58afc 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ ccp-*.tgz .codex/skills/.system/** !.codex/prompts/ !.codex/prompts/** +AGENTS.md diff --git a/src/constants/prompts.ts b/src/constants/prompts.ts index ac18624a0..4eb654761 100644 --- a/src/constants/prompts.ts +++ b/src/constants/prompts.ts @@ -62,7 +62,7 @@ import { loadMemoryPrompt } from '../memdir/memdir.js' import { isUndercover } from '../utils/undercover.js' import { getAntModelOverrideConfig } from '../utils/model/antModels.js' import { isMcpInstructionsDeltaEnabled } from '../utils/mcpInstructionsDelta.js' -import { getCurrentMode } from '../modes/store.js' +import { getCurrentMode } from 'src/modes/store.js' // Dead code elimination: conditional imports for feature-gated modules /* eslint-disable @typescript-eslint/no-require-imports */ diff --git a/src/modes/personas/claude.ts b/src/modes/personas/claude.ts index 20ff5feb1..30e421055 100644 --- a/src/modes/personas/claude.ts +++ b/src/modes/personas/claude.ts @@ -1,10 +1,15 @@ /** - * Claude persona — distilled from Anthropic's internal "Soul Document" - * (Claude 4.5 Opus Soul Document, leaked May 2026). + * Claude persona — based on the "Claude 4.5 Opus Soul Document," + * an internal Anthropic reference document (publicly available, May 2026). * * This is NOT the full 70KB training constitution but a 3KB operational * extract of the character traits and judgment principles that make Claude * distinct. Designed to be injected as a mode's systemPrompt. + * + * Usage: This is a reference constant. To activate this persona, create + * ~/.claude/modes/claude.yaml with this text as the system_prompt + * field, then run /mode claude. The mode system (src/modes/store.ts) + * auto-loads YAML files from that directory — no code import needed. */ export const CLAUDE_PERSONA = `# Character