Repository navigation
feat(models): preserve exact Bot pins and show recorded usage - #462
Conversation
|
@greptileai please review exact head |
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryPreserves exact Bot model choices and adds protected views of configured routes, budgets and recorded usage.
Both previous threads were rechecked. The missing-route fallback is fixed. The Thai spend label already contains the correct text, supporting Review used source inspection; no tests or browser checks were run during this review.
|
|
@greptileai please re-review exact head |
Closes #421. Refs #392.
Behavior
A saved Bot route/model/effort is now an exact pin. Removing it from policy holds new work with
selection_pinnedinstead of using the default. The profile form preserves an unavailable choice, refuses an unrelated edit that would clear it, and stores the exact selection rather than a mutable catalog index. Choosing another approved route or the installation default is explicit. Active work keeps its original POLICY pin; later work retains Bot/conversation/memory continuity in a fresh native context.Adds
s16-client-models/v1over existing MODEL15 services: configured route/account/billing/recipient metadata and budget facts beside Bot controls, plus recorded work usage in conversation snapshots. Physical sends, requested/sent/reported effort, tokens, charged calls and measured/unknown spend stay distinct. Partial measurements are labelled as subtotals. Read-only routes never discover a provider, renew credentials or start inference. Protected sign-in reuses/settings/provider.Queries at most 128 recent steps for the authorized snapshot's at most 32 works using an additive SQL index; output and native-session handles are excluded before parsing. No new store, provider SDK, dependency, runtime loop or policy/default-runtime migration. ADR 0093 supersedes only ADR 0088's silent fallback; existing account/billing/private-recipient gates remain.
Validation
Head:
72b21b1e8f69f6cd30554972f2fd1fcd0cdb023c, updated with merged #461. Both browser-card and model projections remain composed.Live subscription/account/device evidence is not claimed here and remains #431. Imported source/provenance is unchanged.