weavatrix 1.17.8 → 1.17.11
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.
- package/README.md +22 -20
- package/bin/native/darwin-arm64/weavatrix +0 -0
- package/bin/native/darwin-x64/weavatrix +0 -0
- package/bin/native/linux-arm64/weavatrix +0 -0
- package/bin/native/linux-x64/weavatrix +0 -0
- package/bin/native/win32-arm64/weavatrix.exe +0 -0
- package/bin/native/win32-x64/weavatrix.exe +0 -0
- package/package.json +3 -3
- package/server.json +3 -3
- package/skill/SKILL.md +9 -4
- package/skill/references/tool-routing.md +17 -16
- package/skill/references/tools/change_impact.md +1 -1
- package/skill/references/tools/ci_protection.md +6 -2
- package/skill/references/tools/context_bundle.md +1 -1
- package/skill/references/tools/find_dead_code.md +1 -1
- package/skill/references/tools/find_duplicates.md +1 -1
- package/skill/references/tools/find_references.md +1 -1
- package/skill/references/tools/get_dependents.md +1 -1
- package/skill/references/tools/get_neighbors.md +1 -1
- package/skill/references/tools/git_fetch.md +27 -0
- package/skill/references/tools/go_to_definition.md +1 -1
- package/skill/references/tools/graph_stats.md +1 -1
- package/skill/references/tools/list_endpoints.md +1 -1
- package/skill/references/tools/query_graph.md +1 -1
- package/skill/references/tools/run_audit.md +1 -1
- package/skill/references/tools/search_code.md +1 -1
- package/skill/references/tools/semantic_link.md +1 -1
- package/skill/references/tools/verified_change.md +1 -1
package/README.md
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
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. **
|
|
16
|
-
|
|
15
|
+
change, and whether `.weavatrix/architecture.json` still holds. **66
|
|
16
|
+
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
19
|
history, duplicates, dead code, search, semantic links,
|
|
@@ -28,7 +28,7 @@ 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
29
|
evidence kind, and confidence that produced it. `search_code` keeps a
|
|
30
30
|
resident content index for the process: the first search builds it, and
|
|
31
|
-
later searches read it. A `glob`
|
|
31
|
+
later searches read it. A `glob` filters that index. The filesystem is scanned only when the widened search is truncated and the filter kept fewer hits than requested.
|
|
32
32
|
|
|
33
33
|
This npm package is the convenient **prebuilt native tarball**. That is the
|
|
34
34
|
only reason it exists on npm. It is not a TypeScript rewrite, not a Serena
|
|
@@ -60,7 +60,7 @@ weavatrix mcp .
|
|
|
60
60
|
```toml
|
|
61
61
|
[mcp_servers.weavatrix]
|
|
62
62
|
command = "npx"
|
|
63
|
-
args = ["-y", "weavatrix@1.17.
|
|
63
|
+
args = ["-y", "weavatrix@1.17.11", "mcp", "."]
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
Pass an absolute repository path when the Codex process cwd is not the project
|
|
@@ -69,7 +69,7 @@ you intend to analyze.
|
|
|
69
69
|
### Claude Code
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
|
-
claude mcp add weavatrix -- npx -y weavatrix@1.17.
|
|
72
|
+
claude mcp add weavatrix -- npx -y weavatrix@1.17.11 mcp .
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
### Cursor
|
|
@@ -82,7 +82,7 @@ the plugin for the same server name:
|
|
|
82
82
|
"mcpServers": {
|
|
83
83
|
"weavatrix": {
|
|
84
84
|
"command": "npx",
|
|
85
|
-
"args": ["-y", "weavatrix@1.17.
|
|
85
|
+
"args": ["-y", "weavatrix@1.17.11", "mcp", "${workspaceFolder}", "--output-format=structured"]
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -91,14 +91,14 @@ the plugin for the same server name:
|
|
|
91
91
|
Profiles expose bounded views of the same engine:
|
|
92
92
|
|
|
93
93
|
```sh
|
|
94
|
-
npx -y weavatrix@1.17.
|
|
95
|
-
npx -y weavatrix@1.17.
|
|
96
|
-
npx -y weavatrix@1.17.
|
|
97
|
-
npx -y weavatrix@1.17.
|
|
98
|
-
npx -y weavatrix@1.17.
|
|
99
|
-
npx -y weavatrix@1.17.
|
|
100
|
-
npx -y weavatrix@1.17.
|
|
101
|
-
npx -y weavatrix@1.17.
|
|
94
|
+
npx -y weavatrix@1.17.11 mcp . --profile=all
|
|
95
|
+
npx -y weavatrix@1.17.11 mcp . --profile=code
|
|
96
|
+
npx -y weavatrix@1.17.11 mcp . --profile=seo
|
|
97
|
+
npx -y weavatrix@1.17.11 mcp . --profile=n8n
|
|
98
|
+
npx -y weavatrix@1.17.11 mcp . --profile=dify
|
|
99
|
+
npx -y weavatrix@1.17.11 mcp . --profile=agent
|
|
100
|
+
npx -y weavatrix@1.17.11 mcp . --profile=diagram
|
|
101
|
+
npx -y weavatrix@1.17.11 mcp . --profile=web3
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
|
|
@@ -233,7 +233,7 @@ Three commits before `ec8bf30` this package was 1.9.2; the agent reads that
|
|
|
233
233
|
follow-up to a diff without touching the worktree. Binary blobs fail closed
|
|
234
234
|
instead of being decoded into garbage.
|
|
235
235
|
|
|
236
|
-
## The
|
|
236
|
+
## The 66 operations
|
|
237
237
|
|
|
238
238
|
| Workflow | Operations |
|
|
239
239
|
| --- | --- |
|
|
@@ -244,7 +244,7 @@ instead of being decoded into garbage.
|
|
|
244
244
|
| APIs and transports | `list_endpoints`, `trace_endpoint`, `trace_api_contract` |
|
|
245
245
|
| Architecture | `architecture_inventory`, `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
|
|
246
246
|
| Local CI | `ci_restrictions`, `ci_protection`, `explain_restriction` |
|
|
247
|
-
| Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
|
|
247
|
+
| Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `git_fetch`, `open_repo`, `list_known_repos`, `rebuild_graph` |
|
|
248
248
|
| Native extensions | `semantic_link` |
|
|
249
249
|
| n8n workflows | `n8n_inventory`, `n8n_trace`, `n8n_context` |
|
|
250
250
|
| Dify apps | `dify_inventory`, `dify_trace`, `dify_context` |
|
|
@@ -252,7 +252,9 @@ instead of being decoded into garbage.
|
|
|
252
252
|
| Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` |
|
|
253
253
|
| Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` |
|
|
254
254
|
|
|
255
|
-
Every operation
|
|
255
|
+
Every operation leaves the analyzed repository unchanged.
|
|
256
|
+
`git_fetch` writes only its cache: a depth-1 checkout of one URL. The launch
|
|
257
|
+
root stays pinned.
|
|
256
258
|
Pagination and explicit limits bound large neighborhoods, histories, searches,
|
|
257
259
|
and contract inventories.
|
|
258
260
|
|
|
@@ -329,12 +331,12 @@ coding agent
|
|
|
329
331
|
|
|
|
330
332
|
| MCP over stdio
|
|
331
333
|
v
|
|
332
|
-
weavatrix 1.17.
|
|
334
|
+
weavatrix 1.17.11
|
|
333
335
|
profile catalog · refresh · watcher · MCP framing
|
|
334
336
|
|
|
|
335
337
|
v
|
|
336
|
-
weavatrix-rust 2.17.
|
|
337
|
-
typed graph · analysis ·
|
|
338
|
+
weavatrix-rust 2.17.10
|
|
339
|
+
typed graph · analysis · 66 product operations including local CI, n8n, Dify, agent packages, Mermaid, and Web3
|
|
338
340
|
```
|
|
339
341
|
|
|
340
342
|
This npm product owns MCP transport and native distribution. The
|
|
Binary file
|
|
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.
|
|
4
|
-
"weavatrixEngineVersion": "2.17.
|
|
5
|
-
"description": "Native repository intelligence for coding agents:
|
|
3
|
+
"version": "1.17.11",
|
|
4
|
+
"weavatrixEngineVersion": "2.17.10",
|
|
5
|
+
"description": "Native repository intelligence for coding agents: 66 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:
|
|
5
|
+
"description": "Native Weavatrix MCP: 66 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.
|
|
10
|
+
"version": "1.17.11",
|
|
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.
|
|
17
|
+
"version": "1.17.11",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -95,7 +95,10 @@ tool ran. Read `evidence_completeness` and `stop_reason`. `MAX_NODES` means
|
|
|
95
95
|
the combined cap omitted nodes.
|
|
96
96
|
|
|
97
97
|
`git_history` without `path` is repository HEAD history. Pass `path` for the
|
|
98
|
-
commits that touch one file or directory.
|
|
98
|
+
commits that touch one file or directory. `git_fetch` is separate: one `url`
|
|
99
|
+
and an optional `ref`, depth 1, into a cache. It returns `checkout` and does
|
|
100
|
+
not retarget this process. Analyze that path by launching on it, or by
|
|
101
|
+
`open_repo` only when this process was started with `--allow-retarget`.
|
|
99
102
|
|
|
100
103
|
`find_dead_code` treats every `main.go` and every Go `func main` as an entry.
|
|
101
104
|
Receiver names and function-literal parameters are not symbols.
|
|
@@ -118,6 +121,8 @@ audit and coverage results.
|
|
|
118
121
|
`coverage_map` is an ingest. Quality builds the LCOV file.
|
|
119
122
|
- Preserve exact transport identity; do not merge Kafka, AMQP/RabbitMQ, NATS,
|
|
120
123
|
SNS/SQS, JMS, GraphQL, and gRPC evidence because operation names match.
|
|
121
|
-
- The core
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
- The core reads the launch root and leaves that tree unchanged. `git_fetch`
|
|
125
|
+
is the one call that contacts a remote: it shallow-clones one URL into a
|
|
126
|
+
cache and returns that path. Use `weavatrix-refactor` only for an explicitly
|
|
127
|
+
approved write plan and `weavatrix-online` only for explicitly approved
|
|
128
|
+
network work beyond that clone.
|
|
@@ -10,44 +10,45 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
10
10
|
|
|
11
11
|
## Graph, source, and orientation
|
|
12
12
|
|
|
13
|
-
- [`graph_stats`](tools/graph_stats.md) — Graph size, evidence and build freshness.
|
|
13
|
+
- [`graph_stats`](tools/graph_stats.md) — Graph size, edge evidence and build freshness of the loaded snapshot.
|
|
14
14
|
- [`get_node`](tools/get_node.md) — Resolve one exact graph node.
|
|
15
|
-
- [`get_neighbors`](tools/get_neighbors.md) — Direct typed incoming and outgoing relationships.
|
|
16
|
-
- [`query_graph`](tools/query_graph.md) — Bounded BFS or DFS around exact or textual seeds.
|
|
15
|
+
- [`get_neighbors`](tools/get_neighbors.md) — Direct typed incoming and outgoing relationships. Compact rows are direction, relation, the other node, and, when present, coupling and the call line.
|
|
16
|
+
- [`query_graph`](tools/query_graph.md) — Bounded BFS or DFS around exact or textual seeds. Edges are source, target, kind, and, when present, coupling and the call line.
|
|
17
17
|
- [`god_nodes`](tools/god_nodes.md) — Rank high-connectivity production nodes.
|
|
18
18
|
- [`shortest_path`](tools/shortest_path.md) — Shortest typed dependency path between two nodes.
|
|
19
19
|
- [`get_community`](tools/get_community.md) — Return one coupling community (containment and package edges excluded).
|
|
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 search on the resident content index. A glob
|
|
23
|
+
- [`search_code`](tools/search_code.md) — Literal or Rust-regex search on the resident content index. A glob filters that index.
|
|
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
|
-
- [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name.
|
|
27
|
-
- [`find_references`](tools/find_references.md) — Occurrences of the symbol at a position or label, from the graph and an on-disk SCIP index if present.
|
|
28
|
-
- [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol.
|
|
26
|
+
- [`go_to_definition`](tools/go_to_definition.md) — Resolve the symbol at a source position to its definition without guessing by name. An unresolved position omits definition.
|
|
27
|
+
- [`find_references`](tools/find_references.md) — Occurrences of the symbol at a position or label, from the graph and an on-disk SCIP index if present. Test and classified rows stay out unless opted in.
|
|
28
|
+
- [`context_bundle`](tools/context_bundle.md) — Compact graph and source bundle for one symbol. The subject and relationship rows are compact.
|
|
29
29
|
- [`map_stacktrace`](tools/map_stacktrace.md) — Map stack-trace text onto repository files and symbols.
|
|
30
30
|
|
|
31
31
|
## Change impact and Git
|
|
32
32
|
|
|
33
|
-
- [`get_dependents`](tools/get_dependents.md) — Bounded transitive reverse blast radius.
|
|
34
|
-
- [`change_impact`](tools/change_impact.md) — Read-only Git change impact with graph evidence.
|
|
33
|
+
- [`get_dependents`](tools/get_dependents.md) — Bounded transitive reverse blast radius. The seed and each dependent are id, label, kind, language, and span.
|
|
34
|
+
- [`change_impact`](tools/change_impact.md) — Read-only Git change impact with graph evidence. Impacted nodes are id, label, kind, language, and span.
|
|
35
35
|
- [`select_tests`](tools/select_tests.md) — Select the test suites a change most plausibly needs to run.
|
|
36
36
|
- [`git_history`](tools/git_history.md) — Bounded direct Git history without launching git.
|
|
37
37
|
- [`git_read_blob`](tools/git_read_blob.md) — Bounded UTF-8 file content at an immutable Git revision or blob OID; binary blobs are refused.
|
|
38
|
+
- [`git_fetch`](tools/git_fetch.md) — Shallow-clone one URL at one ref into a cache and return `checkout`. Depth is 1. The process root stays pinned.
|
|
38
39
|
- [`cross_repo_git`](tools/cross_repo_git.md) — Parallel histories, shared commits, or diffs across named local repositories.
|
|
39
|
-
- [`verified_change`](tools/verified_change.md) — Composite pre-commit evidence and conservative verdict.
|
|
40
|
+
- [`verified_change`](tools/verified_change.md) — Composite pre-commit evidence and conservative verdict. `impact_depth` bounds the embedded blast radius. Selected symbols and data-flow edges are compact.
|
|
40
41
|
- [`graph_diff`](tools/graph_diff.md) — Compare the current snapshot with an immutable Git revision.
|
|
41
42
|
|
|
42
43
|
## Quality and architecture
|
|
43
44
|
|
|
44
45
|
- [`architecture_inventory`](tools/architecture_inventory.md) — Bounded architecture overview and evidence-bounded style hypotheses by default, with complete edge/cycle-candidate totals; `detail:"full"` gives paged evidence. Explain statuses and witnesses in prose, not as a JSON dump.
|
|
45
46
|
- [`ci_restrictions`](tools/ci_restrictions.md) — Local GitHub Actions checks and conditional applicability.
|
|
46
|
-
- [`ci_protection`](tools/ci_protection.md) — Candidate checks and declared rule bindings for an explicit file list. Not included in change or diff answers.
|
|
47
|
+
- [`ci_protection`](tools/ci_protection.md) — Candidate checks and declared rule bindings for an explicit file list. Membership ids in the answer are path labels. Not included in change or diff answers.
|
|
47
48
|
- [`explain_restriction`](tools/explain_restriction.md) — One restriction and its evidence limits.
|
|
48
|
-
- [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families.
|
|
49
|
-
- [`find_dead_code`](tools/find_dead_code.md) — Conservative unreferenced-symbol review queue.
|
|
50
|
-
- [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit.
|
|
49
|
+
- [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families. `.gen.`, `.generated.`, and OpenAPI Generator headers stay out unless `include_boilerplate` is set.
|
|
50
|
+
- [`find_dead_code`](tools/find_dead_code.md) — Conservative unreferenced-symbol review queue. A type-only import does not keep its target live.
|
|
51
|
+
- [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit. A named category collects only that section.
|
|
51
52
|
- [`coverage_map`](tools/coverage_map.md) — Ingest a report Quality already built. Does not run tests. Missing report is unmeasured, not 0%.
|
|
52
53
|
- [`hot_path_review`](tools/hot_path_review.md) — Rank functions by static complexity times resolved call fan-in.
|
|
53
54
|
- [`perf_attribution`](tools/perf_attribution.md) — Correlate a measurement series with the declarations that changed between the revisions that produced it.
|
|
@@ -60,7 +61,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
60
61
|
|
|
61
62
|
## APIs and transports
|
|
62
63
|
|
|
63
|
-
- [`list_endpoints`](tools/list_endpoints.md) —
|
|
64
|
+
- [`list_endpoints`](tools/list_endpoints.md) — Compact HTTP endpoint inventory. `max_results` pages it and reports `endpoints_total`. App Router `route.*` files contribute one endpoint per exported HTTP method. A Go struct that embeds `Unimplemented*Server` contributes `GRPC Service/Method`. A `"use server"` file contributes `ACTION /path/name`.
|
|
64
65
|
- [`trace_endpoint`](tools/trace_endpoint.md) — Resolve an endpoint and its bounded call neighborhood.
|
|
65
66
|
- [`trace_api_contract`](tools/trace_api_contract.md) — Cross-repository HTTP, GraphQL, gRPC and event-transport contract evidence for named backend and client roots.
|
|
66
67
|
|
|
@@ -72,7 +73,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
72
73
|
|
|
73
74
|
## Semantic link
|
|
74
75
|
|
|
75
|
-
- [`semantic_link`](tools/semantic_link.md) — Rank a text query with
|
|
76
|
+
- [`semantic_link`](tools/semantic_link.md) — Rank a text query with `weavatrix-token-hash-v1` (name, path, doc comment, declaration, short body; test paths rank lower), 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.
|
|
76
77
|
|
|
77
78
|
## n8n workflows
|
|
78
79
|
|
|
@@ -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. 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.
|
|
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. Impacted nodes are id, label, kind, language, and span.
|
|
8
8
|
|
|
9
9
|
Static impact is not proof that selected behavior executed.
|
|
10
10
|
|
|
@@ -22,5 +22,9 @@ call `ci_restrictions`. For one finding, call `explain_restriction`.
|
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
`candidate_checks` and `declared_rule_bindings` are static candidates.
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
Component and build membership in the answer are path labels
|
|
26
|
+
(`component:directory:src/api`, `test:architecture`, `Cargo.toml`), not
|
|
27
|
+
repository hashes. `restrictions_unresolved` returns at most 20 strings and
|
|
28
|
+
`restrictions_unresolved_total` is the full count. Execution, path filters,
|
|
29
|
+
and remote enforcement are not proven. The live MCP `tools/list` schema is
|
|
30
|
+
authoritative.
|
|
@@ -4,7 +4,7 @@ Compact graph and source bundle for one symbol.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Assemble a ranked, token-bounded workset around one task or target.
|
|
7
|
+
Assemble a ranked, token-bounded workset around one task or target. The subject is id, label, kind, language, and span. Relationship rows match compact `get_neighbors`.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -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. 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.
|
|
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. Each candidate is id, label, kind, language, and span. A type-only import does not keep its target live.
|
|
8
8
|
|
|
9
9
|
Never delete from this result alone; confirm source and framework registration points.
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Deterministic Type-1/2/3 clone families.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Review bounded Type-1, Type-2, or Type-3 clone families before confirming candidates in source.
|
|
7
|
+
Review bounded Type-1, Type-2, or Type-3 clone families before confirming candidates in source. Files named `.gen.` or `.generated.`, and files whose header says they were generated by openapi-generator.tech, stay out unless `include_boilerplate` is set.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ Occurrences of the symbol at a position or label, from the graph and an on-disk
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
7
|
List every recorded occurrence of one symbol after you have a label or a pinned
|
|
8
|
-
`(path, line, column)` usage.
|
|
8
|
+
`(path, line, column)` usage. Test and classified rows stay out unless `include_tests` or `include_classified` is set. The definition row stays.
|
|
9
9
|
|
|
10
10
|
## Inputs
|
|
11
11
|
|
|
@@ -4,7 +4,7 @@ Bounded transitive reverse blast radius.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Measure a bounded transitive reverse blast radius from one exact node.
|
|
7
|
+
Measure a bounded transitive reverse blast radius from one exact node. The seed and each dependent are id, label, kind, language, and span. Attributes stay on `get_node`.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Direct typed incoming and outgoing relationships.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Inspect only the direct typed incoming and outgoing relationships of one exact node.
|
|
7
|
+
Inspect only the direct typed incoming and outgoing relationships of one exact node. The seed and each neighbor node are id, label, kind, language, and span unless `response_detail` is `full`. A compact row also carries direction, relation, and, when present, coupling and the call line. Test and classified neighbors stay out unless `include_tests` or `include_classified` is set.
|
|
8
8
|
|
|
9
9
|
For transitive reverse impact use `get_dependents`; for bounded multi-hop exploration use `query_graph`.
|
|
10
10
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# `git_fetch`
|
|
2
|
+
|
|
3
|
+
Shallow-clone one Git URL at one ref into a local cache and return that checkout. Depth is 1. This launches git and writes only the cache. The process root stays pinned. `git_history` still reads the active repository.
|
|
4
|
+
|
|
5
|
+
## When to use
|
|
6
|
+
|
|
7
|
+
The repository to analyze is a remote URL, and this process is pinned to another root. Call `git_fetch`, then launch a new process on `checkout`, or call `open_repo` with that path only when this process was started with `--allow-retarget`. A repeated call for the same URL updates the same cache entry. The cache is not a working copy to edit.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `url` (string, required) — https, http, ssh, git, or file URL, scp-style `git@host:path`, or an absolute local path. A URL that embeds credentials is refused. A trailing `.git` names the same cache entry.
|
|
12
|
+
- `ref` (string) — branch, tag, or commit. Omit it to fetch the remote HEAD. Depth is always 1.
|
|
13
|
+
- `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.
|
|
14
|
+
|
|
15
|
+
## Minimal call
|
|
16
|
+
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"name": "git_fetch",
|
|
20
|
+
"arguments": {
|
|
21
|
+
"url": "https://github.com/org/repo",
|
|
22
|
+
"ref": "main"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The answer carries `checkout`, `commit`, `ref`, `depth` 1, and `reused`. `repository_context.root` remains the launch root. The live MCP `tools/list` schema remains authoritative for this installed version.
|
|
@@ -5,7 +5,7 @@ Resolve the symbol at a source position to its definition without guessing by na
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
7
|
You already have `(path, line, column)` for a usage and need the definition the
|
|
8
|
-
graph recorded for that occurrence - not a same-named overload elsewhere.
|
|
8
|
+
graph recorded for that occurrence - not a same-named overload elsewhere. An unresolved position omits `definition`.
|
|
9
9
|
|
|
10
10
|
## Inputs
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `graph_stats`
|
|
2
2
|
|
|
3
|
-
Graph size, evidence and build freshness.
|
|
3
|
+
Graph size, evidence and build freshness. `evidence` counts edges, not a percentage; `evidence_share` is that split. `freshness.state` `CURRENT` means the loaded snapshot, not a new disk walk.
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
@@ -4,7 +4,7 @@ Inventory statically extracted HTTP endpoints.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Inventory statically extracted HTTP endpoints with optional method and path filters.
|
|
7
|
+
Inventory statically extracted HTTP endpoints with optional method and path filters. Each row is a compact node: id, label, kind, language, and span. `max_results` pages that list and the answer reports `endpoints_total`; omit it to return every visible endpoint. An App Router `route.*` file under `app` contributes one endpoint per exported HTTP method. The URL is the directory path; route groups are omitted. A Go struct that embeds `Unimplemented*Server` contributes `GRPC Service/Method`. A file whose first statement is `"use server"` contributes `ACTION /path/name` for each exported function. Page, layout, and route modules stay on their own rules.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Bounded BFS or DFS around exact or textual seeds.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Traverse a bounded BFS or DFS when a question needs several hops, direction controls, or multiple seeds.
|
|
7
|
+
Traverse a bounded BFS or DFS when a question needs several hops, direction controls, or multiple seeds. Each edge is source, target, kind, and, when present, coupling and the call line.
|
|
8
8
|
|
|
9
9
|
Start with exact seeds and a small depth, node cap, and `token_budget`.
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Repository structure and evidence completeness audit.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Run a broad repository health and evidence-completeness pass before targeted investigation.
|
|
7
|
+
Run a broad repository health and evidence-completeness pass before targeted investigation. A named category collects only that section. At least 200 parsed edges with resolved edges under one fifth of that is REVIEW.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Literal or Rust-regex repository search without ripgrep.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Find bounded literal or regular-expression matches in file text when the source text is known but its location is not. The process keeps a resident content index: the first search builds it and later searches read it (`backend` `liveindex`). A `glob`
|
|
7
|
+
Find bounded literal or regular-expression matches in file text when the source text is known but its location is not. The process keeps a resident content index: the first search builds it and later searches read it (`backend` `liveindex`). A `glob` filters that index. The filesystem is scanned only when the widened search is truncated and the filter kept fewer hits than requested. This is not a symbol-graph search. Use `find_references` or `go_to_definition` for a symbol.
|
|
8
8
|
|
|
9
9
|
## Inputs
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Rank symbols for a phrase, or link caller-supplied vectors.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Pass `query` to rank functions, methods, and types by the local deterministic token hash `weavatrix-token-hash-v1` (name, path,
|
|
7
|
+
Pass `query` to rank functions, methods, and types by the local deterministic token hash `weavatrix-token-hash-v1` (name, path, a short doc comment above the declaration, the declaration line, and a short body). Test paths rank lower. That hash is not a neural embedding, and Weavatrix does not create one.
|
|
8
8
|
|
|
9
9
|
Pass a non-empty `vectors` array only when you already have embeddings. An empty `vectors` array without `query` is an error and builds no links. When both are set, the supplied vectors are linked and the phrase is not ranked.
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ Composite pre-commit evidence and conservative verdict.
|
|
|
4
4
|
|
|
5
5
|
## When to use
|
|
6
6
|
|
|
7
|
-
Produce one conservative plan or verify envelope combining impact, architecture, duplicate, API, and optional test evidence.
|
|
7
|
+
Produce one conservative plan or verify envelope combining impact, architecture, duplicate, API, and optional test evidence. `impact_depth` and `max_impact_nodes` bound the embedded blast radius. Selected symbols are compact nodes. Data-flow edges are source, target, kind, and, when present, coupling and the call line. Each edit context keeps at most 8 relationship rows.
|
|
8
8
|
|
|
9
9
|
Use the same `task` and base revision in `phase:"plan"` and `phase:"verify"`.
|
|
10
10
|
|