fix: import path convention + reword persona source comment

- prompts.ts: use 'src/modes/store.js' alias instead of relative '../modes/store.js'
  to match the file's existing import convention
- claude.ts: reword JSDoc to say 'based on publicly available reference document'
  instead of 'leaked', addressing CodeRabbit review concern
This commit is contained in:
James Feng 2026-06-07 19:28:49 +08:00
parent 8b758ee0a2
commit 19e97f4bcc
2 changed files with 3 additions and 3 deletions

View File

@ -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 '../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 */

View File

@ -1,6 +1,6 @@
/**
* 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