Inspiration

Software teams rarely break production because unit tests fail — they break production because critical release context is fragmented across Jira tickets, Confluence technical specs and runbooks, PR diffs, and unlinked cross-team dependencies. Codegeist 2026 challenges us to "Build with context. Ship with confidence." We built ContextGuard AI so engineering leads, SREs, and AI coding agents share one verifiable release-readiness source of truth directly inside Atlassian Cloud.

What it does

ContextGuard AI is a native Atlassian Forge (nodejs22.x, UI Kit 2 render: native, Runs on Atlassian eligible) app deployed live in production across Jira, Confluence, Rovo, Atlassian MCP (rovo:mcp), and Teamwork Graph:

  • 5-Dimension Release Risk Engine (0–100 + SHIP / CAUTION / HOLD Verdict): Evaluates Spec-to-PR Drift (30%), Cross-Team Teamwork Graph Blockers (25%), Rollback & Runbook Readiness (20%), Change Blast Radius (15%), and Recent Incident Exposure (10%) with hard release gates.
  • Automated Spec-to-PR Drift Detection: Compares Confluence RFC specs against pull request diffs to catch breaking API removals (e.g., /v1/checkout/authorize dropping legacyAuthCode), destructive SQL migrations (DROP COLUMN), and explicit non-goal violations before merge.
  • Teamwork Graph Cross-Team Blocker Discovery: Uses api.asUser().requestTeamworkGraph() + BFS dependency traversal to uncover unlinked upstream/downstream blockers threatening organizational goals and reconciles them with 1-click Jira "Blocks" issue links.
  • Rovo Assignable Agent (@ContextGuard AI) & 4 Deterministic Forge Actions: Equips Rovo with analyze-release-risk, generate-rollback-checklist (publishing valid XML-escaped Confluence REST v2 storage XHTML runbooks), link-missing-dependencies, and draft-stakeholder-brief.
  • Atlassian MCP Server (rovo:mcp, tag ctxguard): Exposes the exact same deterministic Forge tools over MCP JSON-RPC 2.0 so external coding agents (Rovo Studio, Claude Code, Cursor) query organizational release readiness before shipping code.

Built-in Enterprise Sandbox Mode for Judges (Zero-Setup Testing)

Once installed via our Judge Install Link (Confluence + Jira, Production v2.0.0), judges can evaluate live Jira REST v3, Confluence REST v2, @forge/kvs persistence, and Teamwork Graph hydration — or click the built-in Enterprise Sandbox Scenarios (PAY-412 97/100 HOLD, AUTH-209 45/100 CAUTION, BILL-88 0/100 SHIP) directly inside the Jira Issue Panel and Confluence Governance Hub to test every feature immediately on a brand-new site!

How we built it

  • Platform & Runtime: Atlassian Forge CLI 16.0.0 (nodejs22.x, forge lint: 0 errors, 0 warnings), @forge/react UI Kit 2 (render: native), @forge/kvs, @forge/api, @forge/resolver, @forge/bridge.
  • Granular Security: Uses Confluence REST API v2 granular scopes (read:page:confluence, read:space:confluence, write:page:confluence), Jira REST v3 scopes, storage:app, and Teamwork Graph read:graph:* scopes.
  • Verification: 10/10 Node.js 22 native unit tests PASS (node --test tests/engine.test.mjs) + 19/19 manifest/schema/security compliance tests PASS (tests/verify_all.py) + live production deployment verified on both Jira & Confluence.

What's next

Expanding ContextGuard AI to full Bitbucket Cloud webhook PR gates, automated canary metric polling post-deploy, and publishing to the Atlassian Marketplace under the Runs on Atlassian program.

Built With

Share this project:

Updates

Submission history