Plugin Architecturearchitecture

The convention that every compiler pass is a directory with a pass.yaml (declares I/O, dependencies, determinism) and a run.py (the logic), discovered and scheduled by a registry.

It keeps the compiler extensible without forks — add a pass by adding a directory — and lets an agent propose new passes as typed YAML (the recursive-research loop).

Where it appears

Descend

Historical evolution

Mirrors the Knowledge Compiler SDK pass registry; SKCE adds the recursive self-extension story.

Implementation details

PassRegistry loads pass.yaml + run.py, topologically sorts (Kahn), runs deterministic passes always, model passes when available.

Sources

View in graph →