Skip to main content

Module registry

Module registry 

Source
Expand description

Rule registry: version history, validation, and swap orchestration.

The registry is the heart of hot rule reload. It owns the per-rule version history, enforces monotonic versioning and dependency integrity, and delegates the physical GPU swap to a pluggable RuleSwapBackend.

For v1.1 the production CUDA backend is not yet wired here — use NoopSwapBackend in tests and inject the real backend from ringkernel-cuda when available.

Structs§

NoopSwapBackend
No-op backend that succeeds instantly. Useful for tests.
RuleRegistry
Hot-swappable rule registry.

Traits§

RuleSwapBackend
Pluggable GPU-side swap backend.
SignatureVerifier
Pluggable signature verifier.