Repository navigation
feat: review template packages inline before publishing - #196427
Conversation
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR replaces editable Template review modals with read-only inline package details and registry-confirmed publication status. Example: Publish @maker/research-brief version 0.1.0 from its conversation.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR provides useful inline Template inspection and publication tracking; the previous blocker is fixed, and no new actionable defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Template creator connects agent-authored private drafts to human review in Control UI; Gateway handlers build the reviewed archive and submit it through the existing ClawHub client. flowchart LR
A[Agent proposal] --> B[Private draft]
A --> C[Inline review descriptor]
C --> D[Control UI review]
B --> E[Gateway draft owner]
D --> E
E --> F[Archive builder]
F --> G[ClawHub registry]
G --> E
Technical reviewBest possible solution: Retain the shared draft owner, read-only inline presentation, exact-artifact publication checks, and explicit uncertain outcomes. Do we have a high-confidence way to reproduce the issue? This is a feature change; current main still contains the editable-modal workflow that this PR replaces. Is this the best way to solve the issue? The implementation reuses the existing draft, archive, publication, and inline-view owners, and the latest repair completes removal of the superseded UI editing path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0c103b02991a. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1038, Tests +662, Docs -2, Other +9. Total +1707 across 47 files. Added test files: 0. View PR surface stats
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. 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 HistoryReview history (6 earlier review cycles)
Reviewed November 11, 2026, 12:50 PM ET / 17:50 UTC (Revision 7). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
) * templates: observe bound registry publication attempts * ui: present read-only template review in the native transcript * ui: simplify inline template publish action * feat(templates): expose pinned package and automation review details * fix(ui): match inline template review to D-series designs * fix(templates): apply approved publication status and actions * refactor(ui): defer inactive template sidebar review * refactor(ui): share template styles within existing asset limits * fix(ui): retain template draft revision across card remounts * fix(templates): classify review files by workspace destination * docs(templates): explain revisions to read-only review * docs(templates): describe inline publication review * perf(ui): defer unused template review startup work * test(ui): supply the application router in sidebar fixtures * test(templates): reconcile the publication test allocation * perf(ui): share deferred template presentation styles * refactor(ui): remove retired template review editing state * fix(ui): preserve catalog description clamping with shared styles
Landed as
c1ecbca6ca50through the repository’s supported inherited-failure process. The exact reviewed head wasd6f087009ef3; the unrelated chat speed-setting failure remains recorded below. Native landing audit.What Problem This Solves
Template review opens an editable modal outside the conversation, and generic detail pages hide the actual package requirements and automation prompts.
User Impact
Review the assembled Template in the requesting conversation, inspect its contents, and explicitly select Publish. The card and detail pages match the approved Paper D-series.
Why This Change Was Made
Sidebar and inline review share one draft owner, so revisions, requesting conversations, connection changes, and navigation stay bound to the reviewed package. Publication uses that exact immutable archive. Failed and uncertain outcomes remain explicit; an uncertain upload never automatically resubmits.
The presentation stays deferred. Shared template styling replaces duplicated sheets, including the lazy hover reference, while preserving the approved dimensions and appearance. The retired editable-modal state, debounce timer, and UI editing operations are removed; the Gateway choices contract remains intact. The latest main integration preserves its Firefox transcript container around both conversation content and the sidebar review.
Evidence
The new captioned recording attached below covers every list/detail page, file scrolling, the Pending tooltip, registry confirmation, copying the link, and a narrow viewport. It uses the rebuilt production UI with synthetic Gateway/registry data. No public package or live model publication was performed.
Original editable modal:
Approved detail-page comparison:
Publication-state comparison:
Workspace destination repair:
The attached screenshots and recording show the approved card, automation detail, and Pending tooltip. Subsequent repairs remove unused modal code, preserve the upstream transcript container, and restore the catalog’s existing single-line excerpts; the card design is unchanged.
Validation
34fcaa5dbbd186a0bc11778587d5595b4b0b422d: Chat 1,302,561 B gzip, New Session 803,916 B gzip; 121 stylesheet requests. CSS 326,866 B gzip / 1,686,635 B raw, versus main 326,931 / 1,686,650. Main already exceeds the fixed CSS ceilings; this change reduces both measures and passes the check's existing inherited-debt rule. No size limit is raised.The final repair replay passes 26/26 catalog and production-Gateway HTTP tests. The unchanged mobile catalog test first reproduced the two-line styling regression; the stylesheet fix restores the existing one-line assertion at all four widths. Final owner/review checks pass 18/18, native transcript review 2/2, and the upstream transcript-clearance check passes in Chromium (Firefox is unavailable locally). Current type/lint/format checks and the test-line gate pass, with 13 lines of slack.
CI 43065942095 on
f6883b768676completed with three failed leaves: four catalog clamp cases fixed above; an Android probe deadline test with identical Android/runtime/build inputs to its actual main baseline; and a fresh-visit HTTP setup timeout that remains causally unexplained. All three HTTP cases pass in the bounded local replay, which does not establish a causal fix for the hosted timeout. New-head CI is evaluated independently. Historical CI 42949654804 and its three unexplained browser cases are not relabeled green or used to waive current checks.ClawSweeper’s final review covers
d6f087009ef3e1eb8db3d122fa51b011a0741cd5and reports no actionable findings. The retired editable-review machinery and obsolete debounce/modal assertions are removed, and there are no unresolved inline review threads.The final broad changed-file check passes after the current-main integration: all 13 selected test type graphs, UI types, controller/i18n/declaration/line guards, scoped lint/format/styles, and all three unused-export scans (zero findings). The earlier failed local audit and hosted Gateway setup timeout remain recorded as historical evidence; their old runs are not relabeled green.
Final CI 43070824692 on
d6f087009ef3completed: 60 successful jobs, 22 unselected/skipped jobs, and one failed test leaf plus its CI aggregate. All seven browser leaves and all Android checks passed. The remaining chat speed-setting test missed its first mock request within the existing one-second wait, before its later-selection scenario began. Its 27 determining source/build objects, including the complete session-owner subtree, are identical to the actual CI main baseline85b3c4a4cf80; it does not mount the changed Template presentation. The exact case passes on scheduled main (325ms) and locally (35ms), which does not establish a causal fix for the hosted failure. The repository’s supported inherited-failure landing process retains this failed result and checks current security/review authority; no limits, timeouts, assertions, or protections are weakened.Publication receipt recovery survives renderer remount, not a full browser reload or Gateway restart. This PR adds no durable receipt storage. Earlier responsive/sidebar, requester-routing, and HTTP transport proof remains applicable where inputs are unchanged.
inline-template-publishing.mp4