Skip to content

[codex] Scope sessions to current user - #1

Draft
stefanriegel wants to merge 1 commit into
strykereye2:mainfrom
stefanriegel:main
Draft

[codex] Scope sessions to current user#1
stefanriegel wants to merge 1 commit into
strykereye2:mainfrom
stefanriegel:main

Conversation

@stefanriegel

Copy link
Copy Markdown

Changed

  • Filter listed Claude sessions to the plugin server's configured/current OS user.
  • Apply the same owner check before killing a Claude PID.
  • Add a small assertion-based regression check for the user filter.

Why

The Sessions plugin scanned every visible /proc Claude process, so one OS user could see another user's Claude session in a shared host.

Checks

  • npm run build
  • node --check src/server.js
  • node --check dist/server.js
  • node test/session-filter.test.mjs

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