Repository navigation
Description
Summary
The dashboard currently shows basic issue status and phase progress indicators, but there's significant data available (or easily capturable) that would provide much more actionable visibility into workflow state.
This issue proposes surfacing existing data, extending the schema for new data, and adding acceptance criteria (AC) tracking per phase.
Part 1: Surface Existing Data (Quick Wins)
Data that already exists in state.json or run logs but isn't displayed:
1.1 Phase Timing
- Source:
PhaseState.startedAt,PhaseState.completedAt - Display: Tooltip on phase indicator showing duration (e.g., "Exec: 4m 32s")
- Value: Identify slow phases, estimate completion
1.2 Error Messages
- Source:
PhaseState.error - Display: Expandable error detail on failed phases, or hover tooltip
- Value: Understand failures without digging into logs
1.3 Loop Iteration Progress
- Source:
IssueState.loop.iteration,IssueState.loop.maxIterations - Display: Show "2/3" next to Loop phase indicator
- Value: Know how many QA fix attempts have been made
1.4 Current Active Phase
- Source:
IssueState.currentPhase - Display: Bold, animate, or highlight the active phase indicator
- Value: Instantly see what's running now
1.5 Branch Name
- Source:
IssueState.branch - Display: Show branch name with copy button
- Value: Quick
git checkoutwithout remembering naming conventions
1.6 Issue Age
- Source:
IssueState.createdAt - Display: "Tracked for 3d" or similar
- Value: Identify stale issues
1.7 Test Results (from run logs)
- Source:
PhaseLog.testsRun,PhaseLog.testsPassed - Display: "47/50 tests" badge on test/qa phases
- Value: Quick health check without opening PR
1.8 Files Modified (from run logs)
- Source:
PhaseLog.filesModified - Display: Expandable list or count badge
- Value: Understand change scope at a glance
Part 2: Schema Extensions (New Data)
Data that would need to be captured and stored:
2.1 Acceptance Criteria Tracking ⭐
Problem: ACs are currently implicit—extracted by /spec, posted to GitHub as comments, reviewed manually by /qa. The dashboard shows "qa completed" but not which ACs passed or failed.
Proposed Schema Extension:
// Add to PhaseStateSchema
acceptanceCriteria?: {
[acId: string]: {
description: string;
verificationMethod: "unit_test" | "integration_test" | "browser_test" | "manual";
status: "pending" | "met" | "not_met" | "blocked";
verifiedAt?: string;
notes?: string;
}
}Implementation:
/specparses ACs from issue and stores them in state/exec,/test,/qaupdate AC status as they verify each one- Dashboard shows expandable AC checklist per issue with status indicators
Value: See exactly which requirements are satisfied vs blocking
2.2 GitHub Issue Labels
- Capture: Labels from GitHub API during issue tracking
- Display: Label badges on issue cards, filter by label
- Value: Prioritize by
priority:high, filter bybugvsfeature
2.3 Blocked Reason
- Capture: Freeform text when status changes to
blocked - Display: Show reason on blocked issues
- Value: Know why something is blocked without context-switching
2.4 Issue Dependencies
- Capture: "Blocked by #X" relationships
- Display: Dependency links, highlight when blocker is resolved
- Value: Understand sequencing constraints
2.5 Token/Cost Usage
- Capture: API token usage per phase execution
- Display: Cost per issue, aggregate stats
- Value: Budget visibility, identify expensive operations
Part 3: Historical Analytics
The run logs in .sequant/logs/ contain rich historical data that could power:
3.1 Trend Charts
- Pass/fail rate over time
- Average phase duration trends
- Issues completed per day/week
3.2 Aggregate Statistics
- Most common failure phases
- Average time from start to merge
- Test flakiness indicators
3.3 Run History View
- List of past runs with summary stats
- Drill into specific run details
- Compare runs
Proposed Implementation Phases
Phase A: Quick Wins (Part 1)
- Surface existing data with minimal code changes
- Mostly frontend/rendering updates in
dashboard/server.ts
Phase B: AC Tracking (Part 2.1)
- Extend
state-schema.tswith AC tracking - Update
/specto extract and store ACs - Update
/qato report AC verification status - Add AC display to dashboard
Phase C: Extended Metadata (Parts 2.2-2.5)
- Add labels, blocked reason, dependencies to schema
- Update state manager and skills to capture data
Phase D: Analytics (Part 3)
- Add run log parsing
- Add analytics views to dashboard
- Consider separate
/analyticspage
Acceptance Criteria
- A1: Phase indicators show duration on hover
- A2: Failed phases display error message (expandable or tooltip)
- A3: Loop phase shows iteration progress (e.g., "2/3")
- A4: Current active phase is visually highlighted
- A5: Branch name displayed with copy-to-clipboard
- A6: Issue age shown ("Tracked for 3d")
- B1: State schema extended with AC tracking structure
- B2:
/specextracts and stores ACs in state - B3:
/qaupdates AC status during review - B4: Dashboard displays AC checklist per issue with status
References
dashboard/server.ts- Current dashboard implementationsrc/lib/workflow/state-schema.ts- State file schemasrc/lib/workflow/run-log-schema.ts- Run log schema.claude/skills/spec/SKILL.md- Spec skill (AC extraction).claude/skills/qa/SKILL.md- QA skill (AC validation)
Activity
admarble commentedon Jan 21, 2026
📋 Plan Review: Dashboard Workflow Data & AC Tracking
Acceptance Criteria
/specextracts and stores ACs in state/qaupdates AC status during reviewImplementation Plan
Phase 1: Quick Wins (A1-A6) — Frontend-only changes in
dashboard/server.tsPhase 2: Schema Extension (B1)
7. Add
AcceptanceCriteriaSchematostate-schema.tsPhase 3: Skill Integration (B2, B3)
8. Update state manager with AC methods
9. Integrate AC extraction in
/specskill10. Integrate AC validation in
/qaskillPhase 4: Dashboard AC Display (B4)
11. Add expandable AC checklist to issue cards
Key Decisions
Assumptions
startedAt/completedAttimestamps are consistently setissue.loopstate is properly updated during quality loopGenerated by
/spec• Ready for/execfeat(#139): enhance dashboard with workflow data and AC tracking schema
admarble commentedon Jan 21, 2026
QA Review Complete ✅
AC Coverage Summary
Result: 7/7 in-scope ACs met
Quality Checks
Verdict: READY_FOR_MERGE
All quick wins (A1-A6) and schema extension (B1) implemented. B2-B4 deferred per phased implementation plan.
PR #157 ready for merge after manual browser verification.
Generated by
/qa• Run/docs 139before merge if documentation neededfeat(#139): enhance dashboard with workflow data and AC tracking sche…
docs: add CHANGELOG entry for #139 dashboard enhancements