GSD LoopThe queue-driven spec-build-review loop for continuous AI coding.
Turn foggy ideas into decision maps, contract-grade GitHub issues, pull requests, and reviewed code. Work a continuous GitHub queue with bounded agent passes, leaving the irreversible merges strictly to you.
Decision mapping & uncertainty resolution
Contract-grade GitHub issue creation
Queue dispatch, code & pull requests
Contract audit & CI test validation
Why GSD Spec-Build-Loop?
Built to solve the fundamental failure modes of autonomous coding: ambiguity, runaway context, and lack of human oversight.
Human-Gated by Design
Agents open and review pull requests but never merge or enable auto-merge. Irreversible decisions stay strictly with humans.
Contract-Grade Issues
Discovery maps resolve open architecture decisions before issues are written, giving build passes a real contract to satisfy.
Crash-Safe Queues
Workflow state is reconstructed from git and GitHub labels rather than volatile agent memory, with idle backoff when queues run dry.
Runtime Compatible
Drop the loop skills into Claude Code, Cursor, Codex, Gemini CLI, or run standalone from your CI/CD pipelines.
Explore the 4 Loop Passes
Click through the four bounded passes to see how an uncertain idea evolves into contract issues, pull requests, and human merges.
Interactive 4-Stage Queue Simulator
› Working GitHub repository queue...
› State reconstructed from git labels & commit logs.
› Phase: Discover pass in progress.
Architecture & Trade-off Resolution
The Four Skills in Detail
Each skill is an isolated command with explicit inputs, outputs, and label transitions.
Discover
Charts an uncertain effort, probes trade-offs, and resolves open questions into an unambiguous decision map.
Spec
Transforms cleared decision maps into contract-grade GitHub issues with explicit acceptance criteria and edge case tests.
Build
Works the gsd:ready queue on clean git branches, implementing features, running checks, and opening pull requests.
Review
Audits each PR against its issue contract, verification evidence, and CI status before alerting a human to merge.
Run in GitHub Actions or Local CLI
Configure GSD Loop as a scheduled GitHub Action or run it directly on your machine. Whenever an issue is labeled gsd:ready, the agent picks it up, writes code in an isolated branch, and opens a PR for you to review.
gsd:ready, gsd:blocked, and gsd:review-ready.name: GSD Spec-Build Loop
on:
issues:
types: [labeled]
schedule:
- cron: '*/15 * * * *'
jobs:
gsd-worker:
if: contains(github.event.issue.labels.*.name, 'gsd:ready')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run GSD Build Pass
run: npx @opengsd/gsd-loop@latest build --repo=${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}Supercharge Your GitHub Issue Queue
Stop context drift and vague agent prompts. Install GSD Loop today and let agents build against verified issue contracts.