weavatrix 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +12 -12
  2. package/bin/native/darwin-arm64/weavatrix +0 -0
  3. package/bin/native/darwin-x64/weavatrix +0 -0
  4. package/bin/native/linux-arm64/weavatrix +0 -0
  5. package/bin/native/linux-x64/weavatrix +0 -0
  6. package/bin/native/win32-arm64/weavatrix.exe +0 -0
  7. package/bin/native/win32-x64/weavatrix.exe +0 -0
  8. package/package.json +5 -5
  9. package/server.json +4 -4
  10. package/skill/SKILL.md +37 -56
  11. package/skill/references/tool-routing.md +63 -52
  12. package/skill/references/tools/build_graph.md +26 -0
  13. package/skill/references/tools/change_impact.md +37 -0
  14. package/skill/references/tools/context_bundle.md +36 -0
  15. package/skill/references/tools/coverage_map.md +29 -0
  16. package/skill/references/tools/cross_repo_git.md +35 -0
  17. package/skill/references/tools/explain_architecture_violation.md +27 -0
  18. package/skill/references/tools/find_dead_code.md +33 -0
  19. package/skill/references/tools/find_duplicates.md +34 -0
  20. package/skill/references/tools/get_architecture_contract.md +29 -0
  21. package/skill/references/tools/get_community.md +29 -0
  22. package/skill/references/tools/get_dependents.md +33 -0
  23. package/skill/references/tools/get_neighbors.md +33 -0
  24. package/skill/references/tools/get_node.md +27 -0
  25. package/skill/references/tools/git_history.md +34 -0
  26. package/skill/references/tools/god_nodes.md +27 -0
  27. package/skill/references/tools/graph_diff.md +32 -0
  28. package/skill/references/tools/graph_stats.md +26 -0
  29. package/skill/references/tools/hot_path_review.md +34 -0
  30. package/skill/references/tools/inspect_symbol.md +32 -0
  31. package/skill/references/tools/list_communities.md +27 -0
  32. package/skill/references/tools/list_endpoints.md +29 -0
  33. package/skill/references/tools/list_known_repos.md +25 -0
  34. package/skill/references/tools/map_stacktrace.md +28 -0
  35. package/skill/references/tools/memory_context.md +29 -0
  36. package/skill/references/tools/module_map.md +27 -0
  37. package/skill/references/tools/open_repo.md +30 -0
  38. package/skill/references/tools/prepare_change.md +28 -0
  39. package/skill/references/tools/propose_architecture_exception.md +30 -0
  40. package/skill/references/tools/query_graph.md +40 -0
  41. package/skill/references/tools/read_source.md +31 -0
  42. package/skill/references/tools/rebuild_graph.md +30 -0
  43. package/skill/references/tools/run_audit.md +33 -0
  44. package/skill/references/tools/search_code.md +33 -0
  45. package/skill/references/tools/select_tests.md +34 -0
  46. package/skill/references/tools/semantic_link.md +31 -0
  47. package/skill/references/tools/seo_link_suggestions.md +34 -0
  48. package/skill/references/tools/shortest_path.md +30 -0
  49. package/skill/references/tools/trace_api_contract.md +54 -0
  50. package/skill/references/tools/trace_endpoint.md +34 -0
  51. package/skill/references/tools/vector_search.md +31 -0
  52. package/skill/references/tools/verified_change.md +45 -0
  53. package/skill/references/tools/verify_architecture.md +25 -0
  54. package/skill/references/tools/verify_capabilities.md +28 -0
@@ -0,0 +1,29 @@
1
+ # `get_architecture_contract`
2
+
3
+ Read or preview the local target-architecture contract.
4
+
5
+ ## When to use
6
+
7
+ Read or preview the local target-architecture contract.
8
+
9
+ ## Inputs
10
+
11
+ - `action` ("preview").
12
+ - `baseline_mode` (string).
13
+ - `candidate_contract` (object).
14
+ - `confirm_token` (string).
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "get_architecture_contract",
22
+ "arguments": {
23
+ "output_format": "text"
24
+ }
25
+ }
26
+ ```
27
+
28
+ Use `output_format:"text"` for compact agent interaction. The live MCP
29
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,29 @@
1
+ # `get_community`
2
+
3
+ Return one weak graph component.
4
+
5
+ ## When to use
6
+
7
+ Inspect one deterministic weak graph component by its id.
8
+
9
+ ## Inputs
10
+
11
+ - `community_id` (integer, required, min 0).
12
+ - `cursor` (string).
13
+ - `max_nodes` (integer, min 0).
14
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
15
+
16
+ ## Minimal call
17
+
18
+ ```json
19
+ {
20
+ "name": "get_community",
21
+ "arguments": {
22
+ "community_id": 1,
23
+ "output_format": "text"
24
+ }
25
+ }
26
+ ```
27
+
28
+ Use `output_format:"text"` for compact agent interaction. The live MCP
29
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,33 @@
1
+ # `get_dependents`
2
+
3
+ Bounded transitive reverse blast radius.
4
+
5
+ ## When to use
6
+
7
+ Measure a bounded transitive reverse blast radius from one exact node.
8
+
9
+ ## Inputs
10
+
11
+ - `label` (string, required).
12
+ - `depth` (integer, min 0).
13
+ - `include_container_importers` (boolean).
14
+ - `max_nodes` (integer, min 0).
15
+ - `max_references` (integer, min 0).
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
17
+ - `precision` ("graph").
18
+ - `timeout_ms` (integer, min 0).
19
+
20
+ ## Minimal call
21
+
22
+ ```json
23
+ {
24
+ "name": "get_dependents",
25
+ "arguments": {
26
+ "label": "<exact node label>",
27
+ "output_format": "text"
28
+ }
29
+ }
30
+ ```
31
+
32
+ Use `output_format:"text"` for compact agent interaction. The live MCP
33
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,33 @@
1
+ # `get_neighbors`
2
+
3
+ Direct typed incoming and outgoing relationships.
4
+
5
+ ## When to use
6
+
7
+ Inspect only the direct typed incoming and outgoing relationships of one exact node.
8
+
9
+ For transitive reverse impact use `get_dependents`; for bounded multi-hop exploration use `query_graph`.
10
+
11
+ ## Inputs
12
+
13
+ - `label` (string, required).
14
+ - `cursor` (string).
15
+ - `max_results` (integer, min 0).
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
17
+ - `relation_filter` (string | array<string>).
18
+ - `response_detail` ("compact" | "full").
19
+
20
+ ## Minimal call
21
+
22
+ ```json
23
+ {
24
+ "name": "get_neighbors",
25
+ "arguments": {
26
+ "label": "<exact node label>",
27
+ "output_format": "text"
28
+ }
29
+ }
30
+ ```
31
+
32
+ Use `output_format:"text"` for compact agent interaction. The live MCP
33
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,27 @@
1
+ # `get_node`
2
+
3
+ Resolve one exact graph node.
4
+
5
+ ## When to use
6
+
7
+ Resolve one exact graph label after another tool has supplied an unambiguous file, symbol, endpoint, or node id.
8
+
9
+ ## Inputs
10
+
11
+ - `label` (string, required).
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
13
+
14
+ ## Minimal call
15
+
16
+ ```json
17
+ {
18
+ "name": "get_node",
19
+ "arguments": {
20
+ "label": "<exact node label>",
21
+ "output_format": "text"
22
+ }
23
+ }
24
+ ```
25
+
26
+ Use `output_format:"text"` for compact agent interaction. The live MCP
27
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,34 @@
1
+ # `git_history`
2
+
3
+ Bounded direct Git history without launching git.
4
+
5
+ ## When to use
6
+
7
+ Inspect bounded commit history, churn, and co-change inside the active repository.
8
+
9
+ ## Inputs
10
+
11
+ - `first_parent` (boolean).
12
+ - `include_analytics` (boolean).
13
+ - `max_commits` (integer, min 0).
14
+ - `max_pairs` (integer, min 0).
15
+ - `min_pair_count` (integer, min 0).
16
+ - `months` (integer, min 0).
17
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
18
+ - `revision` (string).
19
+ - `token_budget` (integer, min 1) — Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped.
20
+ - `top_n` (integer, min 0).
21
+
22
+ ## Minimal call
23
+
24
+ ```json
25
+ {
26
+ "name": "git_history",
27
+ "arguments": {
28
+ "output_format": "text"
29
+ }
30
+ }
31
+ ```
32
+
33
+ Use `output_format:"text"` for compact agent interaction. The live MCP
34
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,27 @@
1
+ # `god_nodes`
2
+
3
+ Rank high-connectivity production nodes.
4
+
5
+ ## When to use
6
+
7
+ Find unusually connected production nodes for architecture or change-risk review.
8
+
9
+ ## Inputs
10
+
11
+ - `include_classified` (boolean).
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
13
+ - `top_n` (integer, min 0).
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "god_nodes",
20
+ "arguments": {
21
+ "output_format": "text"
22
+ }
23
+ }
24
+ ```
25
+
26
+ Use `output_format:"text"` for compact agent interaction. The live MCP
27
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,32 @@
1
+ # `graph_diff`
2
+
3
+ Compare the current snapshot with an immutable Git revision.
4
+
5
+ ## When to use
6
+
7
+ Compare the current graph snapshot with an immutable Git revision.
8
+
9
+ ## Inputs
10
+
11
+ - `base_ref` (string, required).
12
+ - `detail` ("file_pairs" | "edges", default "file_pairs") — Aggregate edge churn by source file, target file, and relation by default; request edges for individual edge provenance.
13
+ - `head_ref` (string).
14
+ - `max_results` (integer, min 0).
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
16
+ - `path` (string).
17
+ - `token_budget` (integer, min 1) — Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped.
18
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "graph_diff",
24
+ "arguments": {
25
+ "base_ref": "HEAD~1",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,26 @@
1
+ # `graph_stats`
2
+
3
+ Graph size, evidence and build freshness.
4
+
5
+ ## When to use
6
+
7
+ Confirm the active repository, graph revision, freshness, counts, and available capabilities before deeper graph work.
8
+
9
+ ## Inputs
10
+
11
+ - `include_capabilities` (boolean).
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
13
+
14
+ ## Minimal call
15
+
16
+ ```json
17
+ {
18
+ "name": "graph_stats",
19
+ "arguments": {
20
+ "output_format": "text"
21
+ }
22
+ }
23
+ ```
24
+
25
+ Use `output_format:"text"` for compact agent interaction. The live MCP
26
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,34 @@
1
+ # `hot_path_review`
2
+
3
+ Rank high-connectivity and large source symbols.
4
+
5
+ ## When to use
6
+
7
+ Rank static performance-review candidates using connectivity and change signals.
8
+
9
+ ## Inputs
10
+
11
+ - `call_threshold` (string).
12
+ - `cyclomatic_threshold` (string).
13
+ - `include_classified` (boolean).
14
+ - `include_tests` (boolean).
15
+ - `loop_depth_threshold` (integer, min 0).
16
+ - `min_score` (integer, min 0).
17
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
18
+ - `path` (string).
19
+ - `time_rank_threshold` (string).
20
+ - `top_n` (integer, min 0).
21
+
22
+ ## Minimal call
23
+
24
+ ```json
25
+ {
26
+ "name": "hot_path_review",
27
+ "arguments": {
28
+ "output_format": "text"
29
+ }
30
+ }
31
+ ```
32
+
33
+ Use `output_format:"text"` for compact agent interaction. The live MCP
34
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,32 @@
1
+ # `inspect_symbol`
2
+
3
+ Definition, direct relationships and source evidence.
4
+
5
+ ## When to use
6
+
7
+ Collect one symbol declaration, owner, callers, callees, and source evidence.
8
+
9
+ ## Inputs
10
+
11
+ - `label` (string, required).
12
+ - `context_lines` (integer, min 0).
13
+ - `max_containers` (integer, min 0).
14
+ - `max_references` (integer, min 0).
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
16
+ - `precision` (string).
17
+ - `timeout_ms` (integer, min 0).
18
+
19
+ ## Minimal call
20
+
21
+ ```json
22
+ {
23
+ "name": "inspect_symbol",
24
+ "arguments": {
25
+ "label": "<exact node label>",
26
+ "output_format": "text"
27
+ }
28
+ }
29
+ ```
30
+
31
+ Use `output_format:"text"` for compact agent interaction. The live MCP
32
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,27 @@
1
+ # `list_communities`
2
+
3
+ List deterministic weak graph components.
4
+
5
+ ## When to use
6
+
7
+ List the largest deterministic weak graph components before choosing one to inspect.
8
+
9
+ ## Inputs
10
+
11
+ - `include_non_product` (boolean).
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
13
+ - `top_n` (integer, min 0).
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "list_communities",
20
+ "arguments": {
21
+ "output_format": "text"
22
+ }
23
+ }
24
+ ```
25
+
26
+ Use `output_format:"text"` for compact agent interaction. The live MCP
27
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,29 @@
1
+ # `list_endpoints`
2
+
3
+ Inventory statically extracted HTTP endpoints.
4
+
5
+ ## When to use
6
+
7
+ Inventory statically extracted HTTP endpoints with optional method and path filters.
8
+
9
+ ## Inputs
10
+
11
+ - `include_classified` (boolean).
12
+ - `max_results` (integer, min 0).
13
+ - `method` (string).
14
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
15
+ - `path` (string).
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "list_endpoints",
22
+ "arguments": {
23
+ "output_format": "text"
24
+ }
25
+ }
26
+ ```
27
+
28
+ Use `output_format:"text"` for compact agent interaction. The live MCP
29
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,25 @@
1
+ # `list_known_repos`
2
+
3
+ List repositories opened by this server process.
4
+
5
+ ## When to use
6
+
7
+ List repositories previously opened by this server process.
8
+
9
+ ## Inputs
10
+
11
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
12
+
13
+ ## Minimal call
14
+
15
+ ```json
16
+ {
17
+ "name": "list_known_repos",
18
+ "arguments": {
19
+ "output_format": "text"
20
+ }
21
+ }
22
+ ```
23
+
24
+ Use `output_format:"text"` for compact agent interaction. The live MCP
25
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,28 @@
1
+ # `map_stacktrace`
2
+
3
+ Map stack-trace text onto repository files and symbols.
4
+
5
+ ## When to use
6
+
7
+ Map pasted Node, JVM, Python, or Rust stack frames to repository files and nearest symbols.
8
+
9
+ ## Inputs
10
+
11
+ - `text` (string, required).
12
+ - `max_frames` (integer, min 0).
13
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "map_stacktrace",
20
+ "arguments": {
21
+ "text": "<stack trace>",
22
+ "output_format": "text"
23
+ }
24
+ }
25
+ ```
26
+
27
+ Use `output_format:"text"` for compact agent interaction. The live MCP
28
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,29 @@
1
+ # `memory_context`
2
+
3
+ Compile bounded temporal memory context from supplied events.
4
+
5
+ ## When to use
6
+
7
+ Compile bounded temporal context from events and a request supplied by the caller.
8
+
9
+ ## Inputs
10
+
11
+ - `events` (array<object>, required).
12
+ - `request` (object, required).
13
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "memory_context",
20
+ "arguments": {
21
+ "events": [{}],
22
+ "request": {},
23
+ "output_format": "text"
24
+ }
25
+ }
26
+ ```
27
+
28
+ Use `output_format:"text"` for compact agent interaction. The live MCP
29
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,27 @@
1
+ # `module_map`
2
+
3
+ Production folder and dependency map.
4
+
5
+ ## When to use
6
+
7
+ Orient in an unfamiliar repository through production folders and their dependency relationships.
8
+
9
+ ## Inputs
10
+
11
+ - `include_non_product` (boolean).
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
13
+ - `top_n` (integer, min 0).
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "module_map",
20
+ "arguments": {
21
+ "output_format": "text"
22
+ }
23
+ }
24
+ ```
25
+
26
+ Use `output_format:"text"` for compact agent interaction. The live MCP
27
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,30 @@
1
+ # `open_repo`
2
+
3
+ Retarget to another local repository.
4
+
5
+ ## When to use
6
+
7
+ Retarget the process-local server to another local repository.
8
+
9
+ ## Inputs
10
+
11
+ - `path` (string, required).
12
+ - `build` (boolean).
13
+ - `mode` ("full" | "no-tests" | "tests-only").
14
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
15
+ - `precision` (string).
16
+
17
+ ## Minimal call
18
+
19
+ ```json
20
+ {
21
+ "name": "open_repo",
22
+ "arguments": {
23
+ "path": "<path>",
24
+ "output_format": "text"
25
+ }
26
+ }
27
+ ```
28
+
29
+ Use `output_format:"text"` for compact agent interaction. The live MCP
30
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,28 @@
1
+ # `prepare_change`
2
+
3
+ Select architecture rules for intended changed files.
4
+
5
+ ## When to use
6
+
7
+ Select the architecture rules relevant to intended changed files before editing.
8
+
9
+ ## Inputs
10
+
11
+ - `files` (array<string>, required).
12
+ - `intent` (string).
13
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
14
+
15
+ ## Minimal call
16
+
17
+ ```json
18
+ {
19
+ "name": "prepare_change",
20
+ "arguments": {
21
+ "files": ["<value>"],
22
+ "output_format": "text"
23
+ }
24
+ }
25
+ ```
26
+
27
+ Use `output_format:"text"` for compact agent interaction. The live MCP
28
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,30 @@
1
+ # `propose_architecture_exception`
2
+
3
+ Return a reviewable exception proposal without writing it.
4
+
5
+ ## When to use
6
+
7
+ Prepare a reviewable exception proposal without writing it to the repository.
8
+
9
+ ## Inputs
10
+
11
+ - `fingerprint` (string, required).
12
+ - `reason` (string, required).
13
+ - `expires` (string).
14
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
15
+
16
+ ## Minimal call
17
+
18
+ ```json
19
+ {
20
+ "name": "propose_architecture_exception",
21
+ "arguments": {
22
+ "fingerprint": "<violation fingerprint>",
23
+ "reason": "<reason>",
24
+ "output_format": "text"
25
+ }
26
+ }
27
+ ```
28
+
29
+ Use `output_format:"text"` for compact agent interaction. The live MCP
30
+ `tools/list` schema remains authoritative for this installed version.
@@ -0,0 +1,40 @@
1
+ # `query_graph`
2
+
3
+ Bounded BFS or DFS around exact or textual seeds.
4
+
5
+ ## When to use
6
+
7
+ Traverse a bounded BFS or DFS when a question needs several hops, direction controls, or multiple seeds.
8
+
9
+ Start with exact seeds and a small depth, node cap, and `token_budget`.
10
+
11
+ ## Inputs
12
+
13
+ - `augment_seeds` (boolean).
14
+ - `context_filter` (array<string>).
15
+ - `depth` (integer, min 0).
16
+ - `flow_direction` ("forward" | "backward" | "both").
17
+ - `include_classified` (boolean).
18
+ - `include_low_signal` (boolean).
19
+ - `max_nodes` (integer, min 0).
20
+ - `mode` ("bfs" | "dfs").
21
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns the concise text block only; json returns structured output and mirrors it into text for clients that read only content; structured drops that mirror, which is the larger copy, and is safe only where the client reads structuredContent.
22
+ - `question` (string).
23
+ - `relation_filter` (string | array<string>).
24
+ - `seed_files` (array<string>).
25
+ - `seed_symbols` (array<string>).
26
+ - `token_budget` (integer, min 1) — Approximate output ceiling in tokens (serialized bytes / 4); result arrays are trimmed from the tail to fit and the report states what was dropped.
27
+
28
+ ## Minimal call
29
+
30
+ ```json
31
+ {
32
+ "name": "query_graph",
33
+ "arguments": {
34
+ "output_format": "text"
35
+ }
36
+ }
37
+ ```
38
+
39
+ Use `output_format:"text"` for compact agent interaction. The live MCP
40
+ `tools/list` schema remains authoritative for this installed version.