Skip to content

feat: Auto-create GitHub repos during agent creation #253

Closed

Description

@vybe

Problem

Agent creation and deploy require a GitHub repository, but Create Agent doesn't create one. Users must manually create a repo, which breaks the flow and causes deploy failures when forgotten.

Solution

Auto-create a private GitHub repository for the user during agent creation:

  1. During create-agent flow, automatically create a private GitHub repo under the user's account (or a configured org)
  2. Initialize the repo with the scaffolded agent files
  3. Record the repo URL in the agent's CLAUDE.md and Trinity config
  4. Ensure subsequent trinity sync and trinity onboard work seamlessly

Context

This closes the gap in the agent creation → deploy pipeline. Currently users must manually create repos, which is error-prone and causes the file-based deploy fallback (which is broken).

Acceptance Criteria

  • create-agent skill auto-creates a private GitHub repo
  • Repo is initialized with agent scaffold files and pushed
  • Agent CLAUDE.md references the repo
  • Deploy and sync work without additional manual steps

Activity

  1. added
    priority-p2
    type-feature
    on Apr 3, 2026
  2. added
    complexity-medium
    theme-devex
    on Jun 3, 2026
  3. added
    status-incubating
    on Jun 14, 2026
  4. vybe commented on Jun 20, 2026

    @vybe
    ContributorAuthor

    Cross-link: the fork path of the new GitHub-repo import wizard (private abilityai/trinity-enterprise#15, epic #13) reuses this auto-create-repo primitive. Worth sequencing together.

  5. vybe commented on Jul 3, 2026

    @vybe
    ContributorAuthor

    Readiness triage (groom 2026-07-03): closing as aged/superseded — incubating ~14 months, never started. Repo provisioning for GitHub-native agents is now largely covered by initialize_github_sync + github_service repo creation. Reopen if a concrete need for auto-creation at agent-creation time resurfaces.

  6. removed
    status-incubating
    on Aug 7, 2026
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

    complexity-mediumpriority-p2theme-devextype-feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions