Skip to main content

Module wire

Module wire 

Source
Expand description

The findings wire format, v1.1.0 — serialisable form of crates/weave-mcp/schema/weave-findings.schema.json.

weave-mcp/src/findings.rs produces the per-merge document (one merge of one file, scope: "merge", declared version 1.0.0 because it uses no 1.1 field). This module produces the repo-scope document (weave check, scope: "repo"), which needs the same vocabulary from a crate the MCP server can depend on. Both are the same schema; the difference is which optional fields are populated.

v1.1.0 is a minor bump over v1.0.0: it adds the optional top-level scope and the optional finding.side. A v1.0.0 document is still valid under it, which is exactly what minor is supposed to mean.

Structs§

Bindings
Finding
Findings
Op
Reference
RelatedRef
Rename
Sides
What a document calls the two sides of the comparison it describes.

Constants§

SCHEMA_VERSION_1_1
The version a document that uses a 1.1 field must declare.
SCHEMA_VERSION_1_4
The version a document that carries an ARITY finding must declare.

Functions§

conflict_advice
The wire kind and the repair line for one conflict.