Inspiration

The explosion of AI coding assistants (Cursor, Copilot, Claude Code) has empowered developers to ship code 5x faster. But speed without context creates chaos.

  • Product Managers carefully document Acceptance Criteria (AC) in Jira issues.
  • Lead Architects specify Architecture Decision Records (ADRs) and security invariants in Confluence.
  • Developers and autonomous coding agents write PRs in isolation, completely blind to these cross-product constraints.
  • Senior reviewers are overwhelmed, approving code that passes basic linters but subtly breaks business requirements and architectural boundaries.

We asked: What if Atlassian itself acted as the continuous verification gatekeeper across the entire delivery lifecycle?

What SpecGate Does

SpecGate turns Atlassian into an autonomous semantic verification engine:

  1. Harvests Cross-Product Context: Discovers Acceptance Criteria from Jira ADF checklists and extracts architectural invariants from linked Confluence ADR pages via the Teamwork Graph.
  2. Evaluates PR Diffs Semantically: Computes an objective Criteria Coverage Score (0-100%) and immediately flags architectural blockers (e.g. hardcoded secrets, raw SQL injection, missing locks).
  3. Interactive Jira Issue Panel: Embedded in Jira using official @atlaskit design tokens, displaying criteria status badges (PASS, GAP, VIOLATION) with line citations.
  4. Assignable Rovo Agent (@SpecGate): Mentioned in Jira comments or Bitbucket PRs to diagnose failing criteria and synthesize copy-pasteable remediation patches.
  5. Atlassian Model Context Protocol (MCP): Exposes fetch-architecture-invariants and verify-pr-compliance directly to IDE agents so developers verify compliance before pushing code.

How We Built It

  • Runtime: Built with Atlassian Forge (Node.js 22 FaaS), utilizing @forge/api, @forge/resolver, and Forge KVS storage.
  • Frontend: Forge Custom UI powered by React 18, Vite, and Atlaskit design primitives.
  • Agent Intelligence: Declared under Forge rovo:agent with structured action tools and few-shot Socratic patch synthesis.
  • IDE Protocol: Standardized Atlassian MCP (rovo:mcp) enabling seamless two-way communication between local IDEs and the Atlassian cloud.

Challenges We Overcame

  1. Teamwork Graph Link Traversal: Navigating Jira remote issue links and parsing complex Atlassian Document Format (ADF) task lists into deterministic requirement objects.
  2. Sub-Second Evaluation inside Forge FaaS: Designing an AST and semantic heuristic evaluator that completes under Forge's strict serverless execution boundaries.
  3. Zero-BOM Cross-Platform Encoding: Overcoming Windows PowerShell UTF-8 BOM encoding traps to guarantee clean JSON schema compliance.

Accomplishments We're Proud Of

  • 100% Test Automation: 8/8 comprehensive Jest unit test suites passing across all parser, verifier, and invariant sentinel modules.
  • Production-Ready Deployment: App ID ari:cloud:ecosystem::app/bd33f854-ccab-44b5-809e-0bd2e9fb54ce successfully registered under Developer Space SpecGate-Dev and deployed to Atlassian Cloud.
  • Live Tri-Product Installation: Installed and active across Jira and Confluence on shayanmuhammadcs.atlassian.net.

What We Learned

How deeply Atlassian's Teamwork Graph and Rovo Agent ecosystem empower developers to transform passive issue tracking into active, autonomous software engineering guardrails.

What's Next for SpecGate

  • Bitbucket Merge-Gating Webhook: Automatically block PR merges until SpecGate coverage reaches 100%.
  • Multi-Repository Dependency Mapping: Analyzing cross-repo breaking changes when API contracts evolve.

Built With

Share this project:

Updates

Submission history