weavatrix 1.16.2 → 1.16.3
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 +18 -14
- 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 +2 -2
- package/server.json +2 -2
- package/skill/SKILL.md +7 -1
- package/skill/references/tool-routing.md +2 -2
- package/skill/references/tools/coverage_map.md +59 -19
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ weavatrix mcp .
|
|
|
58
58
|
```toml
|
|
59
59
|
[mcp_servers.weavatrix]
|
|
60
60
|
command = "npx"
|
|
61
|
-
args = ["-y", "weavatrix@1.16.
|
|
61
|
+
args = ["-y", "weavatrix@1.16.3", "mcp", "."]
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Pass an absolute repository path when the Codex process cwd is not the project
|
|
@@ -67,7 +67,7 @@ you intend to analyze.
|
|
|
67
67
|
### Claude Code
|
|
68
68
|
|
|
69
69
|
```sh
|
|
70
|
-
claude mcp add weavatrix -- npx -y weavatrix@1.16.
|
|
70
|
+
claude mcp add weavatrix -- npx -y weavatrix@1.16.3 mcp .
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### Cursor
|
|
@@ -80,7 +80,7 @@ the plugin for the same server name:
|
|
|
80
80
|
"mcpServers": {
|
|
81
81
|
"weavatrix": {
|
|
82
82
|
"command": "npx",
|
|
83
|
-
"args": ["-y", "weavatrix@1.16.
|
|
83
|
+
"args": ["-y", "weavatrix@1.16.3", "mcp", "${workspaceFolder}"]
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -89,14 +89,14 @@ the plugin for the same server name:
|
|
|
89
89
|
Profiles expose bounded views of the same engine:
|
|
90
90
|
|
|
91
91
|
```sh
|
|
92
|
-
npx -y weavatrix@1.16.
|
|
93
|
-
npx -y weavatrix@1.16.
|
|
94
|
-
npx -y weavatrix@1.16.
|
|
95
|
-
npx -y weavatrix@1.16.
|
|
96
|
-
npx -y weavatrix@1.16.
|
|
97
|
-
npx -y weavatrix@1.16.
|
|
98
|
-
npx -y weavatrix@1.16.
|
|
99
|
-
npx -y weavatrix@1.16.
|
|
92
|
+
npx -y weavatrix@1.16.3 mcp . --profile=all
|
|
93
|
+
npx -y weavatrix@1.16.3 mcp . --profile=code
|
|
94
|
+
npx -y weavatrix@1.16.3 mcp . --profile=seo
|
|
95
|
+
npx -y weavatrix@1.16.3 mcp . --profile=n8n
|
|
96
|
+
npx -y weavatrix@1.16.3 mcp . --profile=dify
|
|
97
|
+
npx -y weavatrix@1.16.3 mcp . --profile=agent
|
|
98
|
+
npx -y weavatrix@1.16.3 mcp . --profile=diagram
|
|
99
|
+
npx -y weavatrix@1.16.3 mcp . --profile=web3
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
The package contains native binaries for Windows x64/arm64, macOS x64/arm64,
|
|
@@ -235,6 +235,10 @@ instead of being decoded into garbage.
|
|
|
235
235
|
| Change impact | `get_dependents`, `change_impact`, `select_tests`, `verified_change`, `prepare_change`, `graph_diff` |
|
|
236
236
|
| Exact source context | `search_code`, `read_source`, `inspect_symbol`, `go_to_definition`, `find_references`, `context_bundle`, `map_stacktrace` |
|
|
237
237
|
| Health and quality | `find_duplicates`, `find_dead_code`, `run_audit`, `coverage_map`, `hot_path_review`, `perf_attribution` |
|
|
238
|
+
|
|
239
|
+
Need measured coverage from this MCP host? Run Weavatrix Quality first, then
|
|
240
|
+
`coverage_map`. The host will not invent percentages from an empty search
|
|
241
|
+
path. Quality publishes `.weavatrix/coverage/lcov.info`.
|
|
238
242
|
| APIs and transports | `list_endpoints`, `trace_endpoint`, `trace_api_contract` |
|
|
239
243
|
| Architecture | `get_architecture_contract`, `verify_architecture`, `verify_capabilities`, `explain_architecture_violation`, `propose_architecture_exception` |
|
|
240
244
|
| Git and repositories | `git_history`, `git_read_blob`, `cross_repo_git`, `open_repo`, `list_known_repos`, `rebuild_graph` |
|
|
@@ -275,7 +279,7 @@ export in git → existing JSON/YAML parse → typed domain → inventory / trac
|
|
|
275
279
|
| [Dify](https://weavatrix.com/dify) | `dify_inventory`, `dify_trace`, `dify_context` | Product 1.13.0 |
|
|
276
280
|
| Agent packages | `agent_inventory`, `agent_trace`, `agent_context`, `agent_change_impact` | Product 1.14.0 |
|
|
277
281
|
| Mermaid diagrams | `diagram_inventory`, `diagram_trace`, `diagram_context` | Product 1.14.0 |
|
|
278
|
-
| Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` | Product 1.16.
|
|
282
|
+
| Web3 integration | `web3_inventory`, `web3_trace`, `web3_impact`, `web3_context` | Product 1.16.3 |
|
|
279
283
|
|
|
280
284
|
| Need | Use |
|
|
281
285
|
| --- | --- |
|
|
@@ -295,11 +299,11 @@ coding agent
|
|
|
295
299
|
|
|
|
296
300
|
| MCP over stdio
|
|
297
301
|
v
|
|
298
|
-
weavatrix 1.16.
|
|
302
|
+
weavatrix 1.16.3
|
|
299
303
|
profile catalog · refresh · watcher · MCP framing
|
|
300
304
|
|
|
|
301
305
|
v
|
|
302
|
-
weavatrix-rust 2.16.
|
|
306
|
+
weavatrix-rust 2.16.3
|
|
303
307
|
typed graph · analysis · 64 product operations including n8n, Dify, agent packages, Mermaid, and Web3
|
|
304
308
|
```
|
|
305
309
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weavatrix",
|
|
3
|
-
"version": "1.16.
|
|
4
|
-
"weavatrixEngineVersion": "2.16.
|
|
3
|
+
"version": "1.16.3",
|
|
4
|
+
"weavatrixEngineVersion": "2.16.3",
|
|
5
5
|
"description": "Native repository intelligence for coding agents: 64 read-only MCP operations backed by typed evidence graphs, impact, architecture, APIs, Git, search, semantics, memory, n8n workflows, Dify apps, agent packages, Mermaid diagrams, and Web3 ABIs.",
|
|
6
6
|
"author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
package/server.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"url": "https://github.com/Weavatrix/weavatrix",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "1.16.
|
|
10
|
+
"version": "1.16.3",
|
|
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.16.
|
|
17
|
+
"version": "1.16.3",
|
|
18
18
|
"runtimeHint": "npx",
|
|
19
19
|
"transport": {
|
|
20
20
|
"type": "stdio"
|
package/skill/SKILL.md
CHANGED
|
@@ -38,7 +38,12 @@ contracts. Do not call it merely because the server is available.
|
|
|
38
38
|
`web3_trace` / `web3_impact` / `web3_context` for supplied ABI,
|
|
39
39
|
artifacts, and static viem/wagmi consumers. Those paths are static graph
|
|
40
40
|
evidence, not a live n8n, Dify, MCP, Mermaid, or blockchain runtime.
|
|
41
|
-
5. Use repository-native tests or benchmarks for behavioral proof.
|
|
41
|
+
5. Use repository-native tests or benchmarks for behavioral proof. For
|
|
42
|
+
measured line coverage, run Weavatrix Quality `quality_run` so it writes
|
|
43
|
+
`.weavatrix/coverage/lcov.info`, then call `coverage_map`. Do not start
|
|
44
|
+
with `coverage_map` — it never runs tests. A missing report is
|
|
45
|
+
unmeasured, not 0%. See
|
|
46
|
+
[references/tools/coverage_map.md](references/tools/coverage_map.md).
|
|
42
47
|
|
|
43
48
|
Do not call `open_repo` "just in case". Cross-repository tools take explicit
|
|
44
49
|
roots in their arguments. Multi-root retarget requires launching with
|
|
@@ -58,6 +63,7 @@ audit and coverage results.
|
|
|
58
63
|
- Keep source spans, graph revision, relation type, extractor, and confidence
|
|
59
64
|
attached to findings.
|
|
60
65
|
- Treat static reachability and audit output as candidates, not runtime proof.
|
|
66
|
+
`coverage_map` is an ingest. Quality builds the LCOV file.
|
|
61
67
|
- Preserve exact transport identity; do not merge Kafka, AMQP/RabbitMQ, NATS,
|
|
62
68
|
SNS/SQS, JMS, GraphQL, and gRPC evidence because operation names match.
|
|
63
69
|
- The core is local, offline, and read-only. Use `weavatrix-refactor` only for
|
|
@@ -44,7 +44,7 @@ cannot silently switch to another repository. Pass an explicit
|
|
|
44
44
|
- [`find_duplicates`](tools/find_duplicates.md) — Deterministic Type-1/2/3 clone families.
|
|
45
45
|
- [`find_dead_code`](tools/find_dead_code.md) — Conservative unreferenced-symbol review queue.
|
|
46
46
|
- [`run_audit`](tools/run_audit.md) — Repository structure and evidence completeness audit.
|
|
47
|
-
- [`coverage_map`](tools/coverage_map.md) —
|
|
47
|
+
- [`coverage_map`](tools/coverage_map.md) — Ingest a report Quality already built. Does not run tests. Missing report is unmeasured, not 0%.
|
|
48
48
|
- [`hot_path_review`](tools/hot_path_review.md) — Rank functions by static complexity times resolved call fan-in.
|
|
49
49
|
- [`perf_attribution`](tools/perf_attribution.md) — Correlate a measurement series with the declarations that changed between the revisions that produced it.
|
|
50
50
|
- [`get_architecture_contract`](tools/get_architecture_contract.md) — Read or preview the local target-architecture contract.
|
|
@@ -112,7 +112,7 @@ engine `weavatrix-rust` 2.14.3.
|
|
|
112
112
|
|
|
113
113
|
Local ABI JSON, supplied solc/Foundry artifacts, and static viem/wagmi
|
|
114
114
|
sources only. Not a compiler, RPC client, or wallet. Requires engine
|
|
115
|
-
`weavatrix-rust` 2.16.
|
|
115
|
+
`weavatrix-rust` 2.16.3.
|
|
116
116
|
|
|
117
117
|
- [`web3_inventory`](tools/web3_inventory.md) — List ABIs, artifacts, and static consumers.
|
|
118
118
|
- [`web3_trace`](tools/web3_trace.md) — Walk proven ABI, artifact, and consumer bindings.
|
|
@@ -1,29 +1,69 @@
|
|
|
1
1
|
# `coverage_map`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Ingest a measured coverage report and hang it on graph nodes. This is not a
|
|
4
|
+
test runner.
|
|
4
5
|
|
|
5
|
-
##
|
|
6
|
+
## Do not get lost
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
| Product | Job |
|
|
9
|
+
| --- | --- |
|
|
10
|
+
| Weavatrix Quality (`quality_run` / `wvq run`) | **Build** the report with the project's own frozen runner and write `.weavatrix/coverage/lcov.info`. |
|
|
11
|
+
| Weavatrix `coverage_map` | **Ingest** a report that already exists. Never spawn `cargo test`, Vitest, Jest, Bun, Go, or Playwright. |
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
Call Quality first when you need measured numbers. Then call `coverage_map`.
|
|
14
|
+
Calling `coverage_map` alone on a repository that has no report is a successful
|
|
15
|
+
empty ingest: `measured_coverage.present = false`, plus separately labeled
|
|
16
|
+
static reachability. That is not 0% and not 100%.
|
|
10
17
|
|
|
11
|
-
|
|
18
|
+
Cortex Loom "coverage certificates" are packet facts. They are not line
|
|
19
|
+
coverage and they do not feed this tool.
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
- `path` (string).
|
|
15
|
-
- `top_n` (integer, min 0).
|
|
21
|
+
## Search paths (first file wins)
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
1. `lcov.info`
|
|
24
|
+
2. `coverage/lcov.info`
|
|
25
|
+
3. `.weavatrix/coverage/lcov.info` — the path Quality publishes
|
|
26
|
+
4. `tarpaulin-report.json`
|
|
27
|
+
5. `target/tarpaulin/tarpaulin-report.json`
|
|
28
|
+
6. `target/llvm-cov/coverage.json`
|
|
29
|
+
7. `coverage/coverage-final.json`
|
|
18
30
|
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
"name": "coverage_map",
|
|
22
|
-
"arguments": {
|
|
23
|
-
"output_format": "text"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
```
|
|
31
|
+
## Arguments
|
|
27
32
|
|
|
28
|
-
|
|
29
|
-
`
|
|
33
|
+
- `path` — substring filter on report file paths
|
|
34
|
+
- `top_n` — cap the returned file list
|
|
35
|
+
|
|
36
|
+
## How to read the reply
|
|
37
|
+
|
|
38
|
+
- `measured_coverage.present = true` — a report was parsed. `report` is the
|
|
39
|
+
repository-relative path. `source` states that Weavatrix did not execute
|
|
40
|
+
tests.
|
|
41
|
+
- `measured_coverage.present = false` — none of the search paths existed.
|
|
42
|
+
`files` is empty. `static_reachability` may still list likely tests. The
|
|
43
|
+
`warning` field repeats that this is not measured coverage.
|
|
44
|
+
- `status: COMPLETE` with `present = false` is not a green coverage gate.
|
|
45
|
+
|
|
46
|
+
## Quality builds the report
|
|
47
|
+
|
|
48
|
+
Weavatrix Quality does not invent a second test stack. Discovery uses what
|
|
49
|
+
the repository already has:
|
|
50
|
+
|
|
51
|
+
- Rust: `cargo llvm-cov` when that Cargo subcommand exists (skipped on
|
|
52
|
+
`windows-gnu`, which lacks `profiler_builtins`), else `cargo tarpaulin`,
|
|
53
|
+
else plain `cargo test` (no measured report).
|
|
54
|
+
- JavaScript/TypeScript: Vitest with an already-declared coverage provider,
|
|
55
|
+
else Jest `--coverage`, else Bun `--coverage`. Playwright is used only
|
|
56
|
+
when no other JS runner owns the package.
|
|
57
|
+
- Go: the registered `go-test` coverprofile is normalized and then published
|
|
58
|
+
as LCOV on the Weavatrix search path.
|
|
59
|
+
|
|
60
|
+
Policy bindings may still say `cargo-test`. Discovery may upgrade the spawn
|
|
61
|
+
to `cargo-llvm-cov` or `cargo-tarpaulin`. Mutation stays on `cargo-test` so
|
|
62
|
+
each mutant is not measured as if it were a coverage run.
|
|
63
|
+
|
|
64
|
+
## Agent sequence
|
|
65
|
+
|
|
66
|
+
1. `quality_run` (or `wvq run`) on the same repository, **or** place one of
|
|
67
|
+
the files above yourself.
|
|
68
|
+
2. `coverage_map` (optionally `path` / `top_n`).
|
|
69
|
+
3. Treat `present = false` as "unmeasured", not as "uncovered" or "safe".
|