-
-
ShipGuard Context — Release Readiness Gate + Rovo Reviewer Agent + Forge MCP Server
-
Jira Project Page (jira:projectPage) — Split-screen Release Readiness Console & Issue Inspector
-
Jira Issue Panel (jira:issuePanel) — Hard-Blocked SHIP-2 (13/100) with Blocker Chain & Postmortem Context
-
Jira Issue Panel (jira:issuePanel) — Ready-to-Ship SHIP-1 (100/100) with Linked Confluence Runbook
Inspiration
Shipping production changes safely rarely fails because engineers forget to write code — it fails because release context is fragmented. Before a deployment, engineers bounce across Jira issue descriptions, linked is blocked by dependency chains, unlinked Confluence runbooks, Architecture Decision Records (ADRs), historical incident postmortems, and scattered security sign-offs.
For Codegeist 2026: Build with context. Ship with confidence., we built ShipGuard Context — a 100% Atlassian-hosted Forge app that synthesizes live Jira + Confluence organizational context into deterministic, auditable release-readiness verdicts directly where teams work (Jira Custom UI), where teams ask questions (Rovo Reviewer Agent), and where AI coding/ops tools connect (Atlassian Forge MCP Server).
What It Does
ShipGuard Context delivers four tightly integrated capabilities powered by a single serverless Forge backend:
Jira Issue Panel (
jira:issuePanel) — Embedded directly inside every Jira issue, displaying an instant 0–100 readiness score and explicitSHIP/HOLD/BLOCKverdict across 6 weighted engineering gates:- Dependency Blockers (25 pts, Hard Block): Flags unresolved
is blocked bydependencies and active P0/P1 blocker bugs. - Rollback & Runbook (20 pts): Checks explicit rollback/canary/feature-flag plans and linked or auto-discovered Confluence runbooks.
- Acceptance & Verification (20 pts): Evaluates structured acceptance criteria, test/CI proof, and SLO verification signals.
- PR & Code Review (15 pts): Detects approved PR references or
pr-approvedsign-off labels. - Security & Blast Radius (10 pts, Hard Block): Flags auth/OAuth/JWKS/PII/payment surfaces lacking a recorded security sign-off in Forge KVS.
- Incident & Postmortem Context (10 pts): Automatically cross-matches historical Confluence postmortems (
INC-*,RCA) for the service domain. - Includes 1-click Approve/Revoke Security Sign-off, 1-click Post Gate Comment (structured ADF brief written directly to Jira), and 1-click Create Confluence Brief (formatted Confluence Release Gate page via API v2 + automatic Jira remote link).
- Dependency Blockers (25 pts, Hard Block): Flags unresolved
Jira Release Readiness Console (
jira:projectPage) — A full-project triage workspace with aggregate readiness KPIs, risk-first filtering (All/Block/Hold/Ship), live search, split-screen sticky Issue Inspector, and a persistent Audit Trail backed by Atlassian Forge Key-Value Storage (@forge/kvs).Rovo Reviewer Agent (
rovo:agent— Best Agents Bonus) —ShipGuard Reviewerlets engineers ask "Is SHIP-2 ready to deploy?", "Audit release readiness across project SHIP", or "Find Confluence runbooks and postmortems for SHIP-2" in natural language, grounded exclusively in live Jira and Confluence tool results.Atlassian Forge MCP Server (
rovo:mcp— Best App with Atlassian MCP Bonus) —ShipGuard Context MCPexposes all 4 live Forgeactiontools (evaluate-issue-readiness,audit-project-release,find-related-runbooks,publish-release-gate-brief) via Model Context Protocol for Rovo Studio and MCP-compatible AI clients.
How We Built It
- 100% Serverless on Atlassian Forge (
Runs on AtlassianEligible): Zero external API calls, zero external databases, zero third-party LLM egress. Deployed onnodejs24.x/arm64withapp.compatibilityspanning Jira (required) and Confluence (optional cross-product). - Deterministic Scoring Engine (
src/engine.js): Zero-dependency pure scoring engine evaluated identically in Forge runtime and Node unit tests (node --test, 4/4 passing). - Live Atlassian API Integration (
src/atlassian.js): Uses@forge/api(api.asApp().requestJirav3 +requestConfluencev2 & CQL search with live content-list fallback for newly created pages) and@forge/kvsfor durable site-scoped audit trails. - Strict-CSP Custom UI (
esbuild+@forge/bridge): Zero inline scripts, zero external CDN fonts/scripts, crisp editorial typography with tabular numerals, full HTML escaping in the UI, and XML escaping for Confluence Storage XHTML generation.
Challenges We Ran Into & Solved
- Multi-Product Context & Scope Hygiene: Configuring
app.compatibility(Jira + Confluence) alongside exact Confluence v2 + CQL scopes soforge lintpasses with zero issues while ensuring freshly created Confluence runbooks are discoverable immediately even before CQL search indexing completes. - Preserving Stateful Security Sign-offs in Forge KVS: Ensuring follow-up actions (like posting a Jira gate comment or creating a Confluence brief) merge with existing
shipguard:audit:<issueKey>KVS records rather than overwriting an engineer'ssecurityApprovedsign-off. - Confluence Storage XHTML Safety: Properly escaping Jira issue titles and gate details (
escapeXml) before generating Confluence Storage Format tables so titles containing&,<, or>never cause 400 XHTML validation errors. - Strict Forge Custom UI CSP: Bundling
@forge/bridgeinto standalone IIFE bundles withesbuild, routing outbound links throughrouter.open, and shipping a clean zero-inline-script UI verified across multiple viewports with zero horizontal overflow.
Accomplishments We're Proud Of
- Deployed cleanly to Atlassian Forge Production (
v2.2.0) withforge lintreporting No issues found and verified eligible for Atlassian's Runs on Atlassian program. - Single unified set of 4 Forge
actionprimitives simultaneously powers the Jira Issue Panel, Jira Release Console, Rovo Reviewer Agent (rovo:agent), and Forge MCP Server (rovo:mcp). - Built an ultra-clean, high-signal engineering UI inspired by Atlassian Design System & Linear — putting the
SHIP/HOLD/BLOCKverdict and blocking root cause in front of the engineer in under 1 second.
What's Next
- Adding Atlassian Teamwork Graph ingestion for automated deployment-event correlation and incident-recurrence scoring.
- Adding Bitbucket PR merge-check hooks and customizable per-project gate weight policies stored in Forge KVS.
- Publishing ShipGuard Context to the Atlassian Marketplace.
Built With
- atlassian-forge
- confluence
- css3
- esbuild
- html5
- javascript
- jira
- mcp
- node.js
- rovo