Skip to content

Feature: Ability to rename projects #79

@scion-gteam

Description

@scion-gteam

Summary

Add the ability to rename an existing project (formerly grove) through both the CLI and web UI.

Problem

Currently there is no way to rename a project after creation. If a user creates a project with a wrong or outdated name, they must either live with it or recreate the project from scratch, losing configuration, agent history, and associations.

Proposed Behavior

CLI

scion project rename <old-name> <new-name>

Web UI

  • Editable project name field in project settings

Considerations

  • Slug update: The project slug should be regenerated from the new name, or optionally allow specifying a new slug separately
  • References: Agents, templates, and other resources reference projects by ID (not name), so renaming should be safe for internal references
  • Hub sync: The rename needs to propagate through the Hub API to all connected brokers
  • Git branch naming: If project names are used in any branch naming conventions, those references may need updating
  • Audit trail: The rename should be logged for traceability
  • Uniqueness: Validate that the new name doesn't conflict with an existing project

Acceptance Criteria

  • Projects can be renamed via CLI (scion project rename)
  • Projects can be renamed via web UI (project settings)
  • Rename propagates through Hub to all brokers
  • Existing agents and templates continue to work after rename (ID-based references)
  • Rename is reflected in all UI surfaces (web, CLI list/status)
  • Duplicate name validation

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