Skip to content

feat: multi-tenant Phase 3 — agent target binding (AR-3) - #55

Merged
KeyCode17 merged 2 commits into
developfrom
feat/mt-phase3-target-binding
May 30, 2026
Merged

feat: multi-tenant Phase 3 — agent target binding (AR-3)#55
KeyCode17 merged 2 commits into
developfrom
feat/mt-phase3-target-binding

Conversation

@KeyCode17

Copy link
Copy Markdown
Owner

Summary

Agents now act on an explicitly bound tab via ToolContext.target instead of focused_target() ("the last tab"), removing the cross-session race.

  • ToolContext gains target: Option<TargetId>; all 7 builtins use it (error if absent) — focused_target no longer called anywhere in ras-tools/src.
  • RunAgent::with_target(TargetId); bound_target threaded into RunStep, which sources the bound target first and falls back to focused_target only for single-user.
  • Bump 3.3.0 → 3.4.0.

Test Plan

  • cargo build --workspace clean; cargo test -p ras-tools -p ras-agent — 47 pass, 2 ignored; clippy clean; hooks green. focused_target removed from ras-tools/src (grep-confirmed).

🤖 Generated with Claude Code

KeyCode17 and others added 2 commits May 30, 2026 09:29
@KeyCode17
KeyCode17 merged commit 490d3ca into develop May 30, 2026
7 checks 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