Skip to content

feat(client): optional userId on agent registration - #1824

Merged
aliaska-varieva merged 1 commit into
mainfrom
feat/registration-optional-user-id
Aug 22, 2026
Merged

feat(client): optional userId on agent registration#1824
aliaska-varieva merged 1 commit into
mainfrom
feat/registration-optional-user-id

Conversation

@aliaska-varieva

Copy link
Copy Markdown
Contributor

Extends the agent registration flow with an optional userId so we can capture which user installed the agent:

  • AgentRegistrationRequest — new optional userId field (no validation constraint; older agents that don't send it keep working)
  • Machine document — new userId field
  • AgentRegistrationService — copies userId onto the machine on register/reinstall, only when non-blank, so a reinstall from an agent that doesn't send it does not wipe an existing value

🤖 Generated with Claude Code

…achine document

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@aliaska-varieva
aliaska-varieva requested a review from a team August 18, 2026 10:08
@aliaska-varieva aliaska-varieva self-assigned this Aug 18, 2026
@aliaska-varieva
aliaska-varieva merged commit aed0a84 into main Aug 22, 2026
6 checks passed
@aliaska-varieva
aliaska-varieva deleted the feat/registration-optional-user-id branch August 22, 2026 09:27
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.

4 participants