r/SpecDrivenDevelopment • u/riktar89 • 16h ago
Launching Issue-First Development: a workflow for building software with AI agents
Writing code with AI is the easy part. When several agents are working in parallel, the hard part is keeping track of what each change is supposed to do, why it was made, and how you’ll know it works.
While building Knotic, I talked with developers and teams adopting coding agents. Those conversations led me to write down Issue-First Development (IFD), a framework that organizes work around the issue so it can continue across agents and sessions.
- Issue First: Start with a clear goal and acceptance criteria.
- Isolated Execution: Give each change its own branch or worktree so parallel work stays separate.
- Persistent Context: Keep the context with the project so the next person or agent can pick it up.
- Verified Outcomes: Close the issue when the result meets the acceptance criteria.
- Continuous Knowledge: Record decisions worth carrying into future work.
IFD borrows from Agile and can work alongside Spec-Driven Development: the spec describes the expected behavior, and the issue ties a specific change to how it will be verified. You don’t need Knotic or any particular model to use it.
I’ve published the framework and manifesto at https://issuefirst.dev. If you already run coding agents in parallel, what part of your workflow would this improve, and where would it add unnecessary overhead?
1
u/riktar89 12h ago
A branch and a worktree work well together: the branch tracks the change, and the worktree gives the agent a separate checkout.
IFD doesn’t prescribe trunk-based development or Gitflow. If the team can review and merge small changes frequently, I’d start with short-lived branches off main. If the release process already depends on Gitflow, IFD can work with that too.
Agents can make a PR ready faster, but that doesn’t make the branch short-lived. If it sits waiting for review, it’s still open. That’s why I’d keep each issue small and put the acceptance criteria and verification evidence where the reviewer can find them without reading the agent’s chat.
1
u/smabarnsfar 14h ago
Well, yeah. Preferably both. Or give each agent its own sandbox.
Do you propose a trunk-based approach or gitflow for merging? Maybe the agents are fast enough that branches don't become "long lived"?
1
u/xthumb_24 3h ago
IFD improves continuity across sessions and the separation of parallel work. Where it falls short is the promise to connect intent, execution, verification and learning: what it delivers is procedure.
Verification is circular: criteria written in the issue itself judge the issue itself. No external criterion tells you whether the issue is well formed, or whether two formulations are the same intent. IFD organizes the work, but it does not govern interpretation.
What's missing is an intermediate layer of architecture and data engineering that gives form to what the issue only describes in prose: the intent, who asserted it and with what authority, until when it holds, and in what scope. Without it, persistent context is a pile of documents, and what you get is oscillation across sessions, not governability.