A login moves its node; an API key is added from any node, sealed (hq ADR 0209) #271

Merged
mesh-admin merged 1 commits from feat/a-login-moves-its-node into main 2026-10-04 13:12:03 +00:00
Contributor
  • claude-licence-manager: the node a login was adopted from is bound to that login's licence, switched if bound elsewhere; a dead login moves nothing; new public_key verb; adopt takes sealed (a key sealed to the manager) besides file. Tests: a second-account login moves its node and no other; a dead one moves nothing; a sealed key is adopted and opens only for the manager.
  • claude-code: claude_code_add_api_key {name, file, use_here} reads the key from a file on its node, seals it, hands it to adopt, removes the file, and optionally switches the node. Test: nothing in the clear, file gone.

All Go, -race clean; module check ok for both.

- claude-licence-manager: the node a login was adopted from is bound to that login's licence, switched if bound elsewhere; a dead login moves nothing; new `public_key` verb; `adopt` takes `sealed` (a key sealed to the manager) besides `file`. Tests: a second-account login moves its node and no other; a dead one moves nothing; a sealed key is adopted and opens only for the manager. - claude-code: `claude_code_add_api_key {name, file, use_here}` reads the key from a file on its node, seals it, hands it to `adopt`, removes the file, and optionally switches the node. Test: nothing in the clear, file gone. All Go, -race clean; module check ok for both.
mesh-admin added 1 commit 2026-10-04 13:11:57 +00:00
The manager binds the node a login was adopted from to that login's licence,
switching it if it was bound to another; serves public_key; adopt takes a
key sealed to it. claude-code gains claude_code_add_api_key: read a file on
this node, seal, hand to adopt, remove the file, optionally switch here.
mesh-admin merged commit c5c47b92f4 into main 2026-10-04 13:12:03 +00:00
mesh-admin deleted branch feat/a-login-moves-its-node 2026-10-04 13:12:03 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#271