# Trusted rehearsal evidence Configure `TrustedRehearsal(runner_id, runner, key_loader=..., clock=...)` in trusted runtime code and supply it to `SiteOperations(trusted_rehearsal=...)`. Use a separately managed random key of at least 32 bytes and a stable runner identifier. Only trusted runtime processes may have access to this key. This is a symmetric attestation shared by the runner and approval runtime. Keep it separate from the operator approval sealing key. The configured runner receives a copy of the exact rehearsal context. It must verify the candidate inventory, restore the verified backup into an isolated database, run the approved migrations, observe migration history and application checks, and clean up before returning execution evidence. The runner and clock come from trusted composition, and callers cannot supply either per rehearsal. Call `run(context)` to obtain evidence, then derive the approval context with `approval_context(evidence, context, now=...)` and pass the same evidence as `rehearsal` when saving the approval and attempting execution. The approval store and migration coordinator independently verify the attestation. The underlying structural rehearsal format remains readable for audit. Unsigned historical evidence must be rerun under the trusted adapter before it can authorise a migration. The configured runner and protected key provisioning are deployment inputs. Production execution remains disabled. The loader must re-read the current key on each call. Use `FileRehearsalKey(path, group=...)` for a root-owned binary key file (0440) in a root-owned directory (0750) with the configured reader group. Keep the ancestors under trusted administrative control. Replace the file atomically. The runtime rejects missing, unreadable, or unsafe key snapshots and newly checks the key at both approval issuance and consumption. A rotation invalidates outstanding attestations under the retired key at the next check.