sisig.ai launches agent-doctrine for AI code generation
sisig.ai open-sources agent-doctrine to help AI write, test, and ship production-ready code through an 8-step standardized workflow.

Stock photo for illustration only, not from the actual event
- sisig.ai open-sources agent-doctrine for structured AI coding.
- The framework enforces an 8-step pipeline from scout to ship.
- The lead AI must answer 15 questions from TENETS.md with evidence before coding.
- Users can choose between Fast or Rigorous operational modes.
Getting an agent to write code is a solved problem, but ensuring it writes the right code, proves it functions properly, and hands over a pull request you would actually merge remains a significant challenge.
Over the past year, the team at sisig.ai has iterated on a collection of prompts, role definitions, and skills to bridge this gap, recently open-sourcing the result as agent-doctrine under an MIT license.
Every AI agent operating within this framework follows a strict sequence of eight distinct steps:
- scout
- gate
- plan
- implement
- review
- consolidate
- verify
- ship
The agent you interact with acts as the lead, responsible for planning and delegation while avoiding manual code writing unless explicitly instructed. A major shift in this workflow is that prior to any edits, the lead must answer fifteen questions from TENETS.md in the transcript, complete with verifiable evidence. If the agent fails to answer these criteria, it is not permitted to write code.

Stock photo for illustration only, not from the actual event
Furthermore, handoffs utilize files with a fixed shape called HANDOFFS.md, allowing a specification drafted in Claude Code to be seamlessly picked up by Codex or Cursor.
The agent-doctrine framework highlights a mature approach to software development with AI, moving away from unstructured generation toward rigorous engineering constraints. By forcing AI models to justify their actions with evidence prior to implementation, teams can effectively mitigate code slop and drastically improve the reliability of AI-assisted shipping.
At the start of the process, the lead asks the user to choose between Fast mode, which retains standard gates and reviews, and Rigorous mode, which incorporates plan simplification, adversarial review, and explicit user approval before code generation.
To maintain clarity, all replies, specifications, pull request bodies, and commit messages follow simplified technical English guidelines, utilizing active voice and concise sentence structures without filler words. Developers interested in adopting the framework can clone the repository from GitHub, install dependencies via Bun, and sync their configuration to begin.
Source: Dev.to
Found something wrong in this article? Report an issue with this article
Comments
Leave a Comment