📋 Spec review
Spec accuracy: 85% · Fit for Forge: 80%
Verdict: implementable as written.
Forge time estimate: ≈ 48 min (28 min – 1.5 h) to implement up to a draft MR; each round of fixes after CI or review ≈ 12 min.
Implementation mode
You add a label to a ticket. Forge plans the change, writes it, checks it and opens a draft merge request. Once CI passes, it moves the ticket to Code Review and assigns a reviewer. A person always does the merge.
Requester
Describes in the ticket what should change and adds the implementation label.
Reviewer
Gets the ticket once CI is green. Reviews the change, decides on the merge, and either fixes review comments or leaves the fixing to Forge.
Forge operator
Connects the repositories and CI and sets up labels, ticket statuses, the reviewer and limits.
Seven steps from the label to the review.
People
Forge
Forge reviews a ticket's spec only once, and only if the project has not turned this off. Step 7 happens only when you return the ticket with comments, and then steps 5 to 7 can repeat.
In the ticket, write what should change, how you will know it is done and what should stay as it is. Attach whatever Forge needs: a screen design, sample data or a pointer to a similar place in the code.
Then add the implementation label. The ticket has to be in the status Forge picks tickets up from, usually TODO.
Form for changing billing details
Customers edit their billing address and company ID in the portal. It is done when the change is saved and the form rejects an invalid company ID. The accounting export stays as it is.
Before the first implementation, Forge reviews the spec and posts the result as a comment in the ticket. It does not touch the code.
The comment has two percentage scores. Spec accuracy says how far the request can be done without guessing. Fit for Forge says how well one run can handle it in the project's repositories. It also gives a verdict, an estimate of how much time Forge will need, what the spec is missing and questions sorted by priority.
The review does not stop the implementation, even if it finds gaps. Implementation usually starts a few minutes later and uses the review findings for planning.
📋 Spec review
Spec accuracy: 85% · Fit for Forge: 80%
Verdict: implementable as written.
Forge time estimate: ≈ 48 min (28 min – 1.5 h) to implement up to a draft MR; each round of fixes after CI or review ≈ 12 min.
Forge creates a branch named after the ticket key and title and starts a run. It plans the change, reviews the plan, writes the code, reviews its own diff and runs the project's mandatory checks.
It logs progress in a single comment in the ticket. Each step gets a line with a timestamp, and while a step runs, its line says "running…".
🤖 Forge — progress
plan-review done — plan approved ✅ (2 m 05 s).diff-review-and-fix done — diff reviewed, any findings fixed inline ✅ (5 m 48 s).Forge commits the change, pushes it to the branch and opens a draft merge request with the ai-generated label. The description has the ticket key and a summary of the change. It adds a link to the merge request to the ticket and moves the ticket to In Progress.
If the change touches several repositories, each one gets its own merge request, always from a branch with the same name.
Form for changing billing details
PRJ-132-form-for-changing-billing-detailsmain
CI checks1 of 2 passed
Your project's CI runs on the merge request. If it fails, Forge reads what failed, fixes it and pushes the fix to the same branch. By default it tries at most three times and logs every attempt in the ticket.
Once CI passes, Forge moves the ticket to Code Review and assigns a reviewer.
AI attempt 1/3 — CI red, launching auto-fix.
Green CI → Code Review + assigned reviewer (from the Reviewer field).
Review the merge request as you would one from a colleague. If it is fine, merge it. Forge never merges on its own.
If you find a problem, you can fix it yourself with a commit to the same branch. Or leave it to Forge: write comments in the merge request and move the ticket to the status for returned tickets. Forge ignores comments until the ticket is returned.
portal/billing/BillingForm.ts
41const id = form.companyId.trim()42if (!isValidCompanyId(id)) return form.invalid()43await saveBillingDetails({ ...form, companyId: id })We only validate the company ID in the form. Add the same check on the server so an invalid ID cannot get in through the API.
Forge moves the ticket back to In Progress and decides for each comment whether to fix it, just reply, or decline it with a reason, for example when it goes beyond the ticket. Then it fixes the code and replies in every thread, even if a fix did not work.
It never resolves threads. That is up to whoever wrote the comment. The fix triggers CI again, and once it passes, the ticket goes back to Code Review.
portal/billing/BillingForm.ts
41const id = form.companyId.trim()42if (!isValidCompanyId(id)) return form.invalid()43await saveBillingDetails({ ...form, companyId: id })We only validate the company ID in the form. Add the same check on the server so an invalid ID cannot get in through the API.
I added the company ID format check to the API as well, with a test that rejects an invalid ID.
The labels on the ticket tell you what Forge is doing or why it is waiting.
Forge is working on the ticket right now. A second run on the same ticket will not start.
The spec review is done. Remove the label to run it again.
Forge could not finish the ticket and handed it to a person. While the label is on, Forge skips the ticket.
Forge ran out of run budget before the final check of its own change. The ticket comment explains how to finish it.
One of Forge's steps ended with an error. The label does not block further work, and Forge does not remove it on its own.
Forge skips a ticket that has the ai-needs-human label, is in a status Forge does not work with (such as Done or Backlog), or already has a run going. Forge picks up a ticket waiting for another unfinished ticket once the blocking one is done.
Read the comment to see where Forge stopped. Then decide: improve the request and try again, fix the change by hand, or close the ticket. For Forge to come back to the ticket, remove ai-needs-human. If a merge request already exists, though, Forge does not start a new implementation over it and hands the ticket to a person again. The exception is an unfinished final check, marked with ai-review-pending.
When the attempts run out, Forge hands the ticket to a person and leaves the merge request open. The usual causes are flaky tests, a CI outage or an error outside the ticket's scope. If CI fails for a reason no code change can fix, such as credentials that have expired, Forge changes nothing and says in a comment which step failed.
CI does not run on a merge request that conflicts with its target branch, so Forge does not move the ticket to Code Review. It says so in the ticket only once and waits for a person to resolve the conflict. If the project has merge request maintenance on, Forge merges the target branch itself.
Forge recognizes a branch or merge request that a person created for the same ticket by the commit author and leaves it alone. It mentions this in the ticket only once and carries on with its own work.
Progress is in Forge's progress comment in the ticket. If the project has an hourly rate, the ticket's price is right under the comment's heading. The ticket detail in the Forge client portal shows the status, the current run and a timeline of all runs. When a ticket is waiting for you, the portal says why and what to do.
Your Forge operator connects the project. Agree on the following with them.
For those who connect Forge or review its merge requests.
(DRAFT).| Limit in the project settings | Default |
|---|---|
| CI fix attempts | 3 |
| Plan and plan review rounds | 2 |
| Concurrent runs in the project | 5 |
Tickets over the concurrent run limit wait until a run finishes.