diff --git a/src/constants/prompts.ts b/src/constants/prompts.ts index 66390a0460..7bb307eed9 100644 --- a/src/constants/prompts.ts +++ b/src/constants/prompts.ts @@ -63,7 +63,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 'src/modes/store.js' +import { getCurrentMode } from '../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 90dad65cb6..20ff5feb1b 100644 --- a/src/modes/personas/claude.ts +++ b/src/modes/personas/claude.ts @@ -1,16 +1,10 @@ /** - * Claude persona — based on the "Claude 4.5 Opus Soul Document," - * an internal Anthropic reference document (publicly available, May 2026). + * Claude persona — distilled from Anthropic's internal "Soul Document" + * (Claude 4.5 Opus Soul Document, leaked 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. - * - * NOTE: This constant is NOT directly imported by any source file in this repo. - * It serves as a **reference template** for users who define custom modes via - * `~/.claude/modes/claude.yaml`. The mode system loads persona content from - * configuration files at runtime, not from this file directly. Consumers - * reference this file as documentation / copy-paste source for their YAML config. */ export const CLAUDE_PERSONA = `# Character