Repository navigation
feat(codex): add plugin setup, status, refresh, and catalog search - #132158
kevinlin-openai merged 20 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. ClawSweeper will not retry this unchanged revision. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
|
Codex review: needs real behavior proof before merge. Reviewed September 9, 2026, 11:24 AM ET / 15:24 UTC (Revision 8). ClawSweeper reviewWhat this changesAdds searchable, paginated Codex plugin discovery, catalog metadata, scoped app-status and recheck commands, and guarded ChatGPT app links. Merge readiness⛔ Blocked before merge - 8 items remain Keep open: the search improvement remains useful and has credible visible evidence, but both previously reported runtime defects remain unchanged. No verified merged replacement resolves the complete contribution. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s Codex plugin turns owner/admin chat commands into requests to the selected Codex app-server. Catalog and app-state responses become chat results, navigation actions, and refreshed runtime inventory. flowchart TD
A[Chat command] --> B[Owner or admin check]
B --> C[Catalog discovery]
B --> D[Account and conversation scope]
C --> E[Search and pagination]
D --> F[Codex app-server requests]
F --> G[App status or inventory refresh]
E --> H[Chat results and actions]
G --> H
Before merge
Findings
Agent review detailsSecurityNeeds attention: Initial owner/admin checks and URL filtering remain intact, but the new scoped runtime leaves a stale-authority window during physical retries. PR surfaceSource +1143, Tests +1556, Docs +104. Total +2803 across 28 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the shared catalog filter and scoped presentation, but build status/recheck on the canonical bounded request lifecycle with authority enforced at every physical write. Do we have a high-confidence way to reproduce the issue? Yes, from source: an unanswered scoped RPC has no deadline, and an overload response followed by an account/session change can reach another physical write without revalidation. These introduced paths were not executed during this read-only review. Is this the best way to solve the issue? Partly: reusing catalog discovery and one search filter is appropriate, but the separate unbounded request scope is not the best implementation. Existing request lifecycle machinery provides the safer owner boundary. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c4fa45b18c6c. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
|
Codex update: this revision removes the unconditional ChatGPT directory/settings links and same-account guidance from generic controls. Check ChatGPT app access now opens scoped plugin status; API-key, local-only, restricted and unknown cases receive the appropriate status instead of an unsupported setup promise. Existing native list/available/enable/disable/help controls remain. It also adds requested full-result search and ten-item pagination through existing discovery. The body includes a new 11-scenario search recording and 24-state management recording at the published head, with source-qualified GitHub matches beyond the former cutoff. These use the actual Gateway/UI with controlled Codex data; they are not OAuth or Telegram-specific proof. Account-wide ChatGPT directory eligibility and whole-bundle lifecycle remain separate work. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
385bb3a to
d8a6c71
Compare
Review-only linearization of 080c97a4379c3246cab40acec97a33772268ff84. The existing upstream PR branch is unchanged.
Review-only linearization of 0f80edfe6be0e27ce6a0a8926d165fbe7dc1a246. The existing upstream PR branch is unchanged.
d8a6c71 to
98b43fc
Compare
…penclaw#132158) * fix(codex): preserve app setup links after installation Review-only linearization of 51cc5701d27c3705c2624b89132e4ab4fafe7e19. The existing upstream PR branch is unchanged. * fix: separate browser navigation from question completion * style: format external question step placement * test(codex): remove redundant setup button assertion * feat(codex): add scoped plugin readiness status Review-only linearization of a669f4946b62590bc721a0c02d31c975814f321b. The existing upstream PR branch is unchanged. * fix(codex): mirror app runtime flags in plugin status * fix(codex): require a qualified plugin for status * fix(codex): bound plugin requests and fence stale retries * fix(codex): preserve command authority on current main * test(codex): match guarded account login request * feat(codex): recheck plugin app tools after setup Review-only linearization of 080c97a4379c3246cab40acec97a33772268ff84. The existing upstream PR branch is unchanged. * feat(codex): expose account-wide hosted app refresh * fix(codex): separate hosted refresh from plugin status * fix(codex): group hosted refresh under plugin commands * fix(codex): point refresh guidance to qualified plugin status * fix(codex): align refresh guidance with current app policy * feat(codex): add plugin search and scoped app navigation Review-only linearization of 0f80edfe6be0e27ce6a0a8926d165fbe7dc1a246. The existing upstream PR branch is unchanged. * fix(codex): show and search plugin catalog metadata
- GatewayMethod: add plugins.catalog.browse / .categories / .get (openclaw#139042) - Question: add optional url field (openclaw#132158) Protocol-only sync, no user-visible behavior change. v2026.9.10.5
Single upstream merge target for all four parts. Includes #132046, #132087, and #132089 plus catalog search/paging. Land this PR after its required checks pass; earlier upstream PRs need no separate merges or restacks. Smaller PRs remain review history.
What Problem This Solves
Operators could miss app setup after installing a Codex bundle, get stuck in URL questions, confuse OpenClaw permissions with hosted-app readiness, and browse only the first 30 catalog entries.
appsNeedingAuth. In the Control UI, Open link opens the supplied URL while the question stays pending; I've completed this step + Submit returnsacceptto Codex. Applies to hosted-app and native MCP URL questions./codex plugins status <name>@<marketplace> [page]separates OpenClaw app access, Codex installation/enablement, and raw appenabled/callableflags. Shows account/thread scope, missing evidence, eligible setup/manage links, and five apps per page./codex plugins refreshrefreshes hosted apps for the current Codex account/runtime, then updates OpenClaw's inventory cache. It takes no plugin argument and does not enable plugins or change conversation permissions./codex plugins available [query] [--page <n>]returns ten results per page with query-preserving navigation. Searches identity, title, publisher, marketplace, and description; displays title, copyable identity, publisher, and description with explicit missing-metadata labels. The model-facing discovery tool shares the matching.Existing
listremains unpaged configured inventory;install,enable,disable, and menu/help remain. Bare status returns usage without opening a runtime. Shared commands add bounded startup/RPC waits, cancellation, and account-authority checks before sends/retries. Cancellation cannot undo work already sent.Ownership and Limits
app/readand unforcedapp/installed; refresh callsapp/installed {forceRefresh:true}withoutthreadId, then metadata reads. Noapp/list, direct MCP probing, or duplicate refresh after Codex auth-prompt acceptance./newor/resetafter connecting.Setup/auth companions outside this PR: plugin-service auth-error URLs/messages, setup metadata/localization, and Codex URL/message consumption. They supply account-appropriate guidance, including service accounts. OpenClaw can land independently; correct routing requires deployed companions, metadata producer before consumer.
Evidence
Five distinct recordings from earlier feature builds, not the current integrated head. Live versus controlled behavior and later UI changes are identified below.
1. Setup interaction — 43s. Real Gateway/UI/bridge, controlled replay: GitHub's ChatGPT page opens while the request stays pending; a separate fixture demonstrates explicit completion. No live auth-request initiation, OAuth completion, or install with nonempty
appsNeedingAuthis proved.codex-plugin-browser-step-guided.mp4
2. Status versus permissions — 34s. Live Gateway/UI/Codex: GitHub stays
enabled: true; callable: truewhile OpenClaw access is disabled/restored. Account-scope snapshot, not OAuth/tool-execution proof. Predates command/menu simplification; use qualified status above.codex-plugin-status-live-permissions.mp4
3. Reconnect → refresh → tool success — 47s. Live GitHub: runtime entry absent → user reconnects offscreen → status still absent → refresh → flags true →
get_user_loginsucceeds. Same OpenClaw conversation/policy; final request starts a new native Codex thread. No active-thread refresh, service-account routing, or auth-prompt acceptance proof. Predates status/menu simplification.codex-plugins-refresh-live-github-v2.mp4
4. Catalog search/paging — 44s. Live catalog: pages one/two, GitHub search, no-match recovery, return to browsing. Composer commands, not native-button/install/OAuth proof. Predates metadata layout update.
codex-plugin-catalog-search-live.mp4
5. Timeout/recovery — 20s. Real Gateway/UI, controlled Codex process, synthetic credentials: withheld response times out, clears busy state, then retry succeeds in the same conversation/process. Not live backend fault injection.
codex-plugin-request-timeout-recovery.mp4
Later supporting screenshots: qualified status, catalog metadata layout, title search, and publisher search. Responses are real; isolated disabled-plugin configuration is a fixture. These also predate the latest integration.
Historical validation: 226 integrated plugin-management/request-client tests at
385bb3ac1dc9, plus 75 UI unit and 17 question-flow browser tests for URL interaction. Covers metadata, status, refresh/cache, policy, and request lifecycle. Current PR checks, not historical results, determine CI readiness.Incremental Review History
Fork reviews use predecessor branches for smaller diffs. Upstream-only
mainmerges mean delivery/review heads no longer necessarily match.AI-assisted with Codex.