Software factory
BoringStack is an AI-agent-first template, built to be production-grade. It also ships its own software factory: the set of commands, hooks and workflows that let an agent build a change end to end and leave a record a person can review.
bun run factory <command> is the entry point. Every command ends in one of three
states: 0 done, 1 failed (a check said no), or 2 blocked (a person or a
missing prerequisite must act). Blocked is never a pass.
What the factory gives you
Section titled “What the factory gives you”- Isolated stacks per agent. Each change gets its own git worktree, branch and database stack on its own ports. Two agents do not share a database or a port. See Workspaces.
- A verify gate agents cannot skip.
factory verifyruns the checks for the apps a branch changed and compares failures with the base commit. The Stop hook will not let a session finish until the gate passes at the current commit. See Hooks. - Verification records. A record says what was checked, what was walked in a
browser, what a reviewer found and what was not verified.
checkfails when the record describes older code. See Verify and records. - A production robot. A scripted new user walks the deployed product after each release and every six hours. Every route and API operation must name the journey that covers it. See Production robot.
- Dependency updates. Dependabot opens grouped update pull requests daily, and each one merges itself once merge-gate passes. A failing one goes to the dependency agent, which fixes it or holds back the one version with a reason. See Dependency updates.
- Agent lanes. Triage, review, revise and digest run as GitHub workflows behind one switch. A reviewer agent reads the diff and the issue, not the author’s reasoning. See Agent lanes.
- Remote agents. Cloud sessions, GitHub Actions lanes and an always-on host you can steer from a phone. See Remote agents.
The loop
Section titled “The loop”- A person writes an issue with acceptance criteria.
- The agent plans the checks it will write for each criterion.
factory workspace new <issue>gives the agent a worktree and a stack.- The checks are written first, then the code.
factory verifyproves the change;factory verification new|checkwrites and checks the record.factory handoverposts a card on the issue.factory propens the pull request.- A person reviews and merges. Agents never merge.
The full contract is in tools/factory/README.md.
What is not done
Section titled “What is not done”The factory is one monorepo’s tooling. It is not a hosted service. Preview routing to a live slot, Codex hooks under Codex, and the Linear tracker against a real Linear workspace are not verified end to end. Each page says what it has and has not run.