Skip to content

Add Kimi models.dev pricing lookup - #2374

Open
joeVenner wants to merge 7 commits into
steipete:mainfrom
joeVenner:codex/modelsdev-kimi-moonshot
Open

Add Kimi models.dev pricing lookup#2374
joeVenner wants to merge 7 commits into
steipete:mainfrom
joeVenner:codex/modelsdev-kimi-moonshot

Conversation

@joeVenner

@joeVenner joeVenner commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an additive provider-aware models.dev lookup seam for CodexBar providers.
  • Map kimi to the kimi-for-coding catalog and moonshot to the paid Moonshot/Kimi API catalogs.
  • Normalize the documented Kimi k3[1m] alias to the k3 catalog row, wire Kimi/Moonshot pricing into Pi session runtime cost, and expose both providers through codexbar cost.

Proof

  • Previous-context check: PR Add GPT-5.6 Sol/Terra/Luna Codex pricing #2023 added GPT-5.6 bundled pricing, PR Fix: Refresh pricing for unknown models #2018 added unknown-model refresh behavior, and PR Improve China Kimi/GLM routes: Coding Plan 5h, Kimi Monthly, clearer labels #2351 is Kimi/GLM quota routing rather than these model IDs.
  • Absence check against current base returned no matches:
    git grep -n -E "kimi-k3|kimi-k2\.7-code|kimi-for-coding-highspeed" origin/main -- Sources Tests docs
  • Source catalog check from https://models.dev/api.json showed:
    • kimi-for-coding: k3 / Kimi K3 / input 0 / output 0 / cache_read 0 / cache_write 0 / context 1048576
    • kimi-for-coding: kimi-for-coding / Kimi K2.7 Code / input 0 / output 0 / context 262144
    • kimi-for-coding: kimi-for-coding-highspeed / Kimi For Coding HighSpeed / input 0 / output 0 / context 262144
    • moonshotai: kimi-k2.7-code / Kimi K2.7 Code / input 0.95 / output 4 / cache_read 0.19 / context 262144
    • moonshotai: kimi-k2.7-code-highspeed / Kimi K2.7 Code HighSpeed / input 1.9 / output 8 / cache_read 0.38 / context 262144
    • moonshotai: kimi-k3 / Kimi K3 / input 3 / output 15 / cache_read 0.3 / context 1048576
  • Official docs cross-check: Kimi API docs list Kimi K3, Kimi K2.7 Code, Kimi K2.6, and Moonshot V1 on the pricing/model pages (https://platform.kimi.ai/docs/pricing/chat, https://platform.kimi.ai/docs/models).
  • Helper regression now verifies CostUsagePricing.modelsDevPricing(provider: .kimi, model: "k3[1m]") resolves with normalizedModelID == "k3".
  • Runtime regression test writes cached models.dev fixture data, then verifies PiSessionCostScanner.loadDailyReport computes costs for Pi JSONL rows:
    • kimi / k3[1m]: 160 tokens, cost 0.000252, proving the alias reaches the k3 catalog row
    • moonshotai / kimi-k3: 160 tokens, cost 0.001053
  • Built CLI proof used an isolated temp home with a synthetic .pi/agent/sessions/2026-07-28T10-00-00-000Z_kimi-proof.jsonl containing only two assistant rows. No real account files, Keychain, or browser cookies were read. Command shape:
    HOME=[temp] CFFIXED_USER_HOME=[temp] XDG_CONFIG_HOME=[temp]/.config XDG_CACHE_HOME=[temp]/.cache .build/debug/CodexBarCLI cost --provider kimi --format json --pretty --refresh
    Output excerpt:
    {
      "provider" : "kimi",
      "source" : "local",
      "sessionTokens" : 160000,
      "sessionCostUSD" : 0,
      "daily" : [{
        "date" : "2026-07-28",
        "inputTokens" : 100000,
        "cacheReadTokens" : 10000,
        "outputTokens" : 50000,
        "totalTokens" : 160000,
        "totalCost" : 0,
        "modelBreakdowns" : [{ "modelName" : "k3[1m]", "totalTokens" : 160000, "cost" : 0 }]
      }]
    }
    Public models.dev currently publishes zero prices for kimi-for-coding/k3, so the proof expectation is row inclusion plus zero-priced catalog resolution for kimi.
  • Built CLI proof for the paid Moonshot catalog row used the same isolated Pi fixture:
    HOME=[temp] CFFIXED_USER_HOME=[temp] XDG_CONFIG_HOME=[temp]/.config XDG_CACHE_HOME=[temp]/.cache .build/debug/CodexBarCLI cost --provider moonshot --format json --pretty --refresh
    Output excerpt:
    {
      "provider" : "moonshot",
      "source" : "local",
      "sessionTokens" : 160000,
      "sessionCostUSD" : 1.053,
      "daily" : [{
        "date" : "2026-07-28",
        "inputTokens" : 100000,
        "cacheReadTokens" : 10000,
        "outputTokens" : 50000,
        "totalTokens" : 160000,
        "totalCost" : 1.053,
        "modelBreakdowns" : [{ "modelName" : "kimi-k3", "totalTokens" : 160000, "cost" : 1.053 }]
      }]
    }

Verification

  • CLANG_MODULE_CACHE_PATH=/private/tmp/codexbar-clang-cache swift test --disable-sandbox --scratch-path /Users/mosaab/Documents/Projects/CodexBar/.build --filter PiSessionCostScannerTests: 19 tests passed.
  • CLANG_MODULE_CACHE_PATH=/private/tmp/codexbar-clang-cache swift test --disable-sandbox --scratch-path /Users/mosaab/Documents/Projects/CodexBar/.build --filter 'provider lookup resolves current Kimi and Moonshot models': 1 test passed.
  • git diff --check: clean.
  • make check completed generated parser hash, package/docs/locales checks, SwiftFormat lint mode, and SwiftLint strict with 0 violations, then exited on the sandbox-only macOS plist cache write permission error after lint shutdown.

No live provider probes, browser-cookie imports, or Keychain reads were run.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b08f5536f9

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread Sources/CodexBarCore/Vendored/CostUsage/CostUsagePricing.swift Outdated
@joeVenner

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Jul 27, 2026

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codex review: needs changes before merge. Reviewed August 12, 2026, 5:14 AM ET / 09:14 UTC.

ClawSweeper review

What this changes

Adds models.dev-backed Kimi and Moonshot pricing to local Pi session cost reports and enables both providers in the cost CLI.

Merge readiness

⚠️ Needs maintainer review before merge - 6 items remain

Keep open: current main lacks this Kimi/Moonshot pricing support, but the current head still regresses Claude filtering and ignores Moonshot’s configured region. Likely related people: Peter Steinberger (high-confidence filter owner) and iam-brain (medium-confidence models.dev refresh owner).

Priority: P2
Reviewed head: b3d0a091be9b9119048ba82335586f274ad57fc5

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The real CLI proof is strong, but two remaining correctness defects and a dirty merge state prevent merge readiness.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body provides isolated built-CLI output after the change for Kimi and Moonshot local-session cost reporting.
Patch quality 🦐 gold shrimp (3/6) 2 actionable review findings remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body provides isolated built-CLI output after the change for Kimi and Moonshot local-session cost reporting.
Evidence reviewed 5 items Current main lacks the requested mapping: Current main has no Kimi/Moonshot models.dev pricing lookup or Pi-session support, so the central requested capability remains unimplemented.
Claude filter regression: The PR removes the call argument and implementation that set .excludeVertexAI for ordinary Claude scans; its claimed relocation to scanner-option resolution is absent.
Moonshot region is an existing contract: The existing Moonshot provider resolves an explicit configured or environment-derived region, while the PR always searches the international catalog first.
Findings 2 actionable findings [P1] Restore Claude’s Vertex-log exclusion
[P2] Select Moonshot pricing by configured region
Security None None.

How this fits together

CodexBar’s cost command combines local provider session logs with cached models.dev prices to calculate daily token and dollar totals. This PR extends the Pi-session path for Kimi and Moonshot before results reach CLI output.

flowchart LR
    A[Pi session logs] --> B[Provider and model parsing]
    B --> C[Provider pricing lookup]
    C --> D[Daily cost scanner]
    D --> E[Cost command output]
Loading

Before merge

  • Restore Claude’s Vertex-log exclusion (P1) - The refactor removes allowVertexClaudeFallback from configureScannerRefresh, and this branch’s resolvedScannerOptions does not set claudeLogProviderFilter. Because the option defaults to .all, standard Claude cost scans count Vertex AI transcripts; retain the existing .excludeVertexAI setup and cover the merged path.
  • Select Moonshot pricing by configured region (P2) - Moonshot pricing always searches moonshotai before moonshotai-cn, despite the existing explicit region setting. Overlapping model IDs therefore use international rates for China-region accounts; route catalog choice through the resolved region and test divergent rates.
  • Resolve merge risk (P1) - Normal Claude cost totals can include Vertex transcript rows.
  • Resolve merge risk (P1) - China-region Moonshot users can receive international catalog pricing for overlapping model IDs.
  • Resolve merge risk (P1) - The GitHub merge state is dirty, so pre-rebase proof does not establish the merged result.
  • Complete next step (P2) - Two concrete code-level blockers remain and have a focused repair path after rebasing.

Findings

  • [P1] Restore Claude’s Vertex-log exclusion — Sources/CodexBarCore/CostUsageFetcher.swift:427-431
  • [P2] Select Moonshot pricing by configured region — Sources/CodexBarCore/Vendored/CostUsage/CostUsagePricing.swift:799-800
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Changed surface source +203/-35; tests +230/-85; docs +4/-2 The feature crosses pricing, scanning, provider descriptors, architecture-gate coverage, and CLI documentation.

Merge-risk options

Maintainer options:

  1. Preserve filters and regional pricing (recommended)
    Rebase the branch, restore Claude’s Vertex exclusion, and route Moonshot catalog selection through the configured region before merging.
  2. Pause the pricing series
    Keep this PR paused if the provider-pricing stack needs a maintainer-selected shared routing design before adding more providers.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Rebase onto current main; restore Claude/Vertex transcript filtering and add focused regional Moonshot pricing tests.

Technical review

Best possible solution:

Rebase onto current main, preserve the existing Claude/Vertex filters, and select Moonshot’s models.dev catalog from the resolved region with focused regressions for both regions.

Do we have a high-confidence way to reproduce the issue?

Yes—source inspection shows ordinary Claude scans fall back to .all after this change removes the existing filter setup, and Moonshot catalog order ignores the configured region.

Is this the best way to solve the issue?

No—the feature should be rebased through the current pricing implementation while retaining existing filters and provider-region behavior.

Full review comments:

  • [P1] Restore Claude’s Vertex-log exclusion — Sources/CodexBarCore/CostUsageFetcher.swift:427-431
    The refactor removes allowVertexClaudeFallback from configureScannerRefresh, and this branch’s resolvedScannerOptions does not set claudeLogProviderFilter. Because the option defaults to .all, standard Claude cost scans count Vertex AI transcripts; retain the existing .excludeVertexAI setup and cover the merged path.
    Confidence: 0.98
  • [P2] Select Moonshot pricing by configured region — Sources/CodexBarCore/Vendored/CostUsage/CostUsagePricing.swift:799-800
    Moonshot pricing always searches moonshotai before moonshotai-cn, despite the existing explicit region setting. Overlapping model IDs therefore use international rates for China-region accounts; route catalog choice through the resolved region and test divergent rates.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against a90dfed5c264.

Labels

Label justifications:

  • P2: This is a useful provider-pricing feature, but the defects affect cost attribution rather than runtime availability.
  • merge-risk: 🚨 compatibility: The patch alters existing Claude transcript filtering and can select the wrong Moonshot regional price table.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (terminal): The PR body provides isolated built-CLI output after the change for Kimi and Moonshot local-session cost reporting.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides isolated built-CLI output after the change for Kimi and Moonshot local-session cost reporting.

Evidence

Acceptance criteria:

  • [P1] swift test --filter PiSessionCostScannerTests.
  • [P1] swift test --filter ProviderArchitectureGatekeeperTests.
  • [P1] make check.

What I checked:

Likely related people:

  • Peter Steinberger: Blame attributes the current Claude/Vertex transcript filtering to this commit. (role: introduced current filter behavior; confidence: high; commits: 0954a74a0b9d; files: Sources/CodexBarCore/CostUsageFetcher.swift)
  • iam-brain: Merged pricing-refresh work in Fix: Refresh pricing for unknown models #2018 is the adjacent models.dev path this PR extends. (role: models.dev refresh-path contributor; confidence: medium; commits: 0cb74ab2eab2; files: Sources/CodexBarCore/CostUsageFetcher.swift, Tests/CodexBarTests/ModelsDevPricingTests.swift)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Rebase onto current main without dropping current pricing behavior.
  • Restore Claude/Vertex filtering with regression coverage.
  • Test divergent international and China Moonshot catalog prices.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (27 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-09T01:44:16.865Z sha dc128b0 :: found issues before merge. :: [P1] Synchronize provider architecture gates | [P2] Route Moonshot pricing by source region
  • reviewed 2026-08-09T04:55:30.044Z sha dc128b0 :: found issues before merge. :: [P1] Synchronize provider architecture gates | [P2] Preserve Moonshot catalog region
  • reviewed 2026-08-09T14:32:50.385Z sha dbe62e2 :: needs changes before merge. :: [P1] Synchronize provider architecture gates | [P2] Preserve Moonshot catalog region
  • reviewed 2026-08-09T16:06:45.818Z sha dbe62e2 :: needs changes before merge. :: [P1] Synchronize provider architecture gates | [P2] Preserve Moonshot catalog region
  • reviewed 2026-08-09T18:16:00.862Z sha dbe62e2 :: needs changes before merge. :: [P1] Restore Claude and Vertex provider filtering | [P1] Synchronize provider architecture gates | [P2] Route Moonshot pricing by configured region
  • reviewed 2026-08-09T19:50:33.594Z sha dbe62e2 :: needs changes before merge. :: [P1] Restore Claude’s Vertex-log filter | [P2] Select Moonshot pricing by configured region
  • reviewed 2026-08-09T21:13:07.296Z sha dbe62e2 :: needs changes before merge. :: [P1] Restore Claude and Vertex transcript filtering | [P2] Select Moonshot pricing by configured region
  • reviewed 2026-08-09T22:26:03.776Z sha b3d0a09 :: needs changes before merge. :: [P1] Preserve Claude’s Vertex-log exclusion | [P2] Route Moonshot pricing by selected region

@joeVenner

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@joeVenner

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 28, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Command router queued. I will update this comment with the next step.

@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 28, 2026
@joeVenner
joeVenner force-pushed the codex/modelsdev-kimi-moonshot branch from 6012689 to e8e0aa5 Compare July 30, 2026 11:39
@joeVenner

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 30, 2026

Copy link
Copy Markdown

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 4, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 5, 2026
@joeVenner
joeVenner force-pushed the codex/modelsdev-kimi-moonshot branch from e8e0aa5 to 5fabdb1 Compare August 5, 2026 16:05
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. label Aug 5, 2026
@joeVenner

Copy link
Copy Markdown
Contributor Author

@steipete Rebased onto latest main and addressed ClawSweeper's feedback: docs/cli.md now documents Kimi and Moonshot cost support. Ready for review — happy to stack the China API and Google/xAI PRs on top once you pick the landing order.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 6, 2026
@joeVenner
joeVenner force-pushed the codex/modelsdev-kimi-moonshot branch 2 times, most recently from 1047188 to dc128b0 Compare August 6, 2026 20:36
@clawsweeper clawsweeper Bot added merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. and removed merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. labels Aug 6, 2026
Regenerate the final parser hash now that all Kimi pricing changes are applied on top of latest main.
ClawSweeper flagged that docs/cli.md still listed only Claude, Codex, and Cursor. Update the cost command description and add examples for the new local-cost providers.
@joeVenner
joeVenner force-pushed the codex/modelsdev-kimi-moonshot branch from dc128b0 to dbe62e2 Compare August 9, 2026 14:28
@joeVenner

Copy link
Copy Markdown
Contributor Author

@steipete — this PR has been rebased onto latest main and is ready for review. Thanks!

The architecture gatekeeper test started failing after the Kimi/Moonshot models.dev pricing work introduced new provider-specific branches in shared cost code. Rather than wrestling with brittle fingerprinted allowlist entries for shifted/added clusters, add explicit '// Provider-specific by design:' markers at each provider-owned dispatch point and update the gatekeeper test's hardcoded expectations (supportsTokenSnapshot set and shifted suppressed references). Remove the now-obsolete CostUsageFetcher and PiSessionCostScanner allowlist entries whose anchors no longer match the post-rebase source.

Closes provider-architecture gatekeeper failures on the Kimi/Moonshot rebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants