Skip to content

Scope background activity to the owning session#199

Merged
cbusillo merged 1 commit into
mainfrom
fix/session-event-scope-audit
May 29, 2026
Merged

Scope background activity to the owning session#199
cbusillo merged 1 commit into
mainfrom
fix/session-event-scope-audit

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • scope model-facing agent get/list/cancel/wait paths to the owning session id
  • remove the process-global background-shell completion submission sender and enqueue completion wakeups on the originating session
  • add a manager regression covering cross-session agent list/get/cancel behavior, including archived agents

Validation

  • cargo test -p code-core model_facing_agent_queries_are_session_scoped
  • cargo test -p code-core agent_status_updates_include_only_owned_agents
  • cargo test -p code-core --test agent_completion_wake concurrent_same_repo_sessions_only_receive_owned_agent_status
  • cargo test -p code-core --no-run
  • ./build-fast.sh

Fixes part of #175.

@cbusillo cbusillo merged commit d0d4979 into main May 29, 2026
1 check passed
@cbusillo cbusillo deleted the fix/session-event-scope-audit branch May 29, 2026 11:39
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