dmx

Changelog

All notable changes to dmx are documented here. dmx follows Semantic Versioning.


v0.8.5

See Upgrading to 0.8.5.

Changed

  • /dmx/upgrade ends in a PR: on your integration or production branch it creates chore-dmx-upgrade-<version>, commits only the upgrade, and asks before pushing and opening the PR. On another branch it asks where the upgrade should go. When everything is current it makes no branch.
  • Fewer tokens: later dev phases reuse the skills the agent already fetched, skill summaries are capped at 10 lines, and the rules file loaded on every message is about 1.5 KB smaller.

Fixed

  • Codex and Copilot rules: AGENTS.md and .github/copilot-instructions.md now hold the full dmx rules. Before, they held only a list of rule names, so Codex and Copilot never saw them.
  • Default branch: /dmx/init recognises a default branch other than main or master, such as trunk, and stops with the fix when the repo has no GitHub origin remote.
  • Upgrade with nothing to migrate: /dmx/upgrade no longer reports a protected branch when the layout is already current.
  • No AI attribution: commits, PRs and issues have no Co-authored-by: or "Generated with …" lines unless .dmx/config.md sets ai_attribution: keep.

v0.8.4

See Upgrading to 0.8.4.

Fixed

  • Known failures in Go: a Go run that fails only on known failures now passes. dmx no longer counts go test's package FAIL lines as new failures, and a parent test is covered by its listed subtests. When a run fails on unlisted tests, the message names them.

v0.8.3

See Upgrading to 0.8.3.

Fixed

  • Choosing the IDE: when dmx can't tell which IDE you're using, /dmx/init asks instead of writing Cursor's rule files, and /dmx/upgrade no longer adds Cursor's files as a guess. Codex is now detected and gets AGENTS.md. Set DMX_IDE to skip the question.

v0.8.2

See Upgrading to 0.8.2.

Added

  • Test commands for any repo: test_command in .dmx/config.md now sets the gate's test command in a repo without components too, such as unit tests followed by integration tests. /dmx/init offers it when your CI runs more than dmx would.

Fixed

  • fastmcp 4: a fresh install gets fastmcp 4, and dmx now works with it. It detects the IDE from the client's name again, and reports its own version to the client. Every dependency now has an upper version limit, so a new major version can't reach installs untested.
  • Workspace folders: dmx now uses the folder the IDE says it has open. Before, it always used the folder its server was started in, which was only right when the IDE started it inside the project.

v0.8.1

See Upgrading to 0.8.1.

Added

  • Component loops use their own validators: name a validator in a component's loop, and dmx runs the component's own copy from its validators/ folder, with its checks named after the component.
  • /dmx/extend: guides the agent through adding a skill, loop or validator to the repo, a shared source or a component.

Fixed

  • Waiting for validators: the agent is told to keep checking loop_status until the result arrives, and not to end its turn first. Validators that finish within 10 seconds return their result straight away.
  • Pause messages: a message that has to be shortened keeps every test run's ✓/✗ line.

v0.8.0 — Rework

Loops can fix their own failed checks, and test runs fit real monorepos better. Found and fixed by running dmx on a real bug in pydantic-ai. See Upgrading to 0.8.0.

Added

  • Rework: on_failure.rework turns failed required checks into a phase of tasks. After approval, the rework loop implements it, and the failed loop runs again from its first skill, for up to max_rounds rounds. The bundled Validate Loop turns it on. /dmx/rework does the same by hand.
  • Known failures: list tests that fail on the base branch too, or only on some machines, under known_failures. They no longer block the gate, and dmx check keeps them visible. Entries match as substrings, and pytest-pretty's output is read too.
  • gh CLI access: without a GitHub MCP server, a signed-in gh is enough, recorded as github_access: gh.
  • Init checks first: /dmx/init checks GitHub access before asking anything. It gives setup steps for each IDE, makes sure a gitignored rule file still gets committed, and offers to land the setup on the base branch.

Fixed

  • Tests outside packages: a Python component whose folder holds no tests runs the test paths its paths map, from the repo root. A pytest run that collects nothing is reported as a setup problem.
  • Fewer surprises:
    • PR titles follow the repo's own convention.
    • Rework tasks stay short.
    • Moving a job folder is announced.
    • Branch names stop at 40 characters.
    • Commit types follow what changed.
    • Approved dmx setup changes don't count as scope creep.

Changed

  • Fewer commits: a chain of loops commits its state once, when it stops, not at every step.

v0.7.1

Fixed

  • Windows: dmx now runs its full test suite on Windows as well as macOS and Linux. run_tests finds npm, pnpm, and yarn (installed as .cmd files), an MCP root such as file:///C:/Users/me/repo resolves to that folder, shared-source cache folders stay under Windows' path limit, skill files are read as UTF-8, and test output is decoded as UTF-8. test entries and test_command need Git for Windows for sh.

v0.7.0 — Components for Monorepos

Tell dmx which part of a monorepo a ticket is about. Opt-in: a repo without .dmx/components/ works as in 0.6. See Monorepos and Upgrading to 0.7.0.

Added

  • Components: one folder per service or package in .dmx/components/<id>/, with a component.yaml naming its paths. /dmx/init finds them in pnpm, npm, yarn, go.work, uv, and Cargo workspaces, and /dmx/add-component <path> adds any other folder.
  • The ticket's components on every loop message: from the spec's components list, the files the branch changed, or the folder your IDE opened. A new get_context tool tells the agent what to read.
  • Scoped memory: a ticket reads repo-wide memory, its components' memory, and their direct dependencies'. A PR writes only the memory of the components it changed; other learnings wait, tagged for their owner, until that owner's next PR or /dmx/update-memory <owner>.
  • Per-component tests: run_tests runs each touched component's tests plus its dependents', with defaults for Go, Node, Python, and Rust, a test override, and test_command for repo-wide changes. Results are reported per component.
  • Component skills, validators, and loops, named <id>/<name>, for that component's tickets only. Component validators add checks to a loop; they never replace repo-wide ones. Components can lock their own shared sources.
  • dmx check and /dmx/check: validate the setup and show what the current branch will load, check, and run. Exits 1 on an error, for CI.
  • Ticket destinations: allow several Jira projects or GitHub repos, set a default per component, and dmx asks before using one it chose.

v0.6.0 — Job Folders and Locked Shared Sources

Parallel tickets merge without conflicts, and shared sources are locked instead of copied. Each repo migrates once with /dmx/upgrade; see Upgrading to 0.6.0.

Added

  • /dmx/upgrade migrates a 0.5 repo: it lists custom code that names the old paths, shows the plan, asks once, and leaves the commit to you.
  • prune-jobs runs first in the Release Loop and removes finished jobs older than 30 days in their own commit. dmx prune-jobs runs it by hand.
  • dmx fetch-shared-sources fetches every locked source for CI and fresh clones.

Changed

  • Ticket files live in job folders. Each ticket's spec.md, tasks.md, and activeContext.md are in .dmx/jobs/<job>/, so two tickets never edit the same file. Validators get their paths in loop_context.
  • Shared sources are locked. /dmx/update-shared-sources (formerly /dmx/sync, still an alias) writes .dmx/shared-sources.lock with each source's commit and hash, and dmx fetches the content into a git-ignored cache. Only new or changed sources move unless you ask, and each update gives you a PR summary with a compare link. CI that runs shared validators needs read access to the shared repos.

v0.5.1

Changed

  • The README leads with the bundled loops and links these docs.

Fixed

  • A tool call that points at a subfolder of the repo, such as one package of a monorepo, uses the repo's .dmx/ instead of creating a new one there. A stray .dmx/ left by an earlier version is named once.
  • A Go repo without a Makefile runs its tests: run_tests runs go test ./... for a root go.mod.

v0.5.0 — Skill Discovery

Ask your agent which skills exist, and run custom and shared skills by asking for the task.

