-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Lex edited this page Aug 21, 2026
·
7 revisions
SpecGit is a delivery binding and acceptance harness: bind a branch or worktree to forge issues and one pull request, then derive the verdict from real git, PR, and CI evidence. A delivery is done if and only if specgit finish exits 0. If the evidence cannot be gathered, the answer is unknown, never accepted — SpecGit fails closed.
execution context (branch or worktree) + issues[] + one PR (or MR) + required CI checks
One delivery, one PR, N issues. Evidence flows through your authenticated forge CLI — gh for GitHub, glab for declared self-managed GitLab. No tokens read, no telemetry.
| Page | Content |
|---|---|
| Getting Started | Install, specgit init, first delivery |
| CLI Reference | Ten commands, exit-code contract (0/1/2/3/130), --json envelope |
| Concepts | Three file tiers, delivery binding, fail-closed acceptance, one issue = one WHY |
| Provider Architecture |
ForgeProvider port, gh/glab adapters, routing |
| GitLab Support | Version window, differences from GitHub |
| Team Workflow | Delivery loop, policy as team contract, review |
- Repository: https://github.com/LeXwDeX/SpecGit
-
Install:
npm install -g specgit -
Requirements: Node.js ≥ 20.19.0,
git, andgh(GitHub) orglab≥ 1.113.0 (declared GitLab) authenticated -
Commands:
init,setup,issue,pr,finish,bind,unbind,status,accept,doctor— ten, exactly -
Exit codes:
0accepted/success ·1rejected ·2usage error ·3fail-closed unknown ·130interrupted - License: MIT
Chinese version: Home-zh