Expand description
Plugins: external programs that add rules, importers, exporters, audits and event handlers over a JSON protocol. Only programs named in spec.toml 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.