From: Jérôme Benoit Date: Thu, 7 May 2026 23:20:58 +0000 (+0200) Subject: fix(sandcastle): assign opus to actor, sonnet to planner, increase planner iterations X-Git-Tag: cli@v4.7.0~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9f00f3d4c70e9d2a4c7612af040aaaa1eee27e3b;p=e-mobility-charging-stations-simulator.git fix(sandcastle): assign opus to actor, sonnet to planner, increase planner iterations 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. --- diff --git a/.sandcastle/constants.ts b/.sandcastle/constants.ts index b60445d0..98a595ee 100644 --- a/.sandcastle/constants.ts +++ b/.sandcastle/constants.ts @@ -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 diff --git a/.sandcastle/task-source.ts b/.sandcastle/task-source.ts index 05ea119a..f7db59b2 100644 --- a/.sandcastle/task-source.ts +++ b/.sandcastle/task-source.ts @@ -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,