Skip to content

fix(ui): align session owner filtering terminology - #125645

Merged
steipete merged 7 commits into
mainfrom
steipete/cool-tharp-824ba1
Aug 18, 2026
Merged

steipete merged 7 commits into
mainfrom
steipete/cool-tharp-824ba1

Conversation

@steipete

@steipete steipete commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Effective-owner filtering still used creator-named wire and UI vocabulary, obscuring the distinct immutable creator-provenance query. After reassignment, sessions.list must answer two separate questions: who created the session, and who currently owns it.

This branch also carries focused CI repairs discovered while validating that owner change: durable new-session draft restoration before reload, child-session menu hovercard geometry, and Matrix CLI timeout precedence.

Why This Change Was Made

Stale effective-owner surfaces now use owner terminology: the result creators facet becomes owners, UI creator:* selectors become owner:*, and owner-facing state, menus, tests, mocks, and docs follow that vocabulary. creatorId remains exclusively the immutable entry.createdActor.id provenance filter; ownerId separately filters the current durable assignable owner projected from entry.owner?.actor ?? entry.createdActor.

The complete owners response facet remains independent of pagination and unfiltered by either query. This is the canonical separation, not a compatibility alias or fallback reader. The follow-up creator predicate regression preserves the provenance query independently of current ownership.

The branch was semantically rebased from 8664b35e2cf8b9db7ea2569ac0cf11354bf78657 onto origin/main 42d378b43913308d263fe3945cb8af124027f94f. It adopts current main's waitForCommittedNewSessionDraft implementation and attachment lifecycle synchronization unchanged. The workspace-memory caller now waits for that canonical durable commit before reload and then asserts the restored text instead of rewriting it. The rebase also preserves main's exported sessionOwnerInitials helper while applying owner terminology throughout; no retired helper alias was restored.

The hovercard fix positions horizontal previews from the direct complete session-row parent, keeping trailing actions clear with compact unit geometry proof and no budget edit. The Matrix wrapper keeps the primary timeout message visible while retaining the settlement aggregate as its cause.

User Impact

Owner filters, People sorting, and owner-option accessibility consistently describe current ownership, while protocol callers can still query immutable creator provenance. Drafts survive a reload without racing IndexedDB persistence, child-session menus remain clickable beside hovercards, and Matrix CLI timeout errors retain the operator-relevant primary message plus the complete cause chain. There is no config or data migration.

Evidence

Focused verification on published head 70b152abaf4cf17ed580df06c807999ce6d3139b:

  • Gateway owner/provenance tests: 19/19.
  • Focused Control UI owner suite: 366/366.
  • Session ownership mocked-browser E2E: 11/11.
  • Workspace-memory mocked-browser E2E: 13/13, including canonical durable commit before reload and restored-text assertion after reload; rerun on the final autosquashed head.
  • Attachment read lifecycle mocked-browser E2E: 4/4 with current main's first().waitFor() attachment synchronization.
  • Hovercard unit suite: 10/10; sidebar session-management mocked-browser E2E: 11/11.
  • POSIX settlement and Matrix CLI suites: 18/18.
  • pnpm protocol:check passed registry/schema generation, Swift and Kotlin checks, and the protocol-since guard; generated outputs remained clean.
  • pnpm check:docs passed formatting, Markdown/MDX/glossary checks, 6,524 internal links, and config-example validation.
  • pnpm ui:build passed with startup JS at 343,219 B gzip against current main's 343,289 B baseline plus 1,056 B tolerance. No budget, tolerance, or ratchet changed.
  • The proportional changed gate passed its selected core, core-test, UI, extension, extension-test, scripts, docs, and tooling lanes, including tsgo, Oxlint/stylelint, UI i18n, import-cycle, database-first, dependency, and boundary checks.
  • Targeted Oxfmt checked 40 changed files; git diff --check passed.
  • Terminology sweep found no creator:* UI selector, creators response facet, creator-named effective-owner state, or retired waitForPersistedNewSessionDraft. Remaining creatorId uses are immutable createdActor provenance or sharing-authority provenance.
  • Fresh branch-wide autoreview scanned the complete 139,315-byte bundle in one pass after a clean TruffleHog check and reported no accepted/actionable P0/P1 findings (patch is correct, 0.87).
  • Exact-head CI run 32122096652 failed only the checks-ui job 95664701622: markdown-tables.test.ts observed zero calls to its module-mocked copyToClipboard spy under the intentional isolate:false full-suite packing.
  • Root cause: the shared module registry can load the production clipboard module before this test installs its module mock, disconnecting the spy from the real production call. Blame identifies the recent test-only change ebe9d38a5f9; no current or open canonical fix was found.
  • The test now stubs and restores navigator.clipboard.writeText, exercising the real production copyToClipboard boundary independent of module load order. The focused Markdown table suite passed 4/4.
  • The exact full checks-ui command pnpm --dir ui test --maxWorkers 3 passed 693 files, 9,914 tests, with 1 skipped. The one-file diff and formatting checks passed, and fresh autoreview reported no accepted or actionable findings.

Current diff versus origin/main: 41 files, +347/-325. Categorized raw LOC: production +145/-152 (net -7), tests/test support +201/-172 (net +29), docs +1/-1, with generated protocol output at base parity.

The previous synthetic merge CI run 32118471172 exposed the stale draft-helper caller and attachment lifecycle timing integration. This rebase resolves that current-main conflict directly. Exact-head CI run 32123690653 is attached to the published head and in progress.

Before selection

Before selection

After selecting Ada

After selecting Ada

The UI layout intentionally stays the same; these images are before/after interaction proof of the owner-filter flow.

AI-assisted: yes; implementation and evidence manually reviewed.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime scripts Repository scripts size: L labels Aug 18, 2026
@steipete
steipete marked this pull request as ready for review August 18, 2026 06:03
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Aug 18, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. 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 Aug 18, 2026
@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 18, 2026, 5:57 AM ET / 09:57 UTC.

ClawSweeper review

What this changes

The PR renames the session-list effective-owner facet and Control UI filters from creators to owners, retains creatorId provenance filtering, and includes focused UI, Matrix, and test repairs.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked by patch quality or review findings - 7 items remain

Keep open: the branch removes the current-main queued session status from the shared protocol schema, and it still carries the prior stale activity-feed fixture.

Priority: P1
Reviewed head: 70b152abaf4cf17ed580df06c807999ce6d3139b

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The PR has useful behavior proof, but its current head contains a high-priority protocol regression and an unresolved prior fixture defect.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): The PR body provides before/after owner-filter screenshots and after-fix Control UI/Gateway test evidence; the unresolved blockers are source-contract defects, not missing contributor proof.
Patch quality 🦪 silver shellfish (2/6) 2 actionable review findings remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The PR body provides before/after owner-filter screenshots and after-fix Control UI/Gateway test evidence; the unresolved blockers are source-contract defects, not missing contributor proof.
Evidence reviewed 5 items Queued status removed by this branch: The PR deletes queued from the session-row status union even though its declared base includes it.
Current main retains queued status: Current main still permits queued in the same protocol status union; the base commit describes the user-facing concurrency-slot behavior.
Gateway can project queued persisted state: The row builder forwards persisted or subagent status into the session-list row, so the narrowed schema makes a valid current status unrepresentable on the shared response boundary.
Findings 2 actionable findings [P1] Retain queued in the session-row status schema
[P2] Update the activity-feed fixture to the owners contract
Security None None.

Live Verification

Command: pnpm test packages/gateway-protocol/src/schema/sessions-row.test.ts

Result: PASS (completed)

pnpm test packages/gateway-protocol/src/schema/sessions-row.test.ts
runner@runnervmzvulz:/tmp/clawsweeper-live-proof-125645-diKts8/target$ pnpm test packages/gateway-protocol/src/schema/sessions-row.test.ts
$ node --import tsx scripts/test-projects.mts packages/gateway-protocol/src/schema/sessions-row.test.ts
pnpm test packages/gateway-protocol/src/schema/sessions-row.test.ts
[test] starting test/vitest/vitest.gateway-client.config.ts

 RUN  v4.1.10 /tmp/clawsweeper-live-proof-125645-diKts8/target

 ✓  gateway-client  packages/gateway-protocol/src/schema/sessions-row.test.ts (2 tests) 51ms

 Test Files  1 passed (1)
      Tests  2 passed (2)
   Start at  09:58:31
   Duration  1.83s (transform 1.33s, setup 1.01s, import 648ms, tests 51ms, environment 0ms)

[test] passed 1 Vitest shard in 6.20s
runner@runnervmzvulz:/tmp/clawsweeper-live-proof-125645-diKts8/target$ pnpm test packages/gateway-protocol/src/schema/sessions-row.test.ts


































Assertions:

  • PASS expect_output: sessions-row

How this fits together

The Gateway projects persisted session rows into the sessions.list protocol response, which the Control UI consumes for session filtering, sorting, and display. Immutable creator provenance and mutable current ownership are distinct inputs to that flow.

flowchart LR
  A[Persisted session state] --> B[Gateway session projection]
  B --> C[Session list protocol]
  C --> D[Owner and creator filters]
  C --> E[Control UI session state]
  E --> F[Sidebar and activity views]
Loading

Before merge

  • Retain queued in the session-row status schema (P1) - Current main and this PR's base allow queued, and the row builder still forwards persisted session status. Removing the literal makes concurrency-waiting sessions unrepresentable on the shared sessions.list contract; restore it and add schema coverage.
  • Update the activity-feed fixture to the owners contract (P2) - This repeats the prior P2: the mock still returns obsolete creators entries without the required actor type. The client now consumes owners, so this capture test silently bypasses the production-shaped owner facet.
  • Resolve merge risk (P1) - Merging would remove the current-main queued status from the shared session protocol, making concurrency-waiting sessions incompatible with the declared row contract.
  • Complete next step (P2) - This maintainer-labeled PR needs the two identified corrections and fresh exact-head validation before it can return to normal review.
  • Improve patch quality - Restore queued and add a focused schema acceptance assertion.
  • Improve patch quality - Replace the activity-feed mock's creators field with typed owners entries.
  • Improve patch quality - Rerun exact-head validation after both fixes.

Findings

  • [P1] Retain queued in the session-row status schema — packages/gateway-protocol/src/schema/sessions-row.ts:81
  • [P2] Update the activity-feed fixture to the owners contract — ui/src/e2e/activity-session-feed.capture.e2e.test.ts:58-62
Agent review details

Security

None.

PR surface

Source -9, Tests +29, Docs 0, Other +2. Total +22 across 41 files.

View PR surface stats
Area Files Added Removed Net
Source 26 206 215 -9
Tests 13 114 85 +29
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 26 24 +2
Total 41 347 325 +22

Review metrics

Metric Value Why it matters
Production versus test delta production +145/-152 (net -7); tests/test support +201/-172 (net +29) The PR body reports net-negative production code despite broad session/UI coverage; the remaining blockers are contract correctness, not code growth.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/server-methods/sessions-sharing.test.ts, serialized state: src/gateway/session-utils-creators.test.ts, serialized state: src/gateway/session-utils-list.ts, serialized state: src/gateway/session-utils-owners.test.ts, serialized state: src/shared/session-types.ts, serialized state: ui/src/components/session-link-hovercard.runtime.ts, and 17 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Restore queued-state compatibility (recommended)
    Retain queued in the protocol status union, cover it with a focused schema assertion, and correct the stale activity-feed fixture before merging.
  2. Pause the branch
    Do not merge the terminology work while it regresses the current-main session-status contract.

Technical review

Best possible solution:

Preserve the current-main status union, add focused schema coverage for queued, and update the activity-feed mock to a typed owners facet before fresh exact-head validation.

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

Yes, from source: the branch removes queued from the protocol schema while current main and the session-row projection retain that state; a focused schema test can demonstrate the failure.

Is this the best way to solve the issue?

No: the terminology change is coherent, but it must preserve the current-main queued-status contract and update the remaining stale response fixture.

Full review comments:

  • [P1] Retain queued in the session-row status schema — packages/gateway-protocol/src/schema/sessions-row.ts:81
    Current main and this PR's base allow queued, and the row builder still forwards persisted session status. Removing the literal makes concurrency-waiting sessions unrepresentable on the shared sessions.list contract; restore it and add schema coverage.
    Confidence: 0.99
  • [P2] Update the activity-feed fixture to the owners contract — ui/src/e2e/activity-session-feed.capture.e2e.test.ts:58-62
    This repeats the prior P2: the mock still returns obsolete creators entries without the required actor type. The client now consumes owners, so this capture test silently bypasses the production-shaped owner facet.
    Confidence: 0.98

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against dd2ad9695ce9.

Labels

Label changes:

  • add P1: The patch removes a current-main protocol value used to represent sessions waiting for concurrency capacity.
  • add merge-risk: 🚨 compatibility: Existing protocol consumers can receive or depend on the current queued status, which this branch removes from the declared contract.
  • add merge-risk: 🚨 session-state: The removed value represents durable session run state and can make queued sessions unrepresentable in sessions.list.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • remove P2: Current review triage priority is P1, so this older priority label is no longer current.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🦪 silver shellfish, so this older rating label is no longer current.

Label justifications:

  • P1: The patch removes a current-main protocol value used to represent sessions waiting for concurrency capacity.
  • merge-risk: 🚨 compatibility: Existing protocol consumers can receive or depend on the current queued status, which this branch removes from the declared contract.
  • merge-risk: 🚨 session-state: The removed value represents durable session run state and can make queued sessions unrepresentable in sessions.list.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🐚 platinum hermit and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (screenshot): The PR body provides before/after owner-filter screenshots and after-fix Control UI/Gateway test evidence; the unresolved blockers are source-contract defects, not missing contributor proof.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides before/after owner-filter screenshots and after-fix Control UI/Gateway test evidence; the unresolved blockers are source-contract defects, not missing contributor proof.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The PR body provides before/after owner-filter screenshots and after-fix Control UI/Gateway test evidence; the unresolved blockers are source-contract defects, not missing contributor proof.

Evidence

What I checked:

Likely related people:

  • steipete: History attributes the session-facet, filtered-ownership, current queued-status, and proposed PR work to this contributor. (role: feature owner and recent area contributor; confidence: high; commits: 2f860a77369c, b8ff4fe3d7d6, 70b152abaf4c; files: packages/gateway-protocol/src/schema/sessions-row.ts, src/gateway/session-utils-list.ts, ui/src/lib/sessions/session-roster-refresh.ts)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (8 earlier review cycles)
  • reviewed 2026-08-18T06:32:37.274Z sha 6826c0b :: needs changes before merge. :: [P1] Retain the creator-provenance filter
  • reviewed 2026-08-18T07:35:44.747Z sha 29a30e2 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T07:43:27.674Z sha 29a30e2 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T07:59:41.099Z sha 261aca5 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T08:23:38.815Z sha 09b3772 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T08:40:35.409Z sha 76c2e10463db10e01f47798bad502b88cf56d56c :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T08:57:27.490Z sha 8664b35e2cf8b9db7ea2569ac0cf11354bf78657 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-18T09:39:52.862Z sha d833e6e :: needs changes before merge. :: [P2] Use the current owner facet in the activity-feed fixture

@steipete
steipete force-pushed the steipete/cool-tharp-824ba1 branch from 87ace6d to 6826c0b Compare August 18, 2026 06:24
@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 18, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The current-head P1 is addressed: creatorId remains the immutable creation-provenance query, while ownerId and the owners facet retain current assignable-owner semantics through the durable-owner projection. Focused Gateway/UI/E2E proof, protocol generation, docs checks, and autoreview are green on head 29a30e262bd94ce66363696a1b909730d7fc8a2d.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 18, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Final head 261aca534d0c987b6d5326f6973f0ebe3b2f63f4 preserves the resolved protocol boundary (creatorId provenance, ownerId responsibility, owners facet) and adds only the exact-head CI repair: the workspace-memory E2E now waits for the durable IndexedDB draft before reload and verifies restoration instead of rewriting it. The previously failing 13-test file passes three consecutive runs, and fresh autoreview is clean.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. and removed P1 High-priority user-facing bug, regression, or broken workflow. labels Aug 18, 2026
CI exposed an IndexedDB draft-persistence race: the test reloaded before the write completed and then re-filled the message while restoration arrived. Wait on the canonical durable-draft helper before reload so the reload cannot race the write.
Horizontal sidebar previews were positioned from the inner link rect instead of the complete session row, allowing the hovercard to overlap trailing actions.

