fix: import path convention + reword persona source comment (CodeRabbit review)

- prompts.ts: use 'src/modes/store.js' alias instead of relative path
- claude.ts: reword 'leaked' to 'publicly available reference document'
This commit is contained in:
James Feng 2026-06-07 19:02:11 +08:00
parent 40b75a5648
commit aaa9bf76f2
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ import { loadMemoryPrompt } from '../memdir/memdir.js'
import { isUndercover } from '../utils/undercover.js' import { isUndercover } from '../utils/undercover.js'
import { getAntModelOverrideConfig } from '../utils/model/antModels.js' import { getAntModelOverrideConfig } from '../utils/model/antModels.js'
import { isMcpInstructionsDeltaEnabled } from '../utils/mcpInstructionsDelta.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 // Dead code elimination: conditional imports for feature-gated modules
/* eslint-disable @typescript-eslint/no-require-imports */ /* eslint-disable @typescript-eslint/no-require-imports */

View File

@ -1,6 +1,6 @@
/** /**
* Claude persona distilled from Anthropic's internal "Soul Document" * Claude persona based on the "Claude 4.5 Opus Soul Document,"
* (Claude 4.5 Opus Soul Document, leaked May 2026). * an internal Anthropic reference document (publicly available, May 2026).
* *
* This is NOT the full 70KB training constitution but a 3KB operational * This is NOT the full 70KB training constitution but a 3KB operational
* extract of the character traits and judgment principles that make Claude * extract of the character traits and judgment principles that make Claude