AI Coding Agents: Why Falak Uses 22 Steps per Change

Diagram of the 22-step process for AI coding agents at Falak

Falak, a software platform built by a team of AI coding agents under a single human supervisor, pushes every change through 22 steps grouped in three phases, each ending at a gate. Asked why it won’t trim the process, the company says code that is quick to write and slightly wrong costs the most to repair.

Why the agents need rules

One agent can build a feature in an hour. That feature can pass its own tests while violating a rule in a corner of the system the agent never looked at.

Falak’s platform is big and its parts must stay consistent, yet each agent begins a task with no recollection of the previous one. Human teammates remember last month’s decisions. Agents only have what is on paper. Hand one rule to three agents and you may get three interpretations, which gradually pulls code away from design. Falak calls this architectural drift and blames the many fast authors, not any single bad one. The written process serves as the group’s memory.

Separate writers and reviewers

Models from four vendors take part. Whoever writes a change is never reviewed by the same model family, since related models tend to share blind spots and wave through the same errors. A model from another family inspects the code without that bias.

The human owner handles 4 of the 22 steps, including the final push to shared code. Falak reserves it for a person because it is the step hardest to reverse.

Phase one: settle the design

Correcting a bad idea costs a page at the design stage and days once it is code. Two practices matter most.

  • A design record stays marked proposed until its named proof test passes on a real run at step 22.
  • Each assignment is a brief that sets out the goal, the reason, a reading order for existing material and the commands that must succeed. Finished means those commands pass.

Phase two: the build and review loop

Repetition here is intended. Automated gates cover types, code style, dependency rules between packages, per-package tests and the platform’s own guard tests, and then a reviewer reads the result.

Three rules govern the cycle:

  • When a reviewer finds one faulty input, the author repairs every input of that type and writes a test for it.
  • If the same part fails review three times, the integrator pulls it out of the change and hands it to the owner.
  • Any fix that would touch a security file waits for the owner.

Passing tests don’t end review. Tests cover what the author anticipated, and reviewers hunt for what was missed, so clean gates alongside many findings are routine.

Phase three: merge and verify

Falak treats an agent’s summary as an assertion and trusts the diff and tests as proof. If a full-suite test breaks, it is checked against main to learn whether the change is responsible. When checks on the shared copy fail, the agent posts the log and holds still, with no fix pushed and no rerun. Each gate run starts from a new database, because old data can let a faulty change slip through.

Why shortening it backfires

The company says it already automated the mechanical parts. A single script runs build, commit, gates, review and repair rounds up to a cap, then sends one message. No one waits in between. The remaining time is the checks themselves, and each one catches problems the rest miss.

These checks were found by trial: Falak ran without each one, or with a weaker version, and watched what broke. Five failures are on its list, and it expects a sixth to add another step. Speed of delivery overall hasn’t dropped, since several briefs proceed in parallel on separate branches and databases while main stays healthy. The code base involved is six weeks old.

Agents also stall from usage limits, crashes or overlong runs. Because decisions, notes and results are saved as repository files, a fresh session or a different reviewer model can resume where work stopped.

Questions to put to vendors

Falak says the useful test of AI-built software is who checked it and what proof exists, not who wrote it. It suggests asking any supplier using AI coding agents these four things:

  • Is review done by another model, a person or the same agent?
  • What has to pass before acceptance, and does it run in a clean environment?
  • Where are decisions recorded for the next agent or person?
  • Which steps can only a human perform?

Buyers can ask these now, and the answers will show how seriously a vendor treats review of agent-written code.

Source: Falak

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.