You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 27d87b1
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(daemon): enforce device claim for commands with explicit selector (#4270)
* fix(daemon): enforce device claim for commands with explicit selector
* fix(daemon): preserve noActiveSessionError for unselected queries and verify pre-admission
* refactor(daemon): enforce require-owner in-memory claim guard in request device access
* fix(command-registry): set test device claim policy to none (#4228)
* refactor(daemon): consolidate device conflict resolution helper (#4228)
* fix(daemon): correct type imports and formatting for device conflict resolution
* refactor(daemon): unexport internal findSessionHoldingDevice to satisfy fallow dead code audit
* test(daemon): expect a fresh session to be refused on a held device
Two fresh named sessions no longer share one device: the second waits
for the holder's request, then gets DEVICE_IN_USE (#4228).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Michał Pierzchała <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Refuse `require-owner` commands run under a session this daemon does not hold with `DEVICE_IN_USE` when another session of this daemon holds the device (without reading the host-global claim store). Enforce the in-memory holder guard in the request scope's device access before inspecting device facts or binding, covering every device-touching `require-owner` command. Give `test` the suite-orchestrator claim policy `none` so suite cleanup and recording can act through child case sessions without triggering false device contention. Preserve `NO_ACTIVE_SESSION` for sessionless requests without a device selector.
0 commit comments