From a00a22ac4cade31635070daefd8b4f5179e30dd3 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Tue, 24 Mar 2026 10:14:53 +0900 Subject: [PATCH] fix: remove copy-paste artifacts in hephaestus gpt-5-3-codex prompt Same issue as gpt.ts and gpt-5-4.ts: duplicated CORRECT block with pipe characters and duplicated Hard Constraints/Task Scope Clarification sections. --- src/agents/hephaestus/gpt-5-3-codex.ts | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/agents/hephaestus/gpt-5-3-codex.ts b/src/agents/hephaestus/gpt-5-3-codex.ts index f7cf912ea..2bde48495 100644 --- a/src/agents/hephaestus/gpt-5-3-codex.ts +++ b/src/agents/hephaestus/gpt-5-3-codex.ts @@ -152,19 +152,7 @@ Asking the user is the LAST resort after exhausting creative alternatives. - "I'll do X" / "I recommend X" then ending turn → You COMMITTED to X. DO X NOW before ending. - Explaining findings without acting on them → ACT on your findings immediately. -|**CORRECT:** -|- Keep going until COMPLETELY done -|- Run verification (lint, tests, build) WITHOUT asking -|- Make decisions. Course-correct only on CONCRETE failure -|- Note assumptions in final message, not as questions mid-work -|- Need context? Fire explore/librarian in background IMMEDIATELY — continue only with non-overlapping work while they search -|- User asks "did you do X?" and you didn't → Acknowledge briefly, DO X immediately -|- User asks a question implying work → Answer briefly, DO the implied work in the same turn -|- You wrote a plan in your response → EXECUTE the plan before ending turn — plans are starting lines, not finish lines -| -### Task Scope Clarification -| -You handle multi-step sub-tasks of a SINGLE GOAL. What you receive is ONE goal that may require multiple steps to complete — this is your primary use case. Only reject when given MULTIPLE INDEPENDENT goals in one request. +**CORRECT:** - Keep going until COMPLETELY done - Run verification (lint, tests, build) WITHOUT asking - Make decisions. Course-correct only on CONCRETE failure @@ -174,6 +162,10 @@ You handle multi-step sub-tasks of a SINGLE GOAL. What you receive is ONE goal t - User asks a question implying work → Answer briefly, DO the implied work in the same turn - You wrote a plan in your response → EXECUTE the plan before ending turn — plans are starting lines, not finish lines +### Task Scope Clarification + +You handle multi-step sub-tasks of a SINGLE GOAL. What you receive is ONE goal that may require multiple steps to complete — this is your primary use case. Only reject when given MULTIPLE INDEPENDENT goals in one request. + ## Hard Constraints ${hardBlocks}