feat: release Altimate Base hosted model - #1199
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
altimate-free/altimate-base0600credential storage, and bounded key rotationGateway configuration
The public repository contains no internal gateway hostname. Release builds embed the current endpoint from the repository variable
ALTIMATE_BASE_GATEWAY_URL; the build fails closed if the value is missing or unsafe. At runtime,ALTIMATE_BASE_GATEWAY_URLremains the highest-priority override, with the oldALTIMATE_FREE_GATEWAY_URLretained as a compatibility fallback. Changing gateway origins invalidates old credentials and requires registration against the new origin.Isolation and security
Altimate Base is inserted as a dedicated managed provider. Existing provider objects, auth stores, fetch implementations, and headers are untouched. Registration is unavailable until the TUI worker installs a per-launch in-memory consent capability. Redirects and cross-origin credential forwarding are blocked. The installation secret is hashed before registration and never leaves the machine in raw form.
Verification
Supersedes #1115 and closes #1114.
Note
High Risk
Changes authentication, consent-gated registration, credential persistence, release-time gateway embedding, and default model routing for CLI/ACP—security- and availability-sensitive paths.
Overview
Introduces Altimate Base (
altimate-free/altimate-base) as the hosted, no-signup free tier and replaces Big Pickle as the implicit default. New users see a default-No disclosure before registration; credentials live in a dedicated store, registration sends only a hashed install secret, and inference goes throughauthorizedFetchwith origin checks and bounded 401 handling.Release and ops: Release builds require
ALTIMATE_BASE_GATEWAY_URL(repo variable), validate HTTPS URLs at compile time, and embed the endpoint asALTIMATE_BASE_DEFAULT_GATEWAY_URL. CI sanity builds set a test gateway URL.Product surfaces: Provider loading pins the managed contract (project config cannot steer it),
defaultModel()and ACP userequireDefaultModeland filtered catalogs so Big Pickle is never chosen silently; onboarding/telemetry events rename from Big Pickle to Altimate Base. TUI registration crosses the worker RPC with one-shot consent tokens fromissueArmer().Smaller fixes: MCP discovery adds symlink-safe resolution and
.yarn/unpluggedpruning; ClickHouse honors dbt’ssecureTLS flag; docs and network/security FAQs describe logging, rate limits, and firewall needs.An internal doc specifies a follow-up hermetic E2E harness (fake gateway); it is design-only in this PR.
Reviewed by Cursor Bugbot for commit f6fbfb5. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Ships the hosted Altimate Base free model (
altimate-free/altimate-base) as the new implicit free fallback. Big Pickle is no longer offered as a new selection; existing Big Pickle defaults migrate to Base only after a default-No privacy disclosure, and sessions with no usable model now fail closed instead of silently starting with Big Pickle. Registration is consent-gated, and the managed provider contract is pinned so project config or models.dev can't redirect its key, model, or endpoint.Consent and security
0600store; logout clears them but keeps the install secret./modelor favorite cycling survive via a separate marker.Gateway and model behavior
ALTIMATE_BASE_GATEWAY_URLand fail if missing, non-HTTPS, or credential-bearing.altimate-basesampling to its served model family (temperature 0.55, topP 1) and excludes it from reasoning-effort variants..yarn/unpluggedtrees and rejects symlinked config escaping the project; the ClickHouse driver treatssecure,tls, andsslas TLS.Written for commit f6fbfb5. Summary will update on new commits.
Summary by CodeRabbit