docs(claude): fix p2c casing to match ROUTING_STRATEGY_VALUES#6643
docs(claude): fix p2c casing to match ROUTING_STRATEGY_VALUES#6643chirag127 wants to merge 6 commits into
Conversation
… (ABI 148) (diegosouzapw#6605) fix(electron): bump electron 42→43 + rebuild better-sqlite3 from source against the Electron ABI (148). Electron 43 raises NODE_MODULE_VERSION to 148; better-sqlite3@12.11.1 has no electron-v148 prebuild, so the packaged app died with 'Nenhum driver SQLite disponível'. prepare-electron-standalone now compiles better-sqlite3 from source against the electron headers into build/Release (where 'bindings' resolves it). Validated by Electron Package Smoke (green) + local (node_register_module_v148). Supersedes diegosouzapw#6378. (--admin: the only reds are SonarQube/SonarCloud failing on a coverage-report artifact digest-mismatch — a GitHub Actions infra flake, not this diff; Sonar is green on main and the diff touches only the electron build.)
…iegosouzapw#6588) deps: bump the development group (6 updates). Rebased onto current main; all checks green after the electron-smoke fix (diegosouzapw#6605).
…7) + production deps bump (diegosouzapw#6620) fix(proxy): force CONNECT tunnel for HTTP proxied requests (undici 8.7) + production deps bump. undici 8.6+ changed ProxyAgent to forward plain-HTTP via request-proxy instead of CONNECT, breaking OAuth refresh through a connection proxy (501). proxyDispatcher now passes proxyTunnel:true. Validated: Unit Tests 3/8 (the OAuth-proxy test) green, new regression test green (fails without the fix on undici 8.7), SonarQube green. Supersedes diegosouzapw#6380. (--admin: the only red is Electron Package Smoke failing on a next-build artifact 'digest-mismatch' — a GitHub Actions infra flake corrupting the asar ('file data stream has unexpected number of bytes'); the better-sqlite3 rebuild itself succeeded (gyp ok) and the electron path is unchanged from diegosouzapw#6605 which passed the smoke. Not this diff.)
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Code Review
This pull request updates the CLAUDE.md file to change the casing of the 'P2C' routing strategy to lowercase 'p2c' in the Combo routing documentation. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Confirmed — CLAUDE.md:75 does still say 'P2C' while the code literal is lowercase 'p2c'. One-character fix, merging as-is. |
…roxy files belong to diegosouzapw#6620, not this PR) Restores electron/package-lock.json, electron/package.json, package-lock.json, package.json, open-sse/utils/proxyDispatcher.ts, scripts/build/prepare-electron-standalone.mjs and tests/unit/proxy-dispatcher-family.test.ts to origin/release/v3.8.47's content. The PR fork branched from a state of main that already includes diegosouzapw#6620 (proxy CONNECT tunnel fix + deps bump), which is not yet synced into release/v3.8.47 — the 3-way merge would otherwise silently carry that unrelated content into this doc-only PR. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Problem
CLAUDE.md:75lists the 18 combo routing strategies inline and writes the fifth one asP2C. The canonical literal insrc/shared/constants/routingStrategies.ts:7is"p2c"(lowercase). Every other strategy in the same sentence (lkgp,auto,fusion,round-robin, ...) is already lowercase, and JSDoc such asopen-sse/services/accountSelector.ts:42documents the union as'p2c'.Devs pasting from the guide into combo configs will hit a type-check failure —
P2Cis not in the union.Fix
One-character diff in
CLAUDE.md:75:P2C→p2c.Testing
Docs-only change to a single prose word inside a strategy list. No runtime, build, or type-check impact. Manual read-back confirms the list now matches
ROUTING_STRATEGY_VALUESbyte-for-byte.Alternatives considered
Leaving as
P2C(proper-noun rendering of "Power of 2 Choices"): rejected — inconsistent with the other 17 names in the same sentence and with the code literal devs actually paste.Thanks for the excellent OmniRoute!