Skip to content

codex/claw 720 plugin detail pages - #137846

Merged
Patrick-Erichsen merged 9 commits into
codex/claw-718-full-catalog-uifrom
codex/claw-720-plugin-detail-pages
Sep 10, 2026
Merged

Patrick-Erichsen merged 9 commits into
codex/claw-718-full-catalog-uifrom
codex/claw-720-plugin-detail-pages

Conversation

@Patrick-Erichsen

Copy link
Copy Markdown
Contributor
Additional instructions

MUST: Keep Allow edits from maintainers enabled for this PR so maintainers
can help update the branch when needed.

What Problem This Solves

Why This Change Was Made

User Impact

Evidence

@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: XL maintainer Maintainer-authored PR labels Sep 4, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 4, 2026
@clawsweeper

clawsweeper Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 9, 2026, 6:58 PM ET / 22:58 UTC (Revision 38).

ClawSweeper review

What this changes

Adds in-app plugin detail pages with ClawHub documentation, configuration requirements, capabilities, compatibility, release history, and security information.

Merge readiness

⛔ Blocked before merge - 8 items remain

Keep open as active, protected stack work. The latest test-only commit leaves all three prior findings unresolved in this head; the author's stated descendant corrections are verified, but remain unmerged.

Priority: P2
Reviewed head: bea456fe8e14580eea0654508936993e2dfab3a6

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful implementation with three established defects in this head, each already corrected in the intended descendant landing.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied Repository State classifies this as maintainer-authored, so the external-contributor gate is exempt. Stack validation and related live evidence are supplemental; the inspected screenshots do not demonstrate this head's README or security behavior, and video preparation failed because ffprobe is unavailable.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied Repository State classifies this as maintainer-authored, so the external-contributor gate is exempt. Stack validation and related live evidence are supplemental; the inspected screenshots do not demonstrate this head's README or security behavior, and video preparation failed because ffprobe is unavailable.
Evidence reviewed 8 items Pinned change and review continuity: The introduced file list matches the pinned base-to-head comparison. GitHub's commit patch shows that the latest commit only replaces sort() with toSorted() in the tab assertion; it does not change any of the three previously flagged production paths. An initial local historical diff failed because a required blob was unavailable, so the latest-commit comparison was verified through GitHub.
Security projection still bypasses canonical trust: Plugin detail derives security solely from version.llmAnalysis. The existing package-security client separately supplies effective trust, pending/stale state, moderation, overview, and the canonical audit URL; its tests explicitly permit clean scan status alongside stale trust.
Authoritative dependency contract: The introduced client reads ClawHub package-version responses, establishing the dependency signal. ClawHub's release-security owner gives manual moderation precedence over model analysis and derives stale trust separately from virus-scan state.
Findings 3 actionable findings [P1] [P1] Reuse the canonical exact-release security result
[P2] [P2] Connect README copy controls to the shared click handler
[P2] [P2] Render READMEs in document mode
Security Needs attention Security display can disagree with effective release trust: Model-analysis status is presented as the plugin's Security result while stale trust and moderation are omitted, potentially misleading an operator evaluating third-party code.

How this fits together

The Plugins page requests package details through the Gateway, which combines ClawHub metadata with local installation state. Control UI renders that information to help operators evaluate plugins.

flowchart LR
  A[Operator opens plugin] --> B[Control UI detail request]
  B --> C[Gateway catalog handler]
  D[ClawHub package and release metadata] --> C
  E[Local installation state] --> C
  C --> F[Normalized plugin details]
  F --> G[README and metadata tabs]
  F --> H[Security summary]
Loading

Before merge

  • [P1] Reuse the canonical exact-release security result (P1) - This prior finding remains: reading only version.llmAnalysis loses effective trust, stale/pending state, moderation, and the canonical audit URL. A clean analysis can therefore appear as a clean Security result when release trust says otherwise; absent analysis hides the panel entirely. Use fetchClawHubPackageSecurity and its canonical projection. The descendant stack contains that correction, but this head remains unsafe to deploy independently.
  • [P2] Connect README copy controls to the shared click handler (P2) - The shared Markdown renderer emits copy buttons for fenced code, but this article and its page owner never connect handleMarkdownCodeBlockClick. Clicking Copy therefore performs no clipboard operation. The verified descendant adds the required delegated handler; retain that correction in the deployed result.
  • [P2] Render READMEs in document mode (P2) - The default renderer uses message limits: READMEs above 40,000 characters become plain text and those above 140,000 lose their tail, despite the fetcher accepting up to 512 KiB. Pass document mode while retaining sanitization and the fetch bound. This prior finding is corrected in the descendant, but remains present here.
  • Resolve security concern: Security display can disagree with effective release trust - Model-analysis status is presented as the plugin's Security result while stale trust and moderation are omitted, potentially misleading an operator evaluating third-party code.
  • Resolve merge risk (P1) - Deploying this intermediate head independently would expose an incomplete security verdict; the verified descendant corrections must survive the final atomic landing.
  • Resolve merge risk (P1) - The supplied test merge has stale parents, so this review does not certify the final combined merge result.
  • Complete next step (P2) - Preserve the three verified descendant corrections in the atomic landing through feat(ui): unify plugin discovery and installation #142782, and document that dependency and validation in this PR's body.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.

