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:
@@ -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,
|
||||
]
|
||||
|
||||
@@ -533,8 +533,8 @@ export function createMessageRuntime(deps: MessageRuntimeDeps): {
|
||||
}
|
||||
const reviewPrompt =
|
||||
parts.length > 0
|
||||
? `${parts.join('\n\n')}\n\nReview the owner's response above. Provide feedback or approve.`
|
||||
: 'Review the latest owner changes in the workspace. Provide feedback or approve.';
|
||||
? `${parts.join('\n\n')}\n\nReview the owner's response above.`
|
||||
: 'Review the latest owner changes in the workspace.';
|
||||
|
||||
// Advance cursor past the owner's messages so they aren't re-processed
|
||||
const lastRaw = rawMissedMessages[rawMissedMessages.length - 1];
|
||||
|
||||
Reference in New Issue
Block a user