Slice 250.2b Phase 3: BiometricExecutionMatrix + Zero-Trust OOM Circuit Breaker - #69511
Open
drussell23 wants to merge 1 commit into
Open
Conversation
…uit breaker (sync fail-secure REJECT + async RESOURCE_PRESSURE swarm telemetry) [integrity-verified: 7d16d7285d91]
📊 PR Size AnalysisSize: 💡 This PR is large. Ensure it focuses on a single feature or fix. Review Checklist
|
Open
3 tasks
Owner
Author
|
HELD (not merging this session) per operator review: production-shaped component (BiometricExecutionMatrix + OOM breaker) parked in the test tree with no production consumer yet; headline proofs run against stand-in embedders. Hold until the real ECAPA/biometric pipeline is scoped so this is built/validated against reality rather than banked as orphaned scaffolding. Green + isolated; safe to land later. Bases on the P2 branch (now merged to main via #69510). |
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
Phase 3 (stacked on #69510). The ECAPA execution matrix + a fail-secure OOM circuit breaker for unified-memory volatility.
tests/ml/only; fully decoupled by structural injection (nounified_supervisor/backendimports).LocalOOMCircuitBreaker, structurallyAdvancedCircuitBreaker-shaped + injectable): fail-secure — breaker-open /MemoryError/ generic error always returnVERDICT_REJECTED(never ACCEPTED on error).("resource_pressure", {...})to injectedEventSink+SwarmTrigger(loop-task or daemon-thread fallback) — never blocks the secure-lock verdict.Test Plan
🤖 Generated with Claude Code
Summary by cubic
Adds a fail-secure ECAPA biometric execution matrix with a zero-trust OOM circuit breaker and non-blocking telemetry, implemented in
tests/ml/via structural injection. Prevents ACCEPT on errors and shields the pipeline from unified-memory OOM storms.LocalOOMCircuitBreaker(shape-compatible withAdvancedCircuitBreaker) trips after N OOMs; while open, short-circuits to REJECT without calling the embedder.resource_pressureevents to injectedEventSinkandSwarmTrigger; never blocks the verdict and works without a running loop (daemon thread fallback).backendor supervisor imports; optional lazy probe ofecapa_facade; pure NumPy implementation with focused unit tests covering accept/reject paths, breaker-open short-circuiting, OOM handling, and telemetry behavior.Written for commit 3d50f42. Summary will update on new commits.