]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
refactor(sandcastle): remove plannerOutput from TaskSpec
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:48:28 +0000 (01:48 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:48:28 +0000 (01:48 +0200)
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
.sandcastle/types.ts

index f7db59b23a84e87f8e933a25c3ab0639c53914d9..8331309529abe2bf723ef24a55ec07984013a6e1 100644 (file)
@@ -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}`)
index 9fe1d737abb4e45e290ba0bebd0fb69f765b9c9a..ce0c002b5dcd2d1e0bf73f013e276211830e30d8 100644 (file)
@@ -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. */