Repository navigation
feat(sessions): permanent creator attribution, owner avatars, person filter, multi-user docs - #112658
Conversation
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat(sessions): permanent creator attribution, owner avatars, person filter, multi-user docs This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
fe5b043 to
32f7093
Compare
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat(sessions): permanent creator attribution, owner avatars, person filter, multi-user docs This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat(sessions): permanent creator attribution, owner avatars, person filter, multi-user docs This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Merged via squash.
|
…filter, multi-user docs (openclaw#112658) * feat(sessions): persist creator attribution * feat(ui): add session creator filtering * chore(sessions): refresh sqlite schema baseline * docs(security): explain shared-agent trust * fix(sessions): project catalog creator ownership * fix(ui): restore startup JS budget headroom for creator attribution
What Problem This Solves
Part 1 of #112499. Multi-operator gateways have no ownership attribution: every session looks identical in every teammate's sidebar, "who's online" presence is routinely misread as ownership, and there is no way to see what a specific person is working on. Single-user deployments must stay visually unchanged.
Why This Change Was Made
Sessions now persist a permanent
createdByidentity (trusted-proxy SSO user first, paired-device label fallback) stamped at creation — stored as an additive projection alongside the authoritativeentry_json(no SQLite schema-version bump; older binaries can rewrite entries safely; the schema-baseline hash refresh reflects this canonical schema addition). Session rows and catalog rows expose it as additive protocol fields; catalog rows carry their own server-projected ownership (provider-supplied values are scrubbed) so the creator filter never infers ownership from paginated live rows — a defect two review cycles converged on before settling on authoritative projection. UI: solid owner avatar chips (deterministic per-identity hue) on sidebar rows and the session header, deliberately distinct from translucent presence chips; a filter-by-person facet that collapses empty groups; full solo dormancy (fewer than two distinct identities renders zero new chrome, tested). Docs: new multi-user page and a SECURITY.md section stating plainly that within one agent, anyone who can operate the agent can make it do anything the agent can do — ownership/visibility features are usability, not security boundaries.User Impact
Team gateways see at a glance who created each session and can filter the sidebar by person. Solo gateways look exactly as before. No behavior changes to sending, scopes, or pairing.
Evidence
user_versionunchanged (additive, downgrade-safe).