gmc
gmc copied to clipboard
Parallel git worktrees for parallel AI agents — plus AI-generated commits.
`gmc tag` describes itself as a SemVer tag command, but its version model only supports three integer components. At commit `c87d459223675d33d1e7a3d3fd7d16f440a92a76`: - [internal/version/version.go:12–47](https://github.com/samzong/gmc/blob/c87d459223675d33d1e7a3d3fd7d16f440a92a76/internal/version/version.go#L12-L47) stores only major, minor, and patch. `ParseSemVer`...
> 状态:产品方向探讨 (RFC / Discussion)。本 issue 用于**沉淀需求与开放问题**,尚未进入实现阶段,后续需要更深入的思考与具象化。 ## 1. 背景与痛点 做多任务并行(同时操作 Codex / Claude Code 等 AI 编码工具)时,真正的瓶颈**不是"跑不动并行"**,而是**编排和观测的成本太高**: - 手动 `cd` 进每个 worktree - 手动起 agent - 手动盯每个 agent 的进度...
## Context When running multiple AI agents (Codex, Claude Code, Copilot) in parallel against the same repo, the current gmc workflow — even with `gmc wt add/dup/share` — is hard...
## Context GMC already helps with the lower-level mechanics of parallel AI coding: worktree fan-out, shared resources, task file copying, PR review worktrees, and promotion of a winning candidate. The...
## Summary In a .bare layout where the common git config has both `core.bare=true` and `extensions.worktreeConfig=true`, `gmc wt add -b main` creates a worktree that Git does not treat as...
## Summary Add a global `--output` (`-o`) flag to the root command supporting `text` (default) and `json`. This is the foundation for all Agent-First improvements. Without structured output, scripts and...
## Summary Rewrite the gmc skill to be a thin intent router now that structured output (#52) and native commands (#53, #54) exist. After the CLI itself supports `--output json`,...
## Summary Consolidate all skills into a single canonical location under `skills/`. Currently skills are scattered across three directories: - `skill/` (new, hand-written) - `skills/` (existing) - `.agents/skills/` (tessl-generated) A...
## Summary Internalize `skill/scripts/wt-cleanup.sh` logic as a native `--pr-aware` flag on `gmc wt prune`. Eliminates python3 + shell dependency, makes PR-aware cleanup first-class, and produces structured output. ## Scope -...
## Summary Standardize exit codes across all commands so Agents can distinguish error categories without parsing stderr text. Currently all errors exit 1. Agents benefit from distinguishing "no staged changes"...