Run your first ticket-to-code job
Run your first ticket-to-code job only after:
- the worker is enrolled
- an AI provider is ready
- integrations are connected
- a repository is enabled for work
- intake labels and states are configured
Use both UIs during the first run
Use https://controller.mergeloom.ai for job creation, intake
status, audit state, and PR/MR coordination. Use the local worker UI at
http://127.0.0.1:8010/ for worker/provider readiness and
local execution detail.
Link the ticket to a repository
Section titled “Link the ticket to a repository”Before you run the first job, make sure MergeLoom knows which repository the ticket should change.
Open Repository catalog in the customer controller at
https://controller.mergeloom.ai. Each enabled repository has an alias. That
alias becomes the routing label you add to the ticket.
Example:
| Repository alias | Ticket label |
|---|---|
server | repo-server |
web | repo-web |
api | repo-api |
If your workspace has more than one enabled work repository, add the matching
repo-<alias> label to the ticket, issue, work item, or board item. For
example, if the repository alias is web, add:
repo-webIf the alias is wrong or the label is missing, MergeLoom cannot safely decide where to make the change. It will leave the ticket in place, record the routing problem in the controller activity log, and wait for you to fix the label or the repository catalog entry.
repo-web.
Path A: Real ticket or issue
Section titled “Path A: Real ticket or issue”Use a real ticket when you want to test the normal workflow.
-
Create a small ticket or issue.
-
Add the managed intake label:
mergeloom -
Add a repo routing label if needed:
repo-server -
Confirm the routing label matches the repository alias in Repository catalog.
-
Put the ticket in the ready state.
-
In Global workflow settings, turn Scheduled intake on.
-
Wait for scheduler intake.
Good first ticket:
Update README.md with a short local health-check section.Keep the change under 30 lines.Run the repository validation command before opening the PR.Path B: Manual smoke job
Section titled “Path B: Manual smoke job”Use a manual job when you want to validate the worker loop before trusting live intake.
In the MergeLoom controller at https://controller.mergeloom.ai, use Create Manual Job.
Required fields currently include:
- repository workflow
ticket_key- title
Current limitation:
- the manual job form does not yet expose a description field, so advanced multi-repo or detailed ticket instructions are better tested from a real ticket or issue
Watch the run
Section titled “Watch the run”Use these surfaces:
- MergeLoom customer controller
- admin UI
- worker UI
Useful Docker logs:
docker compose logs -fdocker compose logs -f worker-gatewaydocker compose logs -f worker-executor-1
Expected successful end state
Section titled “Expected successful end state”For a configured issue-to-review path:
- Control plane detects an eligible ticket or issue.
- Control plane creates a job envelope.
- Worker executor leases the job.
- Worker prepares the repository workspace.
- AI provider runs inside the worker execution path.
- Validation commands run.
- Worker pushes a branch.
- Control plane creates or updates the PR or MR.
- Work tracker receives progress comments and workflow state changes.
- Slack or Teams notifications fire if configured.
If validation fails
Section titled “If validation fails”Depending on your settings, MergeLoom can:
- retry with a bounded repair loop
- mark the job blocked
- leave a clear failure reason
- preserve trace information for review
Do not treat a failed first run as wasted. The failure usually tells you which setup area needs attention:
- provider auth
- repository permissions
- missing dependency
- wrong validation command
- ambiguous ticket
- wrong workflow state mapping
Continue a blocked or reviewed ticket
Section titled “Continue a blocked or reviewed ticket”To ask MergeLoom for another pass:
-
Comment on the ticket with:
MergeLoom - please update the PR to also cover ... -
Move the ticket back to the configured ready state.
-
Wait for intake.
MergeLoom should pick up the new context and update the existing review branch when possible.