Speed without slop. Agents build in parallel. Everything is tested and proven before it merges.
One workflow for the whole team. Every developer and every agent follows the same rules. No drift.
Follow the numbered stages. Open a step for its rules and connections.
A person answers for every process.
Several agents do the work. One named person on your team owns it and signs it off.
Suggestions included.
TreeGates points out the tests and steps your workflow is missing.
It never guesses. It asks until the requirements meet its bar. Only then does it build.
Add refunds to checkout.
Thinking0s
- Reading the checkout and the order page
- Looking for the refund rules in your docs
- Two answers are missing from the ticket
Who can issue a refund?
Support agents, or customers too?
Support agents, from the order page.
Partial refunds, or the full amount only?
Both.
Thinking0s
- Writing the ticket and its acceptance criteria
- Filing it in Linear
✓ Ticket written.
ACME-162 filed in Linear.
Ready. Say start when you are.
No more half the context.
It keeps asking until the ticket is complete, so no agent has to guess.
In the tracker you use.
The ticket lands in Linear, Jira or GitHub Issues, where your team already works.
Every agent has a job description. You set its instructions, model, skills, rules and limits.
Never its own reviewer.
The agent that wrote the code never signs it off.
A model for every agent.
Give the builder, QA and tester different models, and mix providers in one workflow.
AI slop stops here. Tests, security scans, benchmarks and code review gate every step.
Conditions to move forward5
- TestsUnit, end-to-end, lint and backendWaiting
- Code reviewA second AI checks the changeWaiting
- SecuritySecrets, dependencies, static analysisWaiting
- BenchmarksPage speed and API budgetsWaiting
- MergeAn approved review, every gate greenWaiting
Failures go back for a fix.
A failed gate goes back to the agent that caused it, with the evidence. After three rounds, the work stops and asks you.
Your rules, enforced.
End-to-end tests and CI before every push, or any rule you set. A rule changes only through a pull request you merge.
When it doesn't know, it asks you. The work waits for your call instead of making something up.
Discount codes at checkout: one per order, or stackable?Both options pass every gate. Pick one and the checkout, the receipts and the pricing rules follow it.
One per order. It keeps margins predictable and matches how your codes are issued today.
Refund window for cancelled orders: 14 or 30 days?Both options pass every gate. Pick one and the checkout, the emails and the backend rule follow it.
30 days. It matches your return policy and the payment provider’s dispute window, so no refund is turned down for being late.
New decisions land here, each with a recommendation and its evidence.
Plain-language decisions.
Each one comes with a recommendation and the evidence. No code reading.
Wherever you are.
The question in Slack, or a summary every morning.
Merged, with its proof. It merges, opens a pull request, or keeps the change on your Mac. Your choice.
Proof10
Ticket approvedTicket- Worktree readyrefunds/checkout
Frontend built4 filesBackend built3 files
- Tests passed14 checks
- Security cleanNo findings
Review approvedSonnet 5.5- QA passedBoth amounts
- Decision recorded30 days
- Merged into mainPR #212
Watch it live, or don't.
See what's running, what's done and what needs you, whenever you look.
Proof for everything.
Every ticket comes with its steps, checks and approvals.
Better every run. A mistake seen twice becomes a rule. A production bug becomes a fix.
Production bugs fix themselves.
Sentry reports an error. TreeGates files it, fixes it, tests it and tells you.
You approve every new rule.
TreeGates suggests the rule. Nothing changes until you say yes.