Skip to content

Commit a2d4b61

Browse files
fix(agent-runtime): drop stale judge prompt source check
MoltNet-Diary: 51aa123d-4fee-4e31-bb42-272479e221d3 Task-Group: issue-1174-judge-context-copy Task-Completes: true
1 parent 59d8446 commit a2d4b61

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

libs/agent-runtime/src/prompts/judge-eval-attempt.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ export function buildJudgeEvalAttemptUserPrompt(
6363
ctx.workspace.mode === 'dedicated_worktree'
6464
? `This attachment is a dedicated producer worktree${ctx.workspace.branch ? ` on branch \`${ctx.workspace.branch}\`` : ''}.`
6565
: ctx.workspace.mode === 'scratch_mount'
66-
? ctx.workspace.source === 'producer_copy'
67-
? 'This workspace is a fresh judge-owned scratch copy of the producer workspace.'
68-
: 'This attachment is the producer scratch workspace mounted with shadow writes for safe inspection.'
66+
? 'This workspace is a fresh judge-owned scratch copy of the producer workspace.'
6967
: 'This attachment is the producer shared workspace mounted with shadow writes for safe inspection.',
7068
'',
7169
].join('\n')

0 commit comments

Comments
 (0)