cavdax
v1.3.3CAVDAX MCP Server backed by FalkorDB GraphBLAS for causal invalidation gating and ADR provenance.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
apply_code_change
Applies a verified code modification to a target file. Enclosed within the CAVDAX Causal Graph Gate. If the decision_id depends on a superseded or stale architecture decision, the write is hard-rejected and nothing is written to disk.
| Parameter | Type | Description |
|---|---|---|
code_payload * | string | Full code content to write to the target file. |
decision_id * | string | The ID of the Architecture Decision (e.g., DEC-102 or DEC-103) justifying this change. |
file_path * | string | Target file path (relative to the repo root) to modify or create. |
agent_id | string | Optional. If you hold a lock from acquire_decision_lock, pass the same agent_id here so your own lock does not block you. |
reasoning | string | Technical rationale for this code modification. |
revalidate_decision
Act IV Revalidation: ground a new Decision in a fresh superseding Source/ADR, archiving the invalidated decision.
| Parameter | Type | Description |
|---|---|---|
new_decision_id * | string | New decision ID (e.g., DEC-103) |
new_fact_id * | string | Active fact ID extracted from the new source (e.g., F-OAuth2) |
new_source_id * | string | Fresh superseding source ID (e.g., ADR-002) |
old_decision_id * | string | Invalidated decision ID being superseded (e.g., DEC-102) |
title * | string | Directive title for new decision |
check_intent_clearance
Pre-flight architectural clearance. Call BEFORE generating or applying code to verify if your proposed decision is grounded in active architecture records without wasting tokens.
| Parameter | Type | Description |
|---|---|---|
decision_id * | string | The ID of the Architecture Decision (e.g. DEC-102 or DEC-103) you intend to implement. |
agent_id | string | Optional. If you hold a lock from acquire_decision_lock, pass the same agent_id here so your own lock does not block you. |
proposed_action | string | Optional summary of the intended code change. |
target_file | string | Optional target file path you intend to touch. |
acquire_decision_lock
Multi-Agent Concurrency Control: Leases an exclusive lock on an Architecture Decision branch.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the requesting AI agent. |
decision_id * | string | The ID of the decision to lock. |
reason | string | Operational rationale for the exclusive lease. |
ttl_ms | number | Lock duration lease in milliseconds (default: 60000ms). |
release_decision_lock
Multi-Agent Concurrency Control: Releases a held decision lock for other autonomous agents.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | Unique identifier of the agent releasing the lock. |
decision_id * | string | The ID of the decision to release. |
query_causal_graph
Inspect the causal dependency graph to verify node statuses and dependency paths before proposing code changes.
| Parameter | Type | Description |
|---|---|---|
node_id | string | Optional node ID (e.g. ADR-001, DEC-102). When set, only that node and its direct edges are returned. |
export_graph_image
Generates a standalone SVG/visual image of the CAVDAX causal architecture graph for PR descriptions, documentation, or visual inspection.
| Parameter | Type | Description |
|---|---|---|
format | string | Output format (default: "svg"). |
highlight_blast_radius | boolean | When true and node_id is provided, highlights downstream invalidated dependencies in pulsing warning colors. |
node_id | string | Optional target node ID (e.g. DEC-102 or ADR-001) to center or inspect. |
list_active_decisions
Returns a lightweight manifest of all architectural decisions governing this repository, their approval status, grounded facts, and target files.
| Parameter | Type | Description |
|---|---|---|
status_filter | string | Filter decisions by status (default: "ALL"). |
explain_blast_radius
Computes downstream architectural blast radius and invalidated dependencies before modifying an ADR, Decision, or Fact.
| Parameter | Type | Description |
|---|---|---|
node_id * | string | Target node ID (e.g. DEC-101 or ADR-001) to trace downstream impact for. |
explain_architectural_impact
Analyzes downstream architectural impact, invalidated decisions, and affected source files before modifying an ADR, Decision, or Fact. (Alias for explain_blast_radius).
| Parameter | Type | Description |
|---|---|---|
node_id * | string | Target node ID (e.g. DEC-101 or ADR-001) to trace downstream impact for. |