Merge pull request #7 from GhostDragon124/acp

两个问题都修改了:
问题
修复
导入路径不规范
'../modes/store.js'→'src/modes/store.js'
“泄露”措辞
→"publicly available reference document"
This commit is contained in:
James F 2026-06-07 19:50:22 +08:00 committed by GitHub
commit c5b1db2b07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

1
.gitignore vendored
View File

@ -46,3 +46,4 @@ ccp-*.tgz
.codex/skills/.system/**
!.codex/prompts/
!.codex/prompts/**
AGENTS.md

View File

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

View File

@ -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