P0: add least-privilege Auto-Dig client service session #48
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Consumer:
starintel-labs/starintel-infra#72Parent lifecycle: #41
Bixby epic:
lost-rob0t/starintel-bixby#1Problem
Auto-Dig lifecycle is now canonical on Quasar
main, but the WebSocket authority boundary has no production session class suitable for a non-browser external client that must invoke the public lifecycle commands. The existing standard/browser session intentionally lacks Auto-Dig commands, whileregister-autodig-worker-sessionintentionally grants worker-only commands and does not grantautodig.run.start/pause/resume/stop.The StarIntel Bixby gateway must not reuse a browser token, gain worker claim/lease authority, run Quasar in insecure-development mode, or invent a parallel HTTP compatibility layer.
Smallest correct owner-side extension
Add a separately registered least-privilege Auto-Dig client service session whose capabilities are exactly:
system.capabilitiesautodig.statusautodig.run.getautodig.run.listautodig.run.startautodig.run.pauseautodig.run.resumeautodig.run.stopIt MUST NOT receive worker claim/heartbeat/complete/fail commands, document/graph mutation commands, or browser-wide capabilities.
The session token is an upstream service credential supplied at deployment/runtime, never a Bixby user token and never committed to Git. Workspace authorization must be explicit; a gateway deployment may be allowed
*only when the gateway deterministically maps authenticated StarIntel human principals to isolated workspace IDs before sending commands.TDD/security gate
Tests first proving:
Keep this generic Quasar service-session authority. Do not mention Samsung in protocol fields or add Bixby-specific commands.