weavatrix 0.2.13 → 0.2.14
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 +83 -39
- package/SECURITY.md +2 -2
- package/docs/releases/v0.2.14.md +93 -0
- package/package.json +2 -2
- package/skill/SKILL.md +57 -38
- package/src/analysis/architecture/contract-graph.js +119 -0
- package/src/analysis/architecture/contract-schema.js +110 -0
- package/src/analysis/architecture/contract-storage.js +35 -0
- package/src/analysis/architecture/contract-verification.js +168 -0
- package/src/analysis/architecture-contract.js +16 -343
- package/src/analysis/change-classification/diff-parser.js +103 -0
- package/src/analysis/change-classification/options.js +40 -0
- package/src/analysis/change-classification/symbol-classifier.js +177 -0
- package/src/analysis/change-classification.js +120 -519
- package/src/analysis/dead-code-review/policy.js +23 -0
- package/src/analysis/dead-code-review.js +9 -19
- package/src/analysis/dep-check.js +10 -57
- package/src/analysis/dep-rules.js +10 -303
- package/src/analysis/dependency/scoped-dependencies.js +40 -0
- package/src/analysis/endpoints/common.js +62 -0
- package/src/analysis/endpoints/extract.js +107 -0
- package/src/analysis/endpoints/inventory.js +84 -0
- package/src/analysis/endpoints/mounts.js +129 -0
- package/src/analysis/endpoints-java.js +80 -3
- package/src/analysis/endpoints.js +3 -448
- package/src/analysis/git-history/analytics.js +177 -0
- package/src/analysis/git-history/collector.js +109 -0
- package/src/analysis/git-history/options.js +68 -0
- package/src/analysis/git-history.js +128 -577
- package/src/analysis/health-capabilities.js +82 -0
- package/src/analysis/http-contracts/analysis.js +169 -0
- package/src/analysis/http-contracts/client-call-detection.js +81 -0
- package/src/analysis/http-contracts/client-call-parser.js +255 -0
- package/src/analysis/http-contracts/graph-context.js +143 -0
- package/src/analysis/http-contracts/matching.js +61 -0
- package/src/analysis/http-contracts/shared.js +86 -0
- package/src/analysis/http-contracts.js +6 -822
- package/src/analysis/internal-audit/dependency-health.js +111 -0
- package/src/analysis/internal-audit/python-manifests.js +65 -0
- package/src/analysis/internal-audit/repo-files.js +55 -0
- package/src/analysis/internal-audit/supply-chain.js +132 -0
- package/src/analysis/internal-audit.collect.js +5 -106
- package/src/analysis/internal-audit.run.js +113 -200
- package/src/analysis/jvm-dependency-evidence.js +69 -0
- package/src/analysis/source-correctness/retry-patterns.js +93 -0
- package/src/analysis/source-correctness.js +225 -0
- package/src/analysis/structure/dependency-graph.js +156 -0
- package/src/analysis/structure/findings.js +142 -0
- package/src/graph/builder/go-receiver-resolution.js +112 -0
- package/src/graph/builder/js/queries.js +48 -0
- package/src/graph/builder/lang-go.js +89 -4
- package/src/graph/builder/lang-js.js +4 -44
- package/src/graph/builder/pass2-resolution.js +68 -0
- package/src/graph/freshness-probe.js +2 -1
- package/src/graph/incremental-refresh.js +3 -2
- package/src/graph/internal-builder.build.js +22 -183
- package/src/graph/internal-builder.pass2.js +161 -0
- package/src/graph/internal-builder.resolvers.js +2 -105
- package/src/graph/resolvers/rust.js +117 -0
- package/src/mcp/actions/advisories.mjs +18 -0
- package/src/mcp/actions/graph-lifecycle.mjs +148 -0
- package/src/mcp/actions/graph-sync.mjs +195 -0
- package/src/mcp/actions/hosted-architecture.mjs +57 -0
- package/src/mcp/architecture-bootstrap.mjs +168 -0
- package/src/mcp/architecture-starter.mjs +234 -0
- package/src/mcp/catalog.mjs +20 -6
- package/src/mcp/evidence/bun-lock-graph.mjs +209 -0
- package/src/mcp/evidence/package-graph-common.mjs +115 -0
- package/src/mcp/evidence/package-lock-graph.mjs +92 -0
- package/src/mcp/evidence-snapshot.package-graph.mjs +5 -474
- package/src/mcp/graph/context-core.mjs +111 -0
- package/src/mcp/graph/context-seeds.mjs +208 -0
- package/src/mcp/graph/context-state.mjs +86 -0
- package/src/mcp/graph/tools-core.mjs +143 -0
- package/src/mcp/graph/tools-query.mjs +223 -0
- package/src/mcp/graph-context.mjs +4 -496
- package/src/mcp/health/audit-format.mjs +172 -0
- package/src/mcp/health/audit.mjs +171 -0
- package/src/mcp/health/dead-code.mjs +110 -0
- package/src/mcp/health/duplicates.mjs +83 -0
- package/src/mcp/health/endpoints.mjs +42 -0
- package/src/mcp/health/structure.mjs +219 -0
- package/src/mcp/runtime-version.mjs +32 -0
- package/src/mcp/server/auto-refresh.mjs +66 -0
- package/src/mcp/server/runtime-config.mjs +43 -0
- package/src/mcp/server/shutdown.mjs +40 -0
- package/src/mcp/sync/evidence-architecture.mjs +54 -0
- package/src/mcp/sync/evidence-common.mjs +88 -0
- package/src/mcp/sync/evidence-duplicates.mjs +100 -0
- package/src/mcp/sync/evidence-health.mjs +56 -0
- package/src/mcp/sync/evidence-packages.mjs +95 -0
- package/src/mcp/sync/payload-common.mjs +97 -0
- package/src/mcp/sync/payload-v2.mjs +53 -0
- package/src/mcp/sync/payload-v3.mjs +79 -0
- package/src/mcp/sync-evidence.mjs +7 -402
- package/src/mcp/sync-payload.mjs +10 -244
- package/src/mcp/tools-actions.mjs +18 -414
- package/src/mcp/tools-architecture.mjs +18 -70
- package/src/mcp/tools-context.mjs +56 -15
- package/src/mcp/tools-endpoints.mjs +4 -1
- package/src/mcp/tools-graph.mjs +17 -331
- package/src/mcp/tools-health.mjs +24 -705
- package/src/mcp-server.mjs +35 -146
- package/src/precision/lsp-client/constants.js +12 -0
- package/src/precision/lsp-client/environment.js +20 -0
- package/src/precision/lsp-client/errors.js +15 -0
- package/src/precision/lsp-client/lifecycle.js +127 -0
- package/src/precision/lsp-client/message-parser.js +81 -0
- package/src/precision/lsp-client/protocol.js +212 -0
- package/src/precision/lsp-client/registry.js +58 -0
- package/src/precision/lsp-client/repo-uri.js +60 -0
- package/src/precision/lsp-client/stdio-client.js +151 -0
- package/src/precision/lsp-client.js +10 -682
- package/src/precision/lsp-overlay/build.js +238 -0
- package/src/precision/lsp-overlay/contract.js +61 -0
- package/src/precision/lsp-overlay/reference-results.js +108 -0
- package/src/precision/lsp-overlay/semantic-inputs.js +62 -0
- package/src/precision/lsp-overlay/source-session.js +134 -0
- package/src/precision/lsp-overlay/store.js +150 -0
- package/src/precision/lsp-overlay/target-index.js +147 -0
- package/src/precision/lsp-overlay/target-query.js +55 -0
- package/src/precision/lsp-overlay.js +11 -868
- package/src/precision/typescript-lsp-provider.js +12 -682
- package/src/precision/typescript-provider/client.js +69 -0
- package/src/precision/typescript-provider/discovery.js +124 -0
- package/src/precision/typescript-provider/project-host.js +249 -0
- package/src/precision/typescript-provider/project-safety.js +161 -0
- package/src/precision/typescript-provider/reference-usage.js +53 -0
- package/src/version.js +7 -0
- package/docs/releases/v0.2.13.md +0 -48
package/docs/releases/v0.2.13.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# Weavatrix 0.2.13
|
|
2
|
-
|
|
3
|
-
## Runtime-integrity and cross-language verification patch
|
|
4
|
-
|
|
5
|
-
0.2.13 closes two failures found by dogfooding the live MCP on real JavaScript and Python
|
|
6
|
-
applications. A live client could keep an older tool/schema snapshot after the checkout had advanced,
|
|
7
|
-
and `verified_change` treated the absence of a Node manifest as a blocker even when no package test
|
|
8
|
-
was requested. Neither failure is converted into a cosmetic pass: incomplete architecture, coverage,
|
|
9
|
-
API or test evidence still produces `UNKNOWN` where appropriate.
|
|
10
|
-
|
|
11
|
-
### Cross-language `verified_change`
|
|
12
|
-
|
|
13
|
-
- An empty test request returns `NOT_REQUESTED` before looking for `package.json`.
|
|
14
|
-
- Requested package tests with `run_tests:false` return `DISABLED` without pretending that they ran
|
|
15
|
-
or blocking a Python/Go/Java/Rust repository for lacking an npm manifest.
|
|
16
|
-
- Actual execution still requires both `run_tests:true` and `WEAVATRIX_ALLOW_TEST_RUNS=1`, accepts
|
|
17
|
-
only existing test/check/verify package scripts and rejects shell-sensitive arguments.
|
|
18
|
-
- Regression coverage exercises both plan and verify phases against a Python-only repository.
|
|
19
|
-
|
|
20
|
-
### Packed-runtime and live-tool integrity
|
|
21
|
-
|
|
22
|
-
- Release verification runs the packed npm artifact and portable MCPB stage as real stdio servers.
|
|
23
|
-
- The smoke gate asserts 34 tools for the offline profile and all 38 for `hosted` / `full`, including
|
|
24
|
-
`trace_endpoint`, `trace_api_contract` and the local-only `preview_sync` approval step.
|
|
25
|
-
- `graph_stats` and initialization diagnostics identify the running package version, enabled
|
|
26
|
-
capabilities and registered tool count. This separates an old client connection from a deliberately
|
|
27
|
-
restricted profile.
|
|
28
|
-
- Existing security boundaries are unchanged: `offline` remains the no-HTTP default; `online` stays
|
|
29
|
-
a compatibility alias for `advisories,hosted`; `crossrepo` is not silently added to a custom list;
|
|
30
|
-
and no network tool is made available by default.
|
|
31
|
-
|
|
32
|
-
MCP clients commonly snapshot `tools/list` for one connection. After upgrading, reconnect or start a
|
|
33
|
-
new task. Expected counts are 31 (`pinned`), 34 (`offline`), 35 (`osv`) and 38 (`hosted` / `full`).
|
|
34
|
-
|
|
35
|
-
### Skill and architecture workflow
|
|
36
|
-
|
|
37
|
-
The bundled skill now covers non-HTTP entrypoints (CLI, worker, queue, cron and events), explains how
|
|
38
|
-
to review and save a local starter contract, establish an explicit ratchet baseline, apply a reviewed
|
|
39
|
-
exception, and classify generated/test/resource trees through `.weavatrix.json`. It also labels
|
|
40
|
-
`shortest_path` as undirected connectivity rather than directional call proof, uses the correct
|
|
41
|
-
`change_impact base` parameter, and avoids redundant symbol-context calls.
|
|
42
|
-
|
|
43
|
-
## Compatibility
|
|
44
|
-
|
|
45
|
-
- The 38 tool names, input schemas and `weavatrix.tool.v1` result envelope remain compatible.
|
|
46
|
-
- Hosted sync payload v2/v3, confirmation-token consent and architecture-contract transport are
|
|
47
|
-
unchanged; no hosted application change is required.
|
|
48
|
-
- The public MIT license and local-first network boundary are unchanged.
|