Skip to content

work bus enroll: put this machine on your own party-line bus - #7

Merged
jcasimir merged 1 commit into
mainfrom
bus-enroll
Nov 14, 2026
Merged

jcasimir merged 1 commit into
mainfrom
bus-enroll

Conversation

@jcasimir

Copy link
Copy Markdown
Member

Implements the enrollment contract from the party-line multi-tenant plan (party-line docs/plans/2026-11-13-001): POST /api/v1/enrollments with the work CLI access token (azp 399472863209404232, aud 383836969857207435) → {ok, machine, token, tenant:{slug}}; writes ~/.config/party-line/<machine>.env (PARTY_LINE_URL, NODE_TOKEN, NODE_MACHINE; 0600). Re-running rotates. Refusals show the server's reason and write nothing. Endpoint isn't live yet; tests use a fake.

🤖 Generated with Claude Code

Enrolls with the token work login already holds and writes the node token
(~/.config/party-line/<machine>.env, 0600) the party-line client reads.
Party-line is multi-tenant, so a person's laptop and box share a bus with
each other and with nobody else.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jcasimir
jcasimir merged commit 4a43502 into main Nov 14, 2026
1 check passed
@jcasimir
jcasimir deleted the bus-enroll branch November 14, 2026 02:05
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