Repository navigation
feat(ui): show skills used in conversation details - #196065
Conversation
Co-authored-by: jacobtomlinson <[email protected]>
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: de3a0ea7-e800-47f1-95a7-ae77653af17d
|
🦞👀 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 changes before merge. What this changesAdds a collapsed Skills used section to desktop and mobile conversation details, listing successful skill loads and repeat counts. Example: A conversation successfully loads native-proof, code-proof, and live-proof before older tool messages leave the displayed window.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: the owner-approved feature remains absent from main, and the prior import-cycle finding is resolved; GitHub currently reports merge conflicts. Priority: P3 Before merge
FindingsNone. Agent review detailsHow this fits togetherThe Gateway reconstructs skill receipts from authorized conversation history, and the Control UI combines those receipts with live tool results for conversation details. flowchart LR
A[Conversation transcript] --> B[Transcript summary reader]
B --> C[History response]
C --> D[Scoped conversation snapshot]
E[Live tool results] --> D
D --> F[Desktop and mobile Details]
Technical reviewBest possible solution: Retain the shared extraction contract and existing transcript-summary, scoped-snapshot, and Details owners while resolving the reported merge conflicts. Do we have a high-confidence way to reproduce the issue? This is a feature request, and current-main Details lacks the proposed inventory; supplied Gateway screenshots demonstrate the added behavior without this review running target code. Is this the best way to solve the issue? The approach fits the existing owners: transient per-run plugin receipts cannot reconstruct complete conversation history, while one extractor serves durable history, nested loads, and live presentation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 06bfea7a5706. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +471, Tests +724, Docs +2, Other +4. Total +1201 across 32 files. Added test files: 3. 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 (2 earlier review cycles)
Reviewed November 14, 2026, 2:55 AM ET / 07:55 UTC (Revision 3). |
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: c79f9606-8026-46b9-9633-28df617f2cdc
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Restore the original import-light tool-stream boundary while retaining the session and leaf fields used by skill-load scope checks. Co-authored-by: jacobtomlinson <[email protected]>
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 74928338-db9f-481b-a7eb-5a3adeb4bca8
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Co-authored-by: jacobtomlinson <[email protected]>
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: b6dfdbf1-43f4-4003-89c1-8fe6cece42b2
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Preserve current stream batching and publication timing alongside live skill retention. Co-authored-by: jacobtomlinson <[email protected]>
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 19e02708-af62-48ae-a470-b44c288322d6
Integrate current main to preserve its accepted performance baselines. Jacob Tomlinson explicitly approved the 685-byte Skills used chat-boot cost on 2026-11-16. All other budget and variance limits remain unchanged. Co-authored-by: jacobtomlinson <[email protected]>
Set chat boot to the observed 1,315,039 bytes plus the existing 64-byte headroom under Jacob's explicit override. No other budgets or enforcement rules change. Co-authored-by: jacobtomlinson <[email protected]>
Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 512521a3-6b13-4cca-b15f-97c6fd29c5be
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
…200159) Reverts #196065: its first-page chat-history skills-used read scanned the full transcript on every chat open. On Team (ade4216) that held the session actor 55-60 s about once a minute on a 36k-event session, freezing transcript appends, pendingInputs mutations and subagent deliveries. Production containment, merged at pinned head 0151bc7 after local typecheck (core, UI, scripts), lint/ratchet guards, Codex review clean and 65 green / 0 failed CI checks; remaining long CI continues post-merge. Original feature by @jacobtomlinson; a bounded re-land (per-run skillsUsed facts, no full scan) follows.
* feat(ui): show skills used in conversation details Co-authored-by: jacobtomlinson <[email protected]> * feat(ui): show skills used in conversation details Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: de3a0ea7-e800-47f1-95a7-ae77653af17d * Publish openclaw/lucky-crab Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: c79f9606-8026-46b9-9633-28df617f2cdc * fix(ui): preserve acyclic tool-stream host contract Restore the original import-light tool-stream boundary while retaining the session and leaf fields used by skill-load scope checks. Co-authored-by: jacobtomlinson <[email protected]> * fix(ui): preserve acyclic tool-stream host contract Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 74928338-db9f-481b-a7eb-5a3adeb4bca8 * fix(ui): align mobile skill details with native rows Co-authored-by: jacobtomlinson <[email protected]> * fix(ui): align mobile skill details with native rows Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: b6dfdbf1-43f4-4003-89c1-8fe6cece42b2 * feat(ui): show skills used in conversation details Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 19e02708-af62-48ae-a470-b44c288322d6 * fix(ui): bind approved budget to integrated measurement Set chat boot to the observed 1,315,039 bytes plus the existing 64-byte headroom under Jacob's explicit override. No other budgets or enforcement rules change. Co-authored-by: jacobtomlinson <[email protected]> * Publish openclaw/lucky-crab Worked on by: - @jacobtomlinson Co-authored-by: jacobtomlinson <[email protected]> OpenClaw-Publication: 512521a3-6b13-4cca-b15f-97c6fd29c5be --------- Co-authored-by: jacobtomlinson <[email protected]>
…penclaw#200159) Reverts openclaw#196065: its first-page chat-history skills-used read scanned the full transcript on every chat open. On Team (5b26047) that held the session actor 55-60 s about once a minute on a 36k-event session, freezing transcript appends, pendingInputs mutations and subagent deliveries. Production containment, merged at pinned head 0151bc7 after local typecheck (core, UI, scripts), lint/ratchet guards, Codex review clean and 65 green / 0 failed CI checks; remaining long CI continues post-merge. Original feature by @jacobtomlinson; a bounded re-land (per-run skillsUsed facts, no full scan) follows.
What Problem This Solves
Conversation details do not show which skills the assistant has loaded.
User Impact
Users can expand a collapsed-by-default Skills used section in desktop and mobile Chat Details. Each skill has one row, with a count for repeated successful loads. Failed and unfinished loads are excluded.
Why This Change Was Made
The existing transcript-summary reader reconstructs successful skill-load receipts across the complete current conversation, independently of the displayed history page. Back-scroll and cursor-delta requests do not rescan full history. Existing scoped snapshots retain new loads through transcript-window eviction; resets use the existing full-read fallback. Native tools, nested Code Mode loads, and live activity share one extraction contract.
No new usage store, database schema, tool, RPC method, or prompt change is introduced.
Evidence
Approved performance budget — November 16
Jacob Tomlinson explicitly authorized overriding the budget and landing this PR. The Chat boot gzip limit is now 1,315,103 bytes: the integrated build's measured 1,315,039 bytes plus the existing 64-byte headroom. No other budget, variance allowance, security or review gate changes. Current main was integrated to preserve its newer accepted budgets.
The current-head performance gate passed, as did security-fast. The existing local checker also reports zero violations on the retained paired measurements with this cap. No failed run is relabeled as passing.
On the updated source, all 50 budget-checker tests, 68 UI/history tests and 11 Gateway tests pass, alongside both Skills used Chromium flows, UI types, formatting and whitespace checks. Fresh independent Codex P0–P2 autoreview against main 60c112a found no actionable issues; a second scoped review verified the final measured-cap adjustment. The reviews did not execute project code and lacked some unchanged integration context. Published and tested source trees match.
Current-head CI has two inherited browser-shard failures, not passing CI:
The failing tests and inspected scroll/composer boundary sources are unchanged in the tested PR merge. The broader three-file diagnostic replay retains its failures: baseline 4 failed/16 passed, candidate 3 failed/17 passed. No assertion was weakened, skip introduced or CI rerun requested. Native inherited-failure admission will retain the failed attempt and independently enforce required security/review/writer policy. All planned jobs have now completed; the aggregate CI gate fails only from these two attributed browser jobs. The automated table labels them new by job name against an older scheduled main run, with selected scope explicitly not compared; the baseline reproductions and newer matching scheduled-main assertion above establish the actual case-level attribution. Landed as 3038e2d37d79 through the native inherited-failure path. The approved budget and passing performance gate are retained; the two inherited browser-job failures remain recorded as failed CI. No deployment or release was performed.
Final landing integration at
45c50bd55fc1f9d63c606a044690bf55af6541aapreserves current main’s output-only stream batching, publication timing and approval handling alongside live skill retention. The 68 focused UI/history tests, 11 Gateway transcript/history tests, both bundled Chromium flows, UI typecheck, typed lint, formatting and controller guard pass. Fresh independent Codex autoreview of the complete integrated feature againstf8456a9436b6a08ac545d2c791f46259da00d156found no actionable P0–P2 issues; its source review did not execute target code or include all unchanged integration modules. Published and tested source trees match. That prior head’s hosted CI failed; current-head CI is pending after the approved budget update above.36 native transcript/history tests passed, covering reconstruction, active branches, resets, session isolation, incognito visibility, and the real history RPC. A work-count regression verifies one initial reconstruction and none for back-scroll, empty deltas, or incremental deltas.
42 history-page/authorization consumer tests passed.
Final parent verification: 65 UI extraction, snapshot retention/reset/incarnation, and generated-validator tests passed.
Two bundled Chromium E2E tests passed: complete-history inventory without older-body requests, native/Code Mode and live loads, reload, collapsed defaults, and mobile disclosure. Those earlier scenarios use a synthetic Gateway fixture; genuine Gateway/model proof is recorded below.
Core/UI typechecks, focused lint/stylelint, controller guard, protocol/validator generation checks, i18n verification, formatting, and whitespace checks passed. Prior broad PR CI failures and current-head status are distinguished above.
Independent local Codex autoreview assessed the original candidate twice at P0–P2; three findings were repaired with red/green regressions. A fresh P0–P2 review of the complete substantive CI-repair delta completed with no actionable findings. The final integrated repair matches that reviewed patch byte-for-byte, plus its exact 724-line allocation correction.
Simplification reuses the existing transcript-summary, history-snapshot, and disclosure owners; removed the unnecessary delta wrapper/wire field. Current regression allocation: 759 lines, including mock-helper growth, lazy retention, and the mobile geometry regression. Remaining growth implements structured receipts and desktop/mobile presentation; generated validator churn is generated output.
Mobile Details styling alignment — November 14
Compared with the neighboring People/Outputs rows, Skills used now has the same leading book-icon slot, label axis, 12-pixel horizontal inset, 10-pixel gap, 44-pixel row minimum, 14-pixel text, and right-aligned metadata. Mobile rows no longer inherit desktop-only negative gutters or oversized width. The native mobile host explicitly selects its existing entry/leading/copy/metadata styles; desktop and floating presentation stay unchanged. No stylesheet or CSS rules were added.
The bundled browser regression failed on the original missing icon, misaligned label, and desktop row geometry, then passed after the correction. All 71 focused consumer tests and both browser tests pass; UI types, typed lint, renderer guards, formatting and whitespace checks pass. Desktop collapsed and expanded frames are byte-identical to the baseline. Fresh independent local P0–P2 review found no actionable issues. The added 35 regression lines are included in the exact 759-line feature allocation. Existing extraction/history/retention behavior is unchanged; earlier genuine Gateway/model evidence remains bound to its recorded source.
Native same-toolchain standalone UI comparison against 666e77f passes unchanged budgets: Chat boot gzip 1,296,324 to 1,296,324 bytes; New 802,421 to 802,421; startup 90,787 to 90,787; CSS gzip 325,050 to 325,050 and raw 1,673,668 to 1,673,668. Initial local comparisons mixed the earlier task-built full plugin distribution with an archived standalone base; native emitted-module attribution isolated that inventory difference. Matching standalone inputs were compared, and the full task-built distribution was restored unchanged. No budget, tolerance, or build-tool code was altered.
November 14 review-feedback resolution
Genuine Gateway/model evidence
Reloaded conversation, after expanding the default-collapsed inventory:
Active run, after 55 distinct search calls, with Stop visible:
CI repair verification
Desktop — collapsed by default
Desktop — expanded
Mobile
Requested by @jacobtomlinson.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by