forge-blastguard
Integrates with Atlassian Teamwork Graph and Forge/Rovo/MCP surfaces to evaluate release gates across Jira, Bitbucket, Compass, Confluence, and JSM data.
Reads Bitbucket pull request diffs and changed files to calculate blast radius, detect forbidden dependency edges, and enforce ADR conformance before merge.
Reads Confluence ADRs and verifies PR changes against machine-checkable ADR clauses such as co-change invariants, forbidden edges, dependency-cycle bans, and SLO error-budget floors.
Reads Jira issues and exposes a Jira issue-panel release gate with blast-radius topology, remediation what-if toggles, and Markdown receipt export.
Uses Jira Software issue and relationship data in the Teamwork Graph to compute multi-hop blast radius, cycle traps, and release confidence.
BlastGuard — Teamwork Graph Release Gate, ADR Conformance & Bus-Factor Studio (forge-blastguard)
BlastGuard is an Atlassian Forge app, Rovo Agent (rovo:agent), Atlassian MCP server (rovo:mcp), CLI, and zero-network visual studio that turns fragmented Teamwork Graph relationships across Jira Software, Bitbucket Pull Requests, Compass Service Components, Confluence Architecture Decision Records (ADRs), and Jira Service Management (JSM) Post-Incident Reviews into a deterministic 0–100 Ship-Confidence Gate.
Live Interactive Studio (Zero Install,
connect-src 'none'): https://z121245017-ai.github.io/forge-blastguard/Atlassian Forge Cloud Deployment Guide: docs/FORGE_SETUP.md
Reusable Agent Skill (
rovo:mcp+ Claude Code / Cursor): SKILL.md
Why We Built BlastGuard ("Build with Context. Ship with Confidence.")
Software teams rarely cause outages because they lack an AI code generator—they cause Friday-afternoon outages because organizational context is split across four disconnected tools at merge time:
Bitbucket PR diffs modify a shared service (
svc-payments-ledger) or introduce a new cross-service RPC edge that quietly closes a 3-hop circular dependency.Jira Service Management (JSM) has an unclosed Sev-1 Post-Incident Review remediation task (
PAY-1398fromINC-402) on that exact component.Confluence ADRs (
ADR-019) mandate a companion rollback SQL script, idempotency contract test, anddba-reviewer+security-reviewersign-off whenever ledger migrations change—yet nobody re-reads 40 Confluence pages during PR review.Contributor Silos & PTO Blind Spots: The primary author who wrote 68% of
svc-payments-ledger(@alice.wu) isOOO, and the lone PR approver has0%historical commit or incident-response context on the ledger.
Instead of feeding raw diffs into a non-deterministic LLM prompt ($0 Forge LLM spend required), BlastGuard runs four exact graph and information-theoretic algorithms over your Teamwork Graph context.
Related MCP server: que-paso-ayer
Deterministic Core Algorithms (src/engine/)
Subsystem | Module | Mathematical & Graph Model |
1. Multi-Hop Blast Radius & Cycle Trap | Traverses typed Atlassian Resource Identifiers ( | |
2. Confluence ADR Drift Verifier | Evaluates PR file globs, newly added dependency edges, approver governance roles, and 30-day SLO error-budget floors against machine-checkable Confluence ADR clauses ( | |
3. Ownership HHI & Reviewer Set-Cover | Computes Herfindahl-Hirschman Index ($\text{HHI} = \sum s_i^2$), normalized Shannon Ownership Entropy, effective Bus Factor, OOO silo exposure, and solves a queue-penalized Weighted Greedy Set-Cover to recommend the minimal active teammates covering 100% of touched components and ADR roles. | |
4. Calibrated Ship-Confidence Gate | Combines |
Atlassian Forge Architecture (manifest.yml)
flowchart LR
TG["Teamwork Graph\n(Jira · PRs · Compass · Confluence ADRs · JSM)"] --> FN["Forge Functions\n(nodejs22.x · src/index.mjs)"]
FN --> ENG["Isomorphic Deterministic Engine\n(Tarjan SCC · Dijkstra · ADR · HHI Set-Cover)"]
ENG --> UI["Jira Issue Panel Custom UI\n(docs/index.html)"]
ENG --> ROVO["Rovo Agent\n(blastguard-release-commander)"]
ENG --> MCP["Atlassian MCP (rovo:mcp)\n+ Local Stdio MCP + SKILL.md"]jira:issuePanel(blastguard-release-gate-panel): Interactive Custom UI panel with clickable SVG blast-radius topology, live remediation what-if toggles, and 1-click Jira Markdown receipt export.rovo:agent(blastguard-release-commander): Grounded AI release commander backed by 4 typed Forgeactionmodules.rovo:mcp(blastguard-atlassian-mcp) +SKILL.md: Exposesevaluate-release-gate,trace-blast-radius,verify-adr-conformance, andrecommend-contextual-reviewersover Atlassian MCP and localstdioJSON-RPC 2.0.
Quickstart (0 Dependencies, Runs in < 1s)
1. Run the Automated Test Suite
git clone https://github.com/z121245017-ai/forge-blastguard.git
cd forge-blastguard
npm test2. Run the CLI Release Gate on Built-In Enterprise Scenarios
# List all 4 Teamwork Graph enterprise scenarios
node ./bin/blastguard-cli.mjs --list
# Evaluate PAY-1420 (HOLD_RELEASE: Sev-1 PIR + ADR-019 SQL/coupling breach + OOO silo)
node ./bin/blastguard-cli.mjs --issue PAY-1420 --format markdown
# Evaluate CORE-903 (HOLD_RELEASE: Tarjan 3-service runtime cycle trap)
node ./bin/blastguard-cli.mjs --issue CORE-903 --format markdown
# Evaluate AUTH-884 (GUARDED_CANARY: Tier-0 OAuth2 rotation @ 31% SLO budget)
node ./bin/blastguard-cli.mjs --issue AUTH-884 --format markdown
# Evaluate SEARCH-512 (SHIP_CONFIDENT: 97/100 clean Tier-2 Rovo chunker)
node ./bin/blastguard-cli.mjs --issue SEARCH-512 --format markdown3. Run the Model Context Protocol (MCP) Server Locally or via Docker
# Direct stdio JSON-RPC 2.0 (supports both NDJSON and Content-Length framing)
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | node ./bin/blastguard-mcp.mjs
# Containerized non-root MCP server (Glama.ai compatible)
docker build -t forge-blastguard-mcp .
printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | docker run --rm -i forge-blastguard-mcpBuilt-In Enterprise Verification Matrix
Jira Key | Scenario | Verdict | Score | Primary Signal Caught |
| Multi-Currency Settlement Batcher |
|
| Unclosed Sev-1 PIR |
| Billing Webhook Quota Sync Callback |
|
| Tarjan SCC 3-node runtime cycle ( |
| OAuth2 PKCE Refresh Token Rotation |
|
| Passes security tests & role signoff, but |
| Rovo Knowledge Chunk Deduplicator |
|
| Isolated |
License
Released under the MIT License.
Available Tools
4 toolsevaluate_release_gateBRead-onlyIdempotent
Computes deterministic 0-100 Ship-Confidence score, hard release vetoes, Teamwork Graph blast radius, Confluence ADR conformance, JSM Sev-1/Sev-2 PIR blockers, and Jira Markdown receipt.
Inputs: issueKey (required), snapshot.
recommend_contextual_reviewersBRead-onlyIdempotent
Computes HHI ownership concentration, Shannon knowledge entropy, OOO silo risk, and solves a weighted greedy set-cover for optimal PR reviewers.
Inputs: issueKey (required), snapshot.
trace_blast_radiusBRead-onlyIdempotent
Traverses multi-hop service dependencies in Atlassian Teamwork Graph using Dijkstra attenuation and Tarjan SCC cycle detection.
Inputs: issueKey (required), snapshot.
verify_adr_conformanceBRead-onlyIdempotent
Audits pull request changed files, dependency edges, approver roles, and SLO error-budget floors against governed Confluence ADRs.
Inputs: issueKey (required), snapshot.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools have clearly distinct primary actions: gate evaluation, dependency traversal, ADR auditing, and reviewer recommendation. There is some conceptual overlap because evaluate_release_gate aggregates blast-radius and ADR signals that trace_blast_radius and verify_adr_conformance compute individually, but the descriptions make the aggregate-versus-diagnostic boundary mostly clear.
All tool names use a consistent snake_case verb_noun pattern: evaluate_release_gate, trace_blast_radius, verify_adr_conformance, and recommend_contextual_reviewers. The convention is predictable and readable throughout.
Four tools is a well-scoped set for a focused release-governance and blast-radius analysis server. Each tool corresponds to a distinct analytical capability rather than redundant surface area.
The surface covers the core lifecycle of release risk assessment: gate scoring, dependency impact, policy conformance, and reviewer selection. Minor gaps remain around inspecting available policies, services, or historical gate results, but the main workflow is substantially covered.
Maintenance
Related MCP Connectors
Architecture drift auditor (Tarjan SCC), zero-downtime SQL guardian & distributed-systems math.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Diff gatekeeper, pre-merge review, unicode safety, SMT prover, dependency advisor.
Google Ads MCP with 20,000+ account peer context and staged approve-then-execute writes.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceContent-addressed code graph that produces ranked context for AI agents in one call. 22 MCP tools across indexing, blast radius, test scope, semantic diff, runtime traffic, and feedback-aware context packing. Incremental updates via Merkle DAG (no re-indexing). GCF wire format saves 84% tokens vs JSON24Apache 2.0- AlicenseNot gradedqualityCmaintenanceMCP server that helps software teams track and understand technical debt, recurring issues, project dependencies, and real-time agent handoffs through a causal knowledge graph.8 npm1Apache 2.0
- FlicenseAqualityDmaintenanceNeo4j-backed MCP server managing code architecture dependency graphs, enabling AI agents to query impact, submit change intents, and coordinate reactive multi-agent workflows.7-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to compute deterministic incident blast radius scores from pull request diffs, traverse Teamwork Graph dependencies to identify direct and transitive downstream services, and surface Confluence recovery runbooks.MIT