Repository navigation
Conversation
ruvnet
left a comment
There was a problem hiding this comment.
Exact-head evidence review (db56d4b4).
The allocation-free rvm-cap primitive binds plugin identity, prior manifest, event scope, rights ceiling, epoch, expiry, next manifest, and command digest. Its focused adversarial cases cover substitution, discontinuity, event/rights widening, epoch mismatch, and expiry; exact-head CI run 33872196557 passes.
The issue's operational hypothesis is not yet demonstrated: no p95 measurement proves the <100 µs threshold, no lifecycle installer consumes the returned binding at the effectful boundary, no independently authenticated grant issuance is wired, and no witness receipt or MetaHarness HookPry-style frozen attack set is present. The primitive is promising but cannot yet authorize an end-to-end security claim.
SOTA applicability: HookPry (submitted 2026-09-03) specifically identifies update-time lifecycle hooks outside the model decision path: https://arxiv.org/abs/2609.03884
INCONCLUSIVE

Tracks #64.
Implements ADR 162 as an additive
rvm-capprimitive for lifecycle-hook updates that execute outside the model decision path.The deterministic gate binds plugin identity, exact prior manifest digest, permitted lifecycle events, maximum effective
CapRights, capability epoch, expiry, next manifest digest, and command digest. It fails closed on plugin substitution, stale manifest continuity, event widening, rights widening, epoch mismatch, and expiry.The returned binding is evidence only. Grant issuance must remain bound to an independently authenticated RVM capability. No existing hook or plugin path is enabled or migrated by this PR.
Validation included in the branch: unit tests for legitimate updates, plugin substitution, manifest discontinuity, event widening, rights escalation, epoch mismatch, expiry, boundary expiry, and attenuated rights. MetaHarness #281 owns independent HookPry-style reproduction.
Promotion gate: zero unauthorized bindings on the frozen attack set, zero rights widening, legitimate acceptance within 1 absolute point of baseline, local validation below 100 microseconds p95, full repository CI and RustSec green. No autonomous merge or deployment.