Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/agent/model-family-policy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,9 @@ const ASTRA_POLICY: Omit<ModelFamilyPolicy, "family"> = {
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.
Expand Down
7 changes: 3 additions & 4 deletions src/provider/deepseek-v4-effort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<DirectorId, ReasoningEffort> = {
dispatch: "max",
Expand Down
Loading