Repository navigation
feat(codex): add scoped plugin readiness status - #132087
stevenlee-oai wants to merge 12 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 5, 2026, 6:38 AM ET / 10:38 UTC. ClawSweeper reviewWhat this changesAdds owner/admin Codex plugin status with paginated app details, account and conversation context, and guarded ChatGPT links in status and installation replies. Merge readiness⛔ Blocked before merge - 3 items remain Current main and v2026.9.1 still lack scoped plugin status, and the related open stack does not supersede this delivery PR. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s Codex plugin handles chat commands and communicates with Codex’s app-server. This change combines local plugin settings with account, catalog, and tool-snapshot evidence to explain availability to operators. flowchart TD
A[Chat command] --> B[Owner or admin check]
B --> C[Scoped Codex connection]
D[Local plugin settings] --> C
C --> E[Catalog and app metadata]
C --> F[Existing tool snapshot]
E --> G[Status and eligible app links]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceSource +888, Tests +1049, Docs +47. Total +1984 across 21 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one Codex-owned inspection flow that reuses current command authority and accurately separates account metadata, cached callability, and next-message policy refresh. Do we have a high-confidence way to reproduce the issue? Not applicable: this adds a diagnostic command rather than repairing a reproduced failure; current main and the latest release lack that command. Is this the best way to solve the issue? Yes in direction: the Codex plugin is the appropriate owner, and its existing admission inventory cannot replace read-only diagnostics for disabled plugins; integration must retain main’s newer authority and refresh contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8797856260ef. LabelsLabel justifications:
EvidenceWhat 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 (5 earlier review cycles)
|
|
Codex update: canonical identity now drives follow-up commands, including qualified curated aliases; the reported double-@ path has regression coverage. Argumentless status opens the existing configured-plugin chooser. Hosted actions use the same scoped readiness owner, including installation-result actions; local access, catalog restrictions, hosted support, and conversation callability remain separate. The body now has current combined-stack Gateway/UI media and validation. The unused test-helper export found by CI was removed at a669f4946b6; 55 management tests and the exact Knip all-exports check pass. Fresh CI is running. No persistent schema or embedding change was added. Direct sibling Codex source inspection included rust-v0.151.0 apps_processor/read.rs and installed.rs (auth/feature gates and snapshot semantics). The recording uses controlled responses, not live OAuth. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
a669f49 to
f0bf984
Compare
Review-only linearization of 51cc5701d27c3705c2624b89132e4ab4fafe7e19. The existing upstream PR branch is unchanged.
Review-only linearization of a669f4946b62590bc721a0c02d31c975814f321b. The existing upstream PR branch is unchanged.
1691041 to
b875820
Compare
Stack: layer 2 of 4 — upstream merge PR
Review in order 1 → 2 → 3 → 4; each layer depends on the previous row.
openclaw/openclaw:mainPR1 is reviewed upstream. PR2–4 use
stevenlee-oai/openclawfor predecessor-based review diffs; each review/upstream pair has the same head commit. All upstream PRs targetmain; the diffs for layers 2–4 currently include their prerequisites.Merge targets are the upstream PRs, in order 1 → 4. After each lands, restack the remaining branches onto updated
main. Fork PRs are review-only; merging them does not merge changes upstream.What Problem This Solves
Adds
/codex plugins status <name>@<marketplace> [page]to explain why one configured plugin's tools may be unavailable. It separates OpenClaw permission, Codex bundle state, and raw appenabled/callableflags, with account/bound-thread scope and five app rows per page.app/readandapp/installed {forceRefresh:false}; report missing/failed reads explicitly. Noapp/list, MCP probing, forced refresh, or configuration mutation.listas unpaged configured inventory andavailableas catalog discovery. Bare/unqualifiedstatusreturns usage without opening a runtime.Evidence
codex-plugin-status-live-permissions.mp4
34 seconds; live Gateway/UI/Codex 0.151.0. GitHub stays
enabled: true; callable: truewhile OpenClaw permission is disabled, then restored. These account-scope flags are not fresh OAuth or tool-execution proof. Captured at6b616760b018, before later command/menu simplification; use the qualified syntax above.Optional 20-second timeout/recovery demo: real Gateway/UI with a controlled Codex process and synthetic credentials at integrated head
385bb3ac1dc9. A withheld response times out, clears busy state, and permits a successful retry in the same conversation/process; not live backend fault injection.Qualified-status layout: real responses at
6b50a2bcc7c3; isolated disabled-plugin configuration is a fixture, private fields redacted.92 runtime/request/client tests and scoped type/lint/format checks passed at
1691041ab973. PR4 records integrated stack validation; PR3 demonstrates reconnect → refresh → tool success.Current integration is rebased onto main
850063498793. See upstream builds and tests; the recordings above predate this rebase.AI-assisted with Codex.