Repository navigation
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: blocked before merge. What this changesThis PR generates separate tool identity and detail catalogs so Control UI labels and icons import less metadata. Example: Cold-load Chat and display a web_search tool label.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this maintainer-directed draft open: the catalog split is coherent, but the author explicitly withholds performance acceptance and merge readiness. Priority: P3 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe build-time generator projects canonical tool metadata into bundled resources; browser resolvers consume tool names and arguments to produce labels, icons, and detail summaries. flowchart TD
A[Canonical tool configuration] --> B[Existing catalog generator]
B --> C[Unchanged native catalog]
B --> D[Browser identity catalog]
B --> E[Browser detail catalog]
D --> F[Labels and icons]
E --> G[Detailed tool summaries]
F --> H[Control UI]
G --> H
Technical reviewBest possible solution: Keep the projections in the existing generator and retain the draft until the optimization meets its recorded performance acceptance rule. Do we have a high-confidence way to reproduce the issue? Current main directly imports the complete catalog for labels and icons, establishing unnecessary metadata reachability in source; this read-only review performed no runtime reproduction. Is this the best way to solve the issue? The smallest complete approach is the existing generator producing complementary projections while preserving labels, icons, empty-array semantics, and the shared detail resolver; the inspected diff follows that approach. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ece4ca85af0e. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +4, Tests +54, Generated +1289, Other +59. Total +1406 across 12 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 October 30, 2026, 11:42 PM ET / October 31, 2026, 03:42 UTC. |
|
Remote-readiness handoff from round 3: #189141's cold ledger measures the current baseline at 250 ms RTT / 3 Mbps. All 23 declared assets start in one discovery wave; they transfer 1,207,282 B, with 810,374 B in the shared + Chat bundles. Initial history arrives before those bundles finish. Syntax highlighting and Mermaid are already lazy in this plain-text fixture. The ledger separates required first paint from conditional tool presenters, closed controls, header subviews, catalogs and media. This remote PR leaves those boot owners with your existing work and changes only reconnect recovery. Hashed asset caching is already immutable; no cache-header fix is needed here. |
|
Closing this unqualified metadata-only experiment. Its byte split did not establish the required cold-readiness improvement, so it is not a landing candidate. The cold-path byte/RTT handoff recorded here remains useful evidence and is preserved. The lane continues on current main with #189444's corrected coverage baseline and a separate conditional-rendering/early-prefetch experiment. Any future metadata change will need its own current-head readiness qualification. |
What Problem This Solves
Tool labels and icons import the complete native display catalog, including argument-detail keys and action metadata they never read. Generate compact identity data and complementary detail data from the existing canonical config, and let each browser consumer import only its projection. The native catalog is unchanged.
This draft is unqualified and must not be merged: the retained current-base cohort fails local readiness. No performance acceptance is claimed. The attempted runtime co-location did not remove its request and is not included in this diff.
Qualification rule, recorded before the current-main cohort
Compare current main
dda109cacbbefd3a6dfcc442ac97e2107b6c62c8with candidateb8d5f4fd704ec7cb38b0bf506a7ebc5b76a885c4, using the same immutable production-renderer harness. Run 20 serial counterbalanced base/base-control/head triplets per profile (localhost and 100 ms RTT at 10,000 kbps), with fresh process and HTTP cache for every observation. Keep every observation. Report independent A/A and B/H median/p95/range, script and task CPU, long tasks, readiness, and host load. The timing band is at most 5% median regression and no worse p95 (sub-1% p95 movement is noise unless confirmed); an affected-path regression beyond 20% blocks acceptance. No filtering, A/A subtraction, extra file prewarming, or interpreting a preload as bytes not downloaded. Capture coverage and compiler diagnostics separately from ordinary timing.Require lower Chat raw/gzip bytes, no startup growth beyond 64 B build variance, preserved lazy boundaries, and no attributable readiness/CPU regression in either profile. Exact current-main build, focused checks, fresh coverage ranking, and sanitized first-screen images will replace the pending rows before readiness/landing.
Evidence
The unchanged implementation passed UI/tooling typechecks, identity (8), display (14), and CI scope (27) tests and generated-catalog validation. Source and generated-manifest reviews had no actionable P0–P2 findings. Current head also passed the production build, UI typecheck, and production Knip.
Current-base result: rejected pending an explained fix
All 120 ordinary observations completed: 20 counterbalanced base/control/head triplets per profile. No observations were removed. Strict byte checks pass, but local readiness does not.
Host load ranged approximately 16–37. A concurrent source-review filesystem census overlapped 11 observations during 03:14:53–03:15:58 UTC on October 31. All are retained. Candidate delays also occur before and after that interval, so overlap is not an explanation or waiver.
The byte-identical 817-byte runtime has request-to-response-start medians of 8.55 / 7.95 / 47.20 ms for base/control/head, while transfer remains approximately 0.3 ms. Its underlying scheduling cause is unproven. Flat CPU and an unexplained HTTP wait do not waive the failed local readiness result. No replacement cohort or extra worker warmup is claimed.
Current coverage and compiler diagnostics were not run after this timing failure. The earlier exact-head coverage below remains explicitly historical. Byte reductions also include generated regrouping of existing welcome/mascot code into New Session, not just the catalog projection. No new lazy boundary was introduced.
Earlier base
4f1515d→ candidatefe2ddf4builds saved 22,914 raw / 7,409 gzip B on Chat, with startup within 2 B and unchanged request counts. That earlier timing cohort is unqualified: local shell median was +24.64%, local A/A was -10.35%, and an unchanged tiny runtime had bimodal response delays. Transcript +1.82%, RTT transcript -0.23%, and flat CPU do not erase the shell result. The current-main cohort is separate; no old observation will be removed or relabeled. Compiler diagnostics retain a brief unrelated source-analysis overlap and are descriptive only.Handwritten production/generator LOC: 364 → 422 (+58); tests: 189 → 243 (+54); generated browser JSON: 0 → 1,289; manifest: 1,888 → 1,891 (+3). A two-line test allocation accompanies the focused tests. Generated catalogs remain checked outputs, never an editable second owner.
Earlier exact-head coverage ranking (fresh current-main ranking pending)
The following measurements are explicitly from
4f1515d→fe2ddf4, not the candidate above. Local V8 evaluated source was 4,470,711 → 4,447,782 B, executed ranges 1,989,629 → 1,979,663 B, unused ranges 2,481,082 → 2,468,119 B. V8 source coverage and actual HTTP downloads have separate denominators. The frequency column describes source triggers, not population telemetry.Source-reviewed top 30 unused-at-boot bytes
Head
fe2ddf4dc6e14b0005d6c8c9d629fafdf58f6c9e. All 240 rows across localhost/RTT base/head are source-reviewed; 0 unresolved identities. Full tables and checks are intop30-index-reviewed.jsonand the four*-top30-reviewed.mdfiles.These are generated raw-byte partitions. Module and exclusive-function views overlap. Frequency describes the source trigger, not population telemetry. V8 execution coverage is not a completed-network or parse/compile ledger.
Names corrected after reading generated bodies: the
registerMcpEnglishanddefineSolidBridgelocations are whole-module initializers;Fainitializes optional inline rail CSS.ipaddr.jsis reachable synchronously through transcript media normalization as well as reader/preview views.Top 30 modules (ranked by localhost head)
node_modules/.pnpm/[email protected]/node_modules/markdown-it/dist/markdown-it.mjsnode_modules/.pnpm/[email protected]/node_modules/dompurify/dist/purify.es.mjsui/src/pages/chat/components/chat-model-picker-panel.tsxnode_modules/.pnpm/@[email protected]/node_modules/@tanstack/virtual-core/dist/esm/index.jsui/src/components/solid/settings-ui.tsxui/src/lib/protocol-validators.generated/approvals.jsui/src/pages/chat/components/chat-composer-plus-menu-body.tsxui/src/pages/chat/chat-pane-side-panels.tsnode_modules/.pnpm/[email protected]/node_modules/linkify-it/build/index.mjsui/src/pages/chat/chat-composer-capability-host.tsxui/src/pages/chat/chat-pane-sharing.tsui/src/app/app-shell-chrome.tsui/src/pages/chat/components/chat-effort-picker-panel.tsxnode_modules/.pnpm/[email protected]/node_modules/ipaddr.js/lib/ipaddr.jsui/src/pages/chat/components/chat-composer-view.tsxui/src/app/app-root.tsxui/src/pages/chat/components/chat-header-session-menu-content.tsxui/src/components/select-picker-view.tsxnode_modules/.pnpm/@[email protected]_patch_hash=421b418083c0218bb54ceb3e12bd0eb74a84e86474ca26cc1f1114abbe58de48/node_modules/@solidjs/signals/dist/prod/store/store.jsui/src/components/session-progress-card-solid.tsxui/src/pages/chat/components/chat-header-session-menu-mobile.tsxui/src/components/session-menu-view.tsxui/src/pages/chat/chat-pane-history.tsui/src/lib/protocol-validators.generated/activity.jsui/src/components/session-organizer.tsui/src/pages/chat/chat-outbox-owner.tsui/src/lib/sessions/github-publication-owner.tsui/src/pages/chat/chat-pane-lifecycle.tsui/src/components/solid/menu.tsxui/src/pages/chat/chat-send-submit.tsTop 30 functions (ranked by localhost head)
ChatModelPickerPanel / ui/src/pages/chat/components/chat-model-picker-panel.tsx:123:1ChatHeaderSessionMenuContent / ui/src/pages/chat/components/chat-header-session-menu-content.tsx:65:1useSessionMenuEntries / ui/src/components/session-menu-view.tsx:64:1handleSendChat / ui/src/pages/chat/chat-send-submit.ts:97:1ChatEffortPickerPanel / ui/src/pages/chat/components/chat-effort-picker-panel.tsx:129:1createMobileHeaderSessionMenu / ui/src/pages/chat/components/chat-header-session-menu-mobile.tsx:114:1AppearancePicker / ui/src/components/session-icon-picker-solid.tsx:52:1sendPreparedChatQueueItem / ui/src/pages/chat/chat-send-delivery.runtime.ts:58:1useChatSessionSharingMenu / ui/src/pages/chat/components/chat-session-sharing-menu.tsx:31:1isBoardSnapshot / check_0 / ui/src/lib/protocol-validators.generated/board.js:50:16createMessageImagePresentation / ui/src/pages/chat/components/chat-message-images-solid.tsx:59:1session-panel-rail.css inline initializer / deferred-ui-support-DaOiLmTX.js:50997ChatComposerPlusMenuBody / ui/src/pages/chat/components/chat-composer-plus-menu-body.tsx:385:1agent-select module initializer (mapped as defineSolidBridge) / ui/src/components/agent-select.tsx:30:1useSessionMenuDetails / ui/src/components/session-menu-details-solid.tsx:18:1canApplySessionListSnapshot / ui/src/lib/sessions/session-list-query.ts:37:1runHeaderSessionOperation / ui/src/pages/chat/chat-pane-session-operations.ts:54:1buildChatItems / ui/src/pages/chat/chat-thread-build.ts:131:1drainStoredChatOutbox / ui/src/pages/chat/chat-outbox-drain.ts:140:1loadChatRoute / ui/src/pages/chat/route-loader.ts:253:1createHumanMentionEngine / ui/src/pages/chat/components/chat-composer-mention-menu-engine.ts:48:1normalizeStoredQueueItem / ui/src/lib/chat/outbox-store-codec.ts:112:1MicrophoneMenu / ui/src/pages/chat/components/chat-composer-microphone-menu.tsx:9:1renderEntries / ui/src/components/solid/menu.tsx:430:26WorkingStatus / ui/src/pages/chat/components/chat-working-indicator.tsx:48:1createModalPolicy / ui/src/components/modal-dialog.tsx:136:1camera modal JSX children getter / ui/src/pages/chat/components/chat-camera-capture.tsx:306:5coalesceTurn / ui/src/pages/chat/chat-tool-activity-coalesce.ts:218:1PluginViewContent / ui/src/plugins/control-ui-view.solid.tsx:61:1PersonReferenceContent / ui/src/components/solid/person-reference.tsx:25:1RTT-only top-30 function
RTT rank 2: capability-host module initializer at
ui/src/pages/chat/chat-composer-capability-host.tsx:48:1, 8,651 unused raw B. Generated lazy module initializer Ir, not registerMcpEnglish itself: defines capability host/class and dialog loaders before common plus-menu capability use. Connector/library mutations remain conditional. The previous mapped display nameregisterMcpEnglishdoes not describe the full span.Every generated function is checked against the actual UTF-16 span and its sealed hash; mapped source content is checked against the pinned Git source and emitted sourcemap. Unmapped Fa is checked as a CSS-string initializer. Numeric values and ranking order are unchanged.