wire activeStage to FlowMap and add per-stage agent statistics (#571)#584
Merged
JeremyDev87 merged 2 commits intomasterfrom Feb 19, 2026
Merged
wire activeStage to FlowMap and add per-stage agent statistics (#571)#584JeremyDev87 merged 2 commits intomasterfrom
JeremyDev87 merged 2 commits intomasterfrom
Conversation
- Update agent_indicator rule to reflect dynamic agent selection instead of hardcoded Frontend Developer reference - Update verification_guide to match dynamic agent display - Add resolution_order to delegate_agent documenting the 5-step agent selection process (explicit > context > config > intent > default) Completes #560 cleanup (final doc accuracy fix after #561-#568)
…tics (#571) - Pass activeStage={state.currentMode} to both FlowMap usages in dashboard-app.tsx - Add countStageRunningDone helper to count running/done agents per stage - Update renderPipelineHeader to accept agents and display stage stats (e.g. ▸ PLAN (2↑ 1✓)) - Add dimmed parameter to drawAgentNode; inactive stage agents render with dim:true - Suppress glow effect for agents in inactive stages - Apply dim style to edges when both endpoints are in inactive stages - Apply dim style to stage labels in renderFlowMapSimplified - Add activeStage parameter to renderFlowMapSimplified for consistency - Increase STAGE_SLOT_WIDTH from 8 to 18 to accommodate stats display - Add DIMMED_STYLE constant to consolidate dim rendering style - Add tests for per-stage statistics and inactive stage dimming
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #571
Fixes the missing
activeStageprop wiring and adds per-stage agent statistics to the FlowMap pipeline header.Changes
activeStage={state.currentMode}to bothFlowMapusages indashboard-app.tsx(narrow and wide layouts)renderPipelineHeadernow acceptsagentsand displays per-stage running/done counts (e.g.▸ PLAN (2↑ 1✓))dim: trueto visually de-emphasize non-active stagesrenderFlowMapSimplifiedgains optionalactiveStageparameter for consistent behavior across layout modesDIMMED_STYLEconstant to consolidate dim renderinginactiveIdsSet once per render pass (avoids repeated per-node checks)STAGE_SLOT_WIDTHfrom8→18to accommodate stats stringTest Coverage
countStageRunningDonehelper (running/done counts per stage)renderPipelineHeaderdrawAgentNodeand edge renderingTest Plan
activeStageprop propagates fromstate.currentModeto both FlowMap usages▸ ACT (2↑ 1✓)when agents are running/donedim: true, active stage at full brightnessrenderFlowMapSimplifiedrespectsactiveStagefor stage label and node dimmingany, no type errors