Services / Build
AI software factory
Routine tickets in, verified changes out. Our own AI Software Factory prepares a change, checks it against your tests and build, and a person always decides.
The short version
The AI Software Factory is our own product, offered as a service. A ticket goes in, and a change that has passed your own tests and build comes out for a person to review. It never merges. We begin with a fit check on your real queue, and we say so plainly if the answer is not yet.
What this covers
Many teams carry a backlog of small, well-specified tickets: a typo, a missing null check, a documentation fix, a setting that lives in a git repository. The factory takes such a ticket, works on it in a separate git worktree, runs your checks and prepares a change for review.
Tickets arrive from GitHub Issues, Jira, Azure DevOps, an error tracker, an incident tool, a form or a file. Some of these adapters are checked against the vendor's published documentation only, so we validate the ones you need during the pilot.
It runs on your terms. You choose the model host, including local models, and secrets are masked before anything is stored. Every run, gate decision and cost is recorded, and failed work is kept, not deleted.
What the system does, and what your people keep
Every system we build has a clear line between what it does on its own and what stays with a person.
| Task | The system | Your people |
|---|---|---|
| Intake | Checks each webhook for a signature or token, and checks size, template, duplicate delivery and rate. | Your team writes tickets with the required fields and acceptance criteria. |
| Making the change | Edits in a separate git worktree, fenced by a persona file that limits tools and paths, then runs your tests and build. | You decide what counts as routine and which paths are out of bounds. |
| Review gate | Scores the diff against the acceptance criteria. The free default rules only block empty diffs and obvious secrets. | A reviewer reads the pull request in full. The pull request says so. |
| Decision | Never merges. Defect fixes and risk drafts wait at a human gate, with an append-only log. | A named person confirms, and a person merges. |
| Failed work | Keeps work that fails three attempts, or is blocked by a hook, on a quarantine branch with the reason. | Reviewers read the reasons and choose what happens next. |
Safeguards, as built
The factory prepares changes. These six safeguards decide what happens to them.
Signed intake
Each webhook is checked with a signature or token. Size, template, duplicate delivery and rate are checked too.
Baseline check
If the repository is already failing, no agent starts.
Your own tests and build
The verify commands are yours, and they run without the gateway's secrets.
Review gate
The diff is scored against the acceptance criteria. With the free default rules it only blocks empty diffs and obvious secrets, and the pull request says a person must review it in full.
A person decides
The factory never merges. Defect fixes and risk drafts also wait at a human gate that a named person confirms, with an append-only log.
Quarantine instead of delete
Work that fails three attempts, or is blocked by a hook, is kept on a quarantine branch with the reason.
What "improves itself" means here
In plain terms: the factory remembers fixes that worked in this repository and shows them to later runs, and it can suggest work when it is idle. No model is trained or changed, and it does not learn from runs that passed first time.
Lessons from approved fixes
- A lesson is written only when a ticket failed its checks, an agent repaired it, and a review then approved the repaired change.
- It is two short sentences: the root cause, and one rule that prevents it. If the model is unavailable, a plain rule-based note is stored from the first error line and the changed files.
- Before a lesson is stored, secrets are masked and the text is scanned for hostile instructions. A lesson that trips the scan is kept for a person to read and is never shown to an agent.
- Near-duplicates are merged into the existing lesson.
- On a later ticket, the best matches are added to the agent's prompts. A lesson unused for 30 days ranks last, and a lesson that keeps missing is retired and no longer shown.
- Lessons live in a database file in your deployment. No screen lists them.
Idle scans, optional
- Off unless configured. On a timer, when the queue is empty, a read-only persona can look at the code and suggest improvements.
- In draft mode, the default, suggestions become draft tickets for a person to send. In auto mode they enter the factory's own queue and pass the same checks as any ticket.
- Either way, the factory still never merges.
Who it suits, and who it does not
It suits work that ends as a change in a git repository that automated checks can verify.
It suits
- Software teams with a backlog of small tickets: typos, null checks, small fixes and documentation.
- Platform and operations teams whose configuration lives in git: infrastructure as code, pipeline definitions, feature-flag files, routing rules and runbooks.
- Defects reported by an error tracker. The defect responder writes a diagnosis with citations, and tries a fix only above a confidence threshold and after a person confirms.
- Alerts from an incident tool. They are logged by default, and routing rules can send them to a workflow.
- Risk capture from notes and signals, drafted as risk tickets through two human gates.
It does not suit
- Work that does not end in a repository: changes made by clicking in an admin console, phone calls, approvals and purchasing.
- Repositories with no tests or build to run. The safeguards rest on your own checks, and without them the review falls entirely on a person.
- Repositories that are already failing. The baseline check stops every run until that is fixed.
- Large or novel design work. The factory is built for routine, well-specified tickets with acceptance criteria.
- Teams without a ticket habit. Tickets that miss required fields are refused.
- High volume today. The queue runs one job at a time in one process.
- Businesses that want no person in the loop. We do not offer that.
For a council, a law firm or a hotel group, the honest fit is the IT or digital team, or their software supplier. It is not a tool for front-office staff.
Deliverables
The exact scope is in the written proposal. These are the usual deliverables.
- A fit report from a look at one or two of your real queues, including "not yet, fix the tests first" where that is the truth
- The factory set up on one repository, with your verify commands and your protected paths
- Intake adapters for your tracker, validated against your own systems
- Runbooks, and training for your reviewers and ticket writers
- Support after handover
Typical stack
How an engagement runs
Nothing is built before you agree the proposal. A senior team, assembled for your requirements, stays with the work from first slice to handover.
Discovery
We look at one or two real queues and count the routine tickets by hand from your tracker. We check the repository: are the tests green, how long do they take, and who reviews. Together we agree what routine means and which paths are out of bounds. You receive a short fit report.
Pilot on one queue
One repository, one ticket type and draft suggestions only, with your own reviewers. We start with the free local defaults or the model host you choose, and run for a fixed period. We measure from the factory's own records: tickets in, delivered, quarantined and why, review findings, and cost per run.
Review
We read the quarantine reasons and the lessons with you, then decide together whether to widen, change or stop.
Widen
More ticket types, the defect responder, more repositories, a reviewer panel, and deployment in your own cloud. One step at a time, each with its own check.
Hand over
Runbooks, training for reviewers and ticket writers, and support.
Related work
Our product
iCode AI Software Factory: routine tickets in, verified changes out
The iCode AI Software Factory is our own product, offered as a service. It turns well-specified tickets into changes that pass the customer's own tests and build, and a person always decides what merges.
How it connects
Start here
Direction
Decide where AI pays off, choose the tools, and get your team using them safely.
With a direction agreed, we build the first system that proves it.
Then
BuildThis service
Retrieval, agents and the product around them, built into the software you already run.
Whatever we build, we measure, so you can trust it in production.
Throughout
Assure
Evaluation, tracing and governance that show what the system does and stop it when it drifts.
What the measurements show feeds the next round of direction.
Talk to us about ai software factory
Bring a use case, a worry or a codebase. We come back with a short written view of what we would do and what it would take.


