From 7376512e5b328206faa874752ef3b3c2f3f10311 Mon Sep 17 00:00:00 2001 From: Sawyer Cutler Date: Fri, 9 Oct 2026 08:23:07 -0700 Subject: [PATCH] style(provider): strip ticket-restating comments from effort policy --- src/agent/model-family-policy.ts | 8 +++----- src/provider/deepseek-v4-effort.ts | 7 +++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/agent/model-family-policy.ts b/src/agent/model-family-policy.ts index 5ff8d007a..5b7cf1606 100644 --- a/src/agent/model-family-policy.ts +++ b/src/agent/model-family-policy.ts @@ -204,11 +204,9 @@ const ASTRA_POLICY: Omit = { promptResidual: ASTRA_PROMPT_RESIDUAL, }; -// DeepSeek V4 winning d1+slim config, baked in from the handoff prompt files -// (corbits-dsv4-handoff/prompts/): d1_primary.txt, body_coder.txt, -// body_reviewer.txt, g2_leaf.txt. Inline constants — the brief keeps these in -// the policy, not the prompt-variance package. The model-family-policy switch -// routes them; the orchestration/leaf carve-outs mirror the grok branch. +// DeepSeek V4 d1+slim residuals kept inline here rather than in the +// prompt-variance package. The model-family-policy switch routes them; the +// orchestration/leaf carve-outs mirror the grok branch. export const DSV4_D1_PRIMARY_RESIDUAL = ` Operating notes (DeepSeek V4 Flash): - Your context is the expensive one: workers do the reading, building, and checking. Read only what you need to route and to name files in a brief (one glob or grep, or one or two reads); do not read code to plan the fix yourself. diff --git a/src/provider/deepseek-v4-effort.ts b/src/provider/deepseek-v4-effort.ts index 343f291ab..14bac7ca3 100644 --- a/src/provider/deepseek-v4-effort.ts +++ b/src/provider/deepseek-v4-effort.ts @@ -2,10 +2,9 @@ import type { ReasoningEffort } from "../agent/profile-types.js"; import type { DirectorId } from "../agent/directors/types.js"; /** - * Per-role V4 effort defaults (CL-10294). dispatch/planner/reviewer dispatch - * and judge — max. coder is the cheapest spawn: 'low' clamps to the V4 'none' - * wire rung (thinking off), per the operator's "simplest implementer = none" - * intent. Every other leaf reasons at xhigh. + * Per-role V4 effort defaults. coder is the cheapest spawn: 'low' clamps to + * the V4 'none' wire rung (thinking off), per the operator's "simplest + * implementer = none" intent. Every other role takes its rung from the map. */ export const DEEPSEEK_V4_ROLE_EFFORT: Record = { dispatch: "max",