Repository navigation
Minor release: the engine contract and plug-ins (#1339), and notice that the engines which do not audit code leave
CORE at 4.0 (ADR-178). Consumer: for external plug-ins. No database migration.
Added
-
Engine contract (#1339, ADR-176): CORE declares the engine interface version it implements as
CORE_ENGINE_API = "1"(mind.logic.engines.base);BaseEngine.api_versiondefaults to"1", so existing
engines need no change. Every engine enters the registry through one registration point. Two different engines
with the sameengine_idstop CORE from starting and are both named; an engine whoseapi_versiondiffers is
not registered and logs a warning, and its rules give the engine-missing finding. No explicitengine_id, an
id outside lowercase letters, digits and underscores, an id equal to a passive alias, or a constructor that
requires a parameter CORE does not inject produces a warning in 3.x and becomes a refusal in 4.0.
EngineRegistry.engine_class(engine_id)returns an engine's class without building it. -
Plug-ins (#1339, #1327, ADR-177): an installed package with an entry point in the group
core.plugins
brings engines, catalogs and governance packs. CORE finds every installed plug-in by itself, checks its
manifest (plugin_manifest.schema.json) and itscore_engine_api, and takes its engines, catalogs and packs
through the same checks as its own. A broken plug-in is skipped with a warning; an engine, catalog or pack id
shared with CORE or another plug-in stops CORE. The log has one line per plug-in with its version and a
fingerprint, andcode audit --format jsonlists the plug-ins a run used.mind.engine_apiis the one public
import path for engines;core-admin plugin listandcore-admin plugin check <name>(a report to keep as
validation evidence) are new. Example inexamples/plugin-example/; guide in "Write a CORE plug-in".
Deprecated
- Engines that do not audit code (ADR-175, ADR-178): CORE's scope is code auditing.
grc_judge,
attestation_gate,schema_gateandpublication_gate(with its catalog), and the commands
core-admin grc gap-analysisandcore-admin record check, are frozen as shipped and leave CORE in 4.0. They
return as external plug-ins under the same engine ids, so a catalog that names one needs no change; without the
plug-in installed, such a rule gives the engine-missing finding, never a silent pass. The other 14 engines stay.
Fixed
knowledge_gate.verifywas not async (ADR-176 D2): every caller awaits it; found by the new conformance
check.artifact_gatecrashed on amodel.yamlwhose top level is not a mapping: it now reports a violation;
found by the plug-in run check.- Full audit passed an llm_gate rule silently with no LLM (#1454): it now gives the "no LLM client" warning.
- Unknown engine id (#1458): the full audit and gap analysis now give the engine-missing finding (the full
audit reported a crash; gap analysis stopped). - Record engines built once (#1459): the record path built a new engine for every rule; it now builds each
engine once per registry initialization, as file audits do.
Security
- Dependencies (#1456): dnspython 2.9.2 and opentelemetry-api 1.45.2 (pip-audit findings).