Vizo2026internal
Maestro, a delivery pipeline for coding agents
A pipeline in which coding agents implement, review and validate every change in staging, with automatic rollback on regression.
3
independent agents per change: implementation, review and validation
- 11
- typed fields in the contract between pipeline and agents
- 110
- test files
The problem
In the first version of the pipeline, agent processes failed 14 times a week, 125 orphaned processes accumulated, sequential rebases took 72 to 115 minutes per item and merges depended on parsing comments with regular expressions.
The solution
I rewrote the control plane as a single Python daemon using only the standard library, with state in SQLite and a transactional outbox. No transaction spans network or git operations, and intent is recorded before any irreversible effect, such as a merge or a revert. If the process is interrupted, it reconciles automatically on restart.
Technical notes
A speculative merge queue. Continuous integration for the next item runs on a synthetic branch while the current item is validated in staging.
Validation is performed by an independent agent, which confirms that the validated version is the one deployed. A regression triggers a revert on the main branch and returns the item to the queue.
A contract between pipeline and agents made of 11 typed fields on the task board, instead of parsing comments.
An operations console on Telegram, with one continuously updated card per item, decision requests with buttons, daily summaries and a deduplicated incident channel.
Nightly maintenance that waits for agents to finish, updates tooling with rollback and resumes the pipeline.
Outcome
It is the pipeline that currently handles continuous delivery for Alliomed.