Skip to content

feat(hub-ui): clone project — create new project from existing project settings #472

Description

@zeroasterisk

Problem

When setting up a new project that should have similar configuration to an existing one (templates, agent configs, env vars, shared directories), there's no way to clone or copy settings. Users must manually recreate everything from scratch.

Proposed Solution

Add a "Clone Project" action in the Hub UI that:

  1. Creates a new project with a user-specified name/slug
  2. Copies templates, agent template assignments, and configuration from the source project
  3. Does NOT copy secrets, active agents, or session state (clean start)

Scope

  • Limited to new project creation only — not modifying existing projects
  • UI-initiated (not an agent action)
  • Source project must be accessible to the user
  • Cloned project starts empty (no running agents) but with the same template and config foundation

UX

In the Hub UI project list or project settings:

  • "Clone Project" button → dialog with new project name → creates clone
  • Or: "New Project" flow with an optional "Start from existing project" dropdown

Security

Minimal concern — this is equivalent to a user manually creating a new project and configuring it the same way. No cross-tenant access, no secret leaking (secrets are not copied).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions