Skip to content

alonf/specrew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

816 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Specrew    Specrew — Governed Agentic SDLC Specrew — Governed Agentic SDLC

Specrew

License: MIT Version Status: Alpha

Specrew is a methodology for AI-assisted software delivery — a governance layer that runs on top of GitHub Spec Kit and Squad CLI and enforces the SDLC discipline that those tools alone don't enforce.

It is not a multi-agent framework, not an autopilot tool, and not another code generator. It is the layer that keeps the human in the loop at every decision boundary while letting agents do the work between boundaries.

Why Specrew exists

Modern AI-assisted code tools optimize for throughput — finish more in less time. That works until the AI quietly decides things the human would have decided differently:

  • Picks a database without asking
  • Resolves an ambiguous requirement by guessing
  • Skips a clarifying question to save a turn
  • Crosses a planning-to-implementation boundary without authorization
  • Ships work that "looks correct" but isn't traceable to a spec

Specrew was built after observing these failures empirically and concluding that the gap is not in the agent's capability; it is in the discipline around the agent. The same agent that auto-resolves a scope decision under one tool will surface it as a question under another. The difference is the methodology layer.

Specrew encodes that methodology as four guarantees:

  1. Boundary discipline. The lifecycle has explicit approval boundaries (specify, clarify, plan, tasks, before-implement, review-signoff, retro, iteration-closeout, feature-closeout). One human authorization advances at most one boundary. No agent prose can simulate authorization. Enforcement is moving from prose to code (see Proposal 065, in flight as Feature 039).
  2. Substantive interaction. Every boundary handoff is reviewable in the console with the essence of "what I just did / why I stopped / what I need from you" visible without opening files. Status pings are not enough.
  3. Audit-trail durability. Every verdict, decision, drift event, and bypass lives in .squad/decisions.md with timestamps, commit hashes, and recognized verdict shapes. Sessions can be reconstructed after the fact; methodology lives in artifacts, not in agent memory.
  4. Methodology survives the host. Specrew runs on GitHub Copilot CLI today. Claude Code, Codex CLI, and VS Code Chat are roadmap items (Proposal 069). The skill-level enforcement gates are host-agnostic by design — switching hosts must not weaken the methodology.

What Specrew is not

If you want… …use this instead
A multi-agent code library (orchestrate agents in Python) CrewAI, AutoGen, LangGraph
Autopilot coding (let the agent run; check the output) Devin, OpenInterpreter, Aider
The spec-driven command surface alone (/speckit.specify, /speckit.plan, …) Spec Kit directly
The multi-agent runtime alone (specialist teams, agent charters) Squad CLI directly
A code generator None of these — Specrew is governance over agent-driven work, not a code generator

Specrew composes Spec Kit + Squad into a methodology layer with enforced discipline. It is the smallest layer that keeps the human in control when agents are doing the typing.

How it differs in one paragraph

Vanilla Spec Kit ships the slash-command surface but has no orchestration or boundary enforcement. Vanilla Squad runs multi-agent teams but doesn't drive a spec-driven lifecycle. Autopilot tools and multi-agent libraries optimize for throughput by letting the agent decide. Specrew goes the other direction: the spec is authoritative, drift is a first-class event, every boundary requires explicit human authorization, and the audit trail is durable. Different design point. Same agents.

Status

  • Active development line: 0.25.0
  • Latest stable baseline: 0.24.3 (process-optimization bundle: closeout sync commands, markdown lint pre-boundary, validator memoization/parallelization/closed-iteration-index, repetition detector, PR-review integration)
  • Alpha software, validated through dogfooding in this repository
  • Built for a single developer today. Multi-developer reconciliation is a roadmap item (Proposal 010).
  • Release truth lives in CHANGELOG.md, docs/versioning.md, and the v0.NN.0 tags.

What's working today

  • specrew init bootstraps Spec Kit, Squad, and Specrew governance into a fresh or existing repo
  • specrew start launches the canonical lifecycle session with handoff artifacts refreshed
  • specrew where renders the velocity dashboard from canonical artifacts
  • The full lifecycle: specify → clarify → plan → tasks → implement → review-signoff → retro → iteration-closeout → feature-closeout — with gate-respecting boundary stops by default (Proposal 066, shipped)
  • Session-state durability across reboots, worktree switches, and boundary events
  • Slash-command catalog deployed to .claude/skills/, .github/skills/, and .agents/skills/ (Feature 024)
  • Validator memoization, parallelization, closed-iteration index, repetition detector — the v0.24.3 process-optimization bundle keeps the discipline cheap to enforce
  • Reviewer-regression routing, session-loaded file change detection, drift-log integrity
  • Pre-boundary markdown-lint auto-fix gate prevents lint round-trips at every boundary commit
  • PR-review-integration soft warning surfaces missing pr-review-resolution.md when host has automated review available

What's coming (roadmap highlights)

See proposals/INDEX.md for the full proposal catalog (Shipped / Draft / Candidate).

Quickstart

Five minutes from zero to a running lifecycle session:

Install-Module Specrew -Scope CurrentUser -SkipPublisherCheck
mkdir C:\Dev\calculator && cd C:\Dev\calculator && git init
specrew init
specrew start "Build a web based calculator with only the + - * / MR MC M+ M- operations"

See docs/getting-started.md for the full quickstart, install variants, and known limitations. See docs/user-guide.md for day-to-day usage.

Platform support

Platform Status
Windows 11 (primary) ✅ Fully validated
WSL Ubuntu ✅ Manually validated end-to-end
Linux native (Ubuntu) ✅ Path handling cross-platform; CI matrix configured
macOS 🔧 Path handling cross-platform; CI matrix configured; no in-house validation yet

Key documents

Contributing

Specrew is alpha. Reading, issues, and discussion are welcome now. External pull requests are intentionally deferred until the operating model and review boundaries stabilize. The dogfooding loop on this repository is the validation surface for every methodology change.

License

Specrew is released under the MIT License. See LICENSE for the repository license and NOTICE.md for upstream attribution covering derived Squad and Spec Kit materials.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors