Core concepts
5 min read
How Monadot plans a change
Before it writes code, Monadot maps the relevant files, compares a few approaches and commits to one. Here is what happens in each step.
Every task goes through the same four steps: understand, reason, build and verify. Each one leaves a written trace you can read in the pull request.
Understand
Monadot builds a map of your repository: modules, call graphs, tests and recent history. For a typical task it reads 20 to 80 files, not the whole codebase.
Reason
It drafts two or three possible approaches, scores them against your conventions and the risk of each change, and picks one. The plan is posted before any code is written, so you can stop it early.
Build and verify
Code is written in small commits inside a sandbox. Monadot runs your test suite, linters and type checks after every commit and fixes what breaks before it asks you for a review.
Note: if a plan touches more than 400 lines or a file marked as sensitive, Monadot pauses and asks for approval first.
Was this page helpful?
Yes
No
