Skip to content

feat(ui): show activity cards for online people - #130664

Merged
steipete merged 8 commits into
mainfrom
steipete/people-activity-cards-e80fef
Aug 27, 2026
Merged

steipete merged 8 commits into
mainfrom
steipete/people-activity-cards-e80fef

Conversation

@steipete

@steipete steipete commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Closes #130649 — activity cards for online people in the Control UI.
Closes #130777 — cold Talk catalog discovery synchronously loading provider source.
Closes #130892 — idle notifications prematurely canceling Scroll to latest.

What Problem This Solves

The sidebar’s Online roster identifies people but lacks the context available on session cards. Heartbeat freshness cannot truthfully tell an operator how long someone has been online or when they last acted. Real-Gateway proof also exposed a cold catalog stall and a missing connection broadcast; CI exposed a separate current-main smooth-scroll completion defect.

Why This Change Was Made

The accessible people card reuses the existing portal, positioning, avatars, and interaction patterns through a sidebar-owned lazy runtime. Continuous online timing belongs to the exact live Gateway client, not the bounded heartbeat cache. Overlapping tabs share one interval, closing the oldest tab preserves it, and a full disconnect starts a new interval. Changed nonempty viewer declarations, accepted typing, and newly admitted sends record activity; pongs, duplicate acknowledgments, and agent output do not. Registration now publishes the completed roster through the canonical broadcaster, so existing readers see new connections and reconnects without waiting for another action.

The explicitly approved audience is operators with read access (operator.read, operator.write, or operator.admin). Building on the landed watched-session projection, one Gateway projection gates the whole roster before row processing, including idle people and legacy freshness/order signals. Node, worker, pairing-only, and no-read recipients receive no roster or presence events. Watched references independently follow current session visibility, including pending-profile/admin parity and omission of hidden or missing sessions. The card further intersects links with its loaded authorized roster.

The cold-load repair carries existing registry-owned metadata generation, workspace, environment, install records, and built-artifact preference through capability discovery, including empty Gateway registries and bundled capture. It removes the old agent-private carrier and duplicate merging path rather than adding another cache. Standalone source-first loading, explicit owner denial, and speech’s existing global-disable compatibility remain unchanged.

The CI scroll repair separates an actual end destination from both a debounced idle signal and the UI’s eight-pixel near-end policy. A smooth Latest command now remains active until the DOM reaches its destination within one pixel, or explicit reader input supersedes it. No deadline, assertion bound, dependency patch, or new configuration knob is involved.

User Impact

Hover or focus an Online person, or use the details chevron on touch, to see online duration, reported app/device/time-zone context, last observed activity, current/recent visible sessions, and the existing Activity view. Unknown activity stays explicit. The name remains a normal link; keyboard focus, Escape, modal-layer touch interaction, and multi-tab updates retain their normal behavior.

No IP is rendered by the card, no geolocation lookup is added, and there is no new RPC, polling service, dependency, persistent activity history, SQLite schema change, or protocol-version bump. Generated Swift models follow the additive timestamps. The broader reader-to-reader network-metadata policy remains open.

Evidence

AI-assisted implementation. Original inspected before/after, desktop-light, and touch-dark captures and real-Gateway recordings, the sanitized verdict, and profile evidence are attached. CI follow-through and additional scroll proof record the synchronized candidate. Exact-head CI run 33078000421 passed for 0a4ae031e549db39e0520080b2d555db48e1d43f. A subsequent actual conflict with main’s capability-provider consolidation required one more rebase. The resolved candidate preserves both main’s single registry-selection flow and this PR’s request-owned load context; the capability/generation suite passed all 75 tests, and fresh isolated Codex P0 review found no actionable findings. The landing comment records the final head and required CI receipt.

  • Multiple independent fresh real-Gateway runs passed all 24 assertions: real viewing/typing, shared multi-tab timing, full disconnect/reconnect, keyboard navigation, and dark touch interaction. The synchronized run also passed with zero chat.send requests; no operator state or provider credentials were used. Owned Gateways were stopped afterward.
  • The cold catalog response was 253 ms on the synchronized candidate. The recorded CPU comparison went from 30.202 seconds to 270 ms inclusive, with no Babel transformation samples under the repaired catalog path.
  • Red/green regressions cover source-versus-built capability selection, first-connect/reconnect publication, and idle/near-end scroll cancellation. Scoped verification includes 345 capability/agent/Gateway tests before synchronization, 207 revalidated Gateway/capability tests afterward, 312 reconnect owner/sibling tests, 94 scroll-owner tests, and a 23-test integrated browser set. These sets overlap; they are not presented as one aggregate count.
  • Full and scoped changed gates, complete architecture checks, protocol generation checks, Swift typechecking, and production builds passed. Earlier native validation included 502 platform tests. Fresh task-scoped Codex P0 reviews reported no actionable findings; this is not a broader-priority audit claim.
  • The PR does not change main’s startup-JS baseline or its tolerance/hard limits. The earlier feature allowance was removed during synchronization.

The first CI run found a type-only sidebar cycle, obsolete no-read inventory expectations, incomplete startup-test broadcast callbacks, and the current-main scroll failure. The cycle was removed by reusing the canonical host type; tests now assert actual scope grants/denials and provide the shared context’s required callbacks. Main’s independently landed runtime-checked textarea fix is preserved. No failures were bypassed.

An owning-session browser run also failed an unchanged focus-placement assertion once; isolated/full reruns and the integrated 23-test set passed. That result is under a bounded follow-up, and no focus-specific repair is claimed yet. Earlier validation history also includes a default-heap build failure recovered with CI’s existing 8 GiB setting, an automatically retried stalled test invocation, and use of pinned SwiftLint rather than the host’s newer version.

Classified delta against the synchronized base: production +1492/−230 (net +1262), tests/support +2019/−389 (net +1630), generated Swift +8, docs net +21, and assertion tooling net −1. Production growth supplies the requested card and live timing owner; the visibility and loading repairs reuse existing ownership boundaries. Main independently absorbed part of the loading cleanup, so those deletions no longer belong to this PR’s delta. Serialized ephemeral objects and plugin metadata do not introduce a persistent-store migration.

The recipient-policy decision and real-WebSocket allowed/denied matrix address the prior ClawSweeper P1 finding and rank-up requests. Historical participant-identity semantics, cross-reader IP policy, and unrelated global health-summary visibility remain separate follow-ups.

@steipete steipete self-assigned this Aug 27, 2026
@clawsweeper

clawsweeper Bot commented Aug 27, 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: XL maintainer Maintainer-authored PR labels Aug 27, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. 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. labels Aug 27, 2026
@clawsweeper

clawsweeper Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 27, 2026, 10:49 AM ET / 14:49 UTC.

ClawSweeper review

What this changes

Adds accessible activity cards for people in the Control UI Online roster, with ephemeral Gateway timing and recipient-filtered presence data, and repairs cold capability discovery and interrupted smooth scrolling.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open for normal maintainer review: current main lacks the people-card implementation and the PR also contains coherent candidate repairs for the related Gateway and scroll defects. Direct source and sibling-path inspection found no actionable patch defect, but exact-head CI is still incomplete.

Priority: P1
Reviewed head: 61d0429698fe3faed7d342314841975d2540fa45
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A broad but coherent implementation with strong inspected owner-boundary coverage and supplemental runtime evidence, pending exact-head CI completion.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; supplied prior-head Gateway/browser artifacts remain supplemental evidence.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; supplied prior-head Gateway/browser artifacts remain supplemental evidence.
Evidence reviewed 6 items Current-main comparison: Current main retains the old Online roster link without a details-card control, while this head adds the dedicated sidebar/card implementation; the central feature is not already on main.
Final presence boundary: Each outbound recipient is scope-checked, and presence is projected per recipient before serialization; missing projection fails rather than sending a raw roster.
UI visibility boundary: The card treats presence session keys as hints and intersects them with the already loaded recipient-visible roster before producing card text or links.
Findings None None.
Security None None.

How this fits together

Gateway presence records authenticated live-client state and projects it for each recipient before Control UI consumes it. The sidebar turns that permitted presence plus the viewer's loaded session roster into an online-person card and navigation links.

flowchart LR
  A[Authenticated live clients] --> B[Gateway presence]
  B --> C[Recipient access projection]
  C --> D[Control UI online roster]
  D --> E[Person activity card]
  F[Viewer-visible session roster] --> E
  G[Capability and scroll owners] --> H[Responsive chat experience]
