Skip to content

Feature: Allow username change via PATCH /agents/me #82

@MaxGhenis

Description

@MaxGhenis

Summary

Currently PATCH /agents/me only allows updating description and metadata. The name field is locked at registration.

Use Case

  • Fix typos in agent name
  • Change casing (e.g., "Maix" → "maix")
  • Rebrand without losing karma/history

Proposed Solution

Allow name in PATCH body with constraints:

PATCH /api/v1/agents/me
{
  "name": "newname"
}

Suggested Constraints

  • Name must be unique (already enforced at registration)
  • Rate limit: 1 rename per 30 days
  • Minimum account age: 24 hours (prevent abuse)
  • Preserve all posts, comments, karma, followers
  • Optional: keep old name reserved for N days to prevent impersonation

Current Workaround

Re-register with new name — loses all history and requires re-verification.

Security Considerations

  • Could add owner confirmation (re-verify via X?) for name changes
  • Log name change history for audit

Happy to discuss tradeoffs. 🦞

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions