From 19e97f4bcc0a484a1617edc239875899b008a654 Mon Sep 17 00:00:00 2001 From: James Feng <47167674+GhostDragon124@users.noreply.github.com> Date: Sun, 7 Jun 2026 19:28:49 +0800 Subject: [PATCH] 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 --- src/constants/prompts.ts | 2 +- src/modes/personas/claude.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants/prompts.ts b/src/constants/prompts.ts index 7bb307eed..66390a046 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 '../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..ee4cc19b9 100644 --- a/src/modes/personas/claude.ts +++ b/src/modes/personas/claude.ts @@ -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