ShipGate
by tranviet28
README.md
# ShipGate — Deterministic Release Readiness Gatekeeper for Jira, Confluence, Rovo & Atlassian MCP
> **Codegeist 2026 Submission**
> **Primary Category:** Apps for Software Teams
> **Bonus Tracks:** Best Agents (`rovo:agent`) · Best App with Atlassian MCP (`rovo:mcp` + Open-Source Agent Skill)
> **Runtime:** Atlassian Forge (`nodejs22.x`) · UI Kit 2 (`@forge/react`) · Forge KVS (`@forge/kvs`) · **Zero paid external APIs**
ShipGate stops risky software releases **inside Atlassian Cloud** before they become production incidents. It deterministically audits every Jira issue and release version across **7 engineering readiness gates (`SG-001`–`SG-007`)**, stores immutable **QA / Security / Release Manager sign-offs** in Forge KVS (mirrored to Jira comments), publishes **Confluence Storage Format XHTML Go/No-Go Release Briefs**, and exposes every action natively to **Rovo Agent (`rovo:agent`)** and external coding agents via **Atlassian MCP (`rovo:mcp`)** + an open-source **`SKILL.md`**.
---
## Screenshots
| Jira Release Cockpit + Confluence Brief | Jira Issue Panel (7-Gate Audit) |
|---|---|
|  |  |
| Live Auditable Security Sign-Off (`HOLD -> GO`) | Rovo Release Guardian (`rovo:agent`) |
|---|---|
|  |  |
### Atlassian MCP Server (`rovo:mcp`) + Open-Source `SKILL.md`

> **Demo Video (720p H.264, 25s):** [`demo/shipgate-demo.mp4`](demo/shipgate-demo.mp4)
---
## Why ShipGate?
Most release checklists break down because readiness signals are scattered across Jira links, ticket descriptions, PR comments, Slack sign-offs, and stale Confluence pages. ShipGate turns Jira + Confluence + Rovo into a single **deterministic, zero-hallucination release gate**:
| Gate | Rule | Severity | What It Checks |
|---|---|---|---|
| `SG-001` | Unresolved Blockers | **Blocker (-35)** | Open inward `"is blocked by"` Jira links or an active `BLOCKED` sign-off |
| `SG-002` | Acceptance Criteria & Verification | Warning (-15) | Explicit acceptance criteria / test evidence in ADF description/comments or QA sign-off |
| `SG-003` | Rollback & Mitigation Plan | **Blocker (-20)** / Warning (-12) | Rollback, revert, canary, or feature-flag kill switch on High/Highest or risky tickets |
| `SG-004` | Security & Migration Sign-Off | **Blocker (-25)** | Tickets touching `auth`, `oauth`, `payment`, `billing`, `schema`, `migration`, `rbac`, `infra` require an auditable Security `APPROVED`/`WAIVED` sign-off in Forge KVS |
| `SG-005` | Subtask Completion | Warning (-8/open) | Detects incomplete Jira subtasks before cutting a release |
| `SG-006` | Ownership & Freshness | Warning (-12/-8) | Flags unassigned active tickets or active tickets untouched for > 7 days |
| `SG-007` | Confluence Runbook / ADR Link | Info (-8) | Checks Jira remote links or ticket body for linked Confluence runbooks / ADRs |
Verdict thresholds: **`GO`** (`>= 85` and `0` blocker failures), **`CAUTION`** (`60–84` and `0` blockers), **`HOLD`** (`< 60` or any blocker failure).
---
## Architecture & Forge Modules (`manifest.yml`)
```text
Jira Issue Panel (UI Kit 2) ──┐
Jira Project Page (UI Kit 2) ─┼─► Forge Resolver & 5 Action Modules (src/actions/handlers.js)
Rovo Agent (rovo:agent) ──────┤ ├── Deterministic Readiness Engine (src/core/readiness-engine.js)
Atlassian MCP (rovo:mcp) ─────┘ ├── Confluence Storage XHTML Builder (src/core/brief-builder.js)
▲ ├── Forge KVS Audit Store (@forge/kvs)
│ └── Jira REST v3 & Confluence REST v2 (@forge/api)
External AI Coding Agents
(Claude Code / Cursor / Antigravity)
+ skills/shipgate-release-guard/SKILL.md
```
### Exposed `rovo:agent` & `rovo:mcp` Tools
1. `assess-issue-readiness` (`GET`) — Evaluate any Jira issue across `SG-001`–`SG-007`.
2. `assess-release-gate` (`GET`) — Aggregate project / `fixVersion` Go/No-Go verdict & top blockers.
3. `record-signoff` (`POST`) — Persist `QA` / `Security` / `ReleaseManager` / `TechLead` sign-off in Forge KVS + post Jira audit comment.
4. `publish-release-brief` (`POST`) — Generate and publish a Confluence Storage Format XHTML Go/No-Go Release Brief.
5. `get-audit-trail` (`GET`) — Read chronological Forge KVS sign-off audit history for any issue or project.
---
## Quick Start (Local Preview + MCP Sandbox + Tests)
Zero Atlassian credentials or paid API keys are needed to run the full test suite and interactive preview cockpit locally:
```bash
# 1. Validate Forge manifest, handler exports, and rovo:mcp tool mappings
npm run lint:manifest
# 2. Run all 14 automated unit + integration + MCP JSON-RPC 2.0 tests
npm test
# 3. Launch the interactive local preview cockpit + MCP JSON-RPC 2.0 sandbox
npm run preview
# -> Open http://127.0.0.1:4195
```
---
## Deploy to Your Free Atlassian Cloud Developer Site
1. Create a free Atlassian Cloud Developer site at `https://developer.atlassian.com/cloud/` (includes Jira, Confluence, and Rovo).
2. Create an Atlassian API token at `https://id.atlassian.com/manage-profile/security/api-tokens`.
3. Install Forge CLI (`>= 13.3.0`) and authenticate:
```bash
npm install -g @forge/cli
forge login
```
4. Register, deploy, and install into Jira & Confluence in one step:
```powershell
.\scripts\deploy-forge.ps1 -Site "your-site.atlassian.net"
```
5. In the Atlassian Developer Console, open **Distribution -> Sharing** to generate the public judge installation link for Devpost.
---
## Open-Source Agent Skill (`skills/shipgate-release-guard/SKILL.md`)
Any MCP-compatible agent (Claude Code, Cursor, Antigravity, Codex) can load [`skills/shipgate-release-guard/SKILL.md`](skills/shipgate-release-guard/SKILL.md) to enforce a strict pre-merge / pre-deploy release gate against Jira and Confluence through ShipGate's `rovo:mcp` server.
---
## License
MIT License — see [`LICENSE`](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues