Machine APIs¶
Qual is a command-line application, not a network service or a public Rust library. Its supported integration surface is a set of versioned CLI and JSON contracts. An integration should invoke the executable, check the exit code, and validate JSON against the matching schema version.
Diagnostics¶
Use diagnostics when a person or CI system needs actionable findings. Rule selection, suppressions, confidence thresholds, and baselines apply.
StaticFacts v0¶
StaticFacts exposes a stable projection of Scenes, reachable objects, plays, animations, updaters, membership/order boundaries, renderer risks, and reason-carrying unknown frontiers. It is intentionally independent of rule selection and suppression.
ChangeImpact v0¶
ChangeImpact analyzes both snapshots and returns conservative Scene, play, and object candidates affected through the semantic dependency graph. It retains deleted edges from the base snapshot rather than guessing renames.
SourceBridge v0¶
SourceBridge generates a deliberately bounded set of hash-guarded patch candidates, applies each one only in memory, reanalyzes the source, and emits accepted or rejected rematching results. The command never writes the analyzed project.
Contract · Request and response schemas
Compatibility rules¶
- Read
schema_versionbefore interpreting a document. - Treat IDs as snapshot-scoped unless the contract explicitly says otherwise.
- Preserve reason-carrying
Unknownvalues; do not coerce them to false. - Do not deserialize undocumented internal Rust types.
- Pin a Qual version when consuming a contract in production.