Commit Graph

63 Commits

Author SHA1 Message Date
iomgaa 0e17f71482 feat: gate in-call demotion on credible alternative health
Round 3 showed unconditional yield-after-two-failures pushes the third
attempt onto known-bad sources in heterogeneous pools (83% vs 10%
expected success). OutcomeAwareSelector now exposes health(); a failed
source only yields when some untried candidate scores at least half its
health. Health-blind selectors keep the unconditional rule.
2026-07-21 11:24:52 -04:00
iomgaa 58061c7536 feat: add AIMD adaptive concurrency pacing per source
P6 round 2 showed routing convergence turns account-level 429s into
the binding constraint (62% throttle rate at full concurrency). Each
source now carries a local AIMD limit: multiplicative cut on 429,
additive growth on success. Over-limit picks queue via the existing
quota-wait poll instead of burning retry budget or tripping the
circuit-open verdict.
2026-07-21 10:38:48 -04:00
iomgaa f621508117 docs: add M2.5 resilience design with review revisions 2026-07-21 08:26:43 -04:00
iomgaa 3f7a0ecebb docs: mark M2 milestone complete in roadmap 2026-07-21 03:46:33 -04:00
iomgaa f9677fbd8e docs: revise M2 plan per independent plan review 2026-07-21 00:13:12 -04:00
iomgaa b165c2aae6 docs: finalize M2 design after human approval gate 2026-07-20 23:41:20 -04:00
iomgaa dfd9dcfee4 docs: revise M2 design per independent review findings 2026-07-20 23:17:24 -04:00
iomgaa 8aaf8f200b docs: add M2 distributed design and record Q3 embedding decision 2026-07-20 23:01:29 -04:00
iomgaa 0b8460b6d5 fix: address independent verification findings
Classify empty completions as transient per human ruling (fixes flaky
real-gateway smoke and prevents caching empty responses), rename the
factory injection parameter gate to breaker per the frozen design,
rewrite the probe-entry cleanup without except BaseException, declare
python-dotenv explicitly, add a mid-backoff cancellation test, and
record all implementation errata in the design and architecture docs.
2026-07-20 22:01:26 -04:00
iomgaa b568b61a34 docs: pin register_provider as pure function per plan review
Also note that the seven architecture amendments predate the plan,
tighten T12 to independent implementation layers, and add fallback
guidance for read-only reference protocol imports.
2026-07-20 06:26:46 -04:00
iomgaa 0e271f2b06 chore: initialize research wiki graph and register M1 design entity 2026-07-20 05:56:27 -04:00
iomgaa 2daeb4ae36 docs: revise M1 design per independent review findings
Fix Decision/Update field freeze (retry_after_s in seconds, source_name
included), freeze the 18 telemetry fields with model_name->model rename,
add thinking-token watchdog liveness semantics (CHS R1), add client
lifecycle/from_settings/gather_bounded/shared-backend injection
signatures, and register two more ARCHITECTURE feedback amendments.
2026-07-20 05:54:12 -04:00
iomgaa 6442461201 docs: add M1 core milestone design with frozen public signatures 2026-07-20 05:41:24 -04:00