⚡

Running Live Locally on Port 8766

If you already have the server running, jump directly to the flagship demo:

Cinematic Technical Walkthrough (1:52)

BlastGate Demo Walkthrough Video Poster
Watch Full Walkthrough · 1:52 · 1080p
BlastGate: Complete Track 01 Rubric Demonstration

Screen recording of the live console demonstrating AST code graphs, 5 allowlisted MCP tools, deterministic BLOCK verdict, incident memory, and isolated counterfactual simulation.

Track 01 Gristle AST FalkorDB Cypher Deterministic Verdict

📋 What Judges Will See

00:32

Gristle AST Code Graph

Extracts PriceQuote.discount_tier: str → dict and maps routes.

00:42

Deterministic BLOCK Policy

Guaranteed decision logic without LLM hallucination.

00:52

FalkorDB Multi-Hop Graph

Discovers unprotected consumer checkout-api and critical cascade.

01:14

5 Allowlisted MCP Tools

Deterministic offline planner following tool next_actions.

01:28

Counterfactual Simulation

Isolated graph copy clears risk (unverified until tests pass).

Local Backend Requirement The hosted Vercel site is an interactive presentation of the console and reports. Executing live FalkorDB queries requires the local Docker instance and backend service (see setup below).

The 3-Minute Judge Evaluation Track

Step 1

Start with PR-900: Real Code Change

Open /console#PR-900. Observe the top banner showing the real Git diff in contracts/pricing.py: PriceQuote.discount_tier: str → dict.

Click "Derived from a git diff by the code graph" to expand the exact diff lines and 6 connected code entities discovered by Gristle.

✓ Demonstrates: Real code change integration with Gristle AST code graphs.
Step 2

Run the Agent Investigation

Click the "Investigate with agent" button. The 8-stage progress pipeline transitions into action.

Scroll down to the Agent investigation section. Inspect the 5-step MCP tool timeline:

  • inspect_change: Discovers producer pricing-engine.
  • inspect_contract_coverage: Identifies checkout-api has no fallback.
  • trace_blast_radius: Discovers downstream cascade to order-orchestrator.
  • analyze_network_criticality: Identifies betweenness centrality of 4.0 (highest) on order-orchestrator.
  • retrieve_incidents_and_reviewers: Connects past outage INC-2041 and assigns reviewers eng-alpha and eng-bravo.
✓ Demonstrates: Multi-hop reasoning, MCP tool selection, and graph algorithms as tools.
Step 3

Inspect the Deterministic BLOCK Verdict & Evidence

Observe the massive high-signal BLOCK stamp. Notice the two explicit graph reasons:

  1. A breaking change reaches a consumer without fallback (checkout-api).
  2. Impacts critical services with $43,000 assumed SLA risk across SLA-CHECKOUT-99.95 and SLA-ORDERS-99.9.

Click nodes and edges in the interactive Impact map & graph evidence explorer. Selecting checkout-api updates the Evidence Inspector with exact FalkorDB node attributes and Cypher paths.

✓ Demonstrates: Actions based on graph evidence & fully explainable results.
Step 4

Simulate a Counterfactual Mitigation

Scroll down to the Counterfactual simulation panel. Select consumer checkout-api, keep the assumption "checkout-api adds a backward-compatible fallback for discount_tier", and click "Run simulation".

Observe the side-by-side comparison:

  • Active graph: Verdict remains strictly BLOCK (production untouched).
  • Simulated graph: Cloned onto GRAPH.COPY in FalkorDB; verdict shifts to CLEAR.
  • Topology Diff: Shows 1 edge safely mitigated and risk dropped to $0. Explicitly marked UNVERIFIED.
✓ Demonstrates: Safe isolated counterfactual reasoning without mutating production state.

Local Setup & Reproduction Commands

Everything needed to run the complete stack from source.

1. Start FalkorDB in Docker

docker run -p 6379:6379 -d --name blastgate-falkordb falkordb/falkordb:latest

2. Create Virtual Environments & Seed Service Graph

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python blastgate_milestone1.py

3. Generate Code-Graph Review with Gristle

./scripts/setup_gristle.sh
BLASTGATE_GRISTLE_BIN=.gristle-venv/bin/gristle BLASTGATE_MEMORY_GRAPH=blastgate_memory .venv/bin/python scripts/codegraph_demo.py

4. Launch Demo Server

PORT=8766 ./scripts/start_demo.sh

The application and console are served on: http://127.0.0.1:8766/

5. Run Verification Regression Suites

# Run full pytest suite (217 passed, 11 skipped)
.venv/bin/pytest

# Run frontend Node view test suite (25/25 passed)
node --test web/tests/view.test.mjs

# Run live Gristle integration tests
BLASTGATE_GRISTLE_BIN="$(pwd)/.gristle-venv/bin/gristle" .venv/bin/pytest tests/integration/test_codegraph_live.py

Self-Diagnostics & Troubleshooting

Port 8766 in use

Another BlastGate instance or process is using port 8766. Run with an alternate port:

PORT=8770 ./scripts/start_demo.sh

FalkorDB unreachable

Ensure the Docker container is active: docker ps. Restart if stopped:

docker start blastgate-falkordb

Missing codegraph_demo_out/report.json

Generate the AST review report before starting the server:

.venv/bin/python scripts/codegraph_demo.py

Verify Server Readiness

Check the backend health and readiness endpoints directly:

curl -s http://127.0.0.1:8766/ready

Ready to Test the Agent?

Launch PR-900 in the console and test the full multi-hop investigation.

Open Live Console (PR-900) →