Added

  • Skill discovery: ask "which skills can update helm?" and the agent lists matching skills from your repo and every shared source, with where each comes from, plus any matching /dmx/* commands. It runs nothing. Ask for the task itself and it runs the one clear match, or asks which to run when several match. During a loop, the loop still decides what runs. Backed by a new list_skills MCP tool.
  • /dmx/upgrade: refreshes the dmx rule files in your repo to the installed version. It doesn't touch config, the memory bank, or job state, and doesn't commit. run_loop, loop_status, and list_skills remind you to run it when your rules are out of date. Run it once in every repo for 0.5.0.
  • loop_status MCP tool: reports the active loop without changing it, and waits for validators that are still running.
  • timeout_seconds on each validator in a loop. Defaults to 630 seconds, minimum 60. The limit is passed to the validator as loop_context.timeout_seconds.
  • spec_identity_matches_branch: a new required Spec Loop check that the spec's branch is the branch you're on.

Changed

  • Validators run in the background with a new validating status, so a long test suite can't time out your IDE's connection to dmx or block the server.
  • The bundled Dev Loop no longer declares coverage_threshold, which the bundled run_tests never reported. A passing Dev Loop now moves on to the Validate Loop.
  • In a repo without ticketing, each branch gets its own job folder instead of sharing .dmx/jobs/none/. An in-progress run from 0.4.2 moves automatically the first time you run a loop command.
  • create-pr marks the Release Loop's run complete before it commits, through a new snapshot_loop_for_pr MCP tool, so a merged PR no longer contains a job file stuck at running.

Fixed

  • A loop that pauses on a failed check, or finishes with a warning, now names every failed check with its own message, such as the end of the test output or a timeout reason.
  • A timed-out validator or test command no longer leaves the processes it started running.
  • Validators no longer stop after 120 seconds, which could cut a test suite short.
  • A loop whose skills all finished but whose validators never started can be resumed with /dmx/loop-continue.
  • A spec left over from the previous ticket no longer files a new Spec Loop run under that ticket's job folder.
  • The Release Loop's state file is no longer merged as running.
  • dmx no longer commits loop state while your integration or production branch is checked out, and pushes its final loop-state commit only when it's the only unpushed commit on a branch with an open PR.

v0.4.2

Fixed

  • Folder-shaped {name}/SKILL.md skills now resolve from every location, not just shared sources. A folder-shaped skill copied straight into a project's .dmx/skills/ previously failed with "Skill not found".
  • Skill names passed to get_skill_definition must now be plain slugs. A name containing ../ or an absolute path could previously read files outside the skills directories; it now behaves like any other unknown skill.

v0.4.1

Fixed

  • check_pr_ready's memory_updated check no longer fails because of the loop runtime's own state under .dmx/jobs/. The Release Loop's paused job state was being graded as a forgotten memory bank edit, failing the check on an otherwise-good PR.
  • loop_advance and loop_continue no longer fail with an "ambiguous active run" error after the validate skill runs. The validation-report.json it writes to the job folder was mistaken for a second, unfinished loop run; only files that look like task state are considered now.

v0.4.0 — Shared Sources

Org-wide loops, skills, and validators, maintained once and vendored into every repo.

Added

  • Shared sources: declare one or more git repositories in .dmx/shared-sources.yaml, each pinned to a tag, branch, or commit SHA. Their loops, skills, and validators resolve after your repo's own files and before the bundled defaults, in declared order. Each entry's name must be a plain slug and its subdir a relative path. A repo without the file behaves exactly as before.
  • /dmx/sync skill and sync_shared_sources MCP tool: clones each declared source at its pinned ref, copies it into .dmx/vendor/{name}/ with a .lock.json recording the resolved commit SHA, then commits and pushes. Blocked on the integration branch. Clone, missing-ref, and wrong-shape failures are reported per source, as is any entry under a source's skills/ that is neither {name}.md nor {name}/SKILL.md.
  • Collision warnings: /dmx/sync warns when the same loop, skill, or validator name is defined in more than one place (your repo and a source, or two sources), naming which one wins. Skills are compared by logical name, so review.md and review/SKILL.md collide. Collisions don't fail the sync.
  • Folder-shaped skills: skills in a shared source can be a {name}/SKILL.md folder (the agentskills.io / Claude Code convention, with optional scripts/, references/, assets/) as well as dmx's flat {name}.md. dmx gives the agent the skill's root path and surfaces any declared dependencies:.

v0.3.4

Fixed

  • When a loop run finishes, the runtime now commits its final job state and the activeContext.md session note instead of leaving them uncommitted. The Release Loop's outcome was previously lost when close-ticket deleted the branch. If the commit fails (for example, a pre-commit hook rejects it), the loop's response includes a warning.
  • close-ticket only transitions the ticket to Done when it finds a merged PR for the branch. Running it while the PR was still open could previously mark the ticket Done. An already-closed ticket is now treated as done rather than an error.
  • draft-release-note commits and pushes .dmx/releases/{version}.md, so the notes are included in the release-merge PR.
  • Starting the Spec Loop, or running /dmx/create-ticket, in a repository with no commits now gives a clear error telling you to commit and push first.

v0.3.3

Changed

  • The Release Loop now runs create-pr only. create-pr already syncs and commits the memory bank; running update-memory after it left uncommitted changes that never made it into the PR.

Fixed

  • update-memory commits its own changes, so it never leaves .dmx/ edits uncommitted.
  • check_pr_ready's memory_updated check fails if .dmx/ has uncommitted changes, instead of passing whenever activeContext.md exists.

v0.3.2

Added

  • require_branch loop config field. require_branch: base restricts a loop to starting from the integration branch; the bundled Spec Loop uses it.

Fixed

  • Loop state is now isolated per branch/ticket. Previously, a single .dmx/loop-state.json file tracked whichever loop ran most recently, regardless of branch — pausing a loop on one branch and running a different loop on another branch could lose or corrupt the paused run's state. .dmx/loop-state.json no longer exists; the active run is now derived directly from the job's own state files, scoped to the current branch/ticket.
  • The Spec Loop can now only be started from your configured integration branch, and no longer risks adopting a stale spec.md left over from a previously merged ticket (close-ticket doesn't delete it). Starting it from anywhere else, or starting a second one while a prior run hasn't finished creating its ticket yet, is rejected with a clear message instead of silently corrupting job state.
  • When on_complete chains into a loop that can't start from the current branch, the finished loop reports its own outcome and the reason, instead of claiming it's chaining and then failing.

v0.3.1

Fixed

  • dmx no longer falls back to the filesystem root, your home directory, or an unrelated directory when your IDE doesn't report a workspace root. An auto-detected root must contain .git or .dmx, or the tool call fails with an error. This could previously write loop state outside your project. /dmx/init still works on a brand-new project. See Workspace root.
  • An explicit workspace_root must be an absolute path (~ is expanded); relative paths are rejected.

v0.3.0 — Loop Runtime

The foundational release that turns dmx from a command vocabulary into an orchestrated workflow harness.

Added

  • run_loop MCP tool: starts a loop by name, initializes job and task state, returns the first skill instruction
  • loop_advance MCP tool: advances the loop after a skill completes. Persists output, applies human gate, runs validators, chains to next loop.
  • loop_continue MCP tool: resumes a paused loop after human review
  • /dmx/run-loop skill: IDE command to start any loop by name
  • /dmx/loop-continue skill: IDE command to resume a paused loop
  • Loop config schema: Pydantic-validated YAML schema for loop configuration (loop_schema.py)
  • Five bundled loop configs: spec, plan, dev, validate, release (.dmx/loops/*.yaml)
  • Validator runner: subprocess runner with JSON contract, 120s timeout, policy engine for required vs. optional checks
  • Bundled validators: check_spec_complete, check_plan_complete, run_tests, spec_adherence, check_pr_ready
  • repeat_until support: all_phases_complete condition evaluator reads tasks.md for unchecked items
  • Loop chaining: on_complete block triggers the next loop automatically on success
  • Job and task state: persisted to .dmx/jobs/{job_id}/{loop}-{task_id}.json and .dmx/loop-state.json
  • Config resolution: repo-level .dmx/loops/ overrides bundled defaults; repo always wins
  • GitHub Actions workflows: test matrix (Python 3.11/3.12/3.13, Ubuntu/macOS) and OIDC trusted publishing to PyPI

Fixed

  • check_spec_complete's qa_answered check now recognizes questions structurally (numbered list or Q: markers) instead of requiring an exact answer label, so it no longer fails against every spec.md the bundled create-ticket skill actually generates.

v0.2.0 — Branch-Scoped Memory Bank

Breaking change to the memory bank layout.

Changed

  • spec.md and tasks.md moved from the nested .dmx/tickets/active/{ref}/ path to flat files at .dmx/spec.md and .dmx/tasks.md on the feature branch. spec.md gained a YAML frontmatter block (ticket, branch, summary, ticketing).
  • activeContext.md repurposed as a learning inbox with three sections — ## Open Learnings, ## Open Decisions, ## Session Notes — instead of an ## Active Ticket pointer. Items are promoted to the durable core files on commit and PR; /dmx/update-memory performs a full rebuild.
  • ticket_id argument removed from most skills — ticket context is now derived from spec.md frontmatter or the branch name.
  • Release, hotfix, and ship skills read a configurable production_branch and branch_base instead of assuming master.

Added

  • Three-tier memory sync: light sync on /dmx/commit, full sync on /dmx/create-pr, deep sync on /dmx/update-memory.
  • production_branch config field, set by /dmx/init.

Existing projects: re-run /dmx/init to migrate the IDE rule markers and activeContext.md structure.


v0.1.0 — Initial OSS Release

  • 23 SDLC skills as MCP prompts covering the full AI SDLC lifecycle: init, create-ticket, plan, implement, validate, commit, create-pr, release, hotfix, and more.
  • .dmx/ memory bank scaffolding via /dmx/init.
  • dmx serve — stdio and HTTP+SSE transports, REQUIRE_API_KEY + MCP_API_KEY bearer auth, --watch hot-reload.
  • dmx list-skills and --skills-dir / --rules-dir overrides.
  • IDE detection and rule-file generation for Cursor, Claude, Copilot, and Antigravity.
  • CI matrix (Python 3.11/3.12/3.13 × Ubuntu/macOS) and OIDC trusted publishing to PyPI.

For the full commit history, see GitHub.

On this page