source-derived workflows

Research, forecasting, and table workflows as executable graphs.

The diagrams below are parsed from the Smithers TSX workflow files at build time. The marketing surface follows the same source files that launch runs: `Workflow`, `Sequence`, `Parallel`, `Loop`, and `Task` JSX.

14 workflow files
20 explicit tasks
11 task maps
01

Deep Research

packages/workflows/src/deep-research.workflow.tsx

1 tasks 1 dynamic sets researchBrief, researchReport
02

Binary Forecast

packages/workflows/src/binary-forecast.workflow.tsx

5 tasks 1 dynamic sets binaryAggregate, binaryAttempt
03

Agent Map

packages/workflows/src/agent-map.workflow.tsx

1 tasks 1 dynamic sets mapSummary, rowResult
04

Rank

packages/workflows/src/rank.workflow.tsx

1 tasks 1 dynamic sets rankScore, rankSummary
05

Merge

packages/workflows/src/merge.workflow.tsx

2 tasks 0 dynamic sets mergeJudgment, mergeSummary
06

Dedupe

packages/workflows/src/dedupe.workflow.tsx

2 tasks 0 dynamic sets dedupeJudgment, dedupeSummary
live source graph

Smithers workflow topology

Static TSX structure becomes node topology. Dynamic `.map()` task creation is preserved as a generated task set, so changing research roles, row processors, or forecast specialists changes this visualization on the next marketing build.

tsx derived

Deep Research

packages/workflows/src/deep-research.workflow.tsx

1tasks
1dynamic
0loops
109lines
Mini Map
classification router

How prompts become workflows

The route matrix is derived from `packages/backend/src/mode-classifier.ts`: explicit workflow choices win, table operations route to table workflows, forecast-like prompts route through forecast type inference, and open-ended prompts fall back to deep research.

01

Explicit workflow=binary-forecast

modeforecastworkflowbinary-forecasttablenot requiredconfidence1.00
02

Explicit workflow=date-forecast

modeforecastworkflowdate-forecasttablenot requiredconfidence1.00
03

Explicit workflow=numeric-forecast

modeforecastworkflownumeric-forecasttablenot requiredconfidence1.00
04

Explicit workflow=categorical-forecast

modeforecastworkflowcategorical-forecasttablenot requiredconfidence1.00
05

Explicit workflow=thresholded-forecast

modeforecastworkflowthresholded-forecasttablenot requiredconfidence1.00
06

Explicit workflow=conditional-forecast

modeforecastworkflowconditional-forecasttablenot requiredconfidence1.00
07

Explicit workflow=deep-research

modemulti_agentworkflowdeep-researchtablenot requiredconfidence1.00
08

Explicit workflow=agent-map

modeagent_mapworkflowagent-maptablerequiredconfidence1.00
09

Explicit workflow=rank

moderankworkflowranktablerequiredconfidence1.00
10

Explicit workflow=merge

modemergeworkflowmergetablerequiredconfidence1.00
11

Explicit workflow=dedupe

modededupeworkflowdedupetablerequiredconfidence1.00
12

Prompt mentions duplicates / near duplicates

modededupeworkflowdedupetablerequiredconfidence0.68
13

Prompt asks to merge, join, reconcile, or match records

modemergeworkflowmergetablerequiredconfidence0.68
14

Prompt asks to rank, prioritize, or order rows

moderankworkflowranktablerequiredconfidence0.68
15

Prompt asks to classify, categorize, label, or tag

modeclassifyworkflowagent-maptablerequiredconfidence0.68
16

Prompt looks like a future forecast

modeforecastworkflowforecast-type routertablenot requiredconfidence0.74
17

Open-ended non-table prompt

modemulti_agentworkflowdeep-researchtablenot requiredconfidence0.68