Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
docs(model-service): scope candidate custody state
cyh76f7b9acad20
diff --git a/docs/plans/2026-08-16-cloud-model-service-and-config-center.md b/docs/plans/2026-08-16-cloud-model-service-and-config-center.mdindex ceb8f21ef..d6a1ffb9a 100644--- a/docs/plans/2026-08-16-cloud-model-service-and-config-center.md+++ b/docs/plans/2026-08-16-cloud-model-service-and-config-center.md@@ -210,10 +210,11 @@ scope per instance behind them.realtime uses its existing fixed `unattributed-legacy` context. Neither value identifies acustomer instance. Both adapters atomically upsert `available`/`unavailable` state in a sharedtransition table; only a successfully persisted transition to `unavailable` grants permission- to emit the outage event. A successful managed decrypt attempts the `available` transition on- every call. If that recovery write fails, the usable call still proceeds, the write is retried- on the next successful decrypt, and the persistence failure itself is reported directly to- Sentry without relying on the unavailable transition table. Concurrent and cold-started Vercel+ to emit the outage event. A successful managed decrypt of committed saved ciphertext attempts+ the `available` transition on every call; candidate save round trips never read or write alert+ state. If that recovery write fails, the usable call still proceeds, the write is retried on the+ next successful decrypt, and the persistence failure itself is reported directly to Sentry+ without relying on the unavailable transition table. Concurrent and cold-started Vercelisolates therefore observe the same edges without making alert infrastructure part of serviceavailability.@@ -502,8 +503,10 @@ turns on.- `model_service_not_configured` (503) — resolved scope lacks an enabled slot for the capability.- `model_service_api_key_required` (400) — an enabled save candidate has no submitted, retained,- or materialized API key. This client-input validation runs before managed custody validation and- never emits a custody alert.+ or materialized API key, or any candidate (enabled or disabled) changes `base_url` or+ `realtime_url` while trying to retain ciphertext bound to the prior address. Address changes+ never carry prior ciphertext forward. This client-input validation runs before managed custody+ validation and never emits a custody alert.- `model_service_key_unavailable` (503) — an enabled save candidate cannot complete its managedencrypt/decrypt round trip after an actual key has been selected, or an enabled saved slot hasneither decryptable custody nor an eligible same-scope platform env recovery under the shared@@ -514,9 +517,10 @@ turns on.For unrecovered saved-slot failures, status marks the affected capability false with the samereason. Every saved-key decryption-failure transition, including one masked by approved platformrecovery, emits one scrubbed high-priority Sentry event per scope/config revision/capability;- repeated failures at the same active edge emit none, and a successful managed-key validation- rearms a later failure through the persisted `available` state. Failure to persist that recovery- state never changes the successful call or truthful status result.+ repeated failures at the same active edge emit none, and successful decryption of the committed+ saved ciphertext rearms a later failure through the persisted `available` state. Candidate+ round trips never rearm that state. Failure to persist the committed recovery state never changes+ the successful call or truthful status result.- `model_service_unavailable` (503) — quota **reservation** persistence failed on anenforcement-on path, before any upstream call. A **settlement** failure after upstream completionnever produces this error: the response is served and the un-settled reservation is reaped as a