-
-
Sprint Spec Drift & Confluence Coverage Matrix + 5-Pillar Release Risk Attribution across PAY-101 through PAY-106
-
Rovo Release Guardian (rovo:agent): 4 deterministic Forge actions (audit-drift, release-graph, checklist, snapshot-gate) with JSON trace
-
Jira Issue Panel (jira:issuePanel): Live 98/100 CRITICAL drift audit on PAY-104 with Confluence PRD-214 SLA diff cards & inline AC editor
-
Live Remediation: Breaking the circular deadlock & syncing PAY-104 drops risk from 83 NO GO to 37 CONDITIONAL GO with @forge/kvs history
-
12/12 PASS deterministic automated Node test matrix, 7 structured drift classes, and 5-pillar weighted scoring formula
-
100% Runs-on-Atlassian Forge Architecture (nodejs22.x) & official @forge/manifest v13.9.1 0-error validation proof
Inspiration
Modern software teams do not fail on release day because developers cannot write code — they fail because release context fractures across Confluence PRDs, Jira Acceptance Criteria, and multi-hop issue blocker chains:
- Silent Spec & Numeric SLA Drift: A Confluence PRD tightens checkout latency to
p95 <= 250mswithmax 3 retriesand anHTTP 409 Conflictidempotency clause, while the Jira ticket in review still reads<= 800ms,5 retries, and dropsHTTP 409altogether. - Hidden Circular Blocker Deadlocks: Multi-hop
Blocks / Is Blocked Bylinks quietly form cycles likePAY-102 -> PAY-104 -> PAY-105 -> PAY-102, anchored by an unassigned, stale infrastructure ticket. - Unreviewed Mid-Sprint Scope Creep & Manual Rituals: Late-sprint endpoints (
/api/v2/refunds/bulk) land without PRD review while release leads burn hours hand-compiling Go/No-Go checklists.
We built SpecDrift Guard to bring deterministic, verifiable release intelligence natively into Jira Cloud, Confluence Cloud, and Atlassian Rovo — running 100% on Atlassian Forge with zero external infrastructure.
What it does
- SpecDrift Control Tower (
jira:projectPage): Computes a deterministic 5-Pillar Release Risk Score (0–100) across Spec & AC Drift (0–25), Blocker Chains & Cycles (0–25), Scope Creep Velocity (0–20), Verification & Rollback Gap (0–20), and Ownership & Staleness (0–10). Renders an interactive SVG Risk Gauge, a 3-Color DFS Dependency & Cycle Graph, a Sprint Spec Drift & Confluence Coverage Matrix, and 1-click Go/No-Go Checklists compiled to Jira ADF JSON, Confluence Storage XHTML (<ac:structured-macro>+<ac:task-list>), and Markdown. - SpecDrift Jira Issue Panel (
jira:issuePanel): Lives beside every Jira work item to compare Jira Acceptance Criteria against linked Confluence PRDs in real time. Flags 7 structured drift classes (NUMERIC_MISMATCHincluding cross-unit latency like250msvs1s,MISSING_AC,ORPHAN_SCOPE,UNCHECKED_CRITICAL,INCOMPLETE_SUBTASKS,STALE_SPEC_SYNC, andMISSING_SPEC_LINK), supports inline AC editing with instant re-scoring, and posts formatted Jira ADF audit comments in one click. - SpecDrift Release Guardian (
rovo:agent+ 4 Forgeactionmodules): Brings conversational release triage to Atlassian Rovo without hallucinations. Every prompt routes through 4 deterministic Forge actions (audit-issue-drift[GET],analyze-release-graph[GET],generate-release-checklist[CREATE], andsnapshot-release-gate[UPDATE]) with auditable JSON execution traces. - Hourly Drift Sweep (
scheduledTrigger+@forge/kvs): Runs hourly viaasApp()across tracked projects, persists immutable Release Gate snapshots in Forge Key-Value Storage, and calculates Pre-Mortem Δ risk trends (IMPROVING/DEGRADING).
How we built it
- 100% Runs on Atlassian (
nodejs22.x): Built strictly with@forge/api,@forge/kvs, and@forge/resolver— zero external servers, zero external databases, and zero external LLM API keys. - Zero-Dependency Pure Deterministic Engine (
src/engine/): Modular pure-JavaScript parsers and analyzers (adf.js,driftDetector.js,dependencyGraph.js,releaseScorer.js) shared identically between Forge backend handlers and our strict-CSP Custom UI (static/dashboard/). - Minimal Scopes & Graceful Degradation: Declares only 5 necessary scopes (
read:jira-work,write:jira-work,read:page:confluence,write:page:confluence,storage:app) and degrades gracefully on Jira-only sites without Confluence links. - Dual-Mode Architecture: Runs natively inside Jira Cloud via
@forge/bridgeAND powers our zero-sign-in live sandbox on GitHub Pages executing the exact same deterministic engine in-browser.
Challenges we ran into
- Cross-Format Specification Parsing: Jira Cloud REST API v3 returns structured Atlassian Document Format (ADF) JSON while Confluence REST API v2 returns Storage XHTML (
<ac:task-list>). We built dedicated bidirectional parsers and generators (src/engine/adf.js) so checkbox states, headings, and numeric thresholds normalize identically across both products. - Cycle-Safe Critical-Path Analysis & Graph Rendering: Naive recursion infinite-loops on circular Jira blocker links. We implemented 3-color DFS cycle detection with safe critical-path extraction, and refined our deterministic SVG graph layout so both dense cyclic sprints (
PAY-101..106) and compact healthy releases (CORE-401..403) render cleanly with zero node overlap. - Cross-Unit Numeric Drift Comparison: Catching real SLA divergence required normalizing heterogeneous units (e.g.,
250msvs1s,3 retriesvs5 retries) so subtle unit changes never slip past review.
Accomplishments that we're proud of
- Official
@forge/manifestv13.9.1 Validation: Passes Atlassian's full schema validator with 0 errors and 0 warnings across 5 Forge modules, 6 functions, 4 Rovo actions, and 5 scopes. - 12/12 Passing Automated Node Tests (
1.97s): Full deterministic coverage across ADF/XHTML parsing, all 7 drift classes, circular deadlocks, critical-path bottlenecks, 5-pillar risk scoring (NO_GO->GO), ADF/XHTML checklist compilation, all 4 Rovo actions, hourlyasApp()sweeps, and live Forge manifest validation. - Zero-Defect Live Interactive Sandbox: Verified in headless Chromium at
1280x720and1920x1080with 0 console errors, 0 page errors, and 0 horizontal overflow, letting any judge watchPayments Core v2.14.0drop live from83/100 NO GOto37/100 CONDITIONAL GOin two clicks.
What we learned
- Grounding Rovo Agents in strict, typed Forge
actionhandlers (GET,CREATE,UPDATE) transforms conversational AI from speculative commentary into an auditable engineering release gate. - Sharing a pure, zero-dependency analysis engine across Forge serverless handlers and Custom UI keeps UI latency instantaneous while guaranteeing identical audit math everywhere.
What's next for SpecDrift Guard
- Native Bitbucket Cloud & GitHub PR diff ingestion via Forge web triggers to correlate merged pull-request endpoints directly with Confluence PRDs.
- Organization-wide multi-project Release Calendar & custom SLA threshold policy packs stored in
@forge/kvs. - Automated Slack/Jira transition gate hooks that hold release transitions when circular deadlocks or critical SLA drift exceed team policy.
Built With
- atlassian-forge
- confluence-cloud
- css3
- html5
- javascript
- jira-cloud
- node.js
- rovo-agent
- svg