Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Safety and impact
Hosted occupancy auto-start is disabled. Every hosted start is command-bound and renews control-plane authority plus durable recovery ownership before voice handlers are enabled. Active reservation continuation tolerates only its own
usage_cap_exhaustedsnapshot state; entitlement, privacy, consent, channel, storage, generation, heartbeat, and ownership failures still stop capture.The capture authority deadline is distinct from the bounded final-settlement window. Final units are clamped to checkpointed mixed audio, reserved units, and the last persisted authority window. Exact final consume remains encrypted in the existing durable outbox and may retry only during the 30-minute stopping settlement window. Crash recovery settles abandoned capture; it never renews or resumes recording authority.
All currently advertised hosted storage providers remain deliberately unsupported by the worker, so hosted recording cannot start from this PR. Self-hosted local/PVC capture remains unchanged. This patch does not delete or purge artifacts beyond existing fail-closed behavior.
Validation
cargo fmt --checkcargo clippy --all-features --all-targets --locked -- -D warningscargo test --all-features --lockedwith disposable PostgreSQL: 49 passed, including renewal/shortening, mismatch, near/far expiry, auth, revocation, timeout, outage, watchdog, old-schema upgrade, crash settlement, and two-pool ownership fencingcargo auditwith only the repository-documented reviewed exceptions: no vulnerabilities, four allowed unmaintained warningshelm lint charts/call-scribedocker compose --env-file .env.docker.example config --quietgit diff --checkRemaining release gates