Repository navigation
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 14, 2026, 7:39 AM ET / 11:39 UTC. Summary PR surface: Source +3, Tests +185. Total +188 across 3 files. Reproducibility: yes. —a high-confidence source reproduction exists: current main hard-codes private-network denial and omits the configured OpenRouter request policy on the music HTTP path. The added regression demonstrates the corrected resolver and transport behavior, although a failing test was not run against current main in this review. Review metrics: 1 noteworthy metric.
Stored data model Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Use the canonical sanitized request-policy resolver for music generation, preserve deny-by-default behavior unless an operator explicitly opts in, and retain both resolver-wiring and real local transport regression coverage. Do we have a high-confidence way to reproduce the issue? Yes—a high-confidence source reproduction exists: current main hard-codes private-network denial and omits the configured OpenRouter request policy on the music HTTP path. The added regression demonstrates the corrected resolver and transport behavior, although a failing test was not run against current main in this review. Is this the best way to solve the issue? Unclear overall. Reusing the sanitized canonical provider HTTP resolver is the narrowest maintainable implementation, but maintainers must confirm that the full policy—including explicit private-network permission—should apply to music generation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1b02289fcfe9. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +3, Tests +185. Total +188 across 3 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
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. How this review workflow works
Review history (18 earlier review cycles; latest 8 shown)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Current head fb4b0c2e164376f3bb78717d1a3cf8d3bb9a7b36 adds local real-transport proof and fixes the request-policy bug found by that proof: OpenRouter music no longer hard-overrides request.allowPrivateNetwork=false. PR body Proof now includes the exact commands and notes that this is controlled local HTTP transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Current head 6fbb61750f2b3d00a70fbe82fbc15272f3d707aa adds the isolated local transport proof test on top of the latest main merge. PR body Proof now records the exact command/result: git diff check passed and node scripts/run-vitest.mjs extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.ts passed 2 files / 15 tests. This is controlled local provider-http transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Current head ff819e2a7dc47fe0b268083f473b16dec9c4bf2d fixes the transport proof lint issue and keeps the local provider-http proof. PR body Proof now records git diff check, focused oxlint, and node scripts/run-vitest.mjs extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.ts passing 2 files / 15 tests. This remains controlled local transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Current head 40f4ce68ec34fdd86e9cfae9d436f6d91827c6ab is updated from main and PR body Proof now records current-head local provider-http proof. git diff check and focused oxlint passed; node scripts/run-vitest.mjs extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.ts passed 2 files / 15 tests. This is controlled local transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Current head a6b4e683ce3c60a14fc73db8f8114645e4a84dda is updated from main and PR body Proof now records current-head local provider-http proof. git diff check and focused oxlint passed; node scripts/run-vitest.mjs extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.ts passed 2 files / 15 tests. This is controlled local transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review Current head c39a4a6dfd81a486fa8c70bbb496a888a433feba is updated from main and PR body Proof now records current-head local provider-http proof. git diff check and focused oxlint passed; node scripts/run-vitest.mjs extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.ts passed 2 files / 15 tests. This is controlled local transport proof, not a live OpenRouter request. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Co-authored-by: Alix-007 <[email protected]>
1e52d34 to
f643e7a
Compare
|
Merged via squash.
|
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Fixes an issue where OpenRouter music generation ignored configured provider request policy, including custom headers, proxy settings, and TLS options.
Why This Change Was Made
The music provider now passes the sanitized OpenRouter request policy into the shared provider HTTP resolver, matching the existing OpenRouter video path. Its explicit
allowPrivateNetwork: falseoverride remains authoritative, so provider configuration cannot opt music requests into private-network access.User Impact
OpenRouter music generation now honors supported provider transport settings. The existing private-network denial remains unchanged, including when
cfg.models.providers.openrouter.request.allowPrivateNetworkistrue.Evidence
f643e7a657c16aa6b8cf551e4b6cd30d2de21dc7.pnpm test extensions/openrouter/music-generation-provider.transport.test.ts extensions/openrouter/music-generation-provider.test.tspassed 2 files and 15 tests.allowPrivateNetwork: true, calls the real provider HTTP transport, expects a private-network denial, and asserts the server received zero requests.git diff --checkpassed.This is controlled local transport proof only. No live OpenRouter API call, real account, external proxy or TLS route, or generated music artifact was exercised.