diff --git a/.github/workflows/attestation-renewal.yml b/.github/workflows/attestation-renewal.yml index 274ba1c..1f00451 100644 --- a/.github/workflows/attestation-renewal.yml +++ b/.github/workflows/attestation-renewal.yml @@ -3,6 +3,8 @@ name: Attestation renewal on: schedule: # Weekly reminder only: this workflow never calls providers or uses credentials. + # GitHub executes schedules from the default branch only; on release/* this + # stays dormant until the authorized release-* -> main landing. - cron: '23 1 * * 1' workflow_dispatch: diff --git a/config/agents.toml b/config/agents.toml index 62fafb0..45688b1 100644 --- a/config/agents.toml +++ b/config/agents.toml @@ -259,12 +259,14 @@ opencode_npm = "@ai-sdk/openai-compatible" opencode_base_url = "https://logfare.ai/v1" omp_custom = true -# Google AI Studio Gemini Developer API. The account owner confirmed that -# this key belongs to a dedicated Free Tier project with no linked billing -# account or Prepay. Infisical presence alone is not billing evidence; this -# route is fixed to the standard Gemini API model and has no paid fallback. +# Google AI Studio Gemini Developer API. The operator reports that this key +# is intended for a dedicated Free Tier project with no linked billing +# account or Prepay, but authoritative Google project/billing metadata is +# still unverified (issue #185). Infisical presence alone is not billing +# evidence; this route is fixed to the standard Gemini API model and has no +# paid fallback. [providers.gemini] -label = "Google AI Studio Gemini Developer API (Free Tier)" +label = "Google AI Studio Gemini Developer API" base_url = "https://generativelanguage.googleapis.com/v1beta/openai/" secret = "GEMINI_API_KEY" env = "GEMINI_API_KEY" @@ -780,7 +782,7 @@ note = "Keep MiniMax-M3 as the known working route default; the formal MiniMax-M note = "Explicit Logfare route (OpenAI-compatible https://logfare.ai/v1, custom provider registered via opencode_npm). Never a fallback target and never selected implicitly: 5,000 req/day, 6 concurrent per account. Needs Infisical LOGFARE_API_KEY plus the /consent training opt-in (both models are premium). Real response + shell-tool call + both models verified 2026-11-05." [routes."opencode.gemini"] -note = "Explicit opt-in route to only gemini-4-hydrogen at xhigh. GEMINI_API_KEY is read only from Infisical; the process-scoped OpenCode guard pins every request to this model and stops on 429. Dedicated AI Studio Free Tier project, no billing account or Prepay, owner-confirmed 2026-11-19. No grounding tools, implicit fallback, or paid route." +note = "Explicit opt-in route to only gemini-4-hydrogen at xhigh. GEMINI_API_KEY is read only from Infisical; the process-scoped OpenCode guard pins every request to this model and stops on 429. Operator-reported dedicated AI Studio Free Tier project with no linked billing account or Prepay, but authoritative billing metadata remains unverified (issue #185); this is not a billing guarantee. No grounding tools, implicit fallback, or paid route." [routes."opencode.mistral"] note = "Infisical Vibe plan key, volume-first GLM 5.3 Flash, no automatic paid or model fallback. Verify real model availability before use." @@ -1033,6 +1035,10 @@ source = "live-e2e" sha = "57315124d62eaf090883666d2d17039cfce26849" note = "Real response + tool call via the claude route (observation recorded on that route below)." +[catalog.providers.gemini] +billing = "unknown" +terms = "Operator reports a dedicated AI Studio Free Tier project with no linked billing account or Prepay (2026-11-19), but authoritative Google project/billing metadata is unverified; Infisical presence is not billing evidence. Explicit opt-in route only, never a fallback target." + [catalog.providers.logfare] billing = "unknown" terms = "Premium community access: both models require the training opt-in (https://logfare.ai/consent) and Discord membership in the Logfare server; without them every request returns HTTP 403 (training_optin_required)." diff --git a/docs/adr/ADR-0018.md b/docs/adr/ADR-0018.md index b845c49..f3c3317 100644 --- a/docs/adr/ADR-0018.md +++ b/docs/adr/ADR-0018.md @@ -305,7 +305,9 @@ credentials, customer data or private material. the `[catalog.*]` evidence, or accept that the profile reports no usable candidate. `agent attest status [--json]` is the read-only status surface, and the scheduled Attestation renewal workflow raises a repository reminder - when a fallback candidate is stale or unknown. Re-verifying stays bounded + when a fallback candidate is stale or unknown. The schedule activates only + on the default branch after the authorized release landing; until then the + status command is the manual check. Re-verifying stays bounded and measured: only a real route/model probe may produce `verified-live` evidence; CI never calls providers or uses credentials for renewal. diff --git a/docs/agent-launcher.md b/docs/agent-launcher.md index a8d644f..c300ed4 100644 --- a/docs/agent-launcher.md +++ b/docs/agent-launcher.md @@ -368,7 +368,12 @@ fallback candidate's route/model, usable verdict, rejection reason, attestation status/provenance, and evidence timestamp/source/SHA without calling a provider or reading credentials. The scheduled **Attestation renewal** workflow runs the same report weekly and opens or comments on an issue only when a candidate is -`attestation-stale` or `attestation-unknown`. +`attestation-stale` or `attestation-unknown`. GitHub runs scheduled workflows +only from the repository default branch, so this schedule stays dormant while +the workflow lives on `release/*`; it becomes active after the authorized +`release-* -> main` landing. Until then, run `agent attest status --json` +manually (or `workflow_dispatch` where available) and track the first +post-main scheduled/dispatch run as release acceptance evidence. Renewal is deliberately manual and measured: run the real route/model probe, confirm the tool/file effect on disk, then update only that route/model's diff --git a/docs/research/gemini-4-hydrogen-free-tier-2026-11-19.md b/docs/research/gemini-4-hydrogen-free-tier-2026-11-19.md index 7459ca7..d0bd1ab 100644 --- a/docs/research/gemini-4-hydrogen-free-tier-2026-11-19.md +++ b/docs/research/gemini-4-hydrogen-free-tier-2026-11-19.md @@ -1,16 +1,22 @@ # Gemini 4 Hydrogen Free Tier candidate — 2026-11-19 -Status: **not adopted**. A shared practical coding-agent benchmark shows a -stronger aggregate score for Hydrogen than MiniMax M3, but public evidence does -not yet verify every requested task dimension or the exact route configuration. -The candidate remains blocked by those performance evidence gaps and by the -unverified billing state of the project behind the existing API key. Tracking issue: +Status: **explicit opt-in route implemented; adoption gates partially open**. +A shared practical coding-agent benchmark shows a stronger aggregate score for +Hydrogen than MiniMax M3, but public evidence does not verify every requested +task dimension or the exact route configuration. The explicit +`opencode.gemini` route was later added by PR #191 with a real +`gemini-4-hydrogen` inference check, while authoritative Google +project/billing metadata and the remaining performance evidence stay +unverified. Tracking issue: [#185](https://github.com/rebuildup/dotfiles/issues/185). -No Gemini route was added. This follows -[ADR-0018](../adr/ADR-0018.md): a stored key and provider price statement do -not prove that this account is entitled to a $0 route; an unproven candidate -must remain unreachable. +The route is reachable only by explicit opt-in and is fixed to +`gemini-4-hydrogen` at `xhigh`; it has no implicit or paid fallback. It must +not be read as proof that the key's project is entitled to a $0 route: a +stored key, an operator report, and a provider price statement do not prove +account billing state. Per +[ADR-0018](../adr/ADR-0018.md), an unproven billing boundary is catalogued as +unknown rather than free. ## Infisical and key handling diff --git a/script/agent.catalog.test.ts b/script/agent.catalog.test.ts index 6792787..aa130f5 100644 --- a/script/agent.catalog.test.ts +++ b/script/agent.catalog.test.ts @@ -104,6 +104,7 @@ describe("loadCatalog: real config", () => { test("loads every catalogued provider and route", () => { expect(Object.keys(catalog.providers).sort()).toEqual([ "deepseek", + "gemini", "groq", "kilo", "logfare",