Devpost Submission Kit — Codegeist 2026

  • Competition: Codegeist 2026: Build with context. Ship with confidence. (https://codegeist2026.devpost.com)
  • Deadline: December 22, 2026 at 12:00 PM PST
  • Project Name: ContextGraph Guard
  • Tagline: Pre-merge PR Blast-Radius Analyzer, Confluence ADR Enforcer, Rovo Agent & Atlassian MCP Server powered by Teamwork Graph.
  • Primary Category: Apps for Software Teams
  • Bonus Prizes Selected:
    • Best Agents (rovo:agent, rovo:skill, action)
    • Best Apps with Atlassian MCP (rovo:mcp exposing 4 tools + reusable SKILL.md)
    • Best Apps with Teamwork Graph Integration (requestTeamworkGraph GraphQL/Cypher traversal)
  • Author / Maintainer: Dao Huu Trong (DaoHuuTrong2404 / [email protected])

Inspiration

Engineering teams rarely suffer outages from isolated syntax errors—they break production because a pull request drops a database column or mutates an SDK signature without seeing the 3 downstream teams, 2 blocked Jira deliverables, and an accepted Confluence ADR forbidding unversioned changes. That institutional context lives inside Atlassian Jira, Confluence, Teamwork Graph, and Bitbucket—but stays invisible during code review.

What It Does

ContextGraph Guard bridges code diffs directly to organizational context before merge:

  1. Bitbucket Merge Check (bitbucket:mergeCheck) & PR Overview Panel: Inspects live PR diffs, runs a deterministic breaking-change AST/SQL DDL parser, and returns { success, message } to block or warn unsafe merges.
  2. Teamwork Graph & Dependency Cascade Analyzer: Traverses requestTeamworkGraph ownership and service edges (depends_on, calls, consumes_event, exposes_contract) using Tarjan cycle detection and attenuated max-product Dijkstra propagation.
  3. 5-Axis Transparent Risk Score (0–100): Scores Structural Reach (0–30), API & Schema Breaking (0–25), Confluence ADR Drift (0–20), Cross-Team Blast (0–15), and Test/Acceptance Criteria Gap (0–10).
  4. Rovo Agent & Atlassian MCP Server (rovo:agent, rovo:skill, rovo:mcp): Lets engineers in Jira/Confluence or external IDEs (Claude/Cursor) query blast radius, inspect ADR constraints, trace external teams to notify, and generate a 3-phase expand-contract migration checklist.
  5. Jira Issue Panel & Confluence ADR Byline (jira:issuePanel, confluence:contentBylineItem): Surfaces cached PR risk scores inside Jira issues and warns authors on Confluence ADR pages when open PRs drift from accepted invariants.

How We Built It

  • Dual-App Atlassian Forge Monorepo (nodejs22.x): Respects Forge's strict separation between Bitbucket workspace scopes and Jira/Confluence site scopes (manifest.yml + bitbucket-app/manifest.yml), connected via a static-response HTTPS webtrigger and @forge/kvs persistence.
  • Native UI Kit 2 (@forge/react): Lightweight, responsive native components for Jira, Confluence, and Bitbucket without external iframe overhead.
  • Zero-Stub Verification & Dual-Oracle Parity: Verified with tests/verify-manifest.ts, 7/7 passing Node 24 end-to-end handler tests (tests/contextGraph.test.ts), and a 50-graph Python/TypeScript dual-oracle parity check (0.0 numerical delta).
  • Interactive Web Simulator (docs/index.html): Allows judges to test all 4 PR scenarios, edit raw git diffs live, toggle Jira migration-approved RFC labels, inspect SVG propagation paths, and invoke simulated rovo:mcp tool JSON payloads immediately in the browser.

Challenges We Ran Into

  • Cross-Product Scope Isolation: Atlassian Forge rejects manifests mixing :bitbucket workspace scopes with read:jira-work / read:confluence-content.all site scopes. We solved this cleanly by splitting the Bitbucket Cloud merge check into a dedicated companion Forge app communicating with the Runs on Atlassian Jira/Confluence/Rovo/MCP site app over webtrigger.
  • Cyclic Dependency Cascades: Real microservice graphs contain feedback loops (e.g., billing-core ⇄ subscription-worker). Naive BFS loops infinitely or double-counts cycles. Bounding per-hop attenuation strictly below 1.0 ($\le 0.95$) inside a priority-queue max-product relaxation plus Tarjan SCC cycle reporting guarantees deterministic $O((V + E)\log V)$ termination.

Accomplishments That We Are Proud Of

  • Zero numerical discrepancy (0.0 delta) between our independent Python mathematical oracle and TypeScript Forge engine across all scenarios and 50 randomized cyclic graphs.
  • First-class support for all three Codegeist 2026 AI & Context pillars (Rovo Agent/Skill, Atlassian MCP, and Teamwork Graph) inside one cohesive developer workflow.

4-Minute Demo Video Storyboard (For Final Devpost Recording)

  • 0:00–0:45: The Problem — PR #842 drops currency_cents and removes a frozen SDK export (PAY-412). Show interactive simulator (docs/index.html) scoring 98/100 (BLOCK) across 10 nodes and 3 external teams.
  • 0:45–1:45: Jira Issue Panel & Confluence ADR Byline — Show ADR-014 violation and how adding Jira label migration-approved + nullable DEFAULT 0 + tests (PR #855) drops score to 25/100 (PASS).
  • 1:45–2:45: Rovo Agent & Atlassian MCP (rovo:mcp) — Execute analyze-pr-blast-radius, query-adr-constraints, trace-teamwork-blast, and generate-migration-gate-plan.
  • 2:45–3:30: Dual-App Forge Architecture (manifest.yml + bitbucket-app/manifest.yml), live test suite (7/7 PASS), and lambai_overlord.py parity verification.

Live Interactive Simulator & Repository

Built With

Share this project:

Updates

Submission history