From fc72801b5fd48492470f0293d5141ea62c026925 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 8 May 2026 01:48:28 +0200 Subject: [PATCH] refactor(sandcastle): remove plannerOutput from TaskSpec Raw agent stdout will be handled by sandcastle's own debug/logging mechanism rather than stored in-memory on TaskSpec. Structured fields (acceptanceCriteria, rootCauseHypothesis, confidence, issueType) remain as the sole inter-agent communication channel. --- .sandcastle/task-source.ts | 4 ---- .sandcastle/types.ts | 2 -- 2 files changed, 6 deletions(-) diff --git a/.sandcastle/task-source.ts b/.sandcastle/task-source.ts index f7db59b2..83313095 100644 --- a/.sandcastle/task-source.ts +++ b/.sandcastle/task-source.ts @@ -135,10 +135,6 @@ export class GithubIssueSource implements TaskSource { return [] } - for (const task of tasks) { - task.plannerOutput = plan.stdout - } - console.log(`Plan: ${String(tasks.length)} issue(s) to work on:`) for (const task of tasks) { console.log(` #${task.id}: ${task.title} → ${task.branch}`) diff --git a/.sandcastle/types.ts b/.sandcastle/types.ts index 9fe1d737..ce0c002b 100644 --- a/.sandcastle/types.ts +++ b/.sandcastle/types.ts @@ -115,8 +115,6 @@ export interface TaskSpec { issueType?: 'bug-fix' | 'feature' | 'refactor' /** Label names associated with the task (platform-specific, optional). */ labels?: string[] - /** Raw planner agent output that produced this task selection. */ - plannerOutput?: string /** Planner's hypothesis about what is broken/missing — for actor to validate, not follow blindly. */ rootCauseHypothesis?: string /** Task title. */ -- 2.53.0