Skip to content

Match public Template, Plugin, and Skill details to Control UI - #4952

Open
Patrick-Erichsen wants to merge 25 commits into
mainfrom
control-ui-detail-parity
Open

Patrick-Erichsen wants to merge 25 commits into
mainfrom
control-ui-detail-parity

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

The public Template, Plugin, and Skill detail pages use the Control UI’s reading layout and metadata rail while keeping ClawHub navigation, eligible install actions, and public audit reports.

  • Skills: The publisher’s SKILL.md appears inline. Related skills follows it on desktop and narrow screens. Public file and generated-card links no longer open a release browser. Version history, archive downloads, and authorized version management remain available.
  • Skill metadata: The rail matches the discovered Skill page in the Control UI. It shows the security verdict, version, and update date, and omits License and Platforms when absent.
  • Install on all three pages: The heading and command box align with the sidebar text at both widths. The heading uses the same font, 2px larger than the labels, at semibold weight. Install eligibility and controls are unchanged.
  • Plugins: Opening a bundled skill shows its authored instructions in a reader modeled on the Control UI, with a fixed header and a scrollable document.
  • Templates: The named SOUL.md and capability previews remain, without a generic release-file browser. Remote skill previews verify the pinned publisher, version and digest instead of falling back to the latest release.
  • Skill Card generation: Publication continues to queue security scanning but no longer automatically enqueues a generated card. Historical cards remain API-accessible. The hosted Skill Card worker was disabled separately; this PR does not deploy the backend.

Browser evidence

Skill metadata and Install: four desktop and narrow comparisons. The Install captures use live registry reads; the Skill metadata sheets use frozen public responses and a mocked Gateway for the Control UI reference.

Reader before/after comparisons: Gifgrep, WhatsApp → wacli, and Template SOUL.md. The gallery identifies live registry captures and measurements made with replayed public data. Desktop and narrow evidence use browser viewports, not physical phones.

Earlier evidence: original three-listing comparison · version-management repair · previous install and audit layout.

Verification at 8def89042843

Schema generation, static checks, type checks, production build, and package verification passed. The full unit run passed 10,532 tests (22 skipped). Five signed-in Chromium tests covered publication privacy, scan/card behavior, exact-version archives, and owner withdraw/restore; both narrow Chromium tests passed. Independent local P0–P3 review found no actionable issues. Hosted CI on this commit is tracked separately.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Nov 25, 2026 2:30am UTC

Request Review

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Desktop (1440 × 1000)

Template — Job Application Coordinator

Before After
Template — Job Application Coordinator, before (desktop) Template — Job Application Coordinator, after (desktop)

Plugin — WhatsApp

Before After
Plugin — WhatsApp, before (desktop) Plugin — WhatsApp, after (desktop)

Skill — Gifgrep

Before After
Skill — Gifgrep, before (desktop) Skill — Gifgrep, after (desktop)
Phone comparisons (390 × 844)

Template — Job Application Coordinator

Before After
Template — Job Application Coordinator, before (mobile) Template — Job Application Coordinator, after (mobile)

Plugin — WhatsApp

Before After
Plugin — WhatsApp, before (mobile) Plugin — WhatsApp, after (mobile)

Skill — Gifgrep

Before After
Skill — Gifgrep, before (mobile) Skill — Gifgrep, after (mobile)

@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 24, 2026
@clawsweeper

clawsweeper Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR gives public Template, Plugin, and Skill detail pages a shared Control UI-style layout, content overview, metadata rail, and install dialogs.

Example: Open the WhatsApp plugin listing at 390 × 844.

  • Before: Installation and package tabs appear above the README in separate mobile sections.
  • After: A full-width Install button leads the page, followed by bundled skills, tools, README, and metadata.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Strong visual evidence supports the feature, but the listed hydration, browser-consumer, and durable-contract corrections block landing.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The twelve inspected browser screenshots exercise the changed public detail renderers through real ClawHub pages at 1440 × 1000 and 390 × 844, showing the candidate layout for all three listing types; the body separately records Audit navigation checks.
Patch quality 🦪 silver shellfish (2/6) 3 actionable review findings remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Public catalog details present installation, content, and metadata differently from the Control UI catalog.
Reason: The collaborator-authored PR supplies owner direction, and the inspected comparisons demonstrate a coherent presentation across all three listing types.

Merge readiness

⛔ Needs changes before merge - 3 items remain

This maintainer-directed redesign merits keeping open, with focused corrections needed before landing.

Priority: P2
Reviewed head: 63c7a9eb1963bc92abe159a78829c7e68a33b6a2

Before merge

  • Stabilize the skill date before applying browser locale (P2) - The initial visible date uses toLocaleDateString(undefined), so server-rendered skill pages produce different text when the visitor's locale or timezone differs from the server. For example, a Nov 24 UTC timestamp renders as “Nov 24, 2026” on an en-US server and “24 Nov 2026” in an en-GB browser, triggering a React hydration mismatch and client regeneration. Use deterministic initial formatting, then apply the browser locale after hydration, as the new Template and Plugin implementations already do.
  • Migrate the remaining browser tests to the new detail interface (P2) - The redesign leaves deterministic failures in existing CI consumers: plugin-inspector-findings still waits for h1.skill-page-title, manage-context-proof clicks Versions while its new parent dialog is closed, and both account/org deletion tests use getByText(packageDisplayName), which now matches both the breadcrumb and h1. Update these consumers to accessible heading locators and the Package details navigation path rather than restoring obsolete UI structure.
  • Update the durable detail-page contract for this redesign (P2) - The new hero action opens installation in a dialog, but specs/plugin-skill-detail-polish-iteration.md:194–208 still explicitly requires the install card in the desktop rail and before mobile content. Root AGENTS.md requires subsystem intent changes to be recorded in specs. Update that owning section to describe the new layout and retained install gates so future work does not restore the superseded placement.

Findings

  • [P2] Stabilize the skill date before applying browser locale — src/components/SkillDetailPageView.tsx:646-649
  • [P2] Migrate the remaining browser tests to the new detail interface — e2e/local-auth/plugin-inspector-findings.pw.test.ts:430-432
  • [P2] Update the durable detail-page contract for this redesign — src/components/CatalogDetailLayout.tsx:32

Tests

  • Low-value test src/__tests__/package-detail-route.test.tsx: Collapse the six viewport variants at lines 290–319 into one composition test: jsdom does not apply responsive layout, and the removed media hook means these widths exercise the same component branch; retain responsive geometry checks in Playwright.
Agent review details

How this fits together

Public catalog routes load listing, release, and audit data into React detail components that render installation choices, release contents, metadata, and security-report links.

flowchart TD
  A[Public listing routes] --> B[Catalog and release reads]
  B --> C[Type-specific detail components]
  C --> D[Shared catalog layout]
  D --> E[Content overview and metadata rail]
  D --> F[Install and package dialogs]
  E --> G[Public security reports]
Loading

Technical review

Best possible solution:

Keep the shared layout, stabilize skill-date hydration, migrate the remaining browser consumers, and update the owning detail-page spec.

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

The browser captures establish the visual change, and source inspection establishes the locale-dependent hydration mismatch and stale browser expectations without executing target code.

Is this the best way to solve the issue?

The shared React layout is the appropriate owner: separate per-type shells would duplicate layout, while importing Control UI's Solid/Gateway implementation would cross framework boundaries.

Full review comments:

  • [P2] Stabilize the skill date before applying browser locale — src/components/SkillDetailPageView.tsx:646-649
    The initial visible date uses toLocaleDateString(undefined), so server-rendered skill pages produce different text when the visitor's locale or timezone differs from the server. For example, a Nov 24 UTC timestamp renders as “Nov 24, 2026” on an en-US server and “24 Nov 2026” in an en-GB browser, triggering a React hydration mismatch and client regeneration. Use deterministic initial formatting, then apply the browser locale after hydration, as the new Template and Plugin implementations already do.
    Confidence: 0.98
  • [P2] Migrate the remaining browser tests to the new detail interface — e2e/local-auth/plugin-inspector-findings.pw.test.ts:430-432
    The redesign leaves deterministic failures in existing CI consumers: plugin-inspector-findings still waits for h1.skill-page-title, manage-context-proof clicks Versions while its new parent dialog is closed, and both account/org deletion tests use getByText(packageDisplayName), which now matches both the breadcrumb and h1. Update these consumers to accessible heading locators and the Package details navigation path rather than restoring obsolete UI structure.
    Confidence: 0.99
  • [P2] Update the durable detail-page contract for this redesign — src/components/CatalogDetailLayout.tsx:32
    The new hero action opens installation in a dialog, but specs/plugin-skill-detail-polish-iteration.md:194–208 still explicitly requires the install card in the desktop rail and before mobile content. Root AGENTS.md requires subsystem intent changes to be recorded in specs. Update that owning section to describe the new layout and retained install gates so future work does not restore the superseded placement.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • VITE_CONVEX_URL=https://example.invalid bunx vitest run src/components/SkillDetailPageView.test.tsx src/components/SkillDetailPageView.interactions.test.tsx src/tests/package-detail-route.test.tsx
  • bun run test:pw:local-auth -- e2e/local-auth/plugin-inspector-findings.pw.test.ts e2e/local-auth/manage-context-proof.pw.test.ts e2e/local-auth/delete-account-resources.pw.test.ts e2e/local-auth/delete-org-resources.pw.test.ts
  • bun run ci:static
  • bun run ci:unit
  • bun run ci:types-build

