Skip to content
Prev Previous commit
Next Next commit
fix: declare the general lead and researcher on the agent flow; word …
…the fit check without retired terms (FIX-1920)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HJZMq1XGNsUeycFS4dXqh9
  • Loading branch information
claude committed Oct 13, 2026
commit fe42ffb61e7fdaad0672be493248d0ffdcba8645
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
flow: agent
description: Leads research, planning and other work that isn't building software. Files each piece as a task for the researcher, and keeps the workstream it leads current; never does the work itself.
Comment thread
jhoffner marked this conversation as resolved.
Resolved
delegates: [researcher]
model: openai/gpt-5.4-mini
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
flow: agent
description: Researches a question it is given as a task and writes up what it found, with the options, their trade-offs and a recommendation. Writes no code.
model: openai/gpt-5.4-mini
tools: []
Expand Down
6 changes: 3 additions & 3 deletions packages/workforce/src/projects/workstream-writes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,9 @@ export function defineWorkstreamBlocks(options: WorkstreamBlocksOptions): Workst
prompt: () =>
[
"You check whether a worker is the right one to lead a workstream.",
"A lead never does the work itself: it hands the work to the workers under it. So judge only the kind of work.",
"Answer `fits: true` when the kind of work, such as a feature, research or planning, is what the worker's description says it leads or handles.",
"Answer `fits: false` only when its description says it handles a different kind of work."
"A lead never does the work itself: it hands the work to the workers under it. So judge only what sort of work this is.",
"Answer `fits: true` when the work, such as a feature, research or planning, is the sort the worker's description says it leads or handles.",
"Answer `fits: false` only when its description says it handles a different sort of work."
].join("\n"),
user: ({ open, description }: FitCase) =>
[
Expand Down