phase 2 single provider

Phase 2 — Risks and Mitigations

See phase-1 risks for shared platform risks (RLS, secrets, CI).

Phase 2 — Risks and Mitigations

RiskAreaLikelihoodImpactMitigation
Provider API drift vs OpenAI schema2.1.xMediumHighContract tests with recorded fixtures; pin API version header
Streaming backpressure under slow clients2.1.3MediumHighContext cancellation; dual-write buffer limits per ADR-0024
Auth cache serves revoked token2.2.xMediumCritical2.2.2 revocation propagation; integration tests per TESTING_STRATEGY
Bloom filter false positives reject valid token2.2.1LowMediumDocument false-positive rate; gRPC fallback on bloom hit
Directive cache stale after update2.3.xMediumMediumVersioned keys; sub-second invalidation on write
Session write blocks response path2.4.xLowHighAsync checkpoint after response complete
ClickHouse outage affects LLM responses2.5.xLowCriticalAsync emitter; failures logged only, never fail request
Proxy overhead regression from Phase 2 features2.6.xMediumHigh2.6.1 benchmark gate before 2.6.2 exit
OpenAI rate limits during load test2.6.xMediumLowMock provider for CI; real key only in optional smoke
Phase 1 security regression2.6.2LowCriticalRe-run M1.5.1 suite as Phase 2 exit criterion

See phase-1 risks for shared platform risks (RLS, secrets, CI).

Edit on GitHub

Last updated on

On this page

No Headings