Skip to content

fix: Deploy from file broken — default to deploy from GitHub repository #251

Closed

Description

@vybe

Problem

Deploying agents without a GitHub repository (file-based deploy) causes errors and hangs. When an agent's CLAUDE.md doesn't mention a repository, the system attempts file-based deploy which fails silently or times out (18+ minutes).

Solution

  1. Default behavior: Deploy from GitHub repository (not file upload)
  2. Fix the file-based deploy path so it doesn't hang/error
  3. If no repository is detected, prompt the user to create one first rather than attempting file deploy
  4. Ensure trinity onboard always deploys via Git when a repo exists

Context

From weekly sync: multiple team members hit this issue. The file deploy path creates agents that don't sync properly because there's no Git backing.

Acceptance Criteria

  • Default deploy method is repository-based
  • File-based deploy either works correctly or is removed/gated
  • Clear error message when no GitHub repo is configured
  • trinity onboard prefers Git-based deploy automatically

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowpriority-p1type-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions