Skip to content

Extensions

Extensions register Kinds with the kernel. Kernel.auto() discovers and loads every installed extension via entry points ([project.entry-points."dna.extensions"]); host code can also load one explicitly with kernel.load(ext). Each class below registers one or more KindPorts — see the Kinds reference for the Kinds they contribute.

Behaviour Kinds

dna.extensions.agentskills.AgentSkillsExtension

dna.extensions.soulspec.SoulSpecExtension

dna.extensions.agentsmd.AgentsMdExtension

dna.extensions.guardrails.GuardrailExtension

dna.extensions.safety.SafetyPolicyExtension

activate_manifest

activate_manifest(mi: Any, kernel: Any) -> None

Install input-side masking for every SafetyPolicy in mi.

Output-side enforcement is deliberately NOT wired here — it belongs to the runtime that produced the response, not to prompt build. This activates exactly what the kernel used to (scope of input or both), so the move changes no behaviour.

templates

templates() -> list[Template]

Declare the bundled safety/ml-privacy-filter scaffold.

The file tree lives next to this module (extensions/safety/templates/ml-privacy-filter) and is resolved via importlib.resources so it works in editable installs, wheels, and zipapps alike.

dna.extensions.recognizer.RecognizerExtension

dna.extensions.hooks.HookExtension

activate_manifest

activate_manifest(mi: Any, kernel: Any) -> None

Register every Hook instance in mi on the kernel's registry.

Kind machinery

dna.extensions.kinddef.KindDefinitionExtension

Lifecycle & knowledge Kinds

dna.extensions.sdlc.SdlcExtension

SDLC primitives — Roadmap, Epic, Feature, Story, Issue, Spec, Plan, AgentSession, Narrative, WorkflowEvent, StatusReport.

Engram (formerly LessonLearned) moved to HelixExtension (s-engram-rename, 2026-07-19) — memory is a platform primitive.

v1.10.0 (2026-05-12): Reference Kind (f-reference-citation-kind + f-semon-correct-memory). v1.14.0 (2026-07-07): the 9 cognitive policy Kinds consolidated into one expanded CognitivePolicy (s-consolidate-cognitive-policies). v1.15.0 (2026-07-20): 5 Kinds REMOVED — ArchiveProposal, Forecast, Insight, SynthesisRun, SynthesizerState (censo-12-kinds). See the block comment above their former descriptors for why.

dna.extensions.research.ResearchExtension

dna.extensions.evidence.EvidenceExtension

dna.extensions.collab.CollabExtension

Collaboration primitives — comments, assignments, discussions.

dna.extensions.federation.FederationExtension