Engineering Retrospectives & Outcome Tracking
Leverage durable SQLite execution history to generate evidence-backed retrospectives, measure cycle time, and reduce recurring defects.
The Problem
Sprint retrospectives often rely on vague memories, opinions, and biased impressions rather than concrete metrics on where engineering time and AI tokens were actually spent.
Who It Is For
Engineering leads, agile coaches, and teams running sprint retrospectives or continuous improvement reviews.
Prerequisites & Tools
- History of completed tasks in ~/.devworkflow/history.sqlite3
| Tool / Command | Type | Role in Tutorial |
|---|---|---|
| view_history | mcp | Query past task durations, DoD completion rates, and next steps |
| build_report | mcp | Aggregate build durations, test failure rates, and flakiness |
| analyze_change | mcp | Analyze technical debt priorities and improvement opportunities (mode: debt) |
Example Task Contract
Exact start_task payload representing this workflow in DevWorkflow local-first governance.
{
"description": "Generate sprint 46 engineering retrospective report from local DevWorkflow execution telemetry",
"type": "other",
"plan": [
"Extract completed task records from SQLite history",
"Aggregate average time from task start to completion",
"Synthesize recurring nextSteps into prioritized technical debt items"
],
"definitionOfDone": [
"Sprint velocity and DoD pass rate calculated from empirical data",
"Top 3 technical debt bottlenecks identified with source citations",
"Actionable retro summary documented in engineering notes"
]
}Step-by-Step Tutorial Workflow
Follow these sequential actions with validated copyable commands and expected outputs.
Query Task History Metrics
Inspect completed tasks over the past sprint cycle using view_history.
// AI Tool Call: view_history
{
"limit": 20
}Analyze Technical Debt Backlog
Extract recurring nextSteps recorded during previous complete_task invocations to discover systemic debt.
// AI Tool Call: analyze_change
{ "mode": "debt" }Synthesize Retrospective Action Items
Convert verified execution evidence into actionable engineering improvements for the next sprint.
devwf list --jsonSummary: 28 tasks completed, 0 unhandled regressions, 4 tech debt candidates prioritizedVerification Steps
Verify that your work genuinely satisfies the task contract before closing.