Skip to content

refactor(ui): simplify display refresh bookkeeping - #168656

Merged
steipete merged 6 commits into
mainfrom
deslop/p11-ui-20261010
Oct 11, 2026
Merged

steipete merged 6 commits into
mainfrom
deslop/p11-ui-20261010

Conversation

@steipete

@steipete steipete commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Control UI carries request generations, chronology maps, and handoff protocols for display races that do not warrant their permanent complexity.

User Impact

Normal UI features and rendering stay intact. Authorization, private account/profile boundaries, command FIFO, ordinary write settlement, bounded caches, and config/draft durability remain. Rare overlapping display refreshes are explicitly best effort and may show an older result until refresh.

Why This Change Was Made

Reevaluates the UI lane under the maintainer's sharpened provenance rule: synthetic/harness reproductions and agent/maintainer PR narratives do not establish a real incident. Eleven of the original fifteen KEEP groups are flipped or narrowed to existing effect checks. The remaining four groups are terminal execution/settlement, sandbox grants, transcript authorization, and config-write durability—not display chronology.

Removes 992 net production lines across model catalogs, progress cards, sidebar catalog loading, page controllers, and Current Work. Tests solely specifying removed race machinery are deleted alongside it. This is not a generated-file or test-count reduction disguised as production simplification. Final write-settlement repairs bring the result just below 1,000; this uses the campaign's 500–999 single-PR exception after the full-scope implementation pass.

Production delta against the branch merge base: 992 net lines removed across 39 production files (+340/-1,332). Tests, fixtures and test-support are excluded.

Coverage log

This is the public summary of .local/p11-ledger.md. Every original KEEP group was re-evaluated under the sharpened human-incident bar; 11 of 15 were flipped or narrowed.

Original KEEP group Final decision and retained boundary
Browser snapshots Remove ordinal arbitration; retain command authority, navigation FIFO and geometry.
Theme catalog Remove refresh generations; retain the cache and connection boundary.
Connection bootstrap Remove duplicate generation ownership; retain measured startup prioritization and active-work accounting.
MCP context Remove display generation; retain actual removal and broadcaster registration.
Progress cards Remove read/dismissal generations; retain paid-work idempotency, conditional writes, bounded cache and one coalesced refresh.
Effective tools Remove duplicate symbol/generation state; retain one actual client/target check.
Skills library Remove read sequencing; retain private profile isolation, uploads, dirty drafts and one connection-scoped mutation-settlement check.
Provider discovery Remove extra generation/cancellation; retain selected-agent checks and the embedded wizard's auth/reconnect owner.
Model catalog Remove request scheduler/custody; retain bounded shared cache, account isolation, timeout and Peter's production startup retry (#164532).
Chat snapshot cooldown Remove seed-time fences; retain transcript bytes, deletion, account/Incognito privacy and write settlement.
Profile/usage/plugin pages Remove duplicate display generations; retain draft preservation and actual request/target ownership.
Terminal actions KEEP: external command authority, FIFO and ordinary in-flight settlement.
Board MCP lifecycle KEEP: sandbox grants and current authorization at dispatch.
Meetings KEEP: revoked transcript access must retire parallel reads/exports; privacy boundary.
Config writes KEEP: draft bytes, hashes, uncertain-write receipts and FIFO prevent normal disconnect/edit-during-save data loss.

Further scope discoveries removed Current Work retirement clocks, sidebar chronology, live New Session group revalidation, Workshop automatic conflict replay, and Search health generations. Workshop mutations still check their existing scope before refresh, error publication and pending-action release; this is write settlement, not restored display chronology. Provenance and accepted outcomes for every removed mechanism follow below.

Best-effort tradeoffs accepted

The small startup-only retry remains because Peter recorded an actual production Gateway startup incident in #164532. Measured caches, memory bounds, security effects, user-data durability and shutdown settlement are not traded away.

Evidence

