• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jokius / rook / 31686838684
97%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2026 09:33AM UTC
Jobs 1
Files 110
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2026 09:28AM UTC coverage: 97.269% (+0.02%) from 97.247%
31686838684

push

github

jokius
fix(control): create sessions in the caller's workspace, in the background

An agent's `rookctl session new` resolved `active`, which is the frontmost
window's current workspace — whatever its human happened to be looking at —
and then selected the new session, yanking them out of it. Two fixes:

`rookctl session new` now stamps its own $ROOK_SESSION_ID as
`ControlArgs.callerSession` (a send-path default, like `--shell`), and the
app resolves it across all windows, so an otherwise unaddressed create lands
in the caller's own window and workspace. Explicit addressing (`--window`,
`--workspace`, `--workspace-name`, `--after`/`--before`) outranks it, and an
id naming no live session falls back silently to the old default rather than
failing a create that used to work. Outside a rook session nothing is sent,
so external scripts are byte-identical on the wire.

Selection is now three-valued: `--no-select` (background), the new
`--select` (force), and neither, which follows the new
`selectNewControlSession` setting — Settings > General > "Switch to sessions
created by rookctl", default off. Both flags together is an error. The GUI
Cmd-T path never goes through the control server and still focuses.

The XCUITest suites that seeded fixtures with `session.new` relied on the
implicit selection; those seeds now say `"select":true` where a selected
session is a precondition. Several would otherwise have passed vacuously.

31 of 31 new or added lines in 6 files covered. (100.0%)

7 existing lines in 1 file now uncovered.

8441 of 8678 relevant lines covered (97.27%)

3464698.92 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
96.85
0.23% rookCore/Sources/rookCore/AgentHooksInstall.swift
Jobs
ID Job ID Ran Files Coverage
1 31686838684.1 13 Aug 2026 09:33AM UTC 110
97.27
GitHub Action Run
Source Files on build 31686838684
  • Tree
  • List 110
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31686838684
  • a17f597b on github
  • Prev Build on master (#31625710742)
  • Next Build on master (#31963236136)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc