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
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
Web UI
Considerations
Acceptance Criteria
scion project rename)