Skip to content

fix(cockpit): hide System-agent runs from the Chat + Sessions lists (v0.283.2) - #507

Merged
vikasprogrammer merged 1 commit into
mainfrom
feat/cockpit-hide-system
Jul 31, 2026
Merged

fix(cockpit): hide System-agent runs from the Chat + Sessions lists (v0.283.2)#507
vikasprogrammer merged 1 commit into
mainfrom
feat/cockpit-hide-system

Conversation

@vikasprogrammer

Copy link
Copy Markdown
Owner

The follow-up cleanup from Phase 3. The Cockpit concierge (ask) and operator (action) runs are spawned run-as the member (provenance chat:<member>), so these category:'System' machinery runs showed up in the member's Chat list and the Sessions list as if they were conversations the member started.

Fix

listSessions now derives a system flag from the agent's category (it already reads os.agents.get(r.agent) there). The console filters !s.system out of:

  • the Chat list
  • the Sessions list
  • the sidebar running-count badge

The rows are untouched — still openable by id (Cockpit's "Open full session" link works) and present in the Audit log. They're just out of the everyday lists. Additive flag → no server behavior change, nothing else affected.

Verification

  • typecheck + web build clean
  • test:governance137/137 + tier-A 18/18

🤖 Generated with Claude Code

…Chat + Sessions lists (v0.283.2)

The Cockpit concierge/operator runs are spawned run-as the member (provenance
chat:<member>), so these category:'System' machinery runs cluttered the member's
Chat list and the Sessions list as if they were conversations they started.

listSessions now derives a `system` flag from the agent's category; the console
filters it out of the Chat list, the Sessions list, and the running-count badge.
The rows still exist — openable by id (Cockpit's "Open full session") and in
Audit — just out of the everyday lists.

Verified: typecheck + web build clean; test:governance 137/137 + tier-A 18/18.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vikasprogrammer
vikasprogrammer merged commit 814b942 into main Jul 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant