Expand description
External programs: plugins that add rules, importers, exporters, audits and event handlers over a JSON protocol, and the shell commands documents name. Only programs named in spec.toml or a document ever run.
Re-exports§
pub use protocol::Description;pub use protocol::PROTOCOL;pub use registry::Loaded;pub use registry::load;
Modules§
- payload
- What plugins receive: a compact, stable view of the corpus and graph.
- process
- Runs a plugin process for one request, with a deadline.
- protocol
- The
specfold.plugin.v1messages. One request per process: specfold writes a JSON object to the plugin’s stdin and reads one JSON object from its stdout. - registry
- The configured plugins and what each one says it provides.
- rules
- Plugin rules: run each plugin that provides rules and turn its answer into findings.
- runner
- Runs the shell commands documents name (
verify,generated_by): with a deadline, in parallel, each distinct command once, and with a missing program reported as its own verdict.