All case studies
Open sourceDeveloper toolsGlobal
An open-source method for governed agents
SpecForge blocks Claude Code from editing your code until you approve the spec and plan.
Pooya GolchianAI Transformation Lead
The method at a glance
- Audit trail
- Every approval on record
- Lifecycle
- Inception, Construction, Operations
- Tests
- 15 shell test suites
The problem
By default, AI coding agents jump straight to code. Spec-driven tools make the agent write a spec and a plan first, then pause for a human to approve them. That pause is only advice, so a careful model stops and a hurried one runs past it. I built SpecForge so a check outside the model enforces that pause.
Constraints
- The approval step had to block the edit itself, not ask the model to wait.
- SpecForge had to work on brownfield code, the codebases teams already run.
- Every approval had to leave a record in the repo.
What I built
- Joined GitHub Spec Kit's spec, plan and task pipeline with the approval gates of AWS AI-DLC, the AI-Driven Development Life Cycle.
- Wrote a PreToolUse hook, a check Claude Code runs before it edits a file. It blocks code edits until a person approves the spec and plan. It ignores projects that do not use SpecForge.
- Added a Ralph loop that works the approved task list on its own, one task at a time. It logs every step and stops at a blocker instead of guessing.
- Added a reverse-engineer command that reads an existing codebase and drafts its first specs.
- Wrote a Python generator that builds the same workflow for GitHub Copilot, Cursor, Gemini CLI and Codex. I have not yet verified any of those four against a live install.
- Wrote 15 shell test suites that GitHub Actions runs on every pull request and every push to main.
- Built SpecForge's own Operations phase with SpecForge. Its spec, plan and audit trail sit in the repo.
Languages
- Shell
- Python
Stack
- Claude Code plugin
- PreToolUse hooks
- GitHub Spec Kit
- AWS AI-DLC
- GitHub Actions
Code and links
More case studies
Open source
15,246 businesses from 1,400 Google Maps requests
An open-source toolkit that crawls Google Maps into a business directory. No paid API call runs without an explicit yes.
Read case studyOpen source
Dirham and Riyal libraries, 65,000+ npm downloads
Two open-source libraries draw the new UAE Dirham and Saudi Riyal signs in apps, whatever fonts a device has.
Read case study