feat(workflows): drop the patterns list and model delegation flow

Neither panel drove a decision: the detected-pattern ranking restated what
the orchestration DAG already shows, and the delegation flow's main→subagent
model pairing is visible in the per-session drill-in. Removes both components
and their i18n blocks, promotes the error-propagation map to full width, and
renumbers the remaining sections 4-7.
This commit is contained in:
2026-09-08 11:10:32 +07:00
parent 47a8726e27
commit fe45644b31
6 changed files with 46 additions and 1353 deletions
-79
View File
@@ -68,16 +68,6 @@
"howToRead": "One row per node. The bar is scaled against the busiest node, split into green (passed with evidence), amber (passed but only claimed) and red (failed). The number on the right is passes / entries and the pass rate.",
"why": "A node with a long amber bar is a stage everyone declares and nobody proves; a node that is never reached is a stage your pipeline does not really use."
},
"patterns": {
"what": "A ranked list of recurring agent-orchestration sequences detected from session traces, plus a callout for solo sessions that ran without subagents.",
"howToRead": "Each row is a step sequence (main → sub → sub …). The right side shows how many sessions matched it and what percentage of all sessions that represents. Click a pattern to highlight it.",
"why": "Reveals the standard 'shapes' of work in your project. Frequent patterns are good candidates to formalize as named workflows or skills."
},
"modelDelegation": {
"what": "A two-column flow showing which main models delegate to which subagent models, plus per-node agent counts and total tokens.",
"howToRead": "Left column = main models for sessions; right column = models used inside subagents. Lines indicate observed main → subagent pairings. Hover a node for share-of-all-agents, sessions, total tokens, and a description of the model family (Opus / Sonnet / Haiku).",
"why": "Helps you confirm cost/latency tiering - e.g. main on Sonnet, subagents on Haiku - and catch unintended escalations to Opus."
},
"errorPropagation": {
"what": "Where errors cluster across the agent hierarchy: by depth (session/main vs direct subagent vs nested), by agent type, and by API/session-level error category.",
"howToRead": "The top banner gives the session-level error rate. The depth bars show how many errors occurred at each nesting level. The error-prone types list ranks subagent types by error count. The bottom block surfaces API/session error summaries.",
@@ -258,75 +248,6 @@
"empty": "No lane has recorded a stage yet. Create one with",
"emptyLane": "This lane has not recorded a stage yet."
},
"patterns": {
"title": "Detected Workflow Patterns",
"subtitle": "Common agent orchestration sequences",
"noData": "No patterns detected yet",
"noDataDesc": "Patterns appear once multiple sessions share the same agent sequence.",
"solo": "solo (no subagents)",
"label": "Workflow Patterns",
"detail": {
"clickHint": "Click for details",
"stepsHeading": "Full step sequence",
"statsHeading": "Stats",
"stepsCount_one": "{{count}} step",
"stepsCount_other": "{{count}} steps",
"uniqueAgents": "Unique agent types",
"occurrences": "Sessions matching this pattern",
"shareOfSessions": "Share of all sessions",
"narrativeHeading": "What this means",
"suggestionHeading": "Suggestion",
"narrative": {
"soloFmt": "Sessions that ran with only {{first}} - no delegation to other agent types.",
"twoStepFmt": "A two-step hand-off: {{first}} delegates straight to {{last}}, with no further branching.",
"shortFmt": "A {{count}}-step chain that starts at {{first}} and ends at {{last}}.",
"longFmt": "A long {{count}}-step chain - begins at {{first}}, threads through several agents, and lands at {{last}}.",
"loopHintFmt": " {{agent}} appears more than once in this sequence - typical of a verification or revision loop.",
"dominant": " This is the dominant workflow in your project - more than half of sessions follow it.",
"common": " This is a common workflow, accounting for roughly a quarter of sessions.",
"regular": " A recognised workflow, but not the majority pattern.",
"niche": " A niche pattern that only surfaces occasionally."
},
"suggestion": {
"solo": "Solo run - would a code-reviewer or test-runner subagent raise the quality of these sessions?",
"shortChain": "Short chain. If it keeps recurring, name it as a slash command, skill, or named workflow so it's easy to reproduce.",
"mediumChain": "Frequent enough to formalise. A named workflow or template would make this pattern reusable.",
"longChain": "Long chain - review whether every hop is necessary, or whether some agents could be merged or skipped.",
"loop": "Loop detected. Confirm the repeated step is intentional verification rather than a silent retry of a failing call."
}
}
},
"modelDelegation": {
"title": "Model Delegation Flow",
"subtitle": "How models route through agent hierarchies",
"mainModels": "MAIN MODELS",
"subagentModels": "SUBAGENT MODELS",
"noData": "No model delegation data available",
"agentsCount_one": "{{count}} agent",
"agentsCount_other": "{{count}} agents",
"tokensCount": "{{tokens}} tokens",
"sessionsCount_one": "{{count}} session",
"sessionsCount_other": "{{count}} sessions",
"ariaLabel": "Model delegation flow diagram",
"tooltip": {
"mainModel": "Main model",
"subagentModel": "Subagent model",
"agentRuns": "Agent runs",
"shareOfAll": "Share of all agents",
"sessionsOnModel": "Sessions on this model",
"totalTokens": "Total tokens",
"family": {
"opus": "Opus - highest-capability tier; best for complex reasoning, longest context, costliest per token.",
"sonnet": "Sonnet - balanced tier; good default for most coding and tool-use workflows.",
"haiku": "Haiku - fastest, cheapest tier; ideal for short, latency-sensitive subagents.",
"other": "Non-Anthropic or unrecognized model - falls outside the standard Opus/Sonnet/Haiku families."
},
"lines": {
"main": "Lines on the right show subagent models this main model delegated work to.",
"sub": "Lines on the left show main models that delegated work to this subagent model."
}
}
},
"errorPropagation": {
"title": "Error Propagation Map",
"subtitle": "Where errors cluster in agent hierarchy depth",