What I checked:

  • Direction and keep-open guard: The author is a COLLABORATOR, the PR remains open at the reviewed head, and its stated direction explicitly authorizes matching the public detail pages to Control UI. (63c7a9eb1963)
  • Introduced change remains absent from main: The pinned introduction diff contains the shared layout, three detail-page conversions, font dependency, and browser-test adaptations; the verified merge base is the fetched main revision. (src/components/CatalogDetailLayout.tsx:8, 63c7a9eb1963)
  • Browser evidence inspected: Inspected all twelve screenshots attached at Match public Template, Plugin, and Skill details to Control UI #4952 (comment), covering Job Application Coordinator, WhatsApp, and Gifgrep before and after at desktop and phone widths; the declared candidate environment is a local production build using anonymous public catalog reads. (63c7a9eb1963)
  • Skill hydration defect: The skill rail formats its initial visible date with the runtime's default locale and timezone, while the new Template and Plugin date implementations explicitly stabilize server and initial client output. (src/components/SkillDetailPageView.tsx:647, 63c7a9eb1963)
  • Browser consumers left behind: The inspector test still requires the removed h1.skill-page-title selector; manage-context-proof clicks Versions before opening Package details; both deletion suites use an unscoped package-title text locator that now matches the breadcrumb and heading. (e2e/local-auth/plugin-inspector-findings.pw.test.ts:430, 63c7a9eb1963)
  • Repository policy and durable intent: Read the full root AGENTS.md; no nested AGENTS.md, maintainer-notes directory, or pr-simplify skill was found for these paths. The required durable spec still explicitly places installation in the desktop rail and before mobile content. (specs/plugin-skill-detail-polish-iteration.md:194, 63c7a9eb1963)

Likely related people:

  • Patrick Erichsen: Raw commit c0f8c48 adds src/components/TemplateDetailPage.tsx:70 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: c0f8c483a72f; files: src/components/TemplateDetailPage.tsx)
  • Vyctor H. Brzezowski: Raw commit 0dafef6 adds src/routes/plugins/$name.tsx:552 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0dafef6c8b60; files: src/routes/plugins/$name.tsx)
  • Vincent Koc: Raw commit c9a225a adds src/routes/plugins/$name.tsx:179 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: c9a225aef7f6; files: src/routes/plugins/$name.tsx)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Patch size +4660/-2329 across 41 files The scope spans three public detail surfaces, shared presentation components, styles, and their route/browser expectations.

Labels

Label changes:

  • add P2: This is a normal-priority catalog improvement with bounded hydration and validation defects, without evidence of an urgent production outage.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P2: This is a normal-priority catalog improvement with bounded hydration and validation defects, without evidence of an urgent production outage.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦞 diamond lobster and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 24, 2026, 5:27 PM ET / 22:27 UTC.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​fontsource-variable/​instrument-sans@​5.3.0100100828290

View full report

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Follow-up to the review of the previous head, now at 4bf1166b04c:

  • Skill date: With Chromium set to British English and America/Los_Angeles, the old page raised React hydration error fix: clear stale suspicious flag when VT verdict improves #418. The repaired page initially matches the server’s UTC date, then displays the browser-local date without the error. The regression passed against a locally built ClawHub with a seeded skill.
  • Package details → Versions: The dialog no longer splits into two columns. The release toggle went from zero width to 326 px. The owner browser flow withdrew and restored non-latest plugin and skill versions. The browser tests now use the dialog and exact listing titles rather than obsolete selectors.
  • Install contract: The existing design spec now describes the header action and dialog, while retaining the native install eligibility and fallback rules.
Repaired Before the repair
Full-width release rows and owner controls Split dialog and collapsed release rows

Both captures are from local Chromium with the version-management fixture, at 1280 × 720. The original 12 desktop/mobile comparisons are unchanged.

Local validation: static checks, TypeScript, production build and independent patch review passed. The complete coverage run passed with four workers (10,545 tests passed; 22 skipped). The default-parallel run had 15 failures in scanner tests outside this diff; nine also failed on unchanged main. No scanner code, timeouts or CI settings were changed. Hosted checks are separate.

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

The CLI/Desktop install card is back in the right column on all three listing types. The audit verdict and meter are a single report link with hover and keyboard-focus feedback. The Skill overview has no Package contents or Activity & details disclosure. The Plugin overview has no standalone Package details row; the version number still opens release controls. The screenshots show implementation 17ecd3d2335f; the only subsequent change in 6dbebf23ebc updates a route test.

Open dialogs

Listing Desktop (1440 × 1000) Phone viewport (390 × 844)
Template → included plugin: Meta Ads Agent → higgsfield-mcp 1.0.2 Meta Ads Agent → higgsfield-mcp 1.0.2, desktop Meta Ads Agent → higgsfield-mcp 1.0.2, phone
Plugin → bundled skill: WhatsApp → wacli WhatsApp → wacli, desktop WhatsApp → wacli, phone
Skill → release files: Gifgrep → Files Gifgrep → Files, desktop Gifgrep → Files, phone

Job Application Coordinator includes an MCP server rather than a packaged plugin. Meta Ads Agent supplies the actual pinned plugin shown above; the page comparisons below keep the original three listings.

Desktop page comparisons
Listing Previous PR layout Revised layout
Template — Job Application Coordinator Previous Template — Job Application Coordinator desktop Revised Template — Job Application Coordinator desktop
Plugin — WhatsApp Previous Plugin — WhatsApp desktop Revised Plugin — WhatsApp desktop
Skill — Gifgrep Previous Skill — Gifgrep desktop Revised Skill — Gifgrep desktop
Phone page comparisons
Listing Previous PR layout Revised layout
Template — Job Application Coordinator Previous Template — Job Application Coordinator narrow Revised Template — Job Application Coordinator narrow
Plugin — WhatsApp Previous Plugin — WhatsApp narrow Revised Plugin — WhatsApp narrow
Skill — Gifgrep Previous Skill — Gifgrep narrow Revised Skill — Gifgrep narrow

Captured in signed-out Chromium against the local candidate using public catalog data. All eight cases (four listings × two sizes) had no header install CTA, an inline rail install card, no horizontal page or modal overflow, and the expected public report after clicking the verdict. Both Template reports retained the listed version. No package was installed.

@Patrick-Erichsen
Patrick-Erichsen requested a review from a team as a code owner November 25, 2026 01:54
@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Revision 3: public listing readers

On 7ce801be72b, Skill pages show the publisher’s SKILL.md inline. Old #files and #skill-card links no longer open a public release viewer. Related skills follows the document; at 390 px the measured gap is 34 px, with no metadata block in between. Version history, archive downloads, and authorized version management remain separate.

Gifgrep before and after: same narrow link and end of document
Gifgrep desktop: document and right-hand metadata above the full-width footer

The WhatsApp bundled-skill reader uses the Control UI layout. The native reference is the actual Control UI frontend with a mock Gateway. The ClawHub capture used public registry data; final dimension checks replayed cached public data after a later upstream challenge (680 × 660 desktop; 366 × 660 narrow).

WhatsApp wacli reader: before, Control UI reference and revised ClawHub

Templates retain a named SOUL.md reader without a release-file browser. A browser test verified the pinned skill’s authored instructions and the downloaded Template archive checksum. Locally, publishing still queues a security scan but no Skill Card; existing generated cards remain API-accessible. The hosted Skill Card workflow was disabled separately; these backend changes are not deployed by this PR update.

Template SOUL.md before and after, same authored contents

Exact-commit validation: static, types and production build passed; 10,544 unit tests passed, 22 skipped; five signed-in Chromium scenarios and two mobile-Chromium viewport tests passed without retries. Independent local review found no actionable P0–P3 findings. Browser proof used 1440 × 1000 and 390 × 844 viewports, not physical devices.

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Skill metadata and Install heading at 8def89042843

Install on Skill, Plugin, and Template. Each row compares the same public listing before (left) and after (right), using live public registry data in Chromium. The heading now uses the sidebar font at 14.5px semibold, 2px larger than the metadata labels. On all three narrow pages, the 14px inset is gone; all three desktop headings retain the metadata’s left edge. The install controls are unchanged.

Install heading on all three listings at 390 × 844
Install heading on all three listings at 1440 × 1000

Skill metadata only. Each sheet shows Gifgrep before, the discovered Skill page in the Control UI, and the revised public listing. The rail shows Security check (Clean), Version (1.0.1), and Updated (May 11, 2026). Absent License and Platforms are omitted. Related skills follows the authored document before version history and other actions. These comparisons replay frozen public responses and use a mocked Gateway for the Control UI; they do not show a live installation or a physical device.

Gifgrep metadata compared with the Control UI at narrow width
Gifgrep metadata compared with the Control UI at desktop width

This branch was successfully deployed

1 active deployment
Preview – clawhub — 8def8904 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. 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