Findings

  • [P1] [P1] Reuse the canonical exact-release security result — src/infra/clawhub-plugin-catalog.ts:552-554
  • [P2] [P2] Connect README copy controls to the shared click handler — ui/src/pages/plugins/catalog-detail.ts:55-57
  • [P2] [P2] Render READMEs in document mode — ui/src/pages/plugins/catalog-detail.ts:49-52
  • [medium] Security display can disagree with effective release trust — src/infra/clawhub-plugin-catalog.ts:552
Agent review details

Security

Needs attention: The new security display bypasses canonical release trust; no introduced authorization change or supply-chain execution change was identified.

PR surface

Source +1259, Tests +236, Other +3. Total +1498 across 16 files.

View PR surface stats
Area Files Added Removed Net
Source 11 1489 230 +1259
Tests 4 508 272 +236
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 4 1 +3
Total 16 2001 503 +1498

Review metrics

Metric Value Why it matters
Gateway response contract 1 existing RPC gains a required detail object The Gateway schema, generated Swift model, and bundled Control UI consumer must remain aligned.

Stored data model

Persistent data-model change detected: unknown-data-model-change: packages/gateway-protocol/src/schema/plugins.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Preserve the atomic stack corrections (recommended)
    Land only the combined stack that retains canonical release-security projection and both README fixes, as the author has specified.
  2. Make this head independently deployable
    If standalone landing becomes necessary, bring all three verified corrections into this branch before deployment.

Technical review

Best possible solution:

Deliver the complete detail experience through the declared atomic stack, using canonical release trust and shared document-rendering and clipboard behavior.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: a release with clean analysis but stale trust produces a misleading summary; fenced README code has inert copy controls, and long READMEs inherit message truncation. No runtime reproduction was executed.

Is this the best way to solve the issue?

The overall direction is reasonable, but this head is incomplete. The verified descendant corrections reuse existing owners and address the three concrete defects without another implementation path.

Full review comments:

  • [P1] [P1] Reuse the canonical exact-release security result — src/infra/clawhub-plugin-catalog.ts:552-554
    This prior finding remains: reading only version.llmAnalysis loses effective trust, stale/pending state, moderation, and the canonical audit URL. A clean analysis can therefore appear as a clean Security result when release trust says otherwise; absent analysis hides the panel entirely. Use fetchClawHubPackageSecurity and its canonical projection. The descendant stack contains that correction, but this head remains unsafe to deploy independently.
    Confidence: 0.99
  • [P2] [P2] Connect README copy controls to the shared click handler — ui/src/pages/plugins/catalog-detail.ts:55-57
    The shared Markdown renderer emits copy buttons for fenced code, but this article and its page owner never connect handleMarkdownCodeBlockClick. Clicking Copy therefore performs no clipboard operation. The verified descendant adds the required delegated handler; retain that correction in the deployed result.
    Confidence: 0.99
  • [P2] [P2] Render READMEs in document mode — ui/src/pages/plugins/catalog-detail.ts:49-52
    The default renderer uses message limits: READMEs above 40,000 characters become plain text and those above 140,000 lose their tail, despite the fetcher accepting up to 512 KiB. Pass document mode while retaining sanitization and the fetch bound. This prior finding is corrected in the descendant, but remains present here.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b30ff87b771b.

Labels

Label justifications:

  • P2: This is a bounded plugin-discovery improvement without evidence of an urgent shipped regression.
  • merge-risk: 🚨 security-boundary: The new security panel can present clean model analysis while canonical release trust is stale or moderated.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The supplied Repository State classifies this as maintainer-authored, so the external-contributor gate is exempt. Stack validation and related live evidence are supplemental; the inspected screenshots do not demonstrate this head's README or security behavior, and video preparation failed because ffprobe is unavailable.

Evidence

Security concerns:

  • [medium] Security display can disagree with effective release trust — src/infra/clawhub-plugin-catalog.ts:552
    Model-analysis status is presented as the plugin's Security result while stale trust and moderation are omitted, potentially misleading an operator evaluating third-party code.
    Confidence: 0.99

What I checked:

  • Pinned change and review continuity: The introduced file list matches the pinned base-to-head comparison. GitHub's commit patch shows that the latest commit only replaces sort() with toSorted() in the tab assertion; it does not change any of the three previously flagged production paths. An initial local historical diff failed because a required blob was unavailable, so the latest-commit comparison was verified through GitHub. (ui/src/pages/plugins/plugins.e2e.test.ts:444, bea456fe8e14)
  • Security projection still bypasses canonical trust: Plugin detail derives security solely from version.llmAnalysis. The existing package-security client separately supplies effective trust, pending/stale state, moderation, overview, and the canonical audit URL; its tests explicitly permit clean scan status alongside stale trust. (src/infra/clawhub-plugin-catalog.ts:552, bea456fe8e14)
  • Authoritative dependency contract: The introduced client reads ClawHub package-version responses, establishing the dependency signal. ClawHub's release-security owner gives manual moderation precedence over model analysis and derives stale trust separately from virus-scan state. (convex/lib/packageSecurity.ts:19, e769826f1f95)
  • README rendering and interaction: The new README article uses default message rendering and has no delegated code-copy handler. The shared renderer defaults to copy controls, falls back to plain text above 40,000 characters, and truncates above 140,000; document mode and the shared click handler already exist. (ui/src/pages/plugins/catalog-detail.ts:48, bea456fe8e14)
  • Descendant corrections verified: The author's landing disposition points to feat(ui): unify plugin discovery and installation #142782. Commit 0fff22d implements canonical security projection, document rendering, and delegated copy handling. Reading the descendant's current files confirms those corrections remain present. GitHub reports that PR open and unmerged, so it is an atomic landing dependency rather than an implemented-on-main fix. (0fff22da9273)
  • Current main and release necessity check: Current main still uses plugin search and installed-plugin inspection rather than this routed catalog-detail implementation. Both current-main and v2026.9.3 directory inspections lack catalog-detail.ts. Neither related stack PR is merged; no verified merged replacement supports closing this PR. (ui/src/pages/plugins/plugins-page.ts, b30ff87b771b)

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Preserve all three verified corrections in the final atomic landing rather than deploying this intermediate head.
  • Replace the template-only PR body with feature context, the atomic landing dependency, and applicable validation links.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (37 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-09T18:28:10.257Z sha 8fe63f0 :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T18:41:39.281Z sha ee42570 :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T19:21:13.497Z sha 3decd7a :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T19:41:45.134Z sha c7fbefd :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T20:31:01.659Z sha 8cc6354 :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T21:18:43.056Z sha 5e4eb233fe0703b6645988611de6d04d53544acc :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T22:17:09.855Z sha 6d295b5 :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode
  • reviewed 2026-09-09T22:47:58.830Z sha 6e96138 :: blocked before merge. :: [P1] [P1] Reuse the canonical exact-release security result | [P2] [P2] Connect README copy controls to the shared click handler | [P2] [P2] Render READMEs in document mode

@Patrick-Erichsen
Patrick-Erichsen marked this pull request as ready for review September 4, 2026 03:49
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 4, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 4, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Sep 4, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 4, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Sep 5, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from d9a5fc9 to 7a1d9e7 Compare September 5, 2026 11:01
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from 7a1d9e7 to b83934f Compare September 5, 2026 12:01
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch 2 times, most recently from 9cb4357 to bacc388 Compare September 5, 2026 13:01
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 5, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from 45cfc3c to b5bb750 Compare September 9, 2026 16:10
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from b5bb750 to ce53380 Compare September 9, 2026 16:31
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from ce53380 to 1b1a9f4 Compare September 9, 2026 16:40
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Sep 9, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from 1b1a9f4 to c96a88b Compare September 9, 2026 16:51
@Patrick-Erichsen
Patrick-Erichsen force-pushed the codex/claw-720-plugin-detail-pages branch from c96a88b to 14bfb5f Compare September 9, 2026 17:26
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Sep 9, 2026
@Patrick-Erichsen

Copy link
Copy Markdown
Contributor Author

Landing verification on the rebased stack: descendant fixes reuse exact-release ClawHub security, render README content in document mode, and wire the shared code-copy handler. The shared audit renderer is also used by catalog and installed detail pages. Final combined validation: pnpm check passed at daf1aac0cfea; the focused plugin Playwright suite previously passed 13/13 on the same final behavior.

@Patrick-Erichsen

Patrick-Erichsen commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor Author

Landing disposition: all three findings are fixed later in this same atomic stack by commit 0fff22d: exact-release canonical security including audit URL, delegated README code-copy handling, and document-mode README rendering. This intermediate head will not deploy independently; atomic merge is up to #142782, whose exact-head review reports no remaining introduced defect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant