weavatrix 1.17.5 → 1.17.7

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 (74) hide show
  1. package/README.md +21 -19
  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 +3 -3
  9. package/server.json +3 -3
  10. package/skill/SKILL.md +37 -5
  11. package/skill/references/tool-routing.md +3 -6
  12. package/skill/references/tools/agent_change_impact.md +2 -3
  13. package/skill/references/tools/agent_context.md +2 -3
  14. package/skill/references/tools/agent_inventory.md +2 -3
  15. package/skill/references/tools/agent_trace.md +2 -3
  16. package/skill/references/tools/build_graph.md +2 -3
  17. package/skill/references/tools/change_impact.md +4 -5
  18. package/skill/references/tools/context_bundle.md +2 -3
  19. package/skill/references/tools/cross_repo_git.md +2 -3
  20. package/skill/references/tools/diagram_context.md +2 -3
  21. package/skill/references/tools/diagram_inventory.md +2 -3
  22. package/skill/references/tools/diagram_trace.md +2 -3
  23. package/skill/references/tools/dify_context.md +2 -3
  24. package/skill/references/tools/dify_inventory.md +2 -3
  25. package/skill/references/tools/dify_trace.md +2 -3
  26. package/skill/references/tools/explain_architecture_violation.md +2 -3
  27. package/skill/references/tools/find_dead_code.md +3 -4
  28. package/skill/references/tools/find_duplicates.md +2 -3
  29. package/skill/references/tools/find_references.md +1 -1
  30. package/skill/references/tools/get_architecture_contract.md +2 -3
  31. package/skill/references/tools/get_community.md +2 -3
  32. package/skill/references/tools/get_dependents.md +2 -3
  33. package/skill/references/tools/get_neighbors.md +2 -3
  34. package/skill/references/tools/get_node.md +2 -3
  35. package/skill/references/tools/git_history.md +4 -4
  36. package/skill/references/tools/git_read_blob.md +1 -1
  37. package/skill/references/tools/go_to_definition.md +1 -1
  38. package/skill/references/tools/god_nodes.md +2 -3
  39. package/skill/references/tools/graph_diff.md +2 -3
  40. package/skill/references/tools/graph_stats.md +2 -3
  41. package/skill/references/tools/hot_path_review.md +2 -3
  42. package/skill/references/tools/inspect_symbol.md +2 -3
  43. package/skill/references/tools/list_communities.md +2 -3
  44. package/skill/references/tools/list_endpoints.md +2 -3
  45. package/skill/references/tools/list_known_repos.md +2 -3
  46. package/skill/references/tools/map_stacktrace.md +2 -3
  47. package/skill/references/tools/module_map.md +2 -3
  48. package/skill/references/tools/n8n_context.md +2 -3
  49. package/skill/references/tools/n8n_inventory.md +2 -3
  50. package/skill/references/tools/n8n_trace.md +2 -3
  51. package/skill/references/tools/open_repo.md +4 -5
  52. package/skill/references/tools/perf_attribution.md +1 -1
  53. package/skill/references/tools/prepare_change.md +2 -3
  54. package/skill/references/tools/propose_architecture_exception.md +2 -3
  55. package/skill/references/tools/query_graph.md +2 -3
  56. package/skill/references/tools/read_source.md +2 -3
  57. package/skill/references/tools/rebuild_graph.md +2 -3
  58. package/skill/references/tools/run_audit.md +2 -3
  59. package/skill/references/tools/search_code.md +3 -4
  60. package/skill/references/tools/select_tests.md +2 -3
  61. package/skill/references/tools/semantic_link.md +9 -7
  62. package/skill/references/tools/shortest_path.md +2 -3
  63. package/skill/references/tools/trace_api_contract.md +2 -3
  64. package/skill/references/tools/trace_endpoint.md +2 -3
  65. package/skill/references/tools/verified_change.md +2 -3
  66. package/skill/references/tools/verify_architecture.md +2 -3
  67. package/skill/references/tools/verify_capabilities.md +2 -3
  68. package/skill/references/tools/web3_context.md +2 -3
  69. package/skill/references/tools/web3_impact.md +2 -3
  70. package/skill/references/tools/web3_inventory.md +2 -3
  71. package/skill/references/tools/web3_trace.md +2 -3
  72. package/skill/references/tools/memory_context.md +0 -29
  73. package/skill/references/tools/seo_link_suggestions.md +0 -34
  74. package/skill/references/tools/vector_search.md +0 -31
package/README.md CHANGED
@@ -12,11 +12,11 @@
12
12
  Weavatrix answers the questions agents otherwise invent: what breaks if this
13
13
  file changes, who consumes this n8n field, whether an MCP schema still
14
14
  accepts yesterday’s request, which viem call sites follow an ABI layout
15
- change, and whether `.weavatrix/architecture.json` still holds. **67
15
+ change, and whether `.weavatrix/architecture.json` still holds. **64
16
16
  read-only operations**, one revision-bound graph, no LSP and no prompt pack.
17
17
 
18
18
  Codex, Claude Code, Cursor, and Grok get impact, architecture, APIs, Git
19
- history, duplicates, dead code, search, semantic links, temporal memory,
19
+ history, duplicates, dead code, search, semantic links,
20
20
  exported n8n workflows (`n8n_*`), Dify YAML apps (`dify_*`), Agent
21
21
  Plugins/Skills/MCP catalogs (`agent_*`), Mermaid flowcharts (`diagram_*`),
22
22
  and Web3 ABI/consumer impact (`web3_*`). Those parsers are domains on
@@ -26,7 +26,9 @@ Weavatrix Core, not new MCP products. See
26
26
 
27
27
  It does not answer from a larger grep or an invented confidence score. Every
28
28
  bounded result can carry the repository revision, file, line, extractor,
29
- evidence kind, and confidence that produced it.
29
+ evidence kind, and confidence that produced it. `search_code` keeps a
30
+ resident content index for the process: the first search builds it, and
31
+ later searches read it. A `glob` still walks files.
30
32
 
31
33
  This npm package is the convenient **prebuilt native tarball**. That is the
32
34
  only reason it exists on npm. It is not a TypeScript rewrite, not a Serena
@@ -58,7 +60,7 @@ weavatrix mcp .
58
60
  ```toml
59
61
  [mcp_servers.weavatrix]
60
62
  command = "npx"
61
- args = ["-y", "weavatrix@1.17.5", "mcp", "."]
63
+ args = ["-y", "weavatrix@1.17.7", "mcp", "."]
62
64
  ```
63
65
 
64
66
  Pass an absolute repository path when the Codex process cwd is not the project
@@ -67,7 +69,7 @@ you intend to analyze.
67
69
  ### Claude Code
68
70
 
69
71
  ```sh
70
- claude mcp add weavatrix -- npx -y weavatrix@1.17.5 mcp .
72
+ claude mcp add weavatrix -- npx -y weavatrix@1.17.7 mcp .
71
73
  ```
72
74
 
73
75
  ### Cursor
@@ -80,7 +82,7 @@ the plugin for the same server name:
80
82
  "mcpServers": {
81
83
  "weavatrix": {
82
84
  "command": "npx",
83
- "args": ["-y", "weavatrix@1.17.5", "mcp", "${workspaceFolder}"]
85
+ "args": ["-y", "weavatrix@1.17.7", "mcp", "${workspaceFolder}", "--output-format=structured"]
84
86
  }
85
87
  }
86
88
  }
@@ -89,14 +91,14 @@ the plugin for the same server name:
89
91
  Profiles expose bounded views of the same engine:
90
92
 
91
93
  ```sh
92
- npx -y weavatrix@1.17.5 mcp . --profile=all
93
- npx -y weavatrix@1.17.5 mcp . --profile=code
94
- npx -y weavatrix@1.17.5 mcp . --profile=seo
95
- npx -y weavatrix@1.17.5 mcp . --profile=n8n
96
- npx -y weavatrix@1.17.5 mcp . --profile=dify
97
- npx -y weavatrix@1.17.5 mcp . --profile=agent
98
- npx -y weavatrix@1.17.5 mcp . --profile=diagram
99
- npx -y weavatrix@1.17.5 mcp . --profile=web3
94
+ npx -y weavatrix@1.17.7 mcp . --profile=all
95
+ npx -y weavatrix@1.17.7 mcp . --profile=code
96
+ npx -y weavatrix@1.17.7 mcp . --profile=seo
97
+ npx -y weavatrix@1.17.7 mcp . --profile=n8n
98
+ npx -y weavatrix@1.17.7 mcp . --profile=dify
99
+ npx -y weavatrix@1.17.7 mcp . --profile=agent
100
+ npx -y weavatrix@1.17.7 mcp . --profile=diagram
101
+ npx -y weavatrix@1.17.7 mcp . --profile=web3
100
102
  ```
101
103
 
102
104
  The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
@@ -231,7 +233,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
231
233
  follow-up to a diff without touching the worktree. Binary blobs fail closed
232
234
  instead of being decoded into garbage.
233
235
 
234
- ## The 67 read-only operations
236
+ ## The 64 read-only operations
235
237
 
236
238
  | Workflow | Operations |
237
239
  | --- | --- |
@@ -243,7 +245,7 @@ instead of being decoded into garbage.
243
245
  | Architecture | `architecture_inventory`, `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
244
246
  | Local CI | `ci_restrictions`, `explain_restriction` |
245
247
  | Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
246
- | Native extensions | `vector_search`, `semantic_link`, `seo_link_suggestions`, `memory_context` |
248
+ | Native extensions | `semantic_link` |
247
249
  | n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
248
250
  | Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
249
251
  | Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` |
@@ -327,12 +329,12 @@ coding agent
327
329
  |
328
330
  | MCP over stdio
329
331
  v
330
- weavatrix 1.17.5
332
+ weavatrix 1.17.7
331
333
  profile catalog · refresh · watcher · MCP framing
332
334
  |
333
335
  v
334
- weavatrix-rust 2.17.4
335
- typed graph · analysis · 67 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
336
+ weavatrix-rust 2.17.7
337
+ typed graph · analysis · 64 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
336
338
  ```
337
339
 
338
340
  This npm product owns MCP transport and native distribution. The
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "weavatrix",
3
- "version": "1.17.5",
4
- "weavatrixEngineVersion": "2.17.4",
5
- "description": "Native repository intelligence for coding agents: 67 read-only MCP operations backed by typed evidence graphs, impact, architecture, local CI restrictions, APIs, Git, search, semantics, memory, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
3
+ "version": "1.17.7",
4
+ "weavatrixEngineVersion": "2.17.7",
5
+ "description": "Native repository intelligence for coding agents: 64 read-only MCP operations backed by typed evidence graphs, impact, architecture, local CI restrictions, APIs, Git, search, semantic links, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
6
6
  "author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
7
7
  "license": "MIT",
8
8
  "homepage": "https://weavatrix.com",
package/server.json CHANGED
@@ -2,19 +2,19 @@
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.Weavatrix/weavatrix",
4
4
  "title": "Weavatrix",
5
- "description": "Native Weavatrix MCP: 67 read-only tools for code, local CI, n8n, Dify, agents, Mermaid, Web3.",
5
+ "description": "Native Weavatrix MCP: 64 read-only tools for code, local CI, n8n, Dify, agents, Mermaid, Web3.",
6
6
  "repository": {
7
7
  "url": "https://github.com/Weavatrix/weavatrix",
8
8
  "source": "github"
9
9
  },
10
- "version": "1.17.5",
10
+ "version": "1.17.7",
11
11
  "websiteUrl": "https://weavatrix.com",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "weavatrix",
17
- "version": "1.17.5",
17
+ "version": "1.17.7",
18
18
  "runtimeHint": "npx",
19
19
  "transport": {
20
20
  "type": "stdio"
package/skill/SKILL.md CHANGED
@@ -68,11 +68,43 @@ roots in their arguments. Multi-root retarget requires launching with
68
68
  `--allow-retarget`.
69
69
 
70
70
  `output_format` controls the MCP envelope, not the amount of detail: `text`
71
- still contains JSON. Choose each tool's summary/detail or result limits for
72
- conversational work. Use `token_budget` only as an additional ceiling; it can
73
- drop evidence arrays. Call `rebuild_graph`
74
- only when the repository changed before automatic refresh completed or when
75
- deliberately changing graph mode.
71
+ is one JSON text block of the full payload, `json` mirrors that payload into
72
+ text (about twice the bytes), and `structured` drops the mirror. Choose each
73
+ tool's summary/detail or result limits for conversational work. Use
74
+ `token_budget` only as an additional ceiling; it can drop evidence arrays.
75
+ Call `rebuild_graph` only when the repository changed before automatic
76
+ refresh completed or when deliberately changing graph mode.
77
+
78
+ `search_code` reads a resident content index for this process. The first
79
+ search builds it (`backend` is `liveindex`); later searches reuse it. A
80
+ `glob` still walks the filesystem. It does not resolve symbols. Use
81
+ `find_references`, `go_to_definition`, or `inspect_symbol` for a name.
82
+ A column inside an identifier resolves; it does not have to be the first byte.
83
+
84
+ `semantic_link` with a text `query` ranks symbols by the local deterministic
85
+ token hash `weavatrix-token-hash-v1` (names, paths, and the declaration line).
86
+ That is not a neural embedding, and Weavatrix does not create one. Pass
87
+ `vectors` only when you already have embeddings. An empty `vectors` array
88
+ without `query` is an error.
89
+
90
+ `change_impact` with `files` or `target` reports the blast radius of those
91
+ files even when the worktree matches HEAD. Those seeds use
92
+ `change: "file_scope"` and `change_basis: "explicit_file"`. That is a
93
+ hypothetical scope, not a measured diff. `status` stays COMPLETE when the
94
+ tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means
95
+ the combined cap omitted nodes.
96
+
97
+ `git_history` without `path` is repository HEAD history. Pass `path` for the
98
+ commits that touch one file or directory.
99
+
100
+ `find_dead_code` treats every `main.go` and every Go `func main` as an entry.
101
+ Receiver names and function-literal parameters are not symbols.
102
+
103
+ `open_repo` is refused unless the process was started with `--allow-retarget`.
104
+ A mismatched `expected_repository` means relaunch on that repository.
105
+
106
+ `go.mod`, `Cargo.toml`, `package.json`, and `pyproject.toml` count as module
107
+ markers. One marker leaves `modular_source` at `CANDIDATE`.
76
108
 
77
109
  Read [references/tool-routing.md](references/tool-routing.md) only when choosing
78
110
  among similar tools, tracing cross-repository transports, or interpreting
@@ -20,7 +20,7 @@ cannot silently switch to another repository. Pass an explicit
20
20
  - [`list_communities`](tools/list_communities.md) — List deterministic coupling communities (containment and package edges excluded).
21
21
  - [`module_map`](tools/module_map.md) — Production folder map at a requested directory depth.
22
22
  - [`build_graph`](tools/build_graph.md) — Typed workspace, target, configuration, task, and runner topology from captured manifest evidence.
23
- - [`search_code`](tools/search_code.md) — Literal or Rust-regex repository search without ripgrep.
23
+ - [`search_code`](tools/search_code.md) — Literal or Rust-regex search on the resident content index. A glob still walks files.
24
24
  - [`read_source`](tools/read_source.md) — Bounded source context by node or repository path.
25
25
  - [`inspect_symbol`](tools/inspect_symbol.md) — Definition, direct relationships and source evidence.
26
26
  - [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name.
@@ -69,12 +69,9 @@ cannot silently switch to another repository. Pass an explicit
69
69
  - [`list_known_repos`](tools/list_known_repos.md) — List repositories with an in-process graph.
70
70
  - [`rebuild_graph`](tools/rebuild_graph.md) — Rebuild the derived in-memory graph without source writes.
71
71
 
72
- ## Optional supplied-data analysis
72
+ ## Semantic link
73
73
 
74
- - [`semantic_link`](tools/semantic_link.md) — Build inferred semantic graph evidence from supplied vectors.
75
- - [`vector_search`](tools/vector_search.md) — Exact or bounded approximate nearest-neighbor search.
76
- - [`seo_link_suggestions`](tools/seo_link_suggestions.md) — Directional SEO internal-link evidence from supplied page profiles.
77
- - [`memory_context`](tools/memory_context.md) — Compile bounded temporal memory context from supplied events.
74
+ - [`semantic_link`](tools/semantic_link.md) — Rank a text query with the local token hash `weavatrix-token-hash-v1`, or link a non-empty caller-supplied vectors array. Nearest-neighbor search, SEO page links, and the event journal are library crates, not MCP tools.
78
75
 
79
76
  ## n8n workflows
80
77
 
@@ -18,7 +18,7 @@ Skill hits are declared `allowed-tools`, not proven calls.
18
18
  - `before` (string, required) — repository-relative previous catalog snapshot.
19
19
  - `after` (string, required) — repository-relative current catalog snapshot.
20
20
  - `max_results` (number, optional) — change page size, 1–500, default 100.
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.
21
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
22
22
 
23
23
  ## Minimal call
24
24
 
@@ -33,5 +33,4 @@ Skill hits are declared `allowed-tools`, not proven calls.
33
33
  }
34
34
  ```
35
35
 
36
- Use `output_format:"text"` for compact agent interaction. The live MCP
37
- `tools/list` schema remains authoritative for this installed version.
36
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ Inspect one plugin, skill, or server after `agent_inventory` or `agent_trace`.
13
13
  - `label` (string, required) — exact node id or an unambiguous label.
14
14
  - `task` (string, optional) — what the caller intends to change or inspect.
15
15
  - `max_related` (number, optional) — relation page size, 1–200, default 24.
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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -28,5 +28,4 @@ Inspect one plugin, skill, or server after `agent_inventory` or `agent_trace`.
28
28
  }
29
29
  ```
30
30
 
31
- Use `output_format:"text"` for compact agent interaction. The live MCP
32
- `tools/list` schema remains authoritative for this installed version.
31
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ permissions.
13
13
 
14
14
  - `path` (string, optional) — repository-relative package file or path fragment.
15
15
  - `max_results` (number, optional) — inventory page size, 1–500, default 200.
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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -26,5 +26,4 @@ permissions.
26
26
  }
27
27
  ```
28
28
 
29
- Use `output_format:"text"` for compact agent interaction. The live MCP
30
- `tools/list` schema remains authoritative for this installed version.
29
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -12,7 +12,7 @@ label can belong to two packages. Use an exact id if the label is ambiguous.
12
12
 
13
13
  - `label` (string, required) — exact node id or an unambiguous label.
14
14
  - `max_related` (number, optional) — relation page size, 1–200, default 48.
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.
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
16
16
 
17
17
  ## Minimal call
18
18
 
@@ -26,5 +26,4 @@ label can belong to two packages. Use an exact id if the label is ambiguous.
26
26
  }
27
27
  ```
28
28
 
29
- Use `output_format:"text"` for compact agent interaction. The live MCP
30
- `tools/list` schema remains authoritative for this installed version.
29
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ with the analyzed snapshot rather than reread from a changing worktree.
13
13
  ## Inputs
14
14
 
15
15
  - `max_members` (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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -26,8 +26,7 @@ with the analyzed snapshot rather than reread from a changing worktree.
26
26
  }
27
27
  ```
28
28
 
29
- Use `output_format:"text"` for compact agent interaction. The live MCP
30
- `tools/list` schema remains authoritative for this installed version.
29
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
31
30
 
32
31
  `max_members` limits presentation only. Returned totals still describe the
33
32
  complete recovered model, and the result reports an incomplete page instead of
@@ -4,7 +4,7 @@ Read-only Git change impact with graph evidence.
4
4
 
5
5
  ## When to use
6
6
 
7
- Map a working-tree diff, explicit files, or Git revisions onto affected graph nodes.
7
+ Map a working-tree diff, explicit files, or Git revisions onto affected graph nodes. Naming `files` or `target` when that file matches HEAD still returns its symbols as `change: "file_scope"` and `change_basis: "explicit_file"`. That is a hypothetical blast radius, not a measured edit. A dirty file keeps the real symbol diff. `status` stays COMPLETE when the tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means the combined cap omitted nodes.
8
8
 
9
9
  Static impact is not proof that selected behavior executed.
10
10
 
@@ -16,9 +16,9 @@ Static impact is not proof that selected behavior executed.
16
16
  - `diff` (string).
17
17
  - `files` (array<string>).
18
18
  - `head_ref` (string).
19
- - `max_nodes` (integer, min 0).
19
+ - `max_nodes` (integer, min 0, default 40). Combined cap on impacted nodes across every seed. Production callers are kept ahead of tests. A trimmed answer reports `MAX_NODES`.
20
20
  - `max_references` (integer, min 0).
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.
21
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
22
22
  - `precision` ("graph").
23
23
  - `timeout_ms` (integer, min 0).
24
24
 
@@ -33,5 +33,4 @@ Static impact is not proof that selected behavior executed.
33
33
  }
34
34
  ```
35
35
 
36
- Use `output_format:"text"` for compact agent interaction. The live MCP
37
- `tools/list` schema remains authoritative for this installed version.
36
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -15,7 +15,7 @@ Assemble a ranked, token-bounded workset around one task or target.
15
15
  - `max_references` (integer, min 0).
16
16
  - `max_related` (integer, min 0).
17
17
  - `max_source_files` (integer, min 0).
18
- - `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
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
19
19
  - `precision` (string).
20
20
  - `timeout_ms` (integer, min 0).
21
21
  - `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.
@@ -32,5 +32,4 @@ Assemble a ranked, token-bounded workset around one task or target.
32
32
  }
33
33
  ```
34
34
 
35
- Use `output_format:"text"` for compact agent interaction. The live MCP
36
- `tools/list` schema remains authoritative for this installed version.
35
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -15,7 +15,7 @@ Compare histories, shared commits, or diffs across explicitly supplied local rep
15
15
  - `head_ref` (string).
16
16
  - `left` (string).
17
17
  - `max_commits` (integer, min 0).
18
- - `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
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
19
19
  - `revision` (string).
20
20
  - `right` (string).
21
21
 
@@ -31,5 +31,4 @@ Compare histories, shared commits, or diffs across explicitly supplied local rep
31
31
  }
32
32
  ```
33
33
 
34
- Use `output_format:"text"` for compact agent interaction. The live MCP
35
- `tools/list` schema remains authoritative for this installed version.
34
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ display name.
13
13
  - `label` (string, required) — graph id or unique native element label.
14
14
  - `task` (string, optional) — what the caller intends to change or inspect.
15
15
  - `max_related` (number, optional) — related row cap, 1–200, default 24.
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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -28,5 +28,4 @@ display name.
28
28
  }
29
29
  ```
30
30
 
31
- Use `output_format:"text"` for compact agent interaction. The live MCP
32
- `tools/list` schema remains authoritative for this installed version.
31
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -12,7 +12,7 @@ Drawn arrows are declared architecture, not production calls.
12
12
 
13
13
  - `path` (string, optional) — repository-relative diagram file or path fragment.
14
14
  - `max_results` (number, optional) — inventory page size, 1–500, default 200.
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.
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
16
16
 
17
17
  ## Minimal call
18
18
 
@@ -25,5 +25,4 @@ Drawn arrows are declared architecture, not production calls.
25
25
  }
26
26
  ```
27
27
 
28
- Use `output_format:"text"` for compact agent interaction. The live MCP
29
- `tools/list` schema remains authoritative for this installed version.
28
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ as a production `calls` edge.
13
13
  - `depth` (number, optional) — walk depth, 1–32, default 8.
14
14
  - `max_nodes` (number, optional) — page size, 1–500, default 100.
15
15
  - `cursor` (string, optional) — opaque page token from a previous page.
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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -27,5 +27,4 @@ as a production `calls` edge.
27
27
  }
28
28
  ```
29
29
 
30
- Use `output_format:"text"` for compact agent interaction. The live MCP
31
- `tools/list` schema remains authoritative for this installed version.
30
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -13,7 +13,7 @@ tasks. Secrets stay omitted.
13
13
  - `label` (string, required) — node, app, or variable id or graph label.
14
14
  - `task` (string, optional) — `explain` or `impact`. Impact adds consumer lists.
15
15
  - `max_related` (number, optional) — related-item page size.
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.
16
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
17
17
 
18
18
  ## Minimal call
19
19
 
@@ -28,5 +28,4 @@ tasks. Secrets stay omitted.
28
28
  }
29
29
  ```
30
30
 
31
- Use `output_format:"text"` for compact agent interaction. The live MCP
32
- `tools/list` schema remains authoritative for this installed version.
31
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -11,7 +11,7 @@ not call a live Dify console API.
11
11
 
12
12
  - `path` (string, optional) — repository-relative YAML file or path fragment.
13
13
  - `max_results` (number, optional) — inventory page size, 1–500, default 200.
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.
14
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
15
15
 
16
16
  ## Minimal call
17
17
 
@@ -24,5 +24,4 @@ not call a live Dify console API.
24
24
  }
25
25
  ```
26
26
 
27
- Use `output_format:"text"` for compact agent interaction. The live MCP
28
- `tools/list` schema remains authoritative for this installed version.
27
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -14,7 +14,7 @@ or app. A DAG merge is a merge, not a cycle. Missing consumers stay missing.
14
14
  - `max_nodes` (number, optional) — page size, 1–500, default 100.
15
15
  - `cursor` (string, optional) — `v1:<offset>` or `v1:<offset>:<revision>`.
16
16
  - `direction` ("outgoing" | "incoming", optional) — walk direction.
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.
17
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
18
18
 
19
19
  ## Minimal call
20
20
 
@@ -28,5 +28,4 @@ or app. A DAG merge is a merge, not a cycle. Missing consumers stay missing.
28
28
  }
29
29
  ```
30
30
 
31
- Use `output_format:"text"` for compact agent interaction. The live MCP
32
- `tools/list` schema remains authoritative for this installed version.
31
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -9,7 +9,7 @@ Retrieve bounded evidence for one active architecture-violation fingerprint.
9
9
  ## Inputs
10
10
 
11
11
  - `fingerprint` (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.
12
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
13
13
 
14
14
  ## Minimal call
15
15
 
@@ -23,5 +23,4 @@ Retrieve bounded evidence for one active architecture-violation fingerprint.
23
23
  }
24
24
  ```
25
25
 
26
- Use `output_format:"text"` for compact agent interaction. The live MCP
27
- `tools/list` schema remains authoritative for this installed version.
26
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -4,7 +4,7 @@ Conservative unreferenced-symbol review queue.
4
4
 
5
5
  ## When to use
6
6
 
7
- Build a conservative dead-code review queue with entry-point, test, config, dynamic, and external-use evidence.
7
+ Build a conservative dead-code review queue. Every `main.go` and every Go `func main` is an entry, so `main` itself is reachable. Receiver names and function-literal parameters are not symbols. Exported symbols with no callers stay at confidence 50; private ones at 85. `REVIEW_ONLY` means the queue is a review list.
8
8
 
9
9
  Never delete from this result alone; confirm source and framework registration points.
10
10
 
@@ -14,7 +14,7 @@ Never delete from this result alone; confirm source and framework registration p
14
14
  - `include_tests` (boolean).
15
15
  - `kinds` (array<string>).
16
16
  - `min_confidence` (integer, min 0, max 100).
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.
17
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
18
18
  - `path` (string).
19
19
  - `top_n` (integer, min 0).
20
20
 
@@ -29,5 +29,4 @@ Never delete from this result alone; confirm source and framework registration p
29
29
  }
30
30
  ```
31
31
 
32
- Use `output_format:"text"` for compact agent interaction. The live MCP
33
- `tools/list` schema remains authoritative for this installed version.
32
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -16,7 +16,7 @@ Review bounded Type-1, Type-2, or Type-3 clone families before confirming candid
16
16
  - `min_similarity` (number, min 0, max 100) — 0..1 is a fraction; values above 1 through 100 are percentages.
17
17
  - `min_tokens` (integer, min 0).
18
18
  - `mode` ("strict" | "exact" | "renamed" | "near_miss").
19
- - `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.
19
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
20
20
  - `top_n` (integer, min 0).
21
21
 
22
22
  ## Minimal call
@@ -30,5 +30,4 @@ Review bounded Type-1, Type-2, or Type-3 clone families before confirming candid
30
30
  }
31
31
  ```
32
32
 
33
- Use `output_format:"text"` for compact agent interaction. The live MCP
34
- `tools/list` schema remains authoritative for this installed version.
33
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.
@@ -16,7 +16,7 @@ List every recorded occurrence of one symbol after you have a label or a pinned
16
16
  - `scip_path` (string) — optional on-disk SCIP index; never spawned.
17
17
  - `max_results` (integer, min 1).
18
18
  - `cursor` (string).
19
- - `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.
19
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
20
20
 
21
21
  ## Minimal call
22
22
 
@@ -12,7 +12,7 @@ Read or preview the local target-architecture contract.
12
12
  - `baseline_mode` (string).
13
13
  - `candidate_contract` (object).
14
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.
15
+ - `output_format` ("text" | "json" | "structured", default "json") — text returns one JSON text block of the full payload, not a shorter summary; json returns structured output and mirrors that JSON into text, so the answer is about twice as large; structured drops the mirror and is the smaller payload when the client reads structuredContent.
16
16
 
17
17
  ## Minimal call
18
18
 
@@ -25,5 +25,4 @@ Read or preview the local target-architecture contract.
25
25
  }
26
26
  ```
27
27
 
28
- Use `output_format:"text"` for compact agent interaction. The live MCP
29
- `tools/list` schema remains authoritative for this installed version.
28
+ Prefer `output_format:"structured"` when the client reads structuredContent. `text` is still the full JSON payload. The live MCP `tools/list` schema remains authoritative for this installed version.