Skip to content

ROI Metrics & Dashboards

SGD tracks the metrics that prove governance is working — not vanity numbers, but indicators that directly map to engineering velocity, code quality, and organisational coherence. Every metric is segmented, trended, and exportable.


Metric groups

SGD organises ROI metrics into three groups. Each group answers a different question.

1. Velocity — "Are we shipping faster and smarter?"

MetricWhat it measuresSegmentation
Time to mergeMedian time from PR open to mergeAI-authored vs human-authored, with-spec vs without-spec
Spec to shipMedian time from spec approval to first production deploymentPer capability, per team
First-time approval ratePercentage of PRs that pass all governance checks on the first review cyclePer repo, per developer, AI vs human

Time to merge is the headline velocity metric. SGD segments it four ways:

SegmentWhat it reveals
AI-authored, with specBest case — AI had full context, governance checks passed early
AI-authored, without specAI speed without governance — watch for rework
Human-authored, with specBaseline for spec-driven human work
Human-authored, without specLegacy workflow baseline

The gap between "with spec" and "without spec" is your ROI case for specification-governed development. Track it weekly.

Spec-to-ship is the leadership metric

Time to merge measures engineering efficiency. Spec-to-ship measures business efficiency — the time from "we decided to build this" to "customers can use it." This is the number that resonates in board reports.


2. Quality — "Are we building it right?"

MetricWhat it measuresTrend direction
Rework ratePercentage of PRs that require changes after governance check failureTrending down = team is learning
Post-merge incident rateProduction incidents attributed to changes within 7 days of deploymentLower = governance is catching issues earlier
Governance check failure ratePercentage of PRs that fail at least one governance checkDown over time = teams are internalising standards

Rework rate is the most diagnostic quality metric. A falling rework rate means developers (and AI agents) are internalising the standards — they are writing code that passes governance checks on the first attempt.

A rising rework rate after introducing new governance rules is expected. The initial spike should flatten within 2-4 weeks as the team adjusts. If it does not, the rules may be too strict or poorly documented.

Post-merge incident attribution

SGD links deployments back to PRs and PRs back to specs. When an incident occurs, the platform checks whether the impacted service had changes deployed in the preceding window. This is correlation, not causation — but it provides a starting point for incident review.


3. Coherence — "Is the organisation getting more consistent?"

MetricWhat it measuresFrequency
Org coherence scoreWeighted average of all repository coherence scoresWeekly snapshot
Spec coveragePercentage of L3 capabilities with at least one approved feature specCalculated on each spec approval
Traceability coveragePercentage of merged PRs with a complete chain (spec → PR → check → deploy)Calculated on each merge

Org coherence score is the single number that tells leadership whether governance is improving across the entire estate. It is the average of all repository coherence scores, weighted by repository activity (more active repos have more influence).

Spec coverage measures adoption. If 80% of your L3 capabilities have approved specs, you have strong coverage. If 30% do, there is a gap between governance intent and practice.

Traceability coverage measures completeness. A PR with a spec reference, passing governance checks, and a linked deployment has full traceability. A PR merged without a spec reference has a broken chain. The percentage of complete chains is your audit-readiness indicator.


Executive dashboard

The executive view is designed for a single question: "Is SGD working?"

Before / after comparison

SGD supports a configurable baseline date — typically the date your organisation adopted the platform. Every metric is shown as a before/after comparison:

MetricBefore SGDAfter SGDChange
Median time to merge4.2 days1.8 days-57%
First-time approval rate41%73%+32pp
Rework rate38%14%-24pp
Post-merge incident rate2.1/week0.6/week-71%
Org coherence score3467+33
Spec coverage0%72%+72pp
Traceability coverage0%68%+68pp

The baseline date is configurable per organisation. Some teams prefer to use the date they completed their capability model; others use the date governance checks went live. Choose the date that makes sense for your story.

Configurable baseline

Set the baseline date in Settings > ROI Metrics > Baseline Date. The dashboard recalculates all before/after comparisons instantly.

Export

All dashboard views are exportable as:

  • PDF — Formatted report with charts, suitable for board presentations
  • CSV — Raw data for further analysis in Excel, Sheets, or BI tools

Exports include the date range, baseline comparison, and all segmentation filters that were active at the time of export. The PDF includes an SGD watermark and generation timestamp for audit purposes.


Metric freshness

Metrics are calculated in near-real-time as events flow through the platform:

EventMetrics updated
PR openedTime to merge clock starts
PR mergedTime to merge, first-time approval rate, rework rate, traceability coverage
Governance check completesGovernance check failure rate, rework rate
Deployment recordedSpec-to-ship, post-merge incident rate window opens
Coherence scan completesOrg coherence score, all dimension sub-scores
Spec approvedSpec coverage

Weekly snapshots are stored for historical trending. Daily granularity is available for the most recent 90 days; weekly granularity is retained indefinitely.


Next steps

Powered by RepoSentry