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ยง
- Noop
Swap Backend - No-op backend that succeeds instantly. Useful for tests.
- Rule
Registry - Hot-swappable rule registry.
- Rule
Version ๐History - Per-rule version history and status tracking.
Traitsยง
- Rule
Swap Backend - Pluggable GPU-side swap backend.
- Signature
Verifier - Pluggable signature verifier.
Functionsยง
- compute_
cap_ ๐compatible - Whether
rule_capcan run on a device reportingdevice_cap. - parse_
sm ๐