Repository navigation
Conversation
Greptile SummaryThis PR improves the error messages in
Confidence Score: 5/5
Reviews (1): Last reviewed commit: "CLI: clarify gateway url override auth h..." | Re-trigger Greptile |
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Keep open, but the current head is not merge-ready: the intended gateway hint fix is useful, yet the branch now carries a broad unrelated 214-file diff that must be narrowed before review can pass. Canonical path: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. So I’m closing this here because the remaining work is already tracked in the canonical issue. Review detailsBest possible solution: Close this stale PR. The latest review rated it F, the branch still lacks merge-ready proof, and there has been no human follow-up after the durable review. Do we have a high-confidence way to reproduce the issue? Yes for the review blocker: comparing current main to the PR head shows the broad 214-file diff, while current main source still has the generic gateway URL override auth message. Is this the best way to solve the issue? No for the current head. The shared gateway guard is the right layer for source-specific recovery text, but the best fix is the narrow gateway/TUI patch rather than this broad scope-expanded branch. Security review: Security review cleared: No concrete security or supply-chain regression was found in the intended gateway hint change; the broad scripts/provider/app scope is tracked as merge risk rather than a specific security defect. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against f04d18a39464. |
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
This pull request has been automatically marked as stale due to inactivity. |
Co-authored-by: Gabriel A. Mays <[email protected]>
97c3e3d to
dca24fd
Compare
|
Maintainer follow-up complete at The patch now keeps the existing explicit-auth boundary and gives source-specific recovery: CLI Proof:
No known proof gaps. Ready to land. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 24d89e603c
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ### Changes | ||
|
|
||
| - **Control UI message context:** reveal per-message token, context, and model details from the timestamp on hover or activation instead of showing a separate Context button. |
There was a problem hiding this comment.
Keep root changelog release-generated
AGENTS.md under Docs / Changelog says CHANGELOG.md is release-only and that release generation owns it. Adding Unreleased entries in this normal commit can be overwritten or duplicated by the release generator, so please remove the root changelog edits here and keep the release-note context in the commit/PR body instead.
Useful? React with 👍 / 👎.
|
ClawSweeper applied the proposed close for this PR.
|
|
Thanks @gmays for the original report and patch direction. Final-base synchronization exposed accumulated rebase history, and this fork branch no longer allows maintainer edits, so I could not replace it with the reviewed clean head. The same fix is now preserved as one three-file maintainer commit in #100418, including your |
What Problem This Solves
Gateway URL overrides deliberately refuse implicit configuration/device credentials, but the generic error did not tell users how recovery differs between CLI
--urlandOPENCLAW_GATEWAY_URL. This made a correct security boundary look like a broken token lookup in CLI, TUI, container, and SSH-tunnel workflows.Why This Change Was Made
Keep the existing authentication decisions unchanged and add source-specific recovery text inside the existing guard. CLI overrides explain both explicit
--token/--passwordand removing--urlfor the configured local/tunneled target. Environment overrides name the paired environment credentials and state that config credentials are intentionally not reused.User Impact
The failure remains fail-closed, but now points directly to the safe fix for the override source. No credential precedence, fallback, configuration, or protocol behavior changes.
Evidence
tbx_01kwsk3hcn6vvycz4w38neampv, run 28747758963: gateway matrix 468/468 passed; TUI gateway 29/29 passed.corepack pnpm check:changedpassed for the exact three-file core/coreTests scope.tbx_01kwsjkjbed1es2qrvgym31y8d: realgateway health --url, env URL override, andtui --urlcommands each rendered the correct source-specific recovery text; combined build + live run exited 0.git diff --checkpassed.Release note: Improved Gateway URL override authentication errors with direct recovery guidance for CLI and environment-based targets.