Anchor preview placement to the full row while preserving the link trigger and ownership flow so the session menu remains clickable.
Use the sidebar direct-row invariant to anchor the hovercard outside trailing actions without a selector lookup. This preserves the fix without increasing the startup budget.
Keep the primary timeout operator-visible when descendant settlement also reports secondary cleanup trouble. Preserve the complete AggregateError as the public wrapper cause so settlement evidence remains inspectable.
@steipete
steipete force-pushed the steipete/cool-tharp-824ba1 branch from 8664b35 to d833e6e Compare August 18, 2026 09:31
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Rebased head d833e6eed3a5567a9a1bc0e29acf4b6fcde3529f integrates current main's canonical draft settle helper and attachment waits while preserving the reviewed owner/provenance, hovercard, and Matrix lifecycle repairs. The full proportional changed gate, focused suites, protocol/docs/UI build, unchanged bundle budget, and fresh autoreview are green.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 18, 2026
With isolate:false, the shared module registry can retain clipboard imports before this test installs its module mock, leaving the spy disconnected from the production call.

Stub navigator.clipboard.writeText instead so the test exercises the real copyToClipboard boundary regardless of module load order, then restore the original descriptor.
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Head 70b152abaf4cf17ed580df06c807999ce6d3139b preserves all reviewed product contracts and replaces only the flaky Markdown-table module mock with the real production clipboard boundary. The focused test is 4/4, the exact checks-ui command passes 693 files / 9,914 tests, and fresh autoreview is clean.

@clawsweeper

clawsweeper Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit f886ab1 into main Aug 18, 2026
234 checks passed
@steipete
steipete deleted the steipete/cool-tharp-824ba1 branch August 18, 2026 10:07
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 18, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 20, 2026
* fix(ui): align session owner filtering terminology

Owner filters now use owner terminology consistently across the Gateway, Control UI, and generated native protocol clients. The old terms were prerelease-only, so no migration or compatibility aliases are needed.

* fix(gateway): preserve creator provenance filtering

Keep creatorId scoped to immutable createdActor provenance while ownerId queries the current projected assignable owner. This preserves independent creator and responsibility filtering after reassignment.

* test(ui): wait for remembered draft before reload

CI exposed an IndexedDB draft-persistence race: the test reloaded before the write completed and then re-filled the message while restoration arrived. Wait on the canonical durable-draft helper before reload so the reload cannot race the write.

* fix(ui): keep session menus clear of hovercards

Horizontal sidebar previews were positioned from the inner link rect instead of the complete session row, allowing the hovercard to overlap trailing actions.

Anchor preview placement to the full row while preserving the link trigger and ownership flow so the session menu remains clickable.

* perf(ui): keep hovercard fix within startup budget

Use the sidebar direct-row invariant to anchor the hovercard outside trailing actions without a selector lookup. This preserves the fix without increasing the startup budget.

* fix(qa): preserve Matrix CLI timeout precedence

Keep the primary timeout operator-visible when descendant settlement also reports secondary cleanup trouble. Preserve the complete AggregateError as the public wrapper cause so settlement evidence remains inspectable.

* test(ui): isolate Markdown table clipboard boundary

With isolate:false, the shared module registry can retain clipboard imports before this test installs its module mock, leaving the spy disconnected from the production call.

Stub navigator.clipboard.writeText instead so the test exercises the real copyToClipboard boundary regardless of module load order, then restore the original descriptor.
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 docs Improvements or additions to documentation extensions: qa-lab gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant