1.4 KiB
1.4 KiB
Pull Request Instructions for Issue #872
Use this checklist to open a PR from your fork.
- Push branch
fix/872-architecture-commandto your fork (already pushed locally in this workspace). - On GitHub, click Compare & pull request with:
- Base repository: bmad-code-org/BMAD-METHOD
- Base branch: main
- Head repository: YOUR_FORK/BMAD-METHOD
- Head branch: fix/872-architecture-command
- Suggested PR title:
fix: anchor workflow commands for create-architecture - PR description (project template):
- What: Anchor generated workflow commands to
{project-root}so IDEs don’t resolve core/workflow paths relative to module folders; add regression test for thecreate-architectureworkflow command. - Why:
*workflow-init/*create-architecturecommands could fail with “workflow.xml does not exist” because generated command paths were relative (e.g.,.bmad/bmm/core/tasks/workflow.xml). Anchoring ensures commands point to.bmad/core/tasks/workflow.xmland the correct workflow file. - How:
- Update workflow command generator to prefix core/workflow paths with
{project-root}and anchor display paths for installed workflows. - Add installation component test validating anchored paths for the
create-architecturecommand.
- Update workflow command generator to prefix core/workflow paths with
- Testing:
npm test
- What: Anchor generated workflow commands to
- Submit the PR and link it to Issue #872.
If reviewers ask for proof, include the npm test output from your latest run.