OpenSpec: The Markdown Spec Layer That Makes AI-Generated Code Safe to Ship
Teams already face the cost of AI code that nobody trusts enough to ship; OpenSpec shifts review from reading diffs to checking spec deltas, so a legacy codebase can accumulate a source of truth that survives session resets, staff turnover, and context-window compression. For anyone running AI coders on existing projects, this is a concrete workflow for making "done" explicit and auditable before a line of code is written.
AI coding tools now write code faster than anyone can review it, and the bottleneck has moved from writing to alignment and acceptance. OpenSpec, an open-source framework from Fission-AI, addresses this by adding a specification layer on top of 30+ AI coding tools like Claude Code, Cursor, and Copilot. All artifacts are pure Markdown in Git, so they are naturally diffable and reviewable, with no private syntax, database, or server.
The workflow is a five-step loop: Explore, Propose, Review, Apply, Archive. In Explore, AI reads code and lays out options without writing anything. Propose generates a change folder with four artifacts: proposal.md (why/what), specs/ (what counts as done), design.md (how to build), and tasks.md (checklist). Review happens on text, not code, so changes cost minutes instead of hours. Apply works from a clean session and tracks progress via task checkboxes, and Archive merges delta specs back into the main spec, keeping the spec synchronized with code.
OpenSpec is designed for brownfield projects: a dual-directory model lets old codebases gradually transcribe behavior into specs without a big-bang rewrite. The framework deliberately avoids phase gates and heavy process, betting that a fluid, low-friction approach will outlast stricter alternatives in real projects. It also plays well with code map and skill tools, forming a pipeline where maps show where to touch, specs define when it's right, and archive keeps the understanding current.
OpenSpec's design philosophy makes a bet that the biggest risk for spec frameworks is team abandonment from over-engineering, not weakness of enforcement; that's why it skips phase gates and stays fluid.
By separating "what counts as done" (spec delta) from "how to build it" (design/tasks), OpenSpec converts code review into a contract check rather than an implementation audit, which is a practical answer to the trust problem AI coding creates.
The framework's value compounds on brownfield projects: each archived change becomes part of a living spec that new developers can read, directly countering the knowledge loss that chat-based requirements create.