Skip to content

feat(devkitd): migrate agent rename to atomic daemon-side rename #410

Open

Description

@codeaholicguy

Part of the devkitd agent migration (#406). Exception to client-execution: runtimeRef.session IS the tmux session name — splitting registry rename from tmux rename-session risks divergence on crash.

Scope

agent rename <old> <new> → daemon-side agent.rename RPC:

  • Name-uniqueness check + registry rename under start_mutex
  • tmux rename-session / herdr rename executed daemon-side atomically
  • Fallback to AgentRegistry.rename on unreachable/unknown-method

Acceptance

  • Rename updates registry + runtime session together
  • name_in_use coded error on collision
  • Console rename pane works via the same path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions