Skip to content

feat: match template detail layout to Paper design - #4482

Merged
Patrick-Erichsen merged 2 commits into
mainfrom
template-detail-paper-layout
Nov 9, 2026
Merged

Patrick-Erichsen merged 2 commits into
mainfrom
template-detail-paper-layout

Conversation

@Patrick-Erichsen

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

Copy link
Copy Markdown
Collaborator

Summary

Match template detail pages to the supplied Paper design, using the existing plugin install surface rather than a template-specific command card.

  • Add publisher/title header, CLAW.md-first accessible tabs, manifest-backed skills, automations and plugins, and release-pinned workspace file previews.
  • Keep version/security metadata and scan-status/current-release install-copy gates. Strip YAML frontmatter from the rendered document; resolve nested CLAW.md entry points from package.json.
  • Reuse plugins’ CLI / Prompt install flow, highlight the package target, and copy openclaw templates add @owner/name without a clawhub: prefix.

Verification

  • Current head: 36d1ab7b6abed743c1807a55a7a88bc2e6c1d94c; exact-head CI and hosted re-review pending. Previous head 03ab591212b4fa8698e5e846638dee991e95f93e passed full CI: https://github.com/openclaw/clawhub/actions/runs/42555511900.
  • SOUL.md repair focused regressions pass, including body-only inline preview without archive fetch and explicit archive-backed SOUL.md when the body is empty.
  • Full ci:static and ci:types-build pass with CI-matched Bun 1.4.4; restricted native P0–P3 local review is scoped-clean.
  • Latest bounded local ci:unit -- --maxWorkers=2: 9,273 passed / 1 failed / 5 skipped (671 passing files / 1 failed / 1 skipped). Sole failure: unchanged scanner sequential-subprocess timing test expected exited 23 but hit its existing 1.5s per-root budget. That file passes all 9 tests in isolation; no assertions, budgets or coverage thresholds changed. This is not a local full-green claim; new exact-head CI remains a gate.
  • Real Chromium desktop/mobile SOUL.md comparison proves the published head omits the implicit destination and the repair lists it with a readable inline preview. Clicking SOUL.md makes zero additional API requests. Proof: feat: match template detail layout to Paper design #4482 (comment).

Browser proof

Inspected before/after screenshots are attached in the proof comment, led by the final passing candidate. Baseline is 2c592484445075688e06d67d37a98507e6c77a3a at http://127.0.0.1:4327; candidate is this scoped change at http://127.0.0.1:4328. Both use the public read backend https://wry-manatee-359.convex.cloud and /openclaw/templates/api-integration-engineer; additional coverage uses /openclaw/templates/research-monitor. No backend changes or scan outcomes are simulated for the primary before/after captures. Error/loading state checks are separately labeled in the local test evidence.

Production deployment is separate from merge and requires successful Deploy Test for the exact main SHA.

Review disposition and consumer companion

  • The implicit SOUL.md omission is fixed by 36d1ab7b6a, with regression and real-browser proof above.
  • Package-name CLI acquisition is a separate, explicitly selected OpenClaw companion. The requested openclaw templates add @owner/name contract is intentionally retained rather than replaced with manual archive steps. This ClawHub PR does not implement or prove support in released OpenClaw; the companion owns resolution/download/verification and existing Add planning/consent. The ClawHub PR is being finished independently at the requester’s direction.

Resolved preview capacity blocker

The old DeploymentQuotaReached failure is resolved. Preview cleanup and its guarded trusted-main workflow landed in #4483; the previous-head Vercel retry is READY. Hosted post-merge cleanup dry-run succeeded: https://github.com/openclaw/clawhub/actions/runs/42563300986. The newly pushed head must still pass its own preview.

@vercel

vercel Bot commented Nov 9, 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 9, 2026 4:53am UTC

Request Review

@clawsweeper

clawsweeper Bot commented Nov 9, 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.

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

After — final passing candidate

Real ClawHub browser screenshots, dark theme, same public-read fixture. The candidate implements the Paper layout with the corrected CLI / Prompt flow; the install command has no clawhub: prefix.

After desktop
After mobile
CLI target highlighting
Prompt install flow

Before — original layout

Unchanged baseline 2c592484445075688e06d67d37a98507e6c77a3a, same route, theme, data and viewport.

Before desktop
Before mobile

Baseline: http://127.0.0.1:4327; candidate: http://127.0.0.1:4328; route: /openclaw/templates/api-integration-engineer; real public read backend: https://wry-manatee-359.convex.cloud. Candidate install corrections verified real Chromium clipboard copying and highlighted target/CLI/Prompt toggles at 1440×1068, 1366×768, 768×1024 and 390×844, with no document overflow. Earlier browser coverage verifies five accessible tabs, keyboard focus, real workspace previews and light/dark themes. No proof media is committed to the product branch.

@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 9, 2026
@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

Redesigns Template details with document-first tabs, workspace previews, security metadata, and shared CLI/Prompt install controls.

Example: Visit /openclaw/templates/api-integration-engineer.

  • Before: The page renders manifest frontmatter alongside the document and shows workspace counts.
  • After: The page renders the document separately and offers tabs listing dependencies, automations, and previewable workspace files, including implicit SOUL.md.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Strong browser evidence supports the useful UI change; the remaining P1 consumer integration defect prevents readiness.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected real-browser desktop/mobile captures show the redesigned public Template page, shared CLI/Prompt controls, and the repaired SOUL.md listing and inline preview at the documented local candidate using public registry data.
Patch quality 🦪 silver shellfish (2/6) 1 actionable review finding remain.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Template visitors see raw manifest frontmatter and counts instead of readable instructions and inspectable contents.
Reason: The maintainer-authored direction improves public Template inspection, and the attached browser evidence demonstrates that value.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this maintainer-authored redesign adds useful behavior absent from main. The SOUL.md finding is fixed, but the previously reported unsupported install command still blocks shipping.

Priority: P2
Reviewed head: 36d1ab7b6abed743c1807a55a7a88bc2e6c1d94c

Before merge

  • Make the displayed package-name command work before shipping it (P1) - The earlier P1 remains unresolved: for the demonstrated package this copies openclaw templates add @openclaw/api-integration-engineer. At upstream revision 8012956a65c37fc4cda5f56d73017a32bb105ef7, Add passes the argument directly to readTemplateManifestFile, whose resolveSource treats it as a local filesystem path. With Templates enabled and no corresponding local directory, it returns Could not resolve Template source ... without downloading the published Template. The recorded owner decision validly selects a separate acquisition companion, but that companion is not yet established as available. Complete that dependency before exposing this command to users, or retain working guidance until it is available.

Findings

  • [P1] Make the displayed package-name command work before shipping it — src/components/TemplateDetailPage.tsx:41

Tests

  • Missing end-to-end proof: Browser evidence proves presentation and preview behavior; the approved companion still needs a real package-name add scenario through OpenClaw before the displayed command can ship.
Agent review details

How this fits together

The public Template route validates publisher and package family, reads release-pinned registry files, and renders metadata, document contents, workspace previews, and installation guidance.

flowchart TD
  A[Template detail URL] --> B[Publisher and family validation]
  B --> C[Release pinned registry files]
  C --> D[Manifest and document parser]
  D --> E[Content tabs and file previews]
  B --> F[Security and version metadata]
  F --> G[CLI and Prompt controls]
Loading

Technical review

Best possible solution:

Complete the approved OpenClaw acquisition companion before shipping the package-name command, preserving its existing planning, verification, and consent owners.

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

The remaining command failure is reproducible from the inspected consumer path: with Templates enabled and no matching local directory, the package-name argument reaches filesystem stat and fails before registry acquisition; no target code was executed.

Is this the best way to solve the issue?

The UI composition is appropriate: it replaces the old renderer and reuses existing install, metadata, and Markdown components. Keeping catalog guidance temporarily is a smaller compatible alternative, but the owner explicitly selected an OpenClaw companion; implementing acquisition inside ClawHub would duplicate the consumer's responsibility.

Full review comments:

  • [P1] Make the displayed package-name command work before shipping it — src/components/TemplateDetailPage.tsx:41
    The earlier P1 remains unresolved: for the demonstrated package this copies openclaw templates add @openclaw/api-integration-engineer. At upstream revision 8012956a65c37fc4cda5f56d73017a32bb105ef7, Add passes the argument directly to readTemplateManifestFile, whose resolveSource treats it as a local filesystem path. With Templates enabled and no corresponding local directory, it returns Could not resolve Template source ... without downloading the published Template. The recorded owner decision validly selects a separate acquisition companion, but that companion is not yet established as available. Complete that dependency before exposing this command to users, or retain working guidance until it is available.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Canonical Template detail route and scan gating keeps the original intent (feat: add canonical Claw detail page #4011: Provide a correctly identified publisher-owned detail page and offer Add guidance only after a clean security scan; the subsequent rename preserved that boundary.)
  • Catalog guidance replaced by package-name CLI guidance changes intended behavior with a stated reason (1c5fc5b: The original page directed visitors to OpenClaw's catalog rather than presenting skill-install syntax for Templates.)
  • Shared CLI and Prompt surface keeps the original intent (feat: add Prompt install tab to plugins and drop clawhub: prefix #4467: Share plugin and skill install presentation and keep prompts short; this PR extends presentation while retaining existing consumers' defaults.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Introduced change and current main: The pinned introduction diff contains the redesign; fetched main still has the original card layout and catalog guidance. (src/routes/$owner/templates/$slug.tsx:45, 36d1ab7b6abe)
  • SOUL.md finding resolved: The latest commit adds implicit SOUL.md from the document body, selects files by destination path, and preserves archive-backed explicit SOUL.md previews for empty bodies. (src/components/TemplateDetailPage.tsx:309, 36d1ab7b6abe)
  • Inspected browser evidence: Inspected the attached desktop/mobile layout, CLI/Prompt, baseline, and SOUL.md images. The author's browser comparison visibly shows the previously missing SOUL.md and its readable inline preview: feat: match template detail layout to Paper design #4482 (comment). (36d1ab7b6abe)
  • Owner-selected companion direction: The collaborator's body and discussion explicitly retain package-name Template addition and assign acquisition support to a separate OpenClaw companion; they also acknowledge that released CLI support is unproven and require dependency reconciliation before landing/deployment.
  • Authoritative consumer contract: This dependency is relevant because the PR displays an OpenClaw command and ClawHub specs identify OpenClaw as the addition owner. At the inspected upstream revision, runTemplatesAddCommand passes the argument directly to readTemplateManifestFile; resolveSource resolves it as a local path and calls stat, returning read_failed when absent. (src/templates/reader.ts:234, 8012956a65c3)
  • Existing registry-to-consumer boundary: The existing bridge downloads and extracts a verified artifact before passing a local directory to OpenClaw; its documented proof explicitly does not establish consumer-side registry resolution. (specs/experimental-template-feed.md:43, 36d1ab7b6abe)

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 2bf8113 adds src/components/SkillInstallSurface.tsx:235 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 2bf8113ef13b; files: src/components/SkillInstallSurface.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
Production and test scope Production +852/-153; tests +416/-2 across 7 files The growth supplies the new layout, manifest-backed tabs, file previews, and interaction coverage.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A bounded public detail-page improvement has one unresolved consumer integration defect.
  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-11-09T03:41:25.021Z sha 03ab591 :: needs changes before merge. :: [P1] Replace the unsupported package-name add command | [P2] Include implicit SOUL.md in the workspace contents

Reviewed November 8, 2026, 11:55 PM ET / November 9, 2026, 04:55 UTC (Revision 2).

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

SOUL.md repair — actual browser proof

The published head 03ab591212b4fa8698e5e846638dee991e95f93e omits the managed SOUL.md destination for nonempty CLAW.md bodies. The scoped two-file repair now lists that implicit file and renders its body inline; explicit SOUL.md archive entries remain supported when the body is empty. Selection uses destination paths.

After — passing repair

After desktop listing
After desktop inline preview
After mobile inline preview

Before — expected omission at published head

Before desktop listing

Same route /openclaw/templates/api-integration-engineer, dark theme, 1440×1068 / 390×844. Before: unchanged head at http://127.0.0.1:4327; after: two-file repair at http://127.0.0.1:4328. Both use real public registry data through https://clawhub.ai, with VITE_CONVEX_URL=https://wry-manatee-359.convex.cloud. Preview clicks made zero additional API requests. No backend, scan state, archive response, or product pixels were simulated. Images inspected before upload.

Focused regressions cover a body-only Template, inline preview without fetching a nonexistent archive entry, empty bodies, and explicit archive-backed SOUL.md. Static/types-build and restricted local P0–P3 review pass; bounded full coverage is still being collected.

Separate consumer dependency

Patrick explicitly chose to implement package-name Template addition in OpenClaw rather than replace the command with manual download/extraction. That independently owned companion is in progress. This UI patch does not implement or prove released CLI support; the displayed command still requires the companion OpenClaw support. The parent will reconcile that dependency before landing/deployment.

@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the clawsweeper:intake:feature Preliminary submission classification; full source review pending. label Nov 9, 2026
@Patrick-Erichsen

Patrick-Erichsen commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

The exact-head review confirms the implicit SOUL.md finding is fixed. The remaining P1 is the already-known consumer dependency, not an unaddressed ClawHub implementation defect.

The requester explicitly selected native package-name acquisition in a separate OpenClaw thread, instructed finishing the ClawHub landing independently, and has now reiterated the landing request. We are retaining that requested delivery sequence rather than replacing the install controls with manual archive instructions.

Disposition: intentionally accepted/staged companion dependency for this ClawHub landing; not claimed fixed or available in released OpenClaw. The separate implementation owner is completing the consumer PR and real displayed-command verification. A ClawHub merge does not itself release the OpenClaw CLI. The two-file SOUL.md fix and inspected browser evidence remain unchanged at 36d1ab7b6abed743c1807a55a7a88bc2e6c1d94c. All required exact-head CI, repository protections and release gates remain enabled.

Consumer companion is now published: openclaw/openclaw#195707 at 64f30dc6a1c33d3220d749c110b4675b5e5d8a3d. It is open/mergeable; its owner retains exact-head review/CI/landing. Publication is not release availability.

@Patrick-Erichsen
Patrick-Erichsen merged commit 4c99bb8 into main Nov 9, 2026
43 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the template-detail-paper-layout branch November 9, 2026 05:01
@Patrick-Erichsen

Copy link
Copy Markdown
Collaborator Author

Production release verified for merged commit 4c99bb83212b798bc5b7cc66beeeacccb40da178 (reviewed PR head 36d1ab7b6abed743c1807a55a7a88bc2e6c1d94c).

Consumer boundary: openclaw/openclaw#195707 is merged as a63f4df9ca000ae4890cb661f08592ce12061046 with postmerge verification reported successful by its owner. This website deployment does not publish an OpenClaw CLI release or establish support in older installed versions. No CLI package release or personal Gateway change was performed.

Production desktop document

Production desktop SOUL preview

Production mobile document

Production mobile SOUL preview

This branch was successfully deployed

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

Labels

clawsweeper:intake:feature Preliminary submission classification; full source review pending. 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