Skip to content

v0.7.119: Bounded model fallback and scoped recovery

Choose a tag to compare

@SilenNaihin SilenNaihin released this 25 Sep 06:07
3eea4f9

Bounded model fallback and scoped recovery

This release publishes experiential==0.7.119 with exp-gateway-native==0.3.107 from human-merged PR #1108.

  • Ordered model fallback: Chat Completions, Responses and Messages can follow explicit model references above exact-model provider pools. Traversal skips repeated canonical models, resumes the parent's remaining providers, and shares one deadline and physical-attempt budget. Limits remain 16 distinct canonical models and 256 examined rungs.
  • Unavailable children: explicitly unavailable, empty model chains can remain as non-serving graph entries without invented pools, deployments or credentials. Parent suffixes and unrelated models remain usable. Available/nonempty chains and present-pool identity checks remain strict.
  • Scoped recovery: optional recovery on later requests uses this session's actual cache evidence and narrowly matched operational observations. Original receipt times, newer-negative precedence, bounded leases and nonrenewable hard ages prevent delayed reports from manufacturing warmth or erasing newer failures.
  • Hard concurrency bounds: default lane bounds and authored saturation="refuse" bounds now apply before forced admission on ordinary routes as well as nested stages. Reasoning pins and forced retries cannot exceed them; explicitly permitted soft overflow remains separate.
  • Cancellation and capture ownership: accepted callbacks, late reservations and capture jobs retain ownership until completion or acknowledgement. Durable storage acknowledgement remains the default; explicit asynchronous delivery acknowledges bounded queue admission. Schema-1 capture and opt-in schema-2 completion references remain supported.
  • Tool correctness and attribution: translated custom/namespaced tool history retains its full origin. Malformed translated wrappers return typed failures, while valid empty and native freeform custom inputs remain supported. Requested aliases remain stable; actual canonical destinations and per-attempt accounting stay distinct.
  • Snapshot authority: secure bounded reads retain file-generation evidence through queued writes. Actual Windows kernel and graph-authority tests are included, without claiming Windows CLI support.

Integration boundaries

This is an engine release, not hosted fallback activation or staging acceptance. Hosts must enforce request/caller authority, atomic root and destination budgets, credential binding, publication and rollback barriers. A platform-funded descendant still requires valid platform-funded root admission. Generic local SQLite serving of populated chains remains default-deny. Images, embeddings, decisions, batches and project selection do not gain conversational substitution.

Older readers are not assumed compatible with populated model chains or the unavailable/no-pool representation. Exact build admission, fleet draining and rollback exclusion remain required. Native contract marker 1 alone does not establish hosted authority. Official provider-status feeds remain outside routing and recovery authority.

Verification and source

Reviewed head: 08185454c762855f6eb05298130e9f4a7d98c753.
Human squash merge: 3eea4f9dc12d8cc260b9ab160ea3195afee9175f.
Both have the identical source tree: 90c745e33c25c5999cff615788af3f218b9abdec.

Current reviewed-head CI passed: 7,614 Linux tests with 54 disclosed skips, 754 Rust tests, 590 Darwin Capture tests plus two W16 evidence tests, and 71 actual Windows authority tests including all 25 kernel cases with zero skips, failures or errors. Package builds, SDK support, latency, CodeQL and security reviews passed; all review threads were resolved and the final review window completed.

The unavailable-child correction also passed 4,585 affected local tests (25 Windows-only skips and four explicitly excluded paid-provider tests), exact-commit archive/W16/installed checks, and a separate clean Python 3.13 no-sources installed-wheel proof. Historical test counts remain attributed to their own cutoffs; these counts overlap and are not additive.

Publication uses the existing native wheel matrix, flagship build and mandatory release-only Capture dependency smoke before trusted publishing. Official PyPI artifact verification and the platform's exact pin, deployed integration and bounded real-provider campaign follow publication. No hosted performance, cache-savings or provider-invoice claim is made by these tests.

🤖 Generated with Claude Code