Loading

Decision needed

Question Recommendation
Should this maintainer-authored combined feature and repair PR merge once exact-head required checks complete successfully? Merge after exact-head CI: Accept the documented combined scope once the current head's required checks are green.

Why: The patch spans the Control UI, Gateway presence, plugin-loading, and transcript owners, so final merge scope remains a maintainer judgment even though no concrete defect was found.

Before merge

  • Resolve merge risk (P1) - The supplied status shows exact-head CI still in progress, and attached runtime evidence from earlier heads could not be independently refreshed because GitHub DNS was unavailable; merge should wait for the required exact-head checks.
  • Complete next step (P2) - No repair finding requires dispatch; retain this protected maintainer PR for scope review and exact-head CI completion.
Agent review details

Security

None.

PR surface

Source +1510, Tests +1351, Docs +21, Other +38. Total +2920 across 68 files.

View PR surface stats
Area Files Added Removed Net
Source 38 1760 250 +1510
Tests 25 1717 366 +1351
Docs 2 44 23 +21
Config 0 0 0 0
Generated 0 0 0 0
Other 3 43 5 +38
Total 68 3564 644 +2920

Review metrics

Metric Value Why it matters
Production versus test delta production +1696/-476; tests/support +2188/-1071; docs +45/-28 The substantial production growth is feature-related and crosses several owners, making exact-head CI and maintainer scope review material before merge.
Affected source paths 101 paths differ from current main under src/, ui/, docs/, and packages/ The PR combines the requested UI feature with two related reliability repairs rather than a single isolated component change.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/session-viewer-presence.ts, serialized state: ui/src/components/session-progress-hovercard.runtime.ts, serialized state: ui/src/components/sidebar-people.runtime.ts, vector/embedding metadata: src/gateway/server-plugin-bootstrap.ts, vector/embedding metadata: src/gateway/server-plugins.ts, vector/embedding metadata: src/plugins/capability-provider-runtime.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Land only after exact-head required CI confirms the combined feature and related repairs, retaining the recipient projection and roster-intersection boundaries.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Land only after exact-head required CI confirms the combined feature and related repairs, retaining the recipient projection and roster-intersection boundaries.

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

Yes for the related defects in the supplied real Gateway/browser evidence and source tests, but this read-only review did not execute those scenarios; the new card feature itself is a proposed capability rather than a defect reproduction.

Is this the best way to solve the issue?

Yes: the implementation records timing at the live Gateway owner, applies recipient projection before transport, and intersects presence hints with the viewer-visible roster instead of adding persistence or client-side authorization.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: The candidate repairs address observed Gateway responsiveness and user-visible scroll completion while the feature changes a frequently used shared-Gateway UI path.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This maintainer-authored PR is exempt from the external-contributor proof gate; supplied prior-head Gateway/browser artifacts remain supplemental evidence.

Evidence

Acceptance criteria:

  • [P1] Confirm the current PR head's required CI completes successfully.
  • [P1] Review the submitted Gateway/browser artifacts against the final head before merge.

What I checked:

Likely related people:

  • steipete: Current-head blame attributes the Online-card integration to Peter Steinberger, and the checked-out feature and scroll commit is authored by the same contributor. (role: feature owner and recent area contributor; confidence: medium; commits: 61d0429698fe, 1d872fe87ea0; files: ui/src/components/app-sidebar-render.ts, src/gateway/server-broadcast.ts, src/plugins/capability-provider-runtime.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the current head's required CI results before merging.

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 (6 earlier review cycles)
  • reviewed 2026-08-27T03:59:11.605Z sha 54cef122cd84950945945b8d9dc7f7db68b3c07c :: found issues before merge. :: [P1] Gate cross-user presence metadata at the Gateway boundary
  • reviewed 2026-08-27T04:50:53.261Z sha 630e758 :: found issues before merge. :: [P1] Gate activity metadata at the Gateway boundary
  • reviewed 2026-08-27T10:48:07.300Z sha 13e290751a28af143f8c606651791ca092291864 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-27T13:11:37.766Z sha f943e8e :: needs maintainer review before merge. :: none
  • reviewed 2026-08-27T13:48:32.975Z sha 0a4ae031e549db39e0520080b2d555db48e1d43f :: needs maintainer review before merge. :: none
  • reviewed 2026-08-27T13:57:26.487Z sha 0a4ae031e549db39e0520080b2d555db48e1d43f :: needs maintainer review before merge. :: none

@steipete

Copy link
Copy Markdown
Contributor Author

Maintainer decision on the presence-audience review question: keep collaborative online/activity timing and reported time zones available to operators with read access. Node and pairing-only connections must not receive those people details. The boundary belongs in the shared Gateway projection for hello, system-presence, and presence events, including idle people with no watched sessions—not in the card renderer.

I’m integrating the recipient-aware presence owner and its real-WebSocket visibility regressions rather than adding a second projection path. The broader cross-operator IP-policy question in #128528 remains separate; this card never renders IP addresses. The PR remains draft until the reader policy and the final real-Gateway recording are verified.

Two review clarifications: the current-main comparison is now available and the branch has been rebased while preserving main’s node-teardown-before-history-write ordering (110 focused lifecycle tests passed). The new timing state is ephemeral on live clients and in the existing presence cache; there are no database tables, schema versions, persisted activity history, or migrations in this change. The native protocol additions are optional fields, regenerated from the schema.

@steipete

Copy link
Copy Markdown
Contributor Author

Inspected UI evidence

These are the original, unaltered Browser captures from the feature work, using fictional Gateway data:

  • Before: the pre-feature checkout (a369c7ca02097cde8b95575ac3c015ffdc80b6af), with the Online row hovered and no people information card.
  • After: the implemented people card in the visualizer, with online duration, connection context, observed activity, and current/recent session links.
  • Detail views: the focused desktop-light and touch-dark Chromium captures, including the modal-layer/touch interaction repair.

This is mocked-Gateway visual evidence, not the real-Gateway authorization proof. The reader-policy WebSocket tests have passed; the final real-Gateway recording will follow the cold capability-load repair tracked in #130777.

Before: hovered Online row without a people card

After: people activity card in the dark visualizer

People activity card in the light desktop layout

People activity card in the dark touch layout

@steipete
steipete force-pushed the steipete/people-activity-cards-e80fef branch from 630e758 to 13e2907 Compare August 27, 2026 10:35
@openclaw-barnacle openclaw-barnacle Bot added the agents Agent runtime and tooling label Aug 27, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Final real-Gateway proof — 13e290751a28af143f8c606651791ca092291864

Two independent fresh, dist-backed Gateway processes passed the complete Chromium flow with fictional Alice/Bob identities. Each run passed all 24 assertions: initially unknown activity, real session attribution and viewing, accepted/broadcast typing without a sent message, shared timing across overlapping tabs, preservation when the oldest tab closes, disappearance after the final disconnect, a fresh interval and cleared activity on reconnect, keyboard/Escape behavior, Activity navigation, and the narrow dark touch card/session link.

The videos below are the actual successful desktop and touch recordings, transcoded to MP4 and slowed to one-third speed for legibility; no UI state or result frames were fabricated. The selected stills show viewing/typing, reconnect with “Not observed yet,” and touch. All attached captures and video frames were inspected. Only fictional profiles, demo sessions, documentation IPs, and public branch information are visible; no operator state, credentials, raw auth frames, or private logs are attached.

{
  "head": "13e290751a28af143f8c606651791ca092291864",
  "realGateway": true,
  "freshRunsPassed": 2,
  "assertionsPerRun": 24,
  "chatSendRequests": 0,
  "blockedExternalBrowserRequests": 0,
  "coldCatalogRpcMs": [245, 258],
  "profiledCatalogInclusiveMs": 270.083,
  "catalogBabelTransformMs": 0
}

The same cold path previously spent 30.202 seconds inside talk.catalog/buildTalkCatalog, with 27.794 seconds in speech-provider enumeration/source loading. The fresh final profile records 270 ms in the catalog path and no Babel transform samples under it. The complete flow—not a warm-only diagnostic—passes with the original RPC/UI deadlines.

The first repaired-catalog live run also caught a missing reconnect publication. Registration previously updated the row/version without broadcasting to established readers. The canonical connection broadcast now repairs that owner boundary; a real-WebSocket regression failed for first-connect, overlap, and reconnect before the fix and passed afterward. Reader-only audience filtering remains in force for those connection-driven events.

Validation on the synchronized candidate includes the full changed gate (including 502 platform tests), the capability/agent/Gateway suite (345 tests), the reconnect owner/sibling suites (312 tests), the final scoped type/lint/boundary gate, protocol generation checks and Swift typechecking, and fresh independent Codex P0 review with no actionable findings. The final production UI is 341,235 gzip bytes, below the unchanged 342,930-byte startup baseline; the earlier allowance was removed.

Key commands:

NODE_OPTIONS=--max-old-space-size=8192 pnpm build
pnpm protocol:check
xcrun swiftc -typecheck apps/shared/OpenClawKit/Sources/OpenClawProtocol/*.swift
OPENCLAW_LOCAL_CHECK=0 node --import tsx scripts/profile-extension-memory.mts --extension elevenlabs --skip-combined --concurrency 1

The ignored local fixture was started through Browser preview on loopback ports 19960–19962, with isolated HOME/config/state/workspace and no provider credentials. node .artifacts/control-ui-e2e/people-activity-cards/live/profile-cold.mjs waited for fixture readiness and ran the unchanged drive.mjs; the second Gateway additionally used Node CPU profiling. Both owned Gateways are stopped and the ports are closed. This proves Control UI/Gateway behavior, not model inference or a native-app launch.

The approved recipient-policy decision is recorded above. The canonical projector and real-WebSocket allowed/denied matrix address the P1 finding and both recipient-policy rank-up moves. The broader reader-to-reader IP policy remains in issue #128528.

@clawsweeper re-review — the final head includes the approved audience enforcement, its denied-recipient proof, the shared cold capability-load repair, and the live-discovered reconnect publication fix. Exact-head CI is being started; no merge is claimed yet.

people-cards-desktop-slow.mp4
people-cards-touch-slow.mp4

03-typing-activity-light

05-reconnected-light

06-touch-dark

@clawsweeper

clawsweeper Bot commented Aug 27, 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 marked this pull request as ready for review August 27, 2026 10:41
@steipete
steipete requested a review from a team as a code owner August 27, 2026 10:41
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. and removed P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 27, 2026
@steipete
steipete force-pushed the steipete/people-activity-cards-e80fef branch 2 times, most recently from f943e8e to 0a4ae03 Compare August 27, 2026 13:39
@steipete

Copy link
Copy Markdown
Contributor Author

CI follow-through and synchronized proof

Current candidate: 0a4ae031e549db39e0520080b2d555db48e1d43f. The required CI run can now attach; no merge is claimed yet.

The failed run 33064097043 exposed four separate checks, all addressed in this candidate:

  • The lazy people-card runtime imported a redundant host-type alias from its loader. Both now use the canonical sidebar host type, removing the Madge cycle without eager code or a new abstraction.
  • The omitted-scopes auth test still expected a roster. It now checks the actual hello grant, an empty roster, and a denied system-presence response. The approved reader-only policy is unchanged.
  • Startup-node tests lacked presence-version callbacks in their shared request-context fixture. Completing that owner fixes the missing handshake responses without changing startup admission or deadlines; all 67 shared-fixture sibling tests passed.
  • The browser shard exposed the current-main idle-scroll regression. A 150 ms idle notification was canceling an unfinished smooth Latest command. The repair settles only within one pixel of the actual DOM end and leaves the separate eight-pixel UI-follow policy intact. Explicit input still cancels immediately.

The scroll regression failed on the original owner, and an additional near-end case caught the first repair incorrectly issuing instant 4296 for a 4300 target. The final real-dependency test rejects that premature completion. The pointer browser scenario also waits for its committed input offset before recording a baseline; no one-pixel/two-pixel geometry assertion, timeout, or motion setting was relaxed. The before/after scroll captures below use synthetic browser-test content; the after capture is the corrected CPU-throttled run at the end.

On the integrated branch, 94 scroll-owner tests, 23 combined people-card/transcript/resize/focus/streaming browser tests, and six sidebar browser tests passed, along with scoped types/lint/guards and complete architecture checks. An initial owning-session focus-placement run failed once; unchanged isolated/full reruns and the integrated set passed. That separate observation remains under bounded investigation; no focus-specific fix is claimed here.

A further fresh real-Gateway run at f943e8e4419401268a794631aea0e6d918131d42 passed all 24 assertions, with zero chat.send calls and a 253 ms cold catalog response. Its current-main desktop recording and touch capture are attached; the video is slowed to one-third speed for legibility. Every attached image/video was inspected and contains fictional demo data only. The final rebase preserved main’s independently landed textarea runtime guard, resolving a test-only conflict; the people-card and scroll repairs are unchanged. The final-head production build passed. All owned Gateways are stopped.

Earlier before/after and live/profile evidence remains valid for its explicitly recorded heads. The PR changes no startup-JS baseline, dependency, SQLite schema, or protocol version; the earlier allowance was removed. Fresh task-scoped Codex P0 review found no actionable defects in the final scroll patch, whose integrated file hashes match the reviewed handoff.

@clawsweeper re-review — this candidate adds the verified current-main scroll-command repair and CI fixture/type corrections after the previous review. Required exact-head CI and native prepare/merge remain the landing gates.

people-cards-final-desktop.mp4

06-touch-dark

virtual-sizing-ci-followup-before-stranded

03-latest-end

@clawsweeper

clawsweeper Bot commented Aug 27, 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:

Record live person timing independently of heartbeat freshness and expose keyboard- and touch-accessible cards with visible session links. Preserve continuous online intervals across overlapping tabs without adding persistent activity history.

Closes #130649
Apply one recipient projection to hello, system-presence, and events. Keep person timing and time-zone details behind read access, and filter watched references with the canonical session-list policy without leaking hidden counts. Preserve idle-person metadata for readers and prevent non-reader activity-driven frames.
Carry the owning registry's metadata generation, workspace, install records, and built-artifact preference through capability discovery. Preserve standalone source loading and existing speech eligibility while avoiding synchronous source transforms on cold Talk catalog requests.

Fixes #130777
Keep the recipient matrix in its timing-aware owner, close the suite-owned Gateway for shutdown proof, and spy on the canonical install-record reader. Remove the retired private carrier's assertion allowance.
Publish completed connection rows through the canonical scoped broadcaster so established readers see first connections and reconnects without waiting for profile edits or activity. Preserve shared online intervals and reset them only after the final socket closes.
Reuse the canonical sidebar host type to remove the type-only lazy-runtime cycle. Assert omitted scopes through hello auth and denied presence reads, and supply presence version callbacks in the shared WebSocket context fixture. Retain startup admission and drain assertions without changing deadlines.
Do not treat the virtualizer's idle debounce or a decreasing offset as reader takeover. Settle at the actual DOM end within one pixel, retaining the separate eight-pixel UI-follow policy and explicit input cancellation. Cover retargeted idle delivery and near-end precision with the real dependency, synchronize pointer baseline capture, and type the existing composer snapshot as its textarea contract.

Fixes #130892
@steipete
steipete force-pushed the steipete/people-activity-cards-e80fef branch from 0a4ae03 to 61d0429 Compare August 27, 2026 14:39
@steipete

Copy link
Copy Markdown
Contributor Author

Final-head landing evidence

Reviewed candidate: 61d0429698fe3faed7d342314841975d2540fa45. Exact-head CI33083432630 completed success, and the watcher reached GREEN with zero pending checks. The latest ClawSweeper review inspected this same head and found no actionable patch defect. Its remaining CI and final-head artifact checks are now satisfied; the documented feature plus verification-discovered repairs are retained under the maintainer’s land request.

The final rebase reconciled an actual overlap with main’s capability-provider consolidation: main’s single registry-selection/entry-merge flow is preserved, along with this PR’s request-owned prepared load context. Seven commits were patch-identical across that rebase. No timeout, assertion tolerance, configuration knob, dependency, protocol version, persistent store, or startup-JS baseline was changed.

Final-head local proof:

node scripts/run-vitest.mjs src/plugins/capability-provider-runtime.test.ts src/plugins/capability-provider-runtime.generation.test.ts
node scripts/check-changed.mjs -- src/plugins/capability-provider-runtime.ts src/plugins/capability-provider-runtime.test.ts src/plugins/capability-provider-runtime.generation.test.ts
NODE_OPTIONS=--max-old-space-size=8192 pnpm build

All 75 capability/generation tests, the changed gate and the production build passed. Startup JS was342775B against main’s unchanged344044B baseline. Fresh isolated Codex P0 review reported no actionable findings; that is not an all-priority audit claim.

A further fresh isolated real built Gateway run on this exact head passed all 24 assertions, including real viewing/typing, shared-tab intervals, oldest-tab closure, full disconnect/reconnect, keyboard navigation and the dark touch card. Cold talk.catalog was 258ms; zero chat.send and zero external browser requests occurred. The served UI asset SHA256 was 1197cfabe134a648d015fd5d7000d2bbc4fa712685855ae851238ab8c4b53409. I inspected its desktop/viewing, reconnect and touch screenshots; the Gateway is stopped. Previously attached inspected before/after and live/profile proof and current-main UI/scroll recordings remain available with their original head labels.

The final classified delta is production +1492/−230 (net+1262), tests/support +2019/−389 (net+1630), generated Swift +8, docs net+21, assertion tooling net−1. Runtime growth implements the requested card and truthful live-client timing owner; existing projection, capability context and scroll owners absorb the repairs. Serialized live objects and plugin metadata introduce no database migration.

Native review baseline/head/guard/artifacts passed validation, and OPENCLAW_TESTBOX=1 scripts/pr prepare-run 130664 passed its hosted CI/Testbox gates without changing the reviewed head. Merge is next through head-pinned scripts/pr merge-run 130664, with no gate bypass.

Limitations remain explicit: no live provider inference or native-app launch; no operator credentials/state used. The separate unchanged focus-placement observation remains under bounded owner diagnosis after passing isolated/full/integrated/CI reruns; no focus-specific repair is claimed. The broader cross-reader IP policy and previously named unrelated follow-ups remain separate.

@steipete
steipete merged commit 3aaf13c into main Aug 27, 2026
201 checks passed
@steipete
steipete deleted the steipete/people-activity-cards-e80fef branch August 27, 2026 15:07
@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 28, 2026
* feat(ui): show activity cards for online people

Record live person timing independently of heartbeat freshness and expose keyboard- and touch-accessible cards with visible session links. Preserve continuous online intervals across overlapping tabs without adding persistent activity history.

Closes openclaw#130649

* build(protocol): refresh generated presence timing fields

* fix(gateway): scope presence snapshots to read-access operators

Apply one recipient projection to hello, system-presence, and events. Keep person timing and time-zone details behind read access, and filter watched references with the canonical session-list policy without leaking hidden counts. Preserve idle-person metadata for readers and prevent non-reader activity-driven frames.

* fix(plugins): preserve Gateway capability load context

Carry the owning registry's metadata generation, workspace, install records, and built-artifact preference through capability discovery. Preserve standalone source loading and existing speech eligibility while avoiding synchronous source transforms on cold Talk catalog requests.

Fixes openclaw#130777

* test: align integrated presence and capability coverage

Keep the recipient matrix in its timing-aware owner, close the suite-owned Gateway for shutdown proof, and spy on the canonical install-record reader. Remove the retired private carrier's assertion allowance.

* fix(gateway): broadcast presence when clients connect

Publish completed connection rows through the canonical scoped broadcaster so established readers see first connections and reconnects without waiting for profile edits or activity. Preserve shared online intervals and reset them only after the final socket closes.

* fix(ci): align presence fixtures and sidebar type ownership

Reuse the canonical sidebar host type to remove the type-only lazy-runtime cycle. Assert omitted scopes through hello auth and denied presence reads, and supply presence version callbacks in the shared WebSocket context fixture. Retain startup admission and drain assertions without changing deadlines.

* fix(ui): retain latest scroll commands until their destination

Do not treat the virtualizer's idle debounce or a decreasing offset as reader takeover. Settle at the actual DOM end within one pixel, retaining the separate eight-pixel UI-follow policy and explicit input cancellation. Cover retargeted idle delivery and near-end precision with the real dependency, synchronize pointer baseline capture, and type the existing composer snapshot as its textarea contract.

Fixes openclaw#130892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR P1 High-priority user-facing bug, regression, or broken workflow. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

1 participant