KB / Daily / 2026-08-25

Inbox 2026-08-25

  • 02:10 — Shared-stash race nearly cost two agent lanes their WIP (feat-prefer-pool-routing worktree): used git stash push + git stash pop in one compound command; a concurrent session pushed between the two, so MY pop consumed THEIR entry and applied unrelated UI edits into my tree while my routing diff vanished. Recovered both sides via git fsck --unreachable --no-reflogs (dropped-stash commits stay reachable: index commit → parent scan finds the stash merge commit, git checkout <sha> -- <paths> restores). Lesson: the AGENTS.md rule "never bare stash/pop" applies even to push+pop pairs in a single command — the stack is live-shared; only tag-and-apply-by-SHA is safe. Also: whole-tree tsc --noEmit gets SIGTERM'd (OOM) on the 15GB box when several agent sessions run concurrently — cap heap (NODE_OPTIONS=--max-old-space-size=2560) or scope typecheck; fresh-worktree tsc errors about missing @anyrouter/i18n/runtime etc. are pre-existing codegen gaps, not yours.
  • 02:30 — GMI Cloud MiniMax Week wired (feat/gmi-minimax-week): live-probed api.gmi-serving.com/v1/models (key in .env.production.local, NOT .env.local — the empty .env.local entry 401s) — MiniMaxAI/MiniMax-M3 + MiniMaxAI/MiniMax-M2.7 confirmed, both inference probes 200, discount_to_user:0 = promo active. Added gmicloud + gmicloud-byok $0 upstreams (list_pricing kept: M3 0.6/2.4, M2.7 0.3/1.2) to both model YAMLs as lowest-priority fallbacks; campaign ToS bans resale/farming → BYOK is the safe path, platform-key pooling noted as ToS-risky in YAML comment. PROMO ENDS ~2026-09-06 (campaign Aug 24–Sep 6; winners Sep 11): after that reprice or remove the two gmicloud upstreams on minimax/m3 + m2.7. H3/Speech/Music NOT added (text-only policy). Campaign page https://www.gmicloud.ai/minimax-week.
  • 10:16 — miniflare e2e suite dropped from vitest.e2e.config.ts exclude (#2561): tests/e2e/api-miniflare.test.ts no longer exists; stale exclude removed.
  • 12:28 — admin app (apps/admin) rewritten onto dashboard chrome: SidebarProvider+Sidebar(inset,icon-collapse), ui/breadcrumb top bar, PageContainer+PageHeader on all 21 routes, SPA sidebar links. PR #2655 duyet/anyrouter. AdminPageHeader in shared.tsx now has zero consumers (left for cleanup pass).
  • 13:03 — AnyRouter deploy: new UPSTREAM_* keys must be created in Cloudflare Secrets Store (anyrouter_) before wrangler deploy; wrangler secret put alone is not enough (10182). Self-loop node_modules symlinks in package trees break Vite ?url font imports.
  • 13:03 — AnyRouter: new UPSTREAM_* keys need Secrets Store create before Worker deploy (10182); package-local node_modules self-symlinks break Vite font ?url
  • 16:44 — Playground max tokens defaults off; input max is min YAML max_completion_tokens (GLM-5 32k not 128k ctx). CH backup on R2 anyrouter-analytics/backups/ch/dest-20260825T092733Z (3.7GB, 39 objects).
  • 18:53 — AnyRouter plan cutover 2026-08-25: Go → credits, Pro 0→0, Pro+ 5→00 (renamed Polar Max 024621b6 in place), Max 00→00 (new Polar product 627c5d52). D1 0190 applied; no active max/power rows. PRs #2685 #2683. No retro credit grant.
  • 19:05 — Public latency/uptime: use p99 (drop slowest 1% of ticks) so one timeout does not move the 24h number; TPS stays median not p99 because high TPS is the bogus tail.