mdmanager
CHANGELOG.md

Changelog

mdmanager 0.5.1 — Nov 23, 2026

  • Tabbed demo clips — /demo/ on mdmanager.ai, linked from the homepage, shows the demo as five short numbered scenes (Context, Library and Profiles, live reload, review, apply) instead of a one-minute video. The tabs are bordered buttons, and the demo plays through the scenes by itself, with a progress line on the current tab, until the visitor picks a scene, which then loops; with reduced motion the current scene loops instead. Each clip plays in the site's theme and loads only when its tab is selected, as AV1 WebM where that is smaller than the MP4 and the browser supports it. The recording now shows Cursor beside Claude, Codex and Pi, and the README GIF is the review scene.
  • Project Section links — Open Project Sections show the loader's diagnostic when a link leaves .mdmanager/. Edits to an outside destination no longer reload the Section view, and restoring a contained file brings its contents back.
  • Home subfolder scan status — Claude subfolder scans run at launch and after disk reloads to keep Home's nested-source count current. Home shows checking subfolders only during a scan.
  • TUI watches relevant inputs — Unrelated files in the shared mdmanager directory and Codex fallbacks outside its resolved project chain no longer trigger reloads. Quiet checks reuse unchanged worktree directory listings, and Claude subfolder scans reuse the refresh's Git topology.
  • Responsive TUI during file churn — Watch checks and refreshes run off the input thread, so keys and drawing no longer stall while files change. Creating, editing or deleting files no instruction discovery reads, such as build logs, caches or editor swap files, no longer reloads or shows Updated from disk. A refresh starts about 4 Git processes instead of about 27, quiet checks start none, and finished subfolder scans and document opens no longer rerun discovery.
  • TUI scrolling keeps up with key bursts — The TUI applies every queued key before drawing once, and caches each document's parsed lines and wrapped rows so a draw renders only the visible rows, even inside a very long line. Held arrows and trackpad scrolling on long documents no longer trail behind after the keys stop, search no longer rewraps the document for every match, and a quiet screen is no longer redrawn every 100 ms.
  • Context About and timer rendering — Context caches the visible About layout so long import lists no longer slow document scrolling. Clipped or covered scan spinners, line highlights, and transient status messages no longer send empty timer frames to the terminal.

mdmanager 0.5.0 — Nov 12, 2026

  • Claude exclusions and AGENTS.md — Context ignores excluded CLAUDE.md, .claude/CLAUDE.md, and CLAUDE.local.md when deciding whether AGENTS.md loads, including subfolder instructions. Apply warnings use the same resolution.
  • Claude plugin ID — Context reads cc-plugin-agents-md@builtin as well as the old agents-md@builtin ID for Project instructions and plugin enablement, so settings written by newer Claude Code versions are read correctly. The new ID wins within one settings file.
  • Claude subfolder filename casing — Context discovers differently cased CLAUDE.md, CLAUDE.local.md, and AGENTS.md when the filesystem resolves their canonical names to the same directory entries, without following symlink aliases. Paths retain their on-disk casing, imports are listed, and imported files appear once.
  • Project Claude instructions warn about AGENTS.md — Project apply now warns before creating CLAUDE.md would stop Claude reading a loaded AGENTS.md. Project and Local apply suppress the warning for files imported by the rendered content and suggest an import or the claude-md-and-agents-md Project instructions setting to keep them loaded.
  • Claude Section filenames — Project create and adopt, configuration examples, and demo examples use sections/claude-code.md with Section ID claude, so Claude does not load Section source files as nested instructions on case-insensitive filesystems. Existing manifests keep their stored paths.
  • Local Claude filename casing — Local disable accepts differently cased CLAUDE.md, CLAUDE.local.md, and AGENTS.md when the filesystem resolves the canonical name to the same file and writes the canonical filename Claude matches. Status and restore work after deleting the source. Context matches exclusions case-sensitively against canonical instruction names, resolving absolute pattern directories while preserving filename case. Symlinked instructions match their link path; rules also match their resolved target.
  • Managed Claude instructions — Context warns when a managed settings file or drop-in injects non-empty claudeMd instructions, naming the file without displaying the instruction text.
  • Claude instruction warning coverage — Project and Local apply warn when replacing a Claude file removes an AGENTS.md import, including a symlink, and follow indirect imports up to four hops to avoid false warnings. Project apply also checks a managed AGENTS.md, even before that file exists, suppressing its warning when the Claude target includes every Section of the agents target. Canonical paths prevent false or duplicate warnings for differently cased filenames.

mdmanager 0.4.0 — Oct 19, 2026

  • Cursor Global target — mdmanager init cursor adds a cursor Global target that renders ~/.cursor/rules/mdmanager.mdc with an alwaysApply: true header. The Cursor CLI and editor load it for every project below your home directory, and no other runtime reads .cursor/rules, so your Profiles reach Cursor without leaking into Claude, Codex, or Pi. Global target paths may now also be a .mdc file under .cursor/rules/.
  • Cursor editor Context — mdmanager context --runtime cursor now models the editor's bundled agent (Cursor 3.25.9), which shares the CLI's loader: it reads .cursor/rules, AGENTS.md, and the Claude files from the workspace folder up to the filesystem root. Unlike the CLI it keeps duplicate Markdown, and it reports CLAUDE.md and CLAUDE.local.md as uncertain because the editor loads them only when its third-party extensibility setting is on. Rules in your home directory show as user rule.

mdmanager 0.3.0 — Oct 19, 2026

  • Cursor CLI runtime — mdmanager context --runtime cursor-agent and the TUI's Cursor CLI runtime report what cursor-agent loads: AGENTS.md, CLAUDE.md, CLAUDE.local.md, and .cursor/rules/**/*.mdc from every directory up to the filesystem root (including ~/AGENTS.md), plus .cursorrules at the Git root, in the CLI's launch-directory-upward order. Files over 100 KiB of decoded text show as partial, duplicates already loaded from a higher directory as not selected, and binary files and rules the CLI cannot parse as excluded. This follows observed cursor-agent 2026.10.16 behavior, which Cursor does not document. The cursor runtime is now labeled Cursor editor.

mdmanager 0.2.0 — Sep 25, 2026

  • Claude reads AGENTS.md — mdmanager context --runtime claude reports AGENTS.md and .claude/AGENTS.md the way Claude Code 2.1.277+ loads them: only when no CLAUDE.md or CLAUDE.local.md is on the launch path, or as not selected when one is. It follows the Project instructions setting and a disabled agents-md plugin, lists subfolder AGENTS.md files, and does not repeat an AGENTS.md that a CLAUDE.md imports.
  • Local Claude instructions warn about AGENTS.md — mdmanager local apply claude warns when the new CLAUDE.local.md would stop Claude reading the repository's AGENTS.md.
  • Disable AGENTS.md for Claude — mdmanager local disable claude AGENTS.md adds the file to claudeMdExcludes instead of rejecting it.
  • Claude settings scope — Claude Context reads project .claude/settings.json only from the launch directory and .claude/settings.local.json from the repository (main checkout) root and then the launch directory, as Claude does, instead of from every ancestor. claudeMdExcludes patterns now also come from managed settings and match a symlinked file's resolved target.
  • Oversized Claude instructions — instruction files over 4 MiB show as excluded, with their size, because Claude skips them.
  • HTML comments in Claude imports — @path text inside block-level HTML comments is no longer listed as an import, matching Claude, which strips those comments.
  • Shared Local exclusions survive restores — mdmanager local restore no longer removes a common .git/info/exclude rule that another linked worktree's mdmanager-owned output still relies on; ownership moves to that output. Previously a restore in one worktree could leave another worktree's private AGENTS.override.md unignored, so git add . could commit it.
  • Local status flags unignored outputs — mdmanager local status warns, with the exact rule to add, when an owned Local output or disable exists but Git no longer ignores it.
  • Pi disable states its Codex effect — the local disable pi plan says that the empty AGENTS.override.md also hides that directory's AGENTS.md from Codex, which selects the first existing file and then drops it when empty. mdmanager no longer probes codex --version.
  • Codex instruction discovery — Codex Context matches Codex 0.156.1: the first existing project candidate in a directory wins even when empty (so an empty AGENTS.override.md hides AGENTS.md), while the global level still falls through empty files. Fallback names are validated and deduplicated, project_root_markers = [] limits discovery to the launch directory, a zero project_doc_max_bytes loads no project instructions, and files after an exhausted budget are shown as not loaded.
  • Codex project trust — projects marked trust_level = "untrusted" in the user Codex config show their project instructions as not loaded, as Codex skips them.
  • Pi worktrees and duplicates — in a linked worktree nested inside its main checkout, Pi Context shows the main checkout's matching file as not loaded, as Pi does; a global file on the launch path is listed once.
  • Case-insensitive aliases — one physical instruction file no longer shows phantom uppercase candidates such as AGENTS.MD on case-insensitive filesystems.
  • Serialized Global writes — mdmanager apply and doctor repairs take an exclusive lock on ~/.mdmanager/state/state.lock, so concurrent agents can no longer interleave target writes or lose ownership entries. A reviewed plan is checked again under the lock and refused if another apply changed the targets first.
  • TUI watches every Global target — automatic reload now watches each configured Global target path, including custom locations, and Claude's managed-policy CLAUDE.md.
  • Project Sections stay inside .mdmanager/ — Project loading resolves Section paths through symlinks and rejects any Section, including one under a symlinked sections/ directory, that resolves outside the repository's .mdmanager/, so committed compositions render the same bytes in every clone.
  • init follows runtime directory overrides — mdmanager init writes Global targets under CLAUDE_CONFIG_DIR, CODEX_HOME and PI_CODING_AGENT_DIR when set, matching what Context inspects, and stops without writing when an override is outside HOME.
  • Context reports incomplete scans — unreadable subfolder Claude instruction files appear as warnings in mdmanager context text and JSON, and the "load when relevant" count excludes files that won't load.

mdmanager 0.1.0 — Sep 6, 2026

  • Binary installation — Install verified Linux and macOS binaries for x86_64 and ARM64 from mdmanager.ai/install, with archives and SHA-256 checksums on GitHub Releases.
  • Release checks — Run formatting, Clippy, Rust tests, installer verification, and website builds on Linux and macOS before publishing native release binaries.
  • Pi path aliases — Disable and restore Pi instructions reached through a symlinked parent directory, including macOS temporary paths, without rejecting them as outside the repository.

  • Cross-machine setup — Document how to install a shared personal library on a fresh machine, select its Profile, and pull and apply later changes while keeping ownership state local.

  • Markdown documents — Render headings, lists, emphasis, code, and links in TUI documents and previews. Press m to switch to raw source; the saved UI preference reloads from disk. Source line numbers, line jumps, and search remain aligned; differences always stay raw.

  • Bundled docs — Remove private page-size limits so documentation growth cannot panic when reading a topic in a debug build.

  • Website — Add the mdmanager.ai homepage, with the existing documentation and release changelog rendered as static pages.

  • Workflow demo — Re-record the README and website demo from a scripted Docker session: it now starts at the splash, walks Home, Context, the Library and two Profiles, shows a coding agent editing a Section shared by Claude, Codex and Pi, and reviews and applies the Global difference. The site plays a matching light or dark video with the narration beside it as page text; the README GIF carries the narration below the terminal.
  • TUI metadata and diagnostics — Source About panels account for wrapped paths and compact the displayed path when needed to keep usage metadata and Contents visible. Empty Context views retain configuration warnings and scan failures.
  • Document search navigation — Search reveals matches within wrapped lines and advances past the final match before wrapping, even at the bottom of a document.

  • Collision-safe Global backups — Backup reservations use create-only persistence so overlapping replacements retain every recovery point.

  • Project creation safety — Reviewed creation rejects newly introduced target symlinks and preserves intervening Section replacements when a manifest commit fails.

  • Recovery after source removal — Local status and restore no longer require the disabled source directory to exist. Shared Claude settings can be restored after removing their originating linked worktree, preserving unrelated settings edits.

  • Local recovery and concurrency — Validate owned destinations and Claude settings file types before mutation, serialize linked-worktree writers with an advisory lock, and report partial-write recovery guidance without claiming multi-file atomicity.

  • Context refresh dependencies — Refresh detects main-worktree Claude exclusion settings and additions, edits, and removals in linked Claude and Cursor rule directories, including deeply nested external rules.

  • Reviewed Project writes — Apply retains the displayed review and refuses changed targets or source paths before writing, including when using --yes.

  • Local ownership safety — Managed outputs reject resolving and dangling symlinks. Local writes validate recovery records first; restore prepares settings and owned exclusion edits before changing files, and repeated Apply retains exclusion ownership.
  • Consistent TUI inspection — Pages, search, and difference controls use explicit inspection snapshots, keeping file observations stable between reloads and reporting current refresh errors. Differences follow content comparison independently of deployment status, and Context diagnostics no longer depend on display wording.

  • Claude worktree settings — Context uses the same Git-reported settings worktree as Local disables, including separate Git directories and submodules, and no longer reads settings from Git metadata parents.

  • Malformed rule headers — Claude and Cursor rules with unterminated frontmatter are reported as ambiguous with a reason instead of inferring loading from incomplete metadata.

  • Runtime Context — Inspect persistent Markdown instructions for Claude Code, Codex, Cursor, and Pi. Browse global and project sources with loading order, overrides, conditional rules, imports, exclusions, and truncation explained.

  • Reusable Sections and Global Profiles — Compose shared Markdown into runtime-specific instruction files. Named Profiles let workstations and hosted agent machines use different global setups from a personal Section library.
  • Project and Local instructions — Keep shared project compositions committed with the repository, and private repository instructions in ignored local files. Local compositions can reuse personal Sections across repositories.
  • Agent workflow and TUI review — Point a coding agent to mdmanager docs start for instruction edits and CLI Apply. Use the TUI to browse sources and review differences; it reloads disk changes while preserving selection and scroll position.
  • Adoption and deployment checks — Adopt existing instruction files while preserving their deployed contents. Render and diff before Apply, and check for source changes awaiting deployment or managed targets edited directly on disk.
  • Bundled guides and diagnostics — Read setup, configuration, migration, and runtime guides through mdmanager docs. Use mdmanager doctor to diagnose Global configuration problems and repair invalid generated state.