Skip to main content

Module diag

Module diag 

Source
Expand description

The structured verifier plane (PSP-10 system 26).

Language adapters preserve as much source structure as each tool provides: cargo JSON messages, ty LSP/text diagnostics, Pyright’s JSON fallback (separately fingerprinted), pytest JUnit XML, and normalized tsc text. Cascades cluster by root cause before scoring; magnitudes are profile-normalized, replacing the historic unconditional score = 1.0.

Re-exports§

pub use cluster::cluster;
pub use cluster::DiagnosticCluster;
pub use cluster::CLUSTER_PROFILE_V1;
pub use types::cluster_residual;
pub use types::StructuredDiagnostic;

Modules§

cargo
cargo --message-format=json diagnostics (PSP-10 system 26).
cluster
Root-cause clustering and profile-normalized magnitudes (PSP-10 system 26).
pyright
Pyright diagnostics — the declared fallback Python sensor (PSP-10 system 26).
pytest
Pytest JUnit XML results (PSP-10 system 26): test identity preserved.
tsc
tsc --pretty false diagnostics (PSP-10 system 26).
ty
ty diagnostics (PSP-10 system 26): the primary Python sensor.
types
Structured diagnostics and their conversion to residual evidence (PSP-10 system 26).