]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
fix(sandcastle): assign opus to actor, sonnet to planner, increase planner iterations
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:20:58 +0000 (01:20 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 7 May 2026 23:20:58 +0000 (01:20 +0200)
Swap model assignments: claude-opus-4.6 (high effort) for the actor,
claude-sonnet-4.6 (medium effort) for the planner. Increase planner
maxIterations from 1 to 5 so it can actually read AGENTS.md and
project context before producing its analysis.

.sandcastle/constants.ts
.sandcastle/task-source.ts

index b60445d0e6d6add50dde093af183f7b3916c726f..98a595eea5ff5d3386ce63a55975fd93b3e211bf 100644 (file)
@@ -9,7 +9,7 @@ export const AGENT_PROVIDER = 'pi' as AgentProviderType
 
 export const AGENT_ACTOR_EFFORT = 'high'
 
-export const AGENT_ACTOR_MODEL = 'github-copilot/claude-sonnet-4.6'
+export const AGENT_ACTOR_MODEL = 'github-copilot/claude-opus-4.6'
 
 export const AGENT_CRITIC_EFFORT = 'medium'
 
@@ -21,9 +21,9 @@ export const AGENT_ITERATION_BUDGET = 50
 
 export const AGENT_MAX_CRITIC_ROUNDS = 10
 
-export const AGENT_PLANNER_EFFORT = 'high'
+export const AGENT_PLANNER_EFFORT = 'medium'
 
-export const AGENT_PLANNER_MODEL = 'github-copilot/claude-opus-4.6'
+export const AGENT_PLANNER_MODEL = 'github-copilot/claude-sonnet-4.6'
 
 export const AGENT_TASK_TIMEOUT_MS = 6_000_000
 
index 05ea119ae23ba457cded0fc86d458bd04bcf75c5..f7db59b23a84e87f8e933a25c3ab0639c53914d9 100644 (file)
@@ -101,7 +101,7 @@ export class GithubIssueSource implements TaskSource {
           completionSignal: COMPLETION_SIGNAL,
           hooks: SANDBOX_AUTH_HOOKS,
           idleTimeoutSeconds: AGENT_IDLE_TIMEOUT_S,
-          maxIterations: 1,
+          maxIterations: 5,
           name: 'Planner',
           promptArgs: {
             BRANCH_PREFIX: this.branchPrefix,