Plugin Taxonomy & Abstract Bases
Plugin taxonomy (abstract bases)
| Base class | Role |
|---|---|
LanguagePlugin |
Parse source, extract symbols/types, resolve imports |
TracePlugin |
Ingest traces and coverage; derive call graphs |
NormalizerPlugin |
Canonicalize intermediate dicts; schema checks |
TranslationRulePlugin |
Map graph nodes/edges to GNN-oriented features (parallel to lower-level TranslationRule hooks) |
StateSpacePlugin |
Optional hooks around state / observation / action extraction |
ProcessModelPlugin |
Stage ordering and dependency extraction from bundles |
ExportPlugin |
Additional disk formats beyond built-in exporters |
ValidationPlugin |
Custom bundle or package checks and quality metrics |
VisualizationPlugin |
Alternate renderers for bundles or graphs |
Registration: There is no dynamic plugin registry in cogant.plugins yet—subclasses are imported and wired by application code or tests. Treat these bases as contracts for downstream packages; contributing a first-party registry is tracked on the roadmap.
Pipeline translation rules: The running pipeline applies concrete TranslationRule instances from the translate package; see Translation rules and the examples below.