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:mcpexposing 4 tools + reusableSKILL.md) - Best Apps with Teamwork Graph Integration (
requestTeamworkGraphGraphQL/Cypher traversal)
- Best Agents (
- 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:
- 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. - Teamwork Graph & Dependency Cascade Analyzer: Traverses
requestTeamworkGraphownership and service edges (depends_on,calls,consumes_event,exposes_contract) using Tarjan cycle detection and attenuated max-product Dijkstra propagation. - 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). - 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. - 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 HTTPSwebtriggerand@forge/kvspersistence. - 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.0numerical delta). - Interactive Web Simulator (
docs/index.html): Allows judges to test all 4 PR scenarios, edit raw git diffs live, toggle Jiramigration-approvedRFC labels, inspect SVG propagation paths, and invoke simulatedrovo:mcptool JSON payloads immediately in the browser.
Challenges We Ran Into
- Cross-Product Scope Isolation: Atlassian Forge rejects manifests mixing
:bitbucketworkspace scopes withread:jira-work/read:confluence-content.allsite 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 overwebtrigger. - 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.0delta) 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_centsand 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-014violation and how adding Jira labelmigration-approved+ nullableDEFAULT 0+ tests (PR #855) drops score to 25/100 (PASS). - 1:45–2:45: Rovo Agent & Atlassian MCP (
rovo:mcp) — Executeanalyze-pr-blast-radius,query-adr-constraints,trace-teamwork-blast, andgenerate-migration-gate-plan. - 2:45–3:30: Dual-App Forge Architecture (
manifest.yml+bitbucket-app/manifest.yml), live test suite (7/7 PASS), andlambai_overlord.pyparity verification.
Live Interactive Simulator & Repository
- Interactive Web Simulator: https://daohuutrong2404.github.io/contextgraph-guard/
- GitHub Monorepo: https://github.com/DaoHuuTrong2404/contextgraph-guard
- 1080p Demo Video: https://github.com/DaoHuuTrong2404/contextgraph-guard/releases/download/v1.0.0/contextgraph_guard_demo.mp4
Built With
- atlassian-forge
- graphql
- node.js
- rovo
- typescript