Current head: a92e866a968454277a8e9118cfc98684e2818dec. Exact-head CI run 38100193413 passed; the head's check-run inventory showed 54 successful checks, 40 intentionally skipped, and no failed or cancelled checks. One conflict-free rebase onto 76a282c7a1c6 was needed for the named check-prod-types failure: main had already removed its unused binding in 243b6dbf63d. The production patch is unchanged (identical stable patch ID). The new exact-head ClawSweeper review is ready with zero findings (2026-10-11T01:08:35.215Z). Local corrective reviews remain scoped-clean through P2.

Rebased proof passes 781 unit tests and 24 browser tests across all 34 modified test files, all six UI test-type graphs, UI production types, focused lint, both cycle checks (zero cycles), and all three suppression checks. A local run of the exact CI-selected 190-file E2E set retained four source-mode initial-route-readiness failures before their actions ran: the first offline sidebar-delete case, first coarse-pointer sidebar-menu case, child-load-error case and agent-switch-roster case. Diagnostics show a connected Gateway, loaded agents, no page errors and a pending chat route. These remain recorded local failures, not a claimed fix or passing replay. The completed exact-head hosted E2E checks cover the same selected suite successfully under its normal CI environment; the redundant local run was stopped after hosted completion. No timeout was raised and no test was skipped. Earlier broad results below are not relabeled as a green full local run on this head.

Fresh current-main rendering proof is in this comment and embedded below. The frozen install was reconciled after the rebase brought Calendar's already-declared Solid compiler dependency; it changed no tracked files.

Focused owner/caller suites passed after repairing actual findings: model catalog, progress cards, agents, sidebar/catalogs, Current Work, browser ownership, chat snapshots/metadata, New Session, plugins, Logbook, Portals, personal instructions, skills, systems, usage and Search. The final Search browser run passed 24 tests; the final portal action run passed 23. UI typecheck passed. Runtime and static/madge cycle checks both reported zero. No new lint suppressions, timeout increases, retries-to-green, skips, protocol/schema/config-key changes or changelog changes.

Independent review identified actual late-result draft/action-state bugs; these were repaired with existing scope/operation checks and focused regressions. Rejected demands to restore live group-default revalidation and Workshop automatic conflict replay are the explicit best-effort tradeoffs above, not omitted findings.

First exact-head CI (3d713fc, run 38087909454) failed UI E2E shard 5/8 and cancelled sibling jobs. All six failures are attributed to this branch: four reconnect cases exposed the parent discarding the mounted setup wizard during a transient null selection, and two request-count expectations still described removed catalog retry/progress-generation behavior. The parent now leaves reconnect/auth recovery with the mounted wizard; the two count assertions reflect the accepted simplification while preserving visibility, recovered content and request-payload assertions. Focused bundled browser proof passed all 25 tests in 239.56 seconds. Cancelled jobs are not claimed as passing.

ClawSweeper also identified a newer Personal Instructions draft being overwritten after switching away from and back to the saving agent. A regression first failed with First edit replacing Second edit; a draft-value publication check preserves newer text without a selection generation. Follow-up review caught that the successful save must still update the saved baseline/hash. The extended regression verifies that reverting to the original text remains saveable with the new hash; it failed before that correction. All 18 Personal Instructions tests passed in 13.30 seconds (21.78 seconds including wrapper startup). These are measured local times, not hosted CI times. Focused lint, formatting and UI production typecheck passed for the repair.

Fresh review of 3e08204 identified old Workshop mutation settlement clearing a newer agent's pending restore. The new regression failed on that source; existing scope checks now protect follow-up loading, errors and lock release. All eight Workshop tests passed in 10.51 seconds (19.14 seconds including wrapper startup).

A sibling write-helper audit found the equivalent Skill Library reconnect case. Its regression failed because an old save cleared the new save's busy flag. Retained the existing connection capture around error publication and lock release, while keeping the read-sequence removal. All 17 library/Skills tests passed in 14.53 seconds (21.21 seconds including wrapper startup).

CI run 38090624794 on 3e08204 has one root failure: checks-fast-baseline-ratchets rejects the closed mock at src/model-picker/apply-session-model-selection-placement.test.ts:56. The file, checker and mock baseline were unchanged between CI's main base 8d1c7bcbce4, its tested merge fb3409eabaf4, and the main checkpoint 0e6b2c23c8d. Running the same mock-export check in an isolated checkout of 0e6b2c23c8d reproduced the exact error. Main now contains the independent fix 00e095399b20; this branch did not modify that file. The aggregate CI gate failed because of it; all 33 cancelled CI jobs had no separate failed step. Cancelled coverage is not claimed as passing. No CI rerun, empty push or rebase-for-green was requested.

