Follow connected incident evidence and inspect the exact graph paths behind every admitted claim.
Incident reviews span services, dependency chains, deployments, changes and conflicting observations. TraceWeaver brings that context into a read-only investigation workspace with inspectable citations. It helps identify what to investigate next while keeping uncertainty visible.
Launch TraceWeaver — no account or installation required.
- INC-001: explore the verified path, compare DEP-001 / DEP-002, then inspect a claim's citations. Under investigation steps, rehearse four real tools / 23 native queries without a model.
- CASE-INC → Observations: inspect one structured conflict and two UNDETERMINED comparisons.
The hosted app queries the actual embedded Relate graph. All data is synthetic and read-only; causation remains NOT_ESTABLISHED. Local Ollama and AI controls are disabled in the hosted view. Render Free sleeps after 15 idle minutes; the first request can take about a minute to wake it. See public deployment and security limits.
Mode: Single file (persistent .rl store).
Why this mode: We chose single-file persistence because it makes the complete investigation graph portable, reproducible, and easy to inspect. Unlike in-memory storage, the graph survives application restarts. Unlike directory-based storage, the dataset can be shared as one versioned file with a verifiable manifest. Judges can clone the repository and immediately query the same graph without deploying a separate database server.
What the graph models: Incidents, services, dependencies, deployments, configuration changes, evidence, and alerts connected through six node labels and seven directed relationship types.
Where the data lives: examples/judge-demo/traceweaver-demo.rl
Embedded Relate 1.0.0 is the actual data engine. Parameterized Cypher traverses a persistent,
single-file .rl graph at request time. Six node labels and seven directed relationship types
connect incidents, services, deployments, changes, evidence and alerts.
A stored path in the included judge graph is:
INC-001 → SVC-PAYMENT → SVC-AUTH ← DEP-001 → CHG-001
AFFECTS / DEPENDS_ON / TARGETS / INCLUDES_CHANGE
The deployment-to-service TARGETS arrow is preserved even when traversed backwards. Claims cite those exact stored relationships, event times and incident-scoped evidence. A text match alone does not supply that joined proof. Returned context is bounded and partial; connection is not cause.
Architecture · Graph schema · Relate integration
| Capability | What you can inspect |
|---|---|
| Incident explorer | Affected services, dependency paths and competing deployment/target pairs |
| Evidence ledger | Incident-scoped evidence, provenance metadata and missing information |
| Temporal review | UTC event windows; unknown or invalid timestamps remain unknown |
| Structured comparisons | Same-context conflicts, with UNDETERMINED comparisons kept separate |
| Citation inspector | Server-validated claims, stored edge directions, timestamps and support |
| Offline tool rehearsal | Actual read-only Relate queries and step-by-step proof, without a model |
| Experimental local AI | Optional Ollama tool selection and opaque claim-ID selection, behind the citation firewall |
The five research tools are get_incident_scope, trace_deployment, inspect_evidence,
compare_observations and inspect_gaps. Each performs bounded native graph reads.
The model cannot submit Cypher, write the graph or author factual statements. See the
agent tool contract and citation safety policy.
The screenshot shows the deterministic, read-only console. More genuine captures.
Prerequisites: Python 3.11+, Node 24+, Git and internet access for the initial package install. No account, API key, Docker, graph server or model is required.
git clone https://github.com/HIZMALI/TraceWeaver.git
cd TraceWeaver
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements-dev.lock -e ".[dev]"
.\scripts\start-judge-demo.ps1 -BuildOpen http://127.0.0.1:8000/?incident=INC-001 for the local console.
Stop with Ctrl+C. Subsequent launches use .\scripts\start-judge-demo.ps1; choose another free
port with -Port 8001. The launcher verifies the existing synthetic bundle and never seeds it.
git clone https://github.com/HIZMALI/TraceWeaver.git
cd TraceWeaver
python3.11 -m venv .venv
.venv/bin/python -m pip install -r requirements-dev.lock -e ".[dev]"
npm --prefix web ci
npm --prefix web run build
.venv/bin/python -m traceweaver.judge --bundle examples/judge-demo --port 8000Windows and Ubuntu Python 3.11 native tests, plus the Ubuntu packaged browser flow, have run in GitHub Actions. The PowerShell launcher was also tested locally on Windows/Python 3.14. A built wheel contains console assets and needs no Node at runtime; see packaging.
| Artifact | Purpose |
|---|---|
| traceweaver-demo.rl | Real Relate store: 51 nodes / 67 directed relationships |
| MANIFEST.json | Exact byte digest, logical graph digest, fixture sources and demo markers |
| Bundle guide | Read-only inspection and reconstruction in a new directory |
All included records are synthetic demo data, not production incidents. The judge store is inspected read-only. Do not seed, migrate or repair it. Verify after building:
.\scripts\check-judge-demo.ps1Linux equivalent: .venv/bin/python -m traceweaver.judge --bundle examples/judge-demo --check.
A matching digest establishes byte equality, not source authenticity.
After installation, open INC-001:
- Click Explore the verified path: Payment → Auth ← DEP-001 → CHG-001. Inspect stored direction separately from reverse traversal.
- Compare the direct Payment candidate DEP-002. Neither candidate is a proven cause.
- Select an admitted claim and inspect its GRAPH_PATH and TEMPORAL citations.
- Open CASE-INC → Observations: one structured conflict and two UNDETERMINED comparisons. Missing or naive event times stay unknown.
- Return to INC-001 → Explore investigation steps → Rehearse graph investigation. The offline run executes four real tools / 23 native queries, admitting eight claims / eleven citations. It is deterministic and not a live model run.
The gaps view exposes incomplete evidence and bounded context. For troubleshooting and an exact parameterized Cypher example, see Judge quick start.
The public-demo release has 665 Python, 96 frontend, 54 local-console Chromium and 11 public-demo Chromium tests. The original 574 / 88 / 54 cases remain intact. Python runs on Windows/Ubuntu 3.11; frontend, native browser and independently installed wheel checks run on Ubuntu. Each push triggers a new run; check its SHA in Actions.
From the installed source checkout on Windows:
.\.venv\Scripts\python.exe -m ruff check .
.\.venv\Scripts\python.exe -m pip check
.\.venv\Scripts\python.exe -m pytest -q
npm --prefix web run typecheck
npm --prefix web run lint
npm --prefix web test
npm --prefix web run build
$env:PLAYWRIGHT_BROWSERS_PATH = Join-Path (Get-Location) '.verification/overnight/browsers'
node web/node_modules/@playwright/test/cli.js install chromium
npm --prefix web run test:e2e
npm --prefix web run build:public
npm --prefix web run test:publicTests use isolated real Relate stores; browser captures are written into owned verification directories. Frozen evaluations contain 35 agent / 20 graph / 19 explanation cases. Evaluation commands and methods explain the synthetic scopes, controlled provider cases, negative controls and honest denominators. The illustrative graph-versus-flat study retains its original results and erratum; it establishes no universal retrieval advantage.
- Synthetic examples do not establish production accuracy or reliability.
- Causal conclusion remains NOT_ESTABLISHED; external source verification is NOT_PERFORMED. TRACEABLE describes metadata quality, not independently verified truth.
- Source/display caps and representative paths omit context. Row limits do not bound native RAM or total graph-query cost.
- Optional Ollama is experimental, explicit and fixed to local loopback. No model is downloaded. Historical qwen3:8b source-service tool use succeeded; reliable live-browser agent completion remains unverified. Availability and latency can fail; offline results remain usable.
- A first-load graph initialization flake was observed once during overlapping browser checks. Subsequent complete local and hosted runs passed; the timing cause was not established.
- The local HTTP console is a single-user tool. Bind it only to numeric loopback. Hosting uses a separate public application with an explicit read-only route allowlist, immutable synthetic data, bounded reads and no local model endpoints.
Technical references:
| Area | Documentation |
|---|---|
| Investigation and ingestion | Investigation, ingestion |
| Explanation and browser | Explanation, dashboard |
| Evidence policy | Source integrity, signals |
| Evaluation | Method, gold review |
Eligible original project material is licensed under Apache-2.0. See NOTICE, dependency licenses and the full frontend notices. Third-party code, trademarks and separately provisioned models/media retain their own terms.
