Purpose
THROUGHLINE is a spec-driven development framework for AI coding agents. It aims to solve the problem of AI agents forgetting earlier decisions across multiple sessions and specs gradually drifting away from code. By building persistent memory through Markdown files and a Git repository, it enables the 7th session to still remember the decisions from the 1st session.
Main Capabilities
- Persona Review: Before writing code, multiple personas debate and review each spec.
- Single Source of Truth (SSOT): Uses an append-only memory mechanism to ensure consistency of decisions across sessions.
- Drift Suppression: Benchmarks show that the framework can effectively suppress the drift caused by "vibe-coding."
- Tool-Agnostic: Everything is Markdown + Git, and the memory does not depend on a specific agent, so you can switch between Claude Code, Codex, and Cursor.
- Traceability: From immutable raw materials (SOURCES/) to source links in artifacts, and then to the fixed-prefix history in HISTORY.md, it is possible to trace "why it became this way."
- Interruption Tolerance: No matter where a session is interrupted, the PROGRESS record allows resuming from the exact point.
- No Lock-In: No runtime, no CLI, no dependencies; only a Git clone and copying a folder are needed.
How to Use
- Clone the repository:
git clonethis repository. - Copy the
THROUGHLINE/folder for the corresponding language (en/THROUGHLINE/orko/THROUGHLINE/) to the project root. - New project: write requirements in
THROUGHLINE/SOURCES/REQUIREMENTS.md. Project with existing code: skip this step. - Open the agent in the project, paste the initialization prompt (use the adoption prompt for existing code), then use the development prompt to start building.
- All artifacts are generated inside
THROUGHLINE/and will not conflict with existing folders. OnlyAGENTS.md、CLAUDE.mdand the projectREADME.mdare created or merged in the root directory. - After setup,
AGENTS.mdis loaded on every run, and you can continue working with normal conversation without pasting prompts again.
For team development, you can use the Team version (README.team.md).
Applicable Scenarios
- Medium-to-large projects spanning multiple sessions.
- Projects that need to keep architecture consistency, naming conventions, error formats, and authentication models stable.
- Development workflows that need to trace the reasons behind decisions.
- Scenarios involving collaboration with multiple AI coding agents (Claude Code, Codex, Cursor).
Limitations
- It cannot guarantee that the agent will follow the rules: prompts are instructions rather than enforcement, and AUDIT.md only checks violations after the fact and cannot prevent them.
- There is a documentation maintenance cost: the cost of updating PROGRESS/HISTORY/indexes for each task may exceed the work itself for small one-off tasks.
- For one-off tasks lasting one or two sessions, it is not recommended.
- The project purpose and core functionality cannot be delegated to AI and must be made explicit by the user.
- For actions involving cost, payment, legal impact, or that are difficult to reverse, even if delegated, the AI will choose conservative defaults and request confirmation.
Other Information
- Languages: English, Korean
- License: MIT
- Benchmarks: In the repository,
benchmark/contains two runnable pilots for single-seed go/no-go checks. - This framework is an adaptation of Karpathy's LLM wiki proposal for development workflows.