Inspiration

"AI can think. But knowing what to do — really knowing — takes context."

Modern software teams — and increasingly external AI coding agents (Claude Code, Cursor, Codex, Antigravity) — ship code faster than ever. Yet green CI checks regularly mask catastrophic release risks scattered across organizational silos:

  • An open security blocker in Jira (is blocked by)
  • A Confluence ADR with unresolved SECURITY REVIEW PENDING or OPEN QUESTION markers
  • A Confluence SEV-1 Postmortem documenting a prior regression on the exact same service
  • Negated QA comments like "not approved yet" that naive keyword bots misread as approvals
  • Risk waivers approved days earlier — before a new blocker or architecture risk appeared

We built ShipGate to turn connected Atlassian context into a deterministic, tamper-resistant 0–100 Release Gate shared identically by human engineers in Jira & Confluence, Rovo Chat agents, and external AI coding agents over Atlassian MCP.


What It Does

ShipGate runs 100% on Atlassian Forge (nodejs24.x, zero external egress) and unites 7 native Forge modules around a single deterministic 5-gate readiness engine:

  1. ShipGate Control Tower (jira:projectPage): Scans active (statusCategory != Done) Jira issues with the exact same engine as the issue panel, rendering a live verdict distribution BarChart (SHIP / CAUTION / BLOCK), clickable issue queue, Append-Only Decision Ledger, live Owner Work Graph telemetry, and an Idempotent One-Click Judge Sandbox Seeder.
  2. 5-Gate Live Audit Panel (jira:issuePanel): Displays a 0–100 readiness score, SHIP / CAUTION / BLOCK verdict, deterministic State Fingerprint (sg-xxxxxxxx), clickable cross-product provenance links (Jira Issue Link, Jira Remote Link, Issue Key Mention, Confluence CQL), and a one-click Canonical Confluence Readiness Brief publisher (single versioned page per issue, zero duplicate spam, excluded from CQL to eliminate brief-washing).
  3. Anti-Bypass Human-in-the-Loop MCP Governance (rovo:mcp + SKILL.md): Exposes 4 governance-enforced Forge actions (evaluate-issue-readiness, scan-project-release, publish-readiness-brief, record-ship-decision) to external coding agents. Agents can check readiness pre-merge and even issue a fail-safe BLOCK, but APPROVE / WAIVE calls over MCP are automatically downgraded to PROPOSED_APPROVE / PROPOSED_WAIVE in an isolated proposal-latest: KVS slot — they can never bypass a BLOCK or overwrite a human decision until confirmed by a Jira project administrator (/rest/api/3/mypermissions → ADMINISTER_PROJECTS).
  4. State-Fingerprint Auto-Invalidation & Real-Time Trigger (avi:jira:updated:issue): Every human waiver is bound to the exact state fingerprint of open blockers, ADR risk markers, and high-priority bugs. If a new blocker or ADR risk appears later, the prior waiver automatically expires (STALE) and the Jira trigger loop-safely updates the shipgate-blocked / shipgate-caution label with 100% score parity.
  5. Rovo Agent (ShipGate Guardian), Reusable Skill (shipgate-readiness), and Atlassian Teamwork Graph (requestTeamworkGraph): Enables conversational release audits in Rovo Chat and surfaces live owner work edges across Control Tower and Issue Panels.

How We Built It

  • 100% Runs on Atlassian: Built with Forge nodejs24.x, native @forge/react UI Kit components, @forge/api (asUser / asApp + requestTeamworkGraph), and @forge/kvs — zero external databases, zero third-party APIs, zero data egress.
  • Shared Pure Deterministic Engine (src/core/readinessEngine.js): Decoupled pure-JS 5-gate scoring and state-fingerprint computation used identically by the Issue Panel, Control Tower, Rovo Actions, MCP server, and background Jira trigger.
  • Hardened Governance Storage (src/services/storageService.js): Separates confirmed human decisions (decision-latest:) from untrusted MCP proposals (proposal-latest:) plus an immutable append-only project ledger, preventing proposal-overwrite attacks.
  • Verified Engineering Discipline: 24/24 automated unit and adversarial governance tests passing (npm test), zero forge lint warnings, deployed live to Production v2.5.0 on Jira + Confluence.

Challenges We Ran Into

  • Preventing AI Self-Approval & Governance Bypass: Early designs stored MCP proposals in the same latest-decision slot as human decisions, which meant an agent proposing APPROVE could mask a prior human BLOCK. Separating proposals into an isolated proposal-latest: slot and enforcing PROPOSED_* normalization closed the bypass completely (verified by adversarial unit tests).
  • Eliminating Self-Feedback Loops ("Brief-Washing"): Publishing a Confluence Readiness Brief initially caused CQL searches to discover ShipGate's own brief as a "linked Confluence spec". We solved this by maintaining one canonical versioned page per issue and excluding title !~ "ShipGate Readiness Brief" directly inside CQL queries.
  • Background vs. Interactive Score Parity: requestTeamworkGraph runs in interactive user context (asUser), whereas Jira triggers run asynchronously (asApp). Decoupling Teamwork Graph telemetry cleanly from the numeric gate score guarantees identical verdicts between background triggers and interactive panels.

Accomplishments That We're Proud Of

  • True Cross-Product Governance: Connects Jira links, Jira Remote Links, Confluence ADRs, Confluence SEV-1 Postmortems, Teamwork Graph, Rovo, and external coding agents via Atlassian MCP in one zero-egress Forge app.
  • 60-Second Judge Reproducibility: Any judge can install our Production link on a brand-new Jira + Confluence site and click "Seed Sample Release Scenario" once to watch BLOCK (55), CAUTION (71), and SHIP (86) come alive with linked ADRs and postmortems.
  • Production-Grade Quality: 24/24 deterministic + adversarial tests passing, 0 forge lint issues, MIT open-source with ready-to-use SKILL.md for Claude Code, Cursor, Codex, and Antigravity.

What We Learned

  • Building reliable AI governance isn't about prompting an LLM to "be careful" — it requires deterministic scoring, structural state fingerprints, strict permission verification, and isolated storage boundaries between agent proposals and human sign-offs.
  • Forge's native rovo:agent + rovo:skill + rovo:mcp + shared action architecture makes it remarkably clean to serve both in-product Atlassian users and external coding agents from a single codebase.

What's Next for ShipGate

  • Bitbucket / GitHub PR status check synchronization directly from the shipgate-* verdict state
  • Configurable per-project gate weights and custom ADR risk regex policies in Control Tower
  • Organization-wide multi-project release train view powered by expanded Teamwork Graph dependency edges

Built With

Share this project:

Updates

Submission history