FAQ
How does this fit a team where PMs create tickets in Jira?
The PM's ticket and the development spec are different things. A Jira ticket captures requirements: what the feature should do, acceptance criteria, business context. A spec captures the development contract: technical approach, scope boundary, answered clarifying questions, definition of done. dmx produces the latter.
A developer picks up a Jira ticket, reads the requirements, and runs the spec loop using the ticket content as input. The AI asks the clarifying questions the PM couldn't answer: technical approach, edge cases, what happens when things go wrong. The spec that comes out lives in the codebase, on the branch, alongside the code it describes.
The PM's Jira ticket stays in Jira. The development spec lives in the ticket's job folder, .dmx/jobs/<job>/spec.md. Both exist. Neither replaces the other.
How is this different from cursor rules or AGENTS.md?
Cursor rules and AGENTS.md are prompts. They tell the AI how to behave in a codebase. The AI still has to follow them, and it doesn't always. Variance in prompt-following is the problem you're trying to solve. You can't fix inconsistency with more instructions.
dmx is a harness. Validators don't rely on the AI's intent. Tests either pass or they don't. The spec either has all Q&A answered or the loop doesn't advance. The workflow is enforced as a sequence of loops, not as instructions the AI can skip. The dev loop doesn't start until the spec loop completes and the human gate is approved.
State also persists across sessions. Close your IDE, come back the next day, run /dmx/loop-continue. The loop resumes from exactly where it paused. A rules file resets every session.
dmx reads your rules files. The patterns you've defined in .cursor/rules/ or CLAUDE.md are part of the context the AI works from. They're complementary, not competing.
What happens when multiple developers are working in the same repo?
Each developer works on their own branch. Loop state lives in .dmx/jobs/{job_id}/, keyed off the ticket/branch, and is committed to that branch. Two developers running loops simultaneously on different branches don't interfere with each other — there's no shared, mutable state that a loop run on one branch could overwrite for another.
Four files make up the durable memory bank: projectbrief.md, productContext.md, systemPatterns.md, and techContext.md. They are updated infrequently and deliberately, when something worth preserving is discovered. These merge cleanly because changes are additive and targeted.
Each ticket's spec.md, tasks.md, and activeContext.md live in its own job folder, so two tickets never touch the same copy. activeContext.md accumulates notes and open learnings during the ticket. Before the PR is opened, create-pr promotes anything worth keeping to the durable files, clears what it promoted from the inbox, and commits the result. Finished job folders are removed later by the Release Loop's prune-jobs step.
Where does dmx stop and CI start?
dmx stops at the PR. The release loop syncs the memory bank, opens the PR, and transitions the ticket to review. After the merge, /dmx/close-ticket closes out the ticket and deletes the branch. Everything after that is handled by your existing infrastructure: CI pipelines, required reviewer approvals, merge, and deploy.
This boundary is intentional. dmx is a development harness. Your CI pipeline is infrastructure. dmx raises the quality of what goes into the PR. CI is the environment-level safety net. Both are necessary. Neither replaces the other.
Does dmx replace our PR review process?
No. dmx ensures the developer's work is correct before the PR opens: spec agreed, tests passing, validators clean, scope matching the spec. Human review still happens at the PR. Reviewers see the spec alongside the code. They know exactly what was intended, what was scoped out, and what checks have already run.
Your existing branch protection rules, CODEOWNERS assignments, and required approval counts all apply normally. dmx works inside your repo's governance, not around it.
Can each service in a monorepo have its own skills, loops and checks?
Yes, since dmx 0.7. Declare each service or package as a component. A component's folder in .dmx/components/ can then hold:
- Skills and loops of its own. They're named after the component, such as
/dmx/run-loop ledger/backfill, and only tickets that include the component can use them. See Component skills and loops. - Checks of its own. Validators listed in the component's
component.yamlare added to the loops you name, such asvalidate, and run on every ticket that includes the component. See Checks a component adds.
A component adds to the standard loops; it doesn't replace them. Every ticket runs the same dev loop, so a ticket that spans two services never has to choose between two versions of it. To add steps for one service, give its component a loop or checks of its own.
To get started, see Setting up components.
Can one repository file tickets in more than one Jira project?
Yes, since dmx 0.7. This is common in a monorepo, where each team tracks its work in its own Jira project. Say the ledger team uses the LEDG project, the payments team PAY, and the billing team BILL.
First, tell dmx which Jira projects this repository's tickets can be filed in. Add their project keys to .dmx/config.md, on one line:
jira_projects: [LEDG, PAY, BILL]dmx won't file a ticket in a project that isn't on this list. The project you chose when you set up dmx, project_key in the same file, stays the default for work that isn't about one team's code.
Next, tell dmx which project belongs to which part of the repository. Declare each service as a component, and set its project in the component's component.yaml:
# .dmx/components/payments/component.yaml
ticket: {jira_project: PAY}Now, when dmx files a ticket, it chooses the project in this order:
- the project the developer names, if any;
- otherwise, the project of the service the ticket is about, such as
PAYfor a payments fix; - otherwise, the default
project_key.
When dmx chose the project itself, it asks before filing: "Create the ticket in PAY (default for payments)?" If a ticket touches services with different projects, it asks which to use.
Release notes and /dmx/status include tickets from every listed project. GitHub Issues works the same way: list repositories with github_issue_repos instead. See Where the ticket is filed.
When a review loop finds problems, can dmx fix them and check again?
Yes, since dmx 0.8. This is called rework. When a required check fails in the Validate loop, dmx:
- turns each failed check into a task, in a new phase at the end of the ticket's
tasks.md; - pauses so you can review and edit the tasks;
- runs the Dev loop on that phase, once you continue;
- runs the loop that failed again from its first step, so its review is redone on the fixed code.
If the checks still fail, it repeats, up to two rounds by default, then pauses with what each round found.
The bundled Validate loop has rework on. A loop of your own, such as a team's own review loop, can turn it on with on_failure.rework in its configuration. For a loop without it, /dmx/rework runs the same steps on a paused failure. If any failed check isn't a code problem, such as a missing tool, the loop pauses as before, without rework.
See rework in loop configuration, When a check fails, and the rework command.