The prior fa309a9 run 38093342524 had two independent inherited roots: check-prod-types rejected the unused env in src/plugins/channel-presence-policy.ts, fixed on main by 243b6dbf63d; checks-node-compact-small-1 failed three plugin-sdk-surface-report.test.ts cases because the SDK export counts exceeded budgets. The SDK checker and its two platform-applicable tests reproduced on isolated main, outside this PR's UI graph. The downstream openclaw/ci-gate failure and 25 cancellations were not additional product failures. The successful current-head run supersedes that incomplete CI coverage; no failed attempt was rerun.

Testbox verified source 77ec7a863de3cdf903200dc5397a4626b729b792 and ran the full UI suite: 22,390 passed, 44 failed, 6 existing skips across 1,640 files. Every affected failure was then classified and repaired or removed only where it asserted the retired scheduling contract; the focused rerun passed 298 tests across all 15 affected files. The final follow-up preserves the default two-argument transport dispatch. This is focused repair proof, not a claim that the full suite was rerun green.

The Testbox changed check passed conflict/line-cap/max-lines/assertion/mock-export/timeout ratchets, dependency guards and formatting, then stopped at an inherited graph-budget failure: 722 UI E2E roots versus the 720 limit. This branch adds no E2E roots; the budget/configuration and E2E inputs are unchanged from its base. UI production types, focused lint and translation verification passed separately. The local dead-export scans timed out at 600 seconds with no verdict; hosted CI must cover that gap.

The suppression allowlist test also fails on this branch's unchanged baseline entries from #168002; main already repairs those exact entries in dab6a8de087. No baseline was changed here. No local replay is represented as hosted exact-head CI.

New Session draft and Live Activity before/after captures are inspected synthetic fixtures, byte-identical across the change and on repeat capture.

New Session — before / after

New Session before
New Session after

Live Activity — before / after

Live Activity before
Live Activity after

@clawsweeper

clawsweeper Bot commented Oct 10, 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.

@steipete
steipete marked this pull request as ready for review October 10, 2026 21:30
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes Control UI refresh generations, request queues, and chronology tracking while retaining scoped caches and mutation-settlement checks.

Example: Two model-catalog reads for agent main finish in reverse order.

  • Before: Read-order bookkeeping prevents the older inventory from replacing the newer inventory.
  • After: The older inventory may appear until another refresh, an explicitly accepted display tradeoff.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful, source-supported simplification with successful current-head CI; supplied runtime evidence is strongest for static rendering rather than the asynchronous lifecycle changes.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored refactor is outside the ordinary contributor proof gate; inspected synthetic New Session and Live Activity images establish rendering parity, while reported browser tests support asynchronous behavior.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes
User problem: No new visible defect is claimed; the owner wants less permanent complexity around recoverable display races.
Reason: The maintainer-authored direction explicitly accepts the display compromises, and the patch materially reduces production code while retaining consequential boundaries.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it is useful maintainer-owned simplification with explicitly accepted display tradeoffs, preserved write-settlement repairs, and successful current-head CI; no new actionable defect was identified.

Priority: P3
Reviewed head: a92e866a968454277a8e9118cfc98684e2818dec

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The static captures do not exercise overlapping catalog reads or draft and mutation settlement.
Agent review details

How this fits together

Control UI stores and page controllers consume Gateway RPC replies and events, cache scoped presentation data, and update controls while the Gateway remains authoritative for authorization and writes.

flowchart LR
  A[Gateway state] --> B[RPC replies and events]
  B --> C[Scoped UI caches]
  C --> D[Page controllers]
  D --> E[Rendered controls]
  E --> F[Gateway mutations]
  F --> A
Loading

Technical review

Best possible solution:

Land the simpler display lifecycle while preserving the existing privacy, authorization, draft, and write-settlement boundaries.

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

This refactor does not claim a new product bug; the earlier draft-loss and mutation-lock findings have source repairs and focused regression coverage.

Is this the best way to solve the issue?

The smaller lifecycle is a reasonable compromise under the recorded owner decision, keeping effect and settlement checks where user data or authorization matters.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5cdfc2f08e35.

Provenance checked

  • Model catalog scheduling and publication changes intended behavior with a stated reason (8d37c8a: Separate transport ownership from caller cancellation and deadlines to avoid repeated background reads; later fixes added retry and publication ordering.)
  • Progress-card refresh and dismissal chronology changes intended behavior with a stated reason (a1d6296: Coalesce invalidations and prevent overtaken reads or conditional dismissals from replacing newer card presentation.)
  • Current Work retirement and liveness tracking changes intended behavior with a stated reason (f8a5f87: Apply authoritative row events locally while tracking retirement and admission clocks instead of refetching whole lists.)
  • Browser snapshot arbitration changes intended behavior with a stated reason (0cb56ac: Separate passive snapshots from browser mutations and prevent stale display results during lifecycle changes.)
  • Startup retry keeps the original intent (e87ab44: Automatically recover UI reads while agent databases prepare after an observed production Gateway restart.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

PR surface statistics unavailable: the file list is incomplete.

Review metrics

Metric Value Why it matters
Production versus test changes Production +340/-1332; tests and test support +348/-2746 The verified 992-line production reduction removes display-order machinery; focused additions protect draft preservation and mutation settlement.

Labels

Label changes:

  • add P3: This is maintainer-approved internal cleanup with accepted recoverable display tradeoffs, rather than an urgent user-facing defect.
  • remove P2: Current review triage priority is P3, so this older priority label is no longer current.

Label justifications:

  • P3: This is maintainer-approved internal cleanup with accepted recoverable display tradeoffs, rather than an urgent user-facing defect.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • 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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (6 earlier review cycles)
  • reviewed 2026-10-10T21:38:00.110Z sha 3d713fc0f6ec5b34134c5621ef07adcb5fcc4844 :: needs changes before merge. :: [P1] Retire personal-file completions when the selected agent changes
  • reviewed 2026-10-10T22:22:26.542Z sha 3e08204e729754c9db6ecd7603502a832bad10a9 :: needs changes before merge. :: [P2] Keep Workshop settlement scoped to its pending mutation
  • reviewed 2026-10-10T22:51:21.598Z sha b3c971cf59425446c64d03b61c7ac6842d8bf5a5 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T23:17:13.557Z sha fa309a98946756bcd4dfd4137e92581c25954b44 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-10T23:46:58.276Z sha fa309a98946756bcd4dfd4137e92581c25954b44 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-11T01:08:35.215Z sha a92e866 :: needs maintainer review before merge. :: none

Reviewed October 10, 2026, 9:22 PM ET / October 11, 2026, 01:22 UTC (Revision 7).

@steipete

steipete commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Repaired the draft-loss finding with one check before replacing draft text, while retaining the successful save as the new baseline/hash. The regression reproduces the reported main → other → main path and fails on the preceding source; it also verifies that reverting to the original text remains saveable with the new hash. All 18 Personal Instructions tests pass after the repair. No selection generation was restored.

The first CI attempt also exposed a reconnect regression in the discovery parent and two obsolete request-count assertions. Reconnect now preserves the mounted wizard while selection is temporarily unresolved, leaving authentication/prepare recovery with its existing owner. All 25 focused bundled browser tests pass, including the four reconnect cases and the two repaired count cases; visible-result, access-loss, hidden-page, and request-payload assertions remain.

Focused lint, UI production typecheck, formatting, and diff checks pass. The required suppression test still reports the two inherited SQLite allowlist entries already fixed on main by dab6a8de087. The first CI attempt's cancelled jobs remain unproven, not green. The repair is a real source change; no CI rerun or empty push was requested.

Fresh review also found a Workshop archive from the previous agent releasing a newer restore's pending lock. The regression reproduced the premature unlock; existing scope checks now protect follow-up loading, error publication and lock release. All eight Workshop tests pass. A sibling audit found the equivalent Skill Library reconnect case; its regression failed before retaining the existing connection-scoped settlement check, and all 17 library/Skills tests now pass. The published head is fa309a98946756bcd4dfd4137e92581c25954b44.

The preceding head's CI run 38090624794 has one root failure: the mock-export ratchet flags src/model-picker/apply-session-model-selection-placement.test.ts:56, outside this diff. The same check on isolated main 0e6b2c23c8d reproduces the exact error; the flagged file, checker and baseline are identical to the tested merge. Its 33 cancelled CI jobs have no separately failed step and are not claimed as passing. The latest head has a new CI attempt; no existing attempt was rerun.

The final production reduction is 992 lines across 39 files after retaining the write-settlement checks. This uses the campaign's 500–999 single-PR exception after the full-scope pass. The PR body now includes the ledger's coverage summary, complete best-effort tradeoffs and inspected before/after images.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed 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. labels Oct 10, 2026
@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Oct 10, 2026
Keep connected and attached checks at the effect. Accept duplicate current-set synchronization or first-item focus after unusual same-turn detach and reattach; ordinary menus are replaced on reopen.
Remove synthetic-only generation, chronology and handoff machinery from catalog, progress, sidebar, activity and settings display paths. Keep current effect checks, authorization, bounded caches, user-data durability and ordinary operation settlement. Concurrent configuration changes and overlapping display reads are best effort until refresh.
Keep feature, account-isolation and action assertions while removing obsolete queued-read chronology. Preserve the original default transport call shape. Resolve lint findings without adding suppressions.
@steipete

Copy link
Copy Markdown
Contributor Author

Refreshed rendering proof after the named-gate rebase onto 76a282c7a1c6.

These are synthetic 1280×900 New Session and Live Activity captures. Each before/after pair is byte-identical, and each frame also matches its repeat capture. The comparison overlays only this PR's production source changes on the same current-main UI and mock Gateway data.

New Session SHA-256: 86553f2a414f058ee38036b09c97505f90a1cd016e0b776984f579d1755373fb.
Live Activity SHA-256: 04b4a46bef6f84d37ebe49e9c7db4362711abc0e13d1f37c06559bbefc59df7c.

New Session before

New Session after

Live Activity before

Live Activity after

@steipete
steipete force-pushed the deslop/p11-ui-20261010 branch from fa309a9 to a92e866 Compare October 11, 2026 00:57
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. and removed P2 Normal backlog priority with limited blast radius. labels Oct 11, 2026
@steipete
steipete enabled auto-merge (squash) October 11, 2026 01:32
@steipete
steipete merged commit 224c0bc into main Oct 11, 2026
119 checks passed
@steipete
steipete deleted the deslop/p11-ui-20261010 branch October 11, 2026 01:33
steipete added a commit that referenced this pull request Oct 11, 2026
Main CI 38106494410 exposed six stale expectations after #168656 removed queued replacement catalog reads. Preserve every visible fresh-model assertion and require the single shared pending request.

Proof: all 16 owner browser tests pass (46.895s wall), six focused cases pass (20.387s), UI test types and scoped lint pass, and independent review is clean. Broad changed checks reached only inherited unused-export failures; those are being repaired separately.
steipete added a commit that referenced this pull request Oct 11, 2026
Keep the internal async approval handler factory and Claude display-prefix
helper private. Remove the redundant async adapter re-export from the approval
runtime and have its existing test import the canonical adapter module. The
public Plugin SDK entrypoint, synchronous wrappers, and runtime behavior remain
unchanged.

Complete the full-tree findings by removing the unused catalog-fixture
re-export, deleting the uncalled Skill Workshop reconnect test helper, and
keeping the codemod diagnostic annotation private. Workshop's last helper
consumer was removed by 224c0bc (#168656). No assertions or runtime function
bodies change.

Correct the preceding UI cleanup's historical attribution: git log -S shows
that the approval exports originated in 4128f11 (#168482), and were retained
through 8fc31c9; they were not introduced by 8fc31c9. The unused Claude
helper export came from 667b2e5 (#166080).

Validation: 15 existing approval tests passed in 31.33s; 34 existing Claude
import/display tests passed in 43.65s. Core production types passed in 45.92s,
the owning infra test graph in 38.93s, and targeted type-aware lint passed for
all six files. Formatting and diff checks passed. No tests were added and
existing assertions are unchanged. Fresh independent review of all six files
found no actionable P0-P2 issues.

The exact pnpm deadcode:full gate passed both production and full-tree scans
on the final six-file patch in 171.64s.
steipete added a commit that referenced this pull request Oct 11, 2026
Restore request ownership to the admitted plugin detail snapshot so an
inspection started before removal cannot publish a false not-found error.
Progressive results from the current inspection still share one owner.

Regression introduced by 224c0bc (#168656): the existing before-inspection
lifecycle case passes on 762930c and fails on 224c0bc and 667b2e5.

Validation: all 7 plugin lifecycle E2E cases, 12 routing tests, and 15 plugin
page tests pass; focused lint, formatting, and independent review are clean.
Inspected synthetic before/after screenshots retain the pending uninstall
controls without the stale error. No test assertions or Solid primitives changed.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
Remove speculative display request generations, catalog scheduling and custody, and UI chronology maps. Keep security and account boundaries, command FIFO, write settlement, bounded caches, and the documented Gateway startup retry.

Accept recoverable display staleness until refresh as detailed in the PR. Preserve newer drafts and scope mutation settlement to the current owner.

Validation: exact-head CI run 38100193413 passed; 805 focused UI tests, UI and test-graph typechecks, lint, suppression checks, and both cycle checks passed. Refreshed synthetic New Session and Live Activity before/after captures are byte-identical.

Net production reduction: 992 lines across 39 files. Local source-mode startup deadline failures are retained in the PR evidence; the full selected suite passed in hosted CI.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
Main CI 38106494410 exposed six stale expectations after openclaw#168656 removed queued replacement catalog reads. Preserve every visible fresh-model assertion and require the single shared pending request.

Proof: all 16 owner browser tests pass (46.895s wall), six focused cases pass (20.387s), UI test types and scoped lint pass, and independent review is clean. Broad changed checks reached only inherited unused-export failures; those are being repaired separately.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
Keep the internal async approval handler factory and Claude display-prefix
helper private. Remove the redundant async adapter re-export from the approval
runtime and have its existing test import the canonical adapter module. The
public Plugin SDK entrypoint, synchronous wrappers, and runtime behavior remain
unchanged.

Complete the full-tree findings by removing the unused catalog-fixture
re-export, deleting the uncalled Skill Workshop reconnect test helper, and
keeping the codemod diagnostic annotation private. Workshop's last helper
consumer was removed by 5bc8e47 (openclaw#168656). No assertions or runtime function
bodies change.

Correct the preceding UI cleanup's historical attribution: git log -S shows
that the approval exports originated in 36a5eef (openclaw#168482), and were retained
through 6f9dc11; they were not introduced by 6f9dc11. The unused Claude
helper export came from d075300 (openclaw#166080).

Validation: 15 existing approval tests passed in 31.33s; 34 existing Claude
import/display tests passed in 43.65s. Core production types passed in 45.92s,
the owning infra test graph in 38.93s, and targeted type-aware lint passed for
all six files. Formatting and diff checks passed. No tests were added and
existing assertions are unchanged. Fresh independent review of all six files
found no actionable P0-P2 issues.

The exact pnpm deadcode:full gate passed both production and full-tree scans
on the final six-file patch in 171.64s.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
Restore request ownership to the admitted plugin detail snapshot so an
inspection started before removal cannot publish a false not-found error.
Progressive results from the current inspection still share one owner.

Regression introduced by 5bc8e47 (openclaw#168656): the existing before-inspection
lifecycle case passes on 406b192 and fails on 5bc8e47 and d075300.

Validation: all 7 plugin lifecycle E2E cases, 12 routing tests, and 15 plugin
page tests pass; focused lint, formatting, and independent review are clean.
Inspected synthetic before/after screenshots retain the pending uninstall
controls without the stale error. No test assertions or Solid primitives changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant