refactor: streamline paired room prompts and fix role separation

Prompts:
- Remove model-specific names (클코, Codex) — use owner/reviewer only
- Compress duplicated sections (communication, stagnation, consensus)
  while preserving 4 ontological questions and verdict protocol intact
- Remove verdict examples (redundant with status descriptions)
- claude-platform.md: strip SDK defaults, keep only send_message rules

Code:
- Remove reviewer paired room prompt from owner CLAUDE.md
  (was causing role confusion — owner got "You are the reviewer")
- Remove "Provide feedback or approve" from review turn prompt
  (conflicted with CLAUDE.md verdict protocol)

187 lines → 100 lines across 4 prompt files.
This commit is contained in:
Eyejoker
2026-03-30 02:31:04 +09:00
parent 484c0d7316
commit 691be0dc86
6 changed files with 48 additions and 153 deletions

View File

@@ -453,11 +453,13 @@ export function prepareGroupEnvironment(
!isMain && fs.existsSync(globalClaudeMdPath)
? fs.readFileSync(globalClaudeMdPath, 'utf-8').trim()
: undefined;
// Owner CLAUDE.md: platform rules + owner paired room rules.
// Reviewer paired room rules are NOT included — those belong to the
// container reviewer only (via prepareContainerSessionEnvironment).
const sessionClaudeMd = [
ownerCommonPlatformPrompt,
claudePlatformPrompt,
ownerCommonPairedRoomPrompt,
claudePairedRoomPrompt,
globalClaudeMemory,
options?.memoryBriefing,
]