Repository navigation
Conversation
Drop test/test-template-sync.js and its hook in test:sprint-planning. The retrospective fixture comment now says to sync the vendored template by hand when the source changes.
The Node suite still installed skills under `_bmad/bmm/`. Cover the current host-skill layout from render_skill.py itself, and keep a few internals tests for publish paths that are awkward to hit through a full skill.
The script's default diagram has been gone since January, and nothing in the build or quality pipeline invoked it.
The directory is the Astro docs site, not a generic website, and the old name collided with the docs/ content tree.
Augment is no longer in use, and the tools/docs working prompts have not been run in months.
Tests now live under tools/, skills/, and docs-site/. Discover them there instead of listing deleted per-suite targets.
bmad-modules.yaml was only consumed by the deleted installer. yaml-lint and the staged prettier wrapper had no remaining callers.
Point both marketplaces at plugins/bmad-method. That folder holds the host manifests and a skills/ symlink into the repo skills tree so an install copies the plugin directory and Claude dereferences the payload. Track the Codex catalog at .agents/plugins/marketplace.json.
Codex plugin add copies the plugin directory without dereferencing symlinks, so the nested plugin shipped no skills. Root the Codex plugin at the repo so the cache copy carries the real skills tree.
Every version declaration now reads 6.11.0-next, matching the module-manifest.toml files the update check compares against.
… mirror Make the bmad-skills mirror's main branch release-only: dev now mirrors this branch unstamped, and main is always current dev plus one stamp commit cut by following tools/release.md. - tools/stamp_release.py: stdlib-only stamper that validates an orderable SemVer argument (rejects -dev, which setup.py cannot order), rewrites the version line in every skills/*/module-manifest.toml textually to keep the manifests byte-identical, and sets the version in .claude-plugin/marketplace.json, plugins/bmad-method/.claude-plugin/ plugin.json, and .codex-plugin/plugin.json without reformatting them. Nothing is written unless every file validates; after writing it re-reads everything and fails naming the offending path if the manifests diverge or any file carries a different version. - tools/release.md: self-contained runbook — clean detached checkout of origin/dev, human-chosen version that differs from what main serves, stamp, review, commit, force-with-lease push of HEAD:main. - tools/tests/test_stamp_release.py: unit tests covering the happy path, invalid and -dev versions, missing version line/key, divergent manifests, idempotent re-stamp, and formatting preservation. - TEMP-RELEASE-PROCESS.md: the mirror is the testbed for both the npx install/update flow and the release process that feeds it. Records the dev/main branch model, the 0.0.0-next.N throwaway versions to stamp there, and a note to replace the file with the real release instructions before this branch merges to main. - AGENTS.md: replace the test-mirror section with a pointer to that file. - .npmignore: exclude the new tool files and the temporary runbook from the npm tarball.
The version's single source of truth is skills/*/module-manifest.toml. Plugin metadata (Claude marketplace and plugin.json, Codex plugin.json) is no longer stamped — whatever builds those artifacts reads the version from skills/bmad/module-manifest.toml. The textual single-"version"-key rewrite would have broken the moment the Claude marketplace gained a second plugin, and those lids are likely to leave this repo anyway. Tests updated: JSON-stamping cases replaced with a regression test that plugin metadata is left byte-identical; runbook expectation adjusted.
The tools/bmm split will put a second plugin into the Claude marketplace, so the stamper no longer hardcodes plugins[0] and the bmad-method path. It now stamps the version of every entry in the marketplace plugins array, discovers plugins/*/.claude-plugin/plugin.json by glob, and requires the marketplace entry count to match the plugin manifest count. Each textual rewrite is proven against the parsed JSON: the result must equal the original tree with only the intended version nodes changed, and a "version" key anywhere else in a stamped file fails the run before anything is written.
The stamper globbed for manifests, so a skill directory without module-manifest.toml was silently skipped and would ship unstamped with no version or update_source. Enumerate skill directories and fail naming the offender before anything is written.
Run the suite with pytest-xdist (-n auto): 17.7s to 5.9s wall measured locally. Quiet output when green (-q), short tracebacks and a summary of non-passing outcomes when not (-ra --tb=short). Write nothing to disk: -p no:cacheprovider stops .pytest_cache and PYTHONDONTWRITEBYTECODE=1 stops __pycache__; a warm single-directory bytecode cache measured no faster than cold, so the cache bought nothing. Parallelism exposed a race in test_recon_kit.py: two test classes shared the fixture path tests/_report.md and deleted it after use, so xdist workers could unlink it under each other. All four file-fixture tests there now write into per-test temporary directories.
Two marketplace entries share source "./" and list their skills explicitly, replacing the single plugin whose skills tree was a symlink to skills/ — with per-plugin subsets the symlink bought nothing. The plugins/bmad-method lid is deleted. bmad-tools has no skills yet, and an empty skills list makes Claude Code fall back to scanning skills/, so its source points at the empty plugins/tools directory instead. The stamper now validates the whole distribution shape before writing: every manifest carries exactly module, version, and update_source, with a known module and the one known source; the marketplace has exactly one entry per module; and each entry's skills list equals, as a set, the skills whose manifest carries that module — no orphans, no double-shipping, no dangling paths (a dangling path is load-bearing: Claude Code silently falls back to shipping every skill for one). The manifest byte-identity check is now per module, since manifests legitimately differ in the module line. Verified live: bmad-bmm installs with 29 skills, bmad-tools with 0, and a scratch stamp of the real tree passes.
…and toolbox modules The seven standalone support skills that help.md lists as belonging to no path and no stage — brainstorming, forge-idea, deep-recon, advanced-elicitation, review, party-mode, customize — now carry module = "toolbox"; the other 22 skills carry module = "method". The module key names only the distribution grouping; the _bmad/bmm runtime config path skills read is staged by setup.py independently of it. The Claude marketplace and the Codex plugin lid leave this repo: both plugin ecosystems are built by bmad-code-org/bmad-plugins from the stamped manifests bmad-skills main serves, sharing one skills tree per plugin. The stamper therefore stamps and validates only the manifests (exact key set, known module, the one known update source, per-module byte identity), and the runbook gains a rebuild-the-plugins step.
… from bmad-plugins
…oved README section
setup and doctor rewrite _bmad wholesale via replace_dir, so running them through a symlinked _bmad crashed mid-flight with a raw IsADirectoryError from the backup rename. Reads through the symlink are the point of symlinking and stay untouched; only the write paths now fail fast, naming the link target and the --project-root to use against the real installation. The doctor flow rejects in its missing-_bmad pre-flight so --list-config-questions --doctor fails before interrogating the user.
help.md now names https://docs.bmad-method.org/llms.txt as the place to look when it and the installed skills cannot answer a BMad question; the index also names the source repository as the final authority. The hub skill's constraints direct that fetch before conceding a limitation, restoring the remote-docs grounding the CSV-era bmad-help had via its _meta row.
parse_packaged_manifest required `knowledge` to equal one hardcoded literal naming the bmad skill's own help document, so no second module could ship a manifest that parses. The value is then discarded — it is not a field on ParsedManifest and nothing reads it — so the check bought nothing. The cost was disproportionate. discover_installed_copies parses every sibling manifest before doing any work, so one unacceptable value aborted `bmad update`, `setup`, and `doctor` for the whole project, including modules whose own manifests were fine. This is also what the format spec asks for: the packager rejects unknown or malformed keys, while `bmad` ignores what it does not recognize, so a manifest from a newer format cannot break an older hub. stamp_release.py keeps its equality check — it is the packager, and it only ever runs against this repo's manifests. `knowledge` stays required and non-empty. CIS points it at its published llms.txt, the same remote-docs grounding help.md already names for BMM.
…2 skill v7 no longer ships (#3191) The Unreleased section covered the newest skills but not what makes this a v7 release: the skills install replacing the npm installer, module records, the v6 migration, the ticket tree and Sofia, bmad-facilitate replacing the PRD, brief and PRFAQ skills, the build and review levers, the walkthrough rebuild, the renderer's override checks. The entry is rebuilt under a prerelease header from the descriptions of every PR since v6.12.0, with Breaking written for a v6.12 user. retired.toml in the method and core-tools modules now lists every v6.12 shim and bmad-sprint-status, so bmad setup offers to delete them and handles their _bmad/custom/ files. One-to-one shims are renames; shims that merged into one skill, or whose target is gone, are removed, since the validator refuses two renames onto one target.
…rst Breath first, and never edit raw files (#3195) * feat(toolsmith): memory agents keep the work in a configured dominion, not the sanctum A memory agent's dominion is its sanctum plus the areas it owns or tends, listed as [[agent.dominion]] entries in its customization: a whole workspace, a section, some folders, or a private space such as a journal. The work itself goes to those areas, so it reads without the agent and survives a wiped sanctum; the sanctum keeps only what the agent learns. - wake.py maps each area (count only for a private one), names malformed entries, and builds the capabilities table each waking from the skill's references/ and the sanctum's capabilities/. - init-sanctum no longer copies references/ or scripts/ into the sanctum, so an update reaches an agent that already exists. - First Breath asks about areas, offers to load the agent in every chat for everyone or the owner alone, and offers to keep the sanctum out of git. - Dominion text is behind a dominion condition, so a pure companion does not load it; wake and init-sanctum are copied, never processed. * feat(toolsmith): one private-or-shared question places a memory agent's sanctum, areas and every-chat line A memory agent serves one owner. First Breath now asks once whether the repository is private to the owner or shared. Private: the sanctum is committed, the owner's areas go in _bmad/custom/<skill>.toml, and loading in every chat can go in AGENTS.md or a project hook. Shared: the sanctum is gitignored, areas go in the ignored .user.toml, and loading in every chat goes only in personal harness settings. * fix(toolsmith): First Breath is finished before a memory agent does anything else A memory agent counted as born once init-sanctum wrote its files, so a First Breath that stopped early, served an urgent request first, or ran beside a second chat was never finished: the next waking ran as normal and the skipped questions lived only in pending.md, which waking clears. - wake.py routes to First Breath until memory/.born exists, printing the sanctum and the placeholders still open; a --pulse before then exits. - First Breath is the agent's only job until done: no other work, no reading the owner's files except to answer its questions; asked to stop, it says how many questions are left and asks to finish. - Urgency Detection and 'you don't need to cover every territory' are gone; the wrap-up writes memory/.born only when every question is answered. BOND.md gains a Home section. * refactor(toolsmith): one First Breath template for every memory agent The deep and focused templates shared most of their text and had drifted. They merge into one: the shared steps once, a short How to Talk section (one thing at a time, match their voice, say back what you hear, respect what they avoid) for every agent, and one {discovery-questions} slot that Smithy writes for the domain. That slot is what makes a companion's First Breath differ from a working agent's. The 'landscape, not itinerary' guidance is dropped: it worked against finishing. * fix(toolsmith): apply the Toolsmith review findings - A memory agent's own [[agent.dominion]] entries are the one exception to 'a skill never writes _bmad/custom/' (standards, customization lens, agent shape), and dominion joins the [agent] keys. - A resumed First Breath asks every question whose answer is not written, with 'still open' as a hint; init-sanctum no longer claims an unfinished agent is born; the wrap-up reruns wake for placeholders. - wake.py and init-sanctum.py use argparse; wake resolves a leading {project-root} in an area path, reads only the head of raw files and prints the absolute First Breath path; init-sanctum reports an unwritable sanctum in one line. - Every-waking text says each rule once: the Sacred Truth only in the bootloader, the sanctum-versus-area rule only in HOW-I-REMEMBER, where capabilities live only in wake's output; bootloader step 7 is one case per mode, with Pulse on its own lines. - prepass.py reports unparseable manifests and gives shape_hint unknown. - Help and docs describe First Breath resuming instead of parking items in pending.md; canon and standards long paragraphs split by topic; SKILL.md names the bmad-customize keys; trigger cases for LOGS, VALIDATE and the bmad-review and bmad-eval boundaries. * fix(toolsmith): second-round review fixes - Help and docs state the memory-agent dominion exception, and the memory-agent shape says where First Breath writes the owner's areas. - shape.md, help and docs no longer describe CAPABILITIES.md as a list; wake builds the table. - init-sanctum fails with one line when the skill has no identity templates instead of reporting success. - A resumed First Breath sees PULSE.md; the customization lens judges pre-pass toml_errors; the private-area AGENTS.md line covers shipped areas; one HOW-I-REMEMBER bullet reads as a full sentence. * test(toolsmith): find the bmad resolver scripts in skills/core-tools after the module regroup * fix(toolsmith): memory agents render without a name, keep relative paths, and leave copied scripts untested - The bootloader heading and First Breath description use the title, so an agent that names itself no longer renders "# " or "First Breath — awakens". init-sanctum writes a shipped name into PERSONA.md, and First Breath does not ask a named agent to choose one. - PERSONA.md drops its Icon field; the icon is agent.icon from customize. - CREED.md names the project and sanctum as {project-root} paths instead of the absolute paths init-sanctum filled in, which were wrong in another clone. - First Breath asks which language to speak when the one the owner wrote in may not be their own, as for someone practicing it. - scan_scripts does not flag test-missing on a byte-for-byte copy of the memory-agent wake.py or init-sanctum.py; their tests live with Toolsmith. * fix(toolsmith): memory agents derive undistilled raw files, name broken capabilities, and report Pulse work at waking Scripts: - wake.py lists a raw file as undistilled until a file under memory/ names it as its source, so raw files are never edited and a PDF or recording is tracked too. - wake.py names a capability whose frontmatter does not parse or lacks name or code; such a file no longer hides the built-in it shares a code with. - wake.py counts a session note dated the day of the last tending when it was written after the stamp. - init-sanctum.py exits 1 on a customize.toml that does not parse, before PERSONA.md is written without the shipped name. Templates: - The bootloader no longer invites invented stories about the time apart, which contradicted "Never fabricate"; the waking mode is written as cases and Unborn is its own mode. - A Pulse run adds what it did to memory/pending.md, which waking raises. - First Breath's description step is two cases, inside and outside the project. - HOW-I-REMEMBER states the sanctum and area split once and drops the status bookkeeping. Builder files: - The memory-agent shape says which parts of the agent shape apply, splits the dominion paragraph by decision, and keeps only the rules the builder decides. - standards.md matches the memory-agent customize template; the architecture lens has one memory-agent signal per bullet. - The memory-agent help file drops TOML key detail the help agent cannot act on. * fix(toolsmith): memory agent wake prints UTF-8 on Windows, and the read-only sanctum test skips there * fix(toolsmith): memory agent wake keeps a nested private area's names out of the wider map and names a malformed dominion - A private area inside a wider area is left out of the wider area's counts and newest files; its own entry still gives its count. - An `agent.dominion` that is not a list, such as one `[agent.dominion]` table, is named instead of being read as no areas. - A capability whose frontmatter opens and never closes is named, like one that does not parse. - The docs and the memory-agent shape say a shared repository keeps the sanctum and the list of areas out of git, not the files in an area. - The intake capability's source line names the original wherever it is kept, `raw/<file>` only for what the sanctum keeps.
…ns modules, migrates v6 content (#3196) * feat(toolsmith): Smithy coaches by default, routes from SKILL.md, plans modules, migrates v6 content, and checks more with scripts Smithy: - States its coaching stance once, with a fast path when the user is in a hurry; ship asks before a finding that changes what a skill does or how it sounds. - Routes from a list in SKILL.md; customize.toml keeps the persona and activation steps, with no menu. - Records the approved plan with the memlog, plans a module (members, shared config questions, roster, build order) and offers the next member at handoff. - Migrate maps v6 config placeholders and legacy reads to their v7 form and rewrites them. - Checks live once, in modes/validate.md; cut no longer loads ship.md; a small single-file skill gets a lighter ship. - Route files, shapes, canon and lenses lose contradictions, repeats and figurative wording; the entry-size rule is what one run loads, not a token threshold. Scripts: - prepass adds customize_findings, repeated_passages, token_method, has_argparse and a stronger dense-paragraph check. - init_skill --check adds customize-invalid and memory-script-stale and ignores [TODO: inside code; scan_paths resolves {skill-root} paths, command paths and customize.toml; scan_scripts adds argparse-missing. - cut_check adds a token table and --protect-text; read_session_log emits linked turns and fails when it read nothing; registry adds roots and invalid; scan_legacy_module finds more legacy reads and v6 placeholders; new scan_config_reads compares config reads with module questions. - process_template keeps the spacing around a removed block, so generated Python passes ruff. Help, bmad-eval and docs: - help.md is a short routing index (3,012 to 1,147 tokens); the bmad-eval entry moves run detail into eval-format.md (1,611 to 1,172 tokens). - Trigger cases cover editing an owned skill, more near misses and new shapes; docs/toolsmith matches the skills. * fix(toolsmith): sort scanned paths the same on every OS, and start the CRLF copy tests from LF * fix(toolsmith): check memory scripts only in a memory agent, run the manifest check only with module records, and drop retired v6 questions * fix(toolsmith): escape template values for their quoted strings, read dotted config keys, keep trial descriptions off the approved skill, and refresh the pre-pass before cost * fix(toolsmith): make no or basic customization the default and build rendered shapes only on request * fix(toolsmith): trigger on changing an owned skill, keep paths and dependencies aligned in migrate, and flag retired skill names
…, elicitation and bmad the same way (#3197) - Every agent, Smithy and both agent shapes share one dispatch rule: a request runs its item, one that fits nothing is a conversation, no request gets a line on what the agent does without the list, "what can you do" gets a few sentences and an offer of the list, and the Code / Description table appears only when asked for. - Mary, John, Winston, Sally, Sofia and Nadia mention `bmad-party-mode`, `bmad-advanced-elicitation` and `bmad` in their first message, in their own words; Amelia mentions `bmad` only. `bmad` is described as help with anything installed and what to do next. - Mary and John list their documents as the ones they work out with the user. - Docs and help no longer say agents show no menu or that Smithy shows one.
…e document behind (#3200) * feat(facilitate): keep the run's state in the draft and leave only the document behind bmad-facilitate no longer keeps a memlog. Each unconfirmed inference is tagged [ASSUMPTION: ...] where it lands, for every template; open sections carry a marker so a new chat resumes from the document; the merged template and the reviews go to a scratch folder in the system temp folder, deleted at Close. An output path naming a file writes that file alone. Callers, the bmad-eval examples, elicitation's brief, bmad-customize (show the merged template), help and docs follow. * docs(facilitate): every document carries assumption tags, not only planning ones * fix(facilitate): bind the document path, give each run its own scratch folder, and keep settled-out sections until final * fix(facilitate): name what counts as an inference, so fast-path defaults are tagged * fix(facilitate): hash the document path for the scratch folder, and render no view beside a named output file
…ne when a conversation produces a document (#3201) * feat(facilitate): keep the run's state in the draft and leave only the document behind bmad-facilitate no longer keeps a memlog. Each unconfirmed inference is tagged [ASSUMPTION: ...] where it lands, for every template; open sections carry a marker so a new chat resumes from the document; the merged template and the reviews go to a scratch folder in the system temp folder, deleted at Close. An output path naming a file writes that file alone. Callers, the bmad-eval examples, elicitation's brief, bmad-customize (show the merged template), help and docs follow. * docs(facilitate): every document carries assumption tags, not only planning ones * feat(facilitate): write new document templates, and Smithy proposes one when a conversation produces a document bmad-facilitate ships a document-template template and its rubric in assets/, always searched, holding the rules for a good template; a request to write a template runs it, and the "nothing fits" close offers it. bmad-customize hands a new document type to it. Smithy gains a document-template shape: the smallest fit (a template alone, an agent with templates, a skill last), where templates go, and the agent's hand-off. Discovery proposes it, the agent shapes and module shapes point to it, the architecture lens flags hand-coached documents as template candidates, and the description and trigger evals take "make a document template". Help and docs say who writes, changes and wires templates. * fix(facilitate): bind the document path, give each run its own scratch folder, and keep settled-out sections until final * fix(toolsmith): require bmad-facilitate, list its own templates in bmad-customize, and place module templates in the record * fix(toolsmith): per-document output for rendered agents, agent template checks, doc-templates scaffold, and the edit route to templates * fix(facilitate): name what counts as an inference, so fast-path defaults are tagged * fix(toolsmith): a listing command that runs, the rendered agent's default output, and a near-miss kept for bmad-customize * fix(facilitate): hash the document path for the scratch folder, and render no view beside a named output file * fix(toolsmith): keep template edits with bmad-customize and filled documents with bmad-facilitate in the description
) * docs(reference): add the ticket tree and tracker mapping pages The Ticket Tree covers layout, ticket sections, entry keys, statuses, readiness and tickets.py. Map Your Tracker shows what each level becomes in Jira, Linear, GitHub Issues, Notion and Trello, taken from Sofia's store configs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(start): add How BMad Works and Why BMad Works This Way How BMad Works explains the loop, who does what, the routes, the ticket at three levels and the example app; it replaces Choose a Planning Path. Why BMad Works This Way gives the reasons behind twelve design choices, each linked to the PRs and commits that state it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(start): extend How to Install BMad with updates and worktrees Covers coming from an earlier version, a module status could not check, where skills land, pinning a release, and starting each epic in a fresh worktree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(plan): organize Clarify and Plan around the ticket Clarify the Idea gathers ingest, brainstorming, Forge Idea, Deep Recon, the PRFAQ and long documents. Plan the Work, Write a PRD, Write and Slice the Initiative and Plan an Epic's Stories replace the four pages they absorb; UX, architecture and ticket-tree setup are shortened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(build): add Build and Verify; move Finish an Epic to Learn Build and Verify and Learn and Adjust open their stages. Finish an Epic moves to learn/ and ends each epic with the retrospective, then Sofia's closure check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs: point existing pages at the new stage pages Links in the existing-codebase, customize and reference pages follow the moved and merged pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(scenarios): add five end-to-end scenarios with flow diagrams Make a Small Change, Build from a Conversation, Turn a Prototype into a Product, Plan a Feature as a Team and Change an Existing Codebase. Each opens with a flow diagram and shows the prompt for every step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs(start): add two walkthroughs run for real on an example app Walk Through Three Routes builds new projects by a quick build, Sofia's route and the full route; Walk Through an Existing Codebase changes the same app inherited with no planning files. Every step was run in headless Claude Code and the pages follow what happened; the logs are in the example repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs-site: add the new pages to the sidebar, redirects and tests Sidebar sections per stage, redirects for every removed page, and the built-page tests; the welcome page and README link to How BMad Works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs: follow the memlog replacement (#3200) and the agent menu change (#3197) Removes every .memlog.md mention from the pages this branch adds or edits. A validated PRD's findings now come back in the conversation instead of review files, and a new chat resumes from the document. Agents answer "what can you do" in a few sentences and show their full list only on request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta * docs-site: let each page's opening paragraph use the full text width The 52ch cap on the lead paragraph wrapped one- and two-sentence openings early, often leaving a single word on the last line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ABVcA9p8JgvVpz8PgPXSta --------- Co-authored-by: Ilya Baimetov <2091915+ilya-baimetov@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…template shape (#3203) - bmad-facilitate gains evals/cases.json: headless from a memo, a named output file, resume from a draft, the fast path's finish, and a new template, with a team template, a memo and a half-done draft as fixtures. The cases stage `_bmad/scripts` from the project, so run them from a project whose BMad matches the branch. - list_templates.py takes sources on both sides of an option; the order SKILL.md gives split them before. - The scratch folder comes from one command that prints its full path, so an unset TMPDIR no longer puts it at the filesystem root. - A template given by path goes in as a plain source, not after --libraries-of. - The rule naming every kind of default as an inference is reverted: it did not change the fast path. - The document-template shape is cut by 14%, every rule kept (cut_check.py).
… with a skill (#3204) Every skill's evals/ folder moves to evals/<skill-name>/ at the repo root, outside anything `npx skills add` installs. Smithy writes cases and trigger queries to {evals}, the same place, and bmad-eval looks there first. The runner no longer stages a skill's own evals/ into the clean room, so a skill that still carries its cases cannot show the model its rubric. scan_paths checks the root cases for absolute fixture paths, and init_skill no longer scaffolds an evals/ folder.
…s written (#3207) * feat(walkthrough): offer a whole-change diagram after the narrative is written Draw now picks its kind from what is new, defaults to plain boxes and arrows unless the user asks for UML, and can cover the whole change. Step 2 offers it up front when the change adds structure the code doesn't show in one place. * feat(walkthrough): offer the diagram only for changes over 50 lines, in 50 tokens or less * feat(walkthrough): name the UML diagram kinds in Draw and ask whether the user wants UML * feat(walkthrough): label Draw relationships in words instead of asking about UML
* docs: fix the points the review bots raised on #3202 and #3205 - Ticket Tree: tickets.py status reports drift only for after and hitl; tickets.py next on a tracker store needs a sync and --synced. - Build and Verify: a blocked run on a tree ticket marks its plan blocked, creating the plan if needed, and Sofia's next list shows why; a run on a loose description leaves the reason in its plan or in the fallback result file. - Learn and Adjust, Build and Verify, Plan a Feature as a Team: an epic is finished when every ticket, bugs and spikes included, is done or dropped. - Walk Through Three Routes: each part gets its own repository. - Plan a Feature as a Team: run bmad-code-review on a story right after its build, so the review covers only that story. - Turn a Prototype into a Product: repeat the build step for each remaining epic, with its own story numbers. * docs: lead with the goal when asking John for a planning document John passes the document coach every template that fits and the coach proposes one, says why and names alternatives, unless the user names a document. Write a PRD and Plan a Feature as a Team now open with the goal instead of "create a PRD"; How BMad Works and Plan the Work describe John that way; Walk Through Three Routes keeps the prompts it was run with and says the brief and PRD are named only to make the run predictable. --------- Co-authored-by: Ilya Baimetov <2091915+ilya-baimetov@users.noreply.github.com> Co-authored-by: Brian <bmadcode@gmail.com>
… shared memlog script (#3210) A skill's state now lives in the document it writes. A skill keeps an append-only log only when the log is its content, named for what it holds and written by a tested script in that skill's own scripts folder. - bmad-brainstorming writes `ideas.md` through its own `ideas.py` (start, add, set, open). - bmad-deep-recon writes `claims.md` through `recon_kit.py ledger` and `recon_kit.py log`; a claim with no `status=` or an unreadable `ref=` is refused. - bmad-party-mode writes `memory.md` through its own `party_memory.py` (recall, remember). - bmad-forge-idea creates its session file at the start with a `status`, and resumes from it. - bmad-ux writes each decision into `DESIGN.md` or `EXPERIENCE.md` as it settles. - bmad-architecture writes each decision as its `AD` as it settles, with a `Why` line when it chose among alternatives or the user gave a reason. The document is the authority on update, and it no longer writes to the ticket's log. - bmad-toolsmith keeps a build's plan in one `plan.md`; from-logs no longer reads memlogs. - bmad-shard-pro keeps no change log. - bmad-agent-po keeps `.memlog.md`; `memlog.py` moves into her own scripts folder unchanged. Each log script adopts a `.memlog.md` left by an earlier version the next time it writes in that folder, and carries on in the old file when the rename cannot happen. Review fixes: - ideas.py, recon_kit.py and party_memory.py stop with an error when an old `.memlog.md` cannot be renamed, instead of writing on in a file the skill's later steps do not read. - recon_kit.py tally no longer reads `status=` or `ref=` inside a longer key such as `substatus=`, matching what `log` validates. - ideas.py open keeps its own `folder` and `ideas` values over frontmatter fields of those names. - The symlink case of the open test skips on an account that cannot create symlinks; a repeated root keeps the overlap covered. - Brainstorming reopens a session that continues after the autonomous wrap-up, so an interruption can still resume it. - Forge-idea resumes in the chosen file and its folder, and a fresh start on an idea whose earlier session has the same slug gets a new folder. - The UX key-screens renderer says what the parent does when a screen needs a pattern the spines do not have. BREAKING CHANGE: `_bmad/scripts/memlog.py` is removed; a custom skill that called it needs its own copy. Brainstorming, deep recon and party mode logs are renamed. A run of bmad-architecture, bmad-ux, bmad-forge-idea or a Smithy build left unfinished before this version does not resume. The headless results of bmad-architecture and bmad-ux drop their `memlog` key; bmad-brainstorming returns `ideas` and bmad-deep-recon returns `claims_file`.
…folders that mirror skills/ (#3211) * refactor(skills): move script tests and evals out of the skills into folders that mirror skills/ Every skill's `scripts/tests/` moves to `tests/<module>/<skill>/` at the repository root, and every `evals/<skill>/` to `evals/<module>/<skill>/`. The skills CLI copies a skill's whole folder, so 73 test files (1.5 MB) installed with the skills. - Each test finds its script from the repository root; pytest's `testpaths` is `tools/tests` and `tests`. - Smithy has `{tests}` beside `{evals}`: `tests/` and `evals/` in the first folder above the skill holding `.git` or `_bmad/`, followed by the skill's path below the nearest `skills/` folder, or its name when none holds it. The script-utility shape, its test template (new `{skill_path}` variable) and the standards and trigger lenses use them. - `scan_scripts.py` finds a script's test in `{tests}` and still in the skill's own `scripts/tests/`; `scan_paths.py` checks eval cases in the mirrored `evals/` folder. Across every skill, `scan_scripts.py` reports the same missing tests as before. - `bmad-eval`, its help and the docs describe the mirrored eval folders; `AGENTS.md` and the changelog name both. * fix(toolsmith): render each script-utility template to its Files destination The render command sent every template to `{target}/<file>`, which put the test inside the skill instead of `{tests}`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…nesses per tool or model (#3212) * feat(eval): add a trigger matrix across a whole install and named harnesses per tool or model A trigger eval stages one skill alone, so it cannot show two skills competing for a request. The trigger matrix stages every skill of an install at once and records which one each query loads. - `run_matrix.py` stages each skill under its own name with its real description and a canary unique to that skill and attempt, scores each query against `expect` and `also_ok`, and reports per-skill load rates and a `confusion` table of which skill loaded in place of which, or `missed` when none did. A sample SKILL.md inside a skill's assets is not staged. - `evals/suites/full-install/trigger-matrix.json` holds 48 queries across the clusters where descriptions could overlap: ideation, research, review, critique, planning documents, building, toolsmith and founder. - Every runner takes `--harness-name <name>` for a harness recorded under `[workflow.harnesses.<name>]`, one per tool or model; repeated, it runs once per name with its own run folder and prints one JSON keyed by name. `[workflow.harness]` stays the default. - `bmad-eval` gains the matrix as a fifth mode and records further harnesses after proving each on one case. The eval-format reference, the docs page, toolsmith help and the changelog describe both. * fix(eval): act on the review of the trigger matrix and named harnesses - `run_matrix.py` follows linked skill folders, so a tool folder whose skills are symlinks is staged; the same skill reached through two folders counts once. - A skill name that is not a plain folder name is refused before staging. - A query passes when enough runs loaded any skill it allows, so runs split across `expect` and `also_ok` pass; a skill outside them reaching the threshold is `stolen_by`, and `missed` counts the failures nothing else took. - Rates are compared with the threshold before rounding. - `--runs-per-query` below 1 is a usage error in the matrix and trigger runners, and no runner accepts abbreviated options, so `--harness-n` cannot slip past the per-name dispatch. - A new harness is proved with a temporary `--harness` file before it is recorded by name; activation sets up the default harness only when the run uses it; `{skill_path}` is the path from the folder holding `.git` or `_bmad/`. * test(toolsmith): drop the count_tokens test that only runs with tiktoken installed
…eport (#3213) - The coding agent waits for its checks, stops a stuck one, and shuts down servers before reporting. - Verification runs the narrowest tests covering the changed files; the full suite only when the project asks. - Planning picks the simplest design, adds no speculative structure, and records in Design Notes whether growing repetition stays or is consolidated. - Design Notes carry the change's concrete decisions, not principles or project rules. - Plans name later tickets in the epic that cover nearby work under Never. - bmad-build reads the ticket from the branch name and no longer asks about plan size.
* feat(bmad-agent-po): add Shortcut ticket store Sofia can publish to Shortcut through its REST API v3 with curl and an API token in SHORTCUT_API_TOKEN: initiatives as objectives, epics as epics, stories with type, workflow state, labels, and blocked-by story links. * fix(bmad-agent-po): keep dropped out of Shortcut workflow-state lookups * docs: add Shortcut to the tracker map
…3214) tickets.py note appends one line to an unstarted ticket: its entry's notes in tickets.toml, or its leaf file's ## Notes. Repo store only; a ticket with a plan or a status, text over one line, text that cannot be encoded, and notes spread over several lines are refused before anything is written. bmad-build and bmad-build-auto may use it for a later ticket of the same epic, naming it by find's folder and its entry id, as the one exception to never writing a ticket file.
…#3217) * fix(tickets): name a leaf titled in a non-Latin script in that script Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(tickets): keep a slug of Latin text unchanged and short enough to name a file A title character with an ASCII form now takes it before its compatibility parts are read, so ʼn is n again, and modifier letters such as the ʻokina are dropped as before: Hawaiʻi slugs to hawaii. A slug is also held to 180 UTF-8 bytes, so a title in 4-byte characters still leaves room for the type, the -<id> suffix and -plan.md within a 255-byte file name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(tickets): tell a Latin letter by its Unicode block, not its name A letter's name does not always say it is Latin: TURNED CAPITAL F (Ⅎ) and the reversed and old Roman numerals are, and were kept in a slug where the old function dropped them. Latin letters and the symbols Latin text uses are now told by their Unicode blocks, and each character is checked as written, before normalizing could turn the ohm sign into the Greek omega. A test pulls and marks two tickets titled in 60 four-byte letters, the second with a six-digit id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(tickets): slug a title with no ASCII letter by Unicode's identifier rule Replace the hand-made Latin block table with the old ASCII slug, used unchanged, and a fallback for a title that folds to nothing: its letters, digits and marks as Unicode's identifier rule (UAX #31, str.isidentifier) allows them. Every slug that was not untitled is now byte-identical by construction, with no table and no dependency. A title mixing ASCII and another script keeps only its ASCII words, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rmat (#3220) The Toolsmith docs covered the mechanics but lost the range BMad Builder showed. This brings back what is still true for v7: - toolsmith.md: the dream, what you can build across personal, creative, business and software work, capturing your own work, agents with memory, and what Toolsmith gives teams - modules.md: why the bmod format installs anywhere skills do, a v6 comparison, more of what registering gives, and how to design a module - agents-with-memory.md: continuity of self, the Sacred Truth and standing rules, and domain tables for the thirtieth session, First Breath and Pulse - shapes.md: internal and external capabilities, and building the skill before the agent - distribute-your-module.md and help: other Git hosts, skills.sh and plugins - help: route work outside software and memory agents to Smithy, and note agents that carry several document templates
…me who offers each (#3219) * feat(method): move Mary's and John's templates into the module and name who offers each Mary's and John's skills listed their documents by name in their descriptions and instructions, so a request such as "write a PRFAQ" loaded John, and a new template could not reach either without editing both. - The 15 templates move from the two agents' `assets/` folders to `bmod-method/doc-templates/`, and each names the agents that offer it by default in `agents`, as the founder module's already do. - Mary now offers the opportunity assessment, the business case and the strategy narrative; the experiment card and the program charter name both agents. - Each description names kinds of document, not templates. The lists of whose document is whose leave both agents: either writes any document the user asks them for. - John's list of which template fits which level of the ticket tree is gone; each template's description says its level. Rules that named one template move into it: `business-case` and `narrative` close with `## For requirements`, `prd` and `srs` keep a BRD's ids, `prototype-plan` is the first offer for a hobby project. - `list_templates.py --brief` returns each template's `agents`; a replacement that names none reports the agents of the template it replaces. - The trigger matrix gains a query for each template. Method help, the document reference and the changelog follow the new owners and folder. * fix(bmad): name the skill whose folder holds a template in the short listing The short listing's `agents` read only a template's own list, so a template that names no one and sits in an agent's folder reported no owner, though `--agent` listed it for that agent. It now reports the skill whose folder holds it, for the template and for one it replaces. A module record's folder holds for no one.
… data (#3221) * feat(toolsmith): mine any agent's session logs and propose ideas, not data The from-logs approach no longer depends on a Claude Code transcript parser. The agent finds its own logs, or reads the projects, time span or files the user names, and digests large logs with one subagent per log. The evidence (counts, wording, tools, corrections verbatim) stays in the agent's context for ranking and discovery; the user sees each idea in a few sentences, as many as the logs support, strongest first. A need the logs show without a request is a candidate too. When the user picks none, the list is saved to the reports folder. Corrections to a skill the user owns go to edit mode; to an installed skill without customize.toml, they are reported for upstream; a repository rule goes to bmad-project-context as a pitfall. Tested on real logs in Claude Code, Codex and Antigravity. Removes read_session_log.py and its test. Trims the Toolsmith docs for approaches, modes, the eval runner, shapes and memory agents to what each flow does, why to use it, an example ask and its result, and adds diagrams for the build path, the eval loop and a memory agent's life. * fix(toolsmith): address review on from-logs and the trimmed docs Plan how to read large log sets instead of assuming one subagent per log, and default to recent logs for the project. Propose a customization only when customize.toml exposes what the corrections change. Restore the exceptions the docs trim dropped: env and home_files in clean eval runs, the AGENTS.md layout for a whole-workspace area, the skill name for a global memory agent, and the failing cases when an eval-first loop stops early. * fix(toolsmith): keep template edits on the customization route for from-logs
* fix: read frontmatter with PyYAML in four more scripts init_skill, run_triggers, migrate_v6 and list_customizable_skills each parsed frontmatter by hand. They now read it with yaml.BaseLoader, so every value stays text and block scalars, quoting and comments follow YAML. init_skill writes SKILL.md with yaml.safe_dump, and migrate_v6 writes its merged lists the same way. prepass imports init_skill, so it declares PyYAML too. * fix: treat frontmatter with a non-text name or description, or no mapping, as unreadable * fix(migrate): stop a spec fold before writing when frontmatter is not YAML
…by default (#3234) * feat(party-mode): weighted distilled panels and livelier rooms Distilled panels now report each segment's share, cast in proportion (six or seven at most), build personas from the common pattern rather than the loudest record, and list source records each member checks before reacting. Rooms end rounds inside the room instead of on a question to the user, drop narrator recaps and the opening list of other rooms, give characters range instead of a pet topic, and keep a holdout when a question invites a group verdict. Subagent mode is described as slower and usually weaker than session mode, and the built-in rooms no longer push it. Anti-Consensus Club members get a temperament. * refactor(party-mode): drop auto mode and stop selling subagents Session mode beat subagent mode in blind tests across every room type, so the skill and docs now describe session as the choice for almost everything and subagent as the slower option for personas that need their own long research. Auto mode is removed; its spawn triggers did not hold up. The retrospective asks for agents in character rather than independent subagents, and party mode asks about an initiative only when it writes to a path that uses one.
…that knows the development skills (#3235) The developer agent was still the old persona-and-menu template. It is now a rendered agent like Sofia: SKILL.md runs the renderer, workflow.md carries activation and dispatch, and one reference per capability says how to use a development skill: what to hand it, which options to name, what it leaves and what to do when it halts. - BUILD, REVIEW and WALKTHROUGH cover bmad-build, bmad-code-review and bmad-walkthrough. - UNATTENDED runs ready tickets through bmad-build-auto one worker at a time, honoring hitl and checkpoints, and explains a blocked run. - TESTS and RETRO invoke their skills directly, as before. The agent is renamed from Amelia to Mason, the Builder; the skill id stays bmad-agent-dev. The test-first persona text is removed. The agent sets no review depth of its own: each skill runs at its default, and a default is changed on the skill. How an unattended worker is started is a replaceable customization block. The roster, help topics, docs and ticket-tree rules now describe the new name and menu, and trigger queries for the agent are added under evals/.
A skeleton skill for large refactorings that discovers the plan instead of executing one: debate the end state, lock behavior with tests, build an exemplar slice with the user, check the remaining slices fit, then hand them to a customizable increment runner. Tracks the run as a narrative and an append-only log, following bmad-walkthrough.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A skeleton skill,
skills/method/bmad-refactoring-experimental/, for large refactorings. It is not registered or documented yet.Why
bmad-build fits a change with acceptance criteria. It does not fit a big refactoring, where behavior must not change, the user owns the target code shape, and the plan is discovered rather than known up front. Abstract designs handed to an agent come back wrong; a carefully built exemplar slice followed by "reshape the rest like this" works.
Shape
increment_runner(customizable); a misfit is reported, not improvised.The run is tracked as a narrative plus an append-only log under the initiative folder, following bmad-walkthrough, so it can resume.
Verification
uv run tools/validate_skills.py --strictpasses.uv run --frozen python -B -m pytestpasses.