Skip to content

feat(cli): add machine rename command - #32

Open
Stephanie (stephanieatdedalus) wants to merge 1 commit into
dedalus-labs:mainfrom
stephanieatdedalus:codex/machine-rename-cli
Open

feat(cli): add machine rename command#32
Stephanie (stephanieatdedalus) wants to merge 1 commit into
dedalus-labs:mainfrom
stephanieatdedalus:codex/machine-rename-cli

Conversation

@stephanieatdedalus

@stephanieatdedalus Stephanie (stephanieatdedalus) commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add the PRD-required dedalus rename <current> <new-name> command.
  • Call PATCH /v1/machines/{id-or-name} without client-side normalization so the server remains the validation source of truth.
  • Print the accepted name and canonical immutable machine_id.
  • Cover ID/name routing, request body, response handling, and typed server errors.

Delivery stack

  1. dedalus-labs/dedalus#5304: database foundation
  2. dedalus-labs/dedalus#5305: DCS API, resolver, and canonical OpenAPI contract
  3. dedalus-labs/dedalus#5306: dashboard plus the Scalar-published API document
  4. This PR: custom top-level rename command

This PR depends on dedalus-labs/dedalus#5305.

Tests

  • ./scripts/lint
  • ./scripts/test (all Go packages plus Windows cross-compilation)
  • Tested against this CLI repository's current OpenAPI contract

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.

2 participants