Repository navigation
fix: use release audit evidence and reveal template files - #4487
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Passing candidate — selected files visibly openCandidate The selected preview now appears beneath its filename and is focused/scrolled into view at approximately 100px from the viewport top. SOUL.md, AGENTS.md and references/integration-contract.md passed on both devices, with no page errors or horizontal overflow. No intercepted success responses or hand-written UI. Before — expected visibility failureProduction Audit truthfulnessThe real release has a clean ClawScan report, so its real-browser label remains Clean. The loader now actually reads that pinned report; absent/mismatched/pending/failed evidence is covered by route/component regressions and shows Unavailable with level-0 neutral bars. These missing-report states are not fabricated as this live release’s state. Package scan flags continue to gate install independently. 54 focused tests, full static gate, full app/package TypeScript checks and production build pass. Full local coverage and independent automated review remain limited as documented in the PR body; no clean-review or merge/deployment claim is made. |
|
Codex review: needs maintainer review before merge. What this changesThis PR reads security audit results from the pinned template release and brings selected workspace file previews into view. Example: Select AGENTS.md on /openclaw/templates/api-integration-engineer v0.1.2 on a 390×844 mobile viewport.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes two concrete template-detail problems still present on main. No blocking findings remain, and the reviewed head passes the relevant hosted CI gates. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe public template route loads publisher-validated package metadata, release evidence, and manifest files, then renders audit metadata, install guidance, and on-demand workspace previews. flowchart TD
A[Template detail route] --> B[Public package API]
B --> C[Pinned release and manifest]
C --> D[Template detail page]
D --> E[Shared audit verdict and meter]
D --> F[Package install gate]
D --> G[Selected workspace preview]
Technical reviewBest possible solution: Land the focused route and component repair using the existing release API, shared audit logic, and workspace preview owner. Do we have a high-confidence way to reproduce the issue? Main derives the audit label from package scanStatus without loading its report and renders previews after the full list; supplied baseline browser captures corroborate the visibility failure. Is this the best way to solve the issue? Best-fix verdict: best. Reusing the release API and shared verdict logic fixes the evidence source, while relocating the existing preview fixes visibility; changing install gates or introducing another preview loader would expand scope unnecessarily. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4c99bb83212b. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource 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
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 9, 2026, 12:55 AM ET / 05:55 UTC. |
Production verificationThe audit/file-preview repair is merged and the frontend is serving commit 6fe2dc0.
Comparable before/after screenshots and regression evidence. |




Summary
This release has a real clean report. Its previous label was valid, but the implementation could show green without that report. File click handlers already worked; their result was below the entire list and outside the viewport.
Validation
Using repo-pinned Bun 1.4.4:
bun run ci:staticpasses.bun run ci:types-buildpasses, including app/schema/CLI/admin TypeScript checks and the production build.Comparable browser proof
Baseline is production
4c99bb83212b798bc5b7cc66beeeacccb40da178at https://clawhub.ai/openclaw/templates/api-integration-engineer. Candidate isfe3cbb01e98866afb755dd90d2cdfbecf5b46ec6running at http://127.0.0.1:3027 against the same unchanged public read backend. Matched dark/reduced-motion desktop 1440×1068 and mobile 390×844 captures were inspected and delivered before push. Paired screenshots are attached in the proof comment. Browser responses and product UI were not mocked. The unavailable audit states are covered by component tests, not presented as this real release’s audit.Remaining gates and limitations