Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Summary
Rewrite the start-issue CLI in Go while preserving its current user-facing behavior and workflow guarantees.
Goals
- Make Go the primary implementation and distribution artifact.
- Keep the current CLI contract stable unless a behavior change is intentional and documented.
- Preserve the shell-oriented integrations with
git,gh, and supported agent CLIs for the first migration phase. - Establish executable parity coverage before making Go the default runtime.
Scope
- Create a Go module and a parallel CLI entrypoint.
- Port argument parsing, configuration resolution, prompt rendering, repository detection, branch/worktree lifecycle, and agent launch adapters.
- Reuse or adapt existing fixtures and fake CLIs for regression coverage.
- Add a repeatable Bash/Rust-to-Go parity test harness covering help, invalid input, configuration precedence, dry-run output, worktree planning/reuse, and agent launch command generation.
- Update build, install, release, and documentation flows once parity is proven.
Non-goals
- Replacing
gitorghwith native protocol/API clients during the initial rewrite. - Broad product redesign as part of the runtime migration.
- Removing the existing implementation before the Go CLI has demonstrated parity.
Suggested execution order
- Freeze the current behavior as executable tests.
- Scaffold a parallel Go CLI.
- Port pure configuration and prompt logic.
- Port repository, branch, and worktree orchestration.
- Port agent adapters and launch flow.
- Run systematic parity validation.
- Cut over distribution and releases after acceptance criteria are met.
Acceptance criteria
- The Go CLI passes its unit and integration tests.
- The parity suite covers the current critical workflows and documents intentional differences.
make testvalidates the relevant Go and compatibility test suites.- Installation and release workflows publish the Go binary successfully.
- The default
start-issueruntime is Go only after parity is established.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
dapi commentedon Jul 22, 2026
Feature package for this issue has been created:
memory-bank/features/FT-016/brief.md. It is currently at the bootstrap gate: the Go release distribution matrix needs an explicit product/release decision before design and implementation planning can proceed.dapi commentedon Jul 22, 2026
The feature package is now Problem Ready, Solution Ready, and Plan Ready. The accepted Go release contract is
DL-01/DL-02: GoReleaser builds Linux amd64/arm64, macOS amd64/arm64, and Windows amd64 assets; Linux/macOS use verified automatic install/update, while Windows documents manual install/update. Downstream documents:design.mdandimplementation-plan.md.dapi commentedon Jul 22, 2026
Implementation PR: #36
Feature package:
memory-bank/features/FT-016/(brief, design, and implementation plan are included in the PR).This is the v2.0.0 Go cutover: repository-owned Bash/Bats runtime and test surfaces are removed; CI validates Go tests and cross-builds.
dapi commentedon Aug 4, 2026
Закрыто: Go-миграция завершена.
Подтверждение:
make testи sandbox E2E проходят в release workflow.Parity сравнивает Go с сохранённым Bash baseline; отдельной Rust-реализации в репозитории не было.