Start claude as the PC's agents' account through a broker (SES-314) #335
Loading…
Reference in a new issue
No description provided.
Delete branch "ses-314-agent-broker"
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?
Work package: https://openproject.home.romaine.life/wp/SES-314
Claude agents on the home PCs are moving to their own non-admin account, ROMAINE\claude. This PR is at-claude's part: the host starts claude as that account through a per-PC broker. It builds on PR 328, which made the host judge a peer by account and job membership.
What it adds
at-claude agent-broker -person <SID> -drive S:=\NelsonNAS\files. It runs as the agents' account from theat-claude-agentboot task, which at-app.json now declares. at-update registers that task with the account's password (romaine-life/at-update#33), so the broker has a full logon and mapsS:in it.\.\pipe\at-claude-agentto the person's SID only, and the person cannot create an instance of that pipe. The host refuses any pipe whose owner is not the agents' account.AT_CLAUDE_*,AT_TMUX_*,TMUX*, terminal), plusCLAUDE_CONFIG_DIRset to the agents'%USERPROFILE%\.claude,DISABLE_UPDATES=1, andAT_CLAUDE_HOST.C:\Program Files\at-home\claude-agent\current\claude.exe, the agents' copy that home-sync keeps and they cannot write.--settings {"disableAllHooks":false}. Command-line settings outrank project and local settings (Claude Code's settings docs), so no project file the agents can write turns owner-guard's hook off. They get no--chrome.settings.jsonor delete, rename or re-permission their.claude. It checks this with Windows' own AccessCheck.AT_CLAUDE_HOST, because the agents cannot reach tmux or the person's hosts folder.What it changes
-full-accessnow also means "as you". It refuses to continue a session the agents saved.What it leaves alone
AT_AGENT_ACCOUNT, starts claude exactly as today.What it does not do
-full-access.Tests
-full-accesson an agents' session, the notice, and a turn answered through a broker.AT_CLAUDE_HOST.Order: romaine-life/at-update#33 first, so at-update reads this manifest's
accountfield. at-update is not cut over yet, so nothing registers the task before then.Local
go teston nelsonpc failsTestLowIntegrityChildthe same way on main:%LOCALAPPDATA%\Temp\Lowlost its Low label in the 2026-11-28 label revert.merge-queue stopped this at
a391a0f: CI failed: Suite go / check-test-linux (pull_request), Suite go / reused-checks (pull_request) (never ran). Push a fix. A failure fixed on main lands once thequeuelabel is removed and added again: the queue merges main in and CI runs on the new head.1a7a4d43d6b03984d2bc