Repository navigation
Conversation
Co-authored-by: ooiuuii <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesOpenRouter routing variants inherit catalog capabilities without changing the requested API model ID. Example: Resolve acme/routing-capability-model:nitro:exacto when only its base catalog row exists.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep open: this PR addresses a current capability-resolution bug, and no introduced correctness defect was found. Reviewed head: Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe OpenRouter provider resolves requested model IDs against the shared capability cache and supplies executable model metadata to the agent runtime and transport. flowchart LR
A[Requested model ID] --> B[OpenRouter provider]
B --> C[Routing metadata fallback]
C --> D[Capability cache]
D --> E[Resolved runtime model]
E --> F[OpenRouter transport]
Technical reviewBest possible solution: Retain the provider-owned suffix policy and existing cache owner, with exact catalog rows and authored settings taking precedence. Do we have a high-confidence way to reproduce the issue? Current-main exact-ID lookup demonstrates the failure path, and the body supplies a failing upstream resolver assertion with synthetic catalog data; no independent runtime execution was performed during this read-only review. Is this the best way to solve the issue? The implementation fixes metadata lookup at the existing provider/cache boundary without rewriting wire IDs or introducing another state owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6feeb50a3f14. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +43, Tests +301, Docs +10, Other +6. Total +360 across 9 files. Added test files: 2. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (2 earlier review cycles)Reviewed November 27, 2026, 3:08 AM ET / 08:08 UTC (Revision 3). |
Transport the reviewed Roboclaw repair without content changes. Co-authored-by: ooiuuii <[email protected]>
Prepared and validated in the owned Roboclaw task. Exact accepted tree transported by Codex. Co-authored-by: ooiuuii <[email protected]>
Exact Roboclaw artifact 844f8f729b71a7b4ee3dc753d826d824e89abeb0 transported by Codex; identical tree. Co-authored-by: ooiuuii <[email protected]>
|
This pull request has been automatically marked as stale after 7 days without qualifying human activity. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Transport the exact Roboclaw candidate and managed upstream integration without changing its tree. Preserve current provider registration and native namespace coverage. Co-authored-by: ooiuuii <[email protected]>
|
@clawsweeper re-review Updated head: This integrates upstream The PR body now includes raw result excerpts and the historical ratchet attribution. Shipped Gateway/plugin-discovery and live-provider proof are still incomplete; the normal Gateway turn was refused on attribution grounds. Hosted CI has not passed on this head and currently reports |
|
🦞👀 Re-review progress:
|
Fixes #192835
What Problem This Solves
OpenRouter routing modifiers such as
:nitroand:floorcan silently lose image/reasoning support and use generic token limits when the catalog contains only the base model ID.The OpenRouter plugin now selects an exact-first capability fallback for recognized routing suffixes while preserving the requested wire model ID. Exact catalog rows, catalog/unknown suffixes, custom endpoints, configured limits and explicit reasoning overrides retain their existing precedence. No configuration migration or pricing-policy change is introduced.
Current Integration
This update integrates upstream commit
b12552911c9de982455c72be6a4fda9eb199a759, retaining current provider registration and output-limit defaults. The test conflict is resolved without restoring retired upstream assertions; nativeopenrouter/autonormalization remains covered in the existing table.Published integration commit:
cdf87399a8bc0c52b6037e6971d5c2a32964b507.Exact tested/reviewed tree:
91fd58592a3756715a32936796fae6782dfc7c39.Scoped patch SHA256:
bb44a22d58de8f6c888d9ecc42d584357e9ba10d8114b2083bb53cf2e64686bc.Evidence
Remaining Proof And CI Limits
The requested shipped-plugin-discovery/Gateway and live OpenRouter proof is still incomplete. The regression uses production resolver/cache and provider callbacks with synthetic catalog data and injected hooks. The transport case sends the unchanged routing-qualified ID to a real local HTTP/SSE endpoint; it does not call an external OpenRouter model.
The normal disposable Gateway-turn invocation was explicitly refused because an agent-exec turn would lose inter-session attribution. No Gateway started. The available attributed session-message tool cannot bind a disposable instance/profile and candidate build. A supported attributed test route is still needed; no alternate CLI/RPC route, guard change or borrowed credential was used. No paid/live OpenRouter call has been made.
The previous required hosted ratchet failure remains a failed historical run. A controlled comparison using its exact historical rule gives excess 1 both before and after the public patch: +271 counted lines and +271 allocation, with no added excess. The original CI merge commit is unavailable, so this is not claimed as a bit-identical replay. Current candidate net test growth is +301 with upstream allowance 400 and the unchanged allocation 271; both local final-base/candidate checks pass. No allocation increase, guard relaxation, CI waiver or maintainer approval is claimed. Fresh hosted checks must evaluate the published commit.
Final-candidate command and raw result excerpts
The three shards total 66 tests across four files. Raw test log SHA256:
6e0ff569a2bd05d7674cf32ed1409a97d0b939cef63be2eb1324b3baaad06697.Source/index/patch identity was unchanged before and after the build. The build log excerpt is not an end-to-end claim.
Regression boundary: upstream failure and candidate pass
On upstream production code at
7f3bd14b7f7ec681b58076addfc14024223b08d4, with the current test fixture overlaid, the compound-route capability assertion fails. This is a registered-callback/resolver comparison with synthetic data. The same assertion passes in the candidate contract tests; it does not establish shipped discovery or live-provider behavior.Final-candidate independent review result
{ "status": { "schema_version": 1, "status": "scoped-clean", "exit_code": 0, "engine": "openclaw", "report_produced": true, "reason": null, "reviewer_exit_code": null, "timed_out": false, "effective_models": [ "openai/gpt-6-astra" ] }, "findings": [], "overall_explanation": "No actionable P0–P3 defects found in the nine-file diff and supplied caller context. Capability fallback preserves exact-row precedence, non-routing suffixes, and requested wire IDs. The fixture forwards provider preference and reinstalls fetch per case. Tools are disabled by policy, so repository identity and reported validation were not independently verified. Synthetic/injected coverage does not establish shipped plugin-discovery, Gateway, or live-provider behavior. Earlier builds and inherited CI observations do not establish final-tree build or hosted-CI readiness. This review is not maintainer approval." }The effective model was GPT 6 Astra. The helper's supported
maxeffort was requested; effective effort was not separately reported. This report is a code-review result, not proof sufficiency, hosted CI clearance or maintainer approval.Roboclaw prepared the implementation, tests and machine review; Codex verified the artifact hashes/bindings and transported the exact candidate without local code changes or duplicate tests. Contributor: @ooiuuii.
Work Sessions
Implementation and verification session (team access required; not public proof).