refactor: SSOT for paired room prompts, remove 4 duplicate files

All reviewers (claude, codex-review, codex-review-failover) now use
claude-paired-room.md. All owners use owner-common-paired-room.md.

Removed: codex-paired-room.md, codex-review-paired-room.md,
codex-review-failover-paired-room.md, codex-review-platform.md

10 prompt files → 6.
This commit is contained in:
Eyejoker
2026-03-30 02:39:04 +09:00
parent 0c6167f5dc
commit 1031cd44dd
6 changed files with 4 additions and 266 deletions

View File

@@ -8,9 +8,11 @@ const PLATFORM_PROMPT_FILES: Record<AgentType, string> = {
codex: 'codex-platform.md',
};
// SSOT: both agent types use the same paired room prompts.
// Role-specific rules (owner vs reviewer) are selected by the caller.
const PAIRED_ROOM_PROMPT_FILES: Record<AgentType, string> = {
'claude-code': 'claude-paired-room.md',
codex: 'codex-paired-room.md',
codex: 'claude-paired-room.md',
};
export function getPlatformPromptsDir(projectRoot = process.cwd()): string {