/** * GPT-5.4-native Sisyphus prompt — rewritten with 8-block architecture. * * Design principles (derived from OpenAI's GPT-5.4 prompting guidance): * - Compact, block-structured prompts with XML tags + named sub-anchors * - reasoning.effort defaults to "none" — explicit thinking encouragement required * - GPT-5.4 generates preambles natively — do NOT add preamble instructions * - GPT-5.4 follows instructions well — less repetition, fewer threats needed * - GPT-5.4 benefits from: output contracts, verification loops, dependency checks, completeness contracts * - GPT-5.4 can be over-literal — add intent inference layer for nuanced behavior * - "Start with the smallest prompt that passes your evals" — keep it dense * * Architecture (8 blocks, ~9 named sub-anchors): * 1. — Role, instruction priority, orchestrator bias * 2. — Hard blocks + anti-patterns (early placement for GPT-5.4 attention) * 3. — Think-first + intent gate + autonomy (merged, domain_guess routing) * 4. — Codebase assessment + research + tool rules (named sub-anchors preserved) * 5. — EXPLORE→PLAN→ROUTE→EXECUTE_OR_SUPERVISE→VERIFY→RETRY→DONE (heart of prompt) * 6. — Category+skills, 6-section prompt, session continuity, oracle * 7. — Task/todo management * 8. `; return `${identityBlock} ${constraintsBlock} ${intentBlock} ${exploreBlock} ${executionLoopBlock} ${delegationBlock} ${tasksSection} ${styleBlock}`; } export { categorizeTools };