Commit Graph

756 Commits

Author SHA1 Message Date
Cameron Pitt 9ff9956670 Add Opencode IDE installer (#820)
- Added docs/ide-info/opencode.md
- Added tool/cli/installers/lib/ide/opencode.js
- Modified tools/installers/lib/ide/core/detector.js to include
detection for opencode command dir
- Modified tools/cli/platform-codes.yaml to include opencode config
- Modified tools/cli/installers/lib/ide/workflow-command-template.md to
include frontmatter with description as opencode requires this for
commands and adding it to the template by default does not seem to
impact other IDEs
- Modified src/modules/bmm/workflows/workflow-status/workflow.yaml
description so that it properly escapes quotes when interpolated in the
teplate
2025-10-27 13:41:12 -07:00
Brian Madison 30a3ab4dde a few more instruction cleanup items 2025-10-27 13:41:12 -07:00
Brian Madison abf506778b tech context improved 2025-10-27 13:41:12 -07:00
Brian Madison 52525cc419 phase 4 more workflow cleanup 2025-10-27 13:41:12 -07:00
Brian Madison 4df7fe443f status normalization 2025-10-27 13:41:12 -07:00
Brian Madison c26e2a23fc better status loading and updating for phase 4 2025-10-27 13:41:12 -07:00
Brian Madison 872e12fade workflow phase 4 only has single sprint planning item in it now 2025-10-27 13:41:12 -07:00
Brian Madison 7e2341f863 sprint plan clearer comments 2025-10-27 13:41:12 -07:00
Brian Madison a6c2ff6a92 plan-project gone, and all level 1-3 workflows are dynamic from the workflow in suggesting what is next 2025-10-27 13:41:12 -07:00
Brian Madison 94f2572b0b validation tasks added 2025-10-27 13:41:12 -07:00
Brian Madison 1bf2cfdfd5 fix create-design workflow path 2025-10-27 13:41:12 -07:00
Brian Madison 84dc03bb61 create-ux-design refactor 2025-10-27 13:41:12 -07:00
Brian Madison d428bde452 ux expert -> ux designer 2025-10-27 13:41:12 -07:00
Brian Madison 14adc5e9fd checks checked 2025-10-27 13:41:12 -07:00
Brian Madison f6ca02d039 check alignment 2025-10-27 13:41:09 -07:00
Brian Madison 4c69dffc8f inline tag reference updtges 2025-10-27 13:39:29 -07:00
Brian Madison 41eca79742 use sprint plan for al workflow level 4 implementations 2025-10-27 13:39:29 -07:00
Brian Madison 4d0708e81e sprint status helpers, remove workflow integration from phase 4 items in prep of using sprint-planning status 2025-10-27 13:39:29 -07:00
Brian Madison 4072c32eca updates to the paths 2025-10-27 13:39:29 -07:00
Brian Madison 572ab2ec64 sprint status story location relative 2025-10-27 13:39:29 -07:00
Brian Madison de5390794f sprint-planning placeholder for future integration with jira linear and trello 2025-10-27 13:39:29 -07:00
Brian Madison 16a8ad42a6 sprint planning 2025-10-27 13:39:29 -07:00
Brian Madison 569e21ae8f architecture name standardization 2025-10-27 13:39:29 -07:00
Tiki f0a60e55f3 feat(tools/cli): Refactor Qwen IDE configuration logic to support modular command structure (#762)
- Unify BMad directory name from 'BMad' to lowercase 'bmad'
- Use shared utility functions [getAgentsFromBmad] and [getTasksFromBmad] to fetch agents and tasks
- Create independent subdirectory structures (agents, tasks) for each module
- Update file writing paths to store TOML files by module classification
- Remove legacy QWEN.md merged documentation generation logic
- Add TOML metadata header support (not available in previous versions)
- Clean up old version configuration directories (including uppercase BMad and bmad-method)
2025-10-27 13:39:29 -07:00
Alex Verkhovsky f86d185f57 fix: remove empty tasks directories from Claude Code installer (#776)
Previously, the installer created empty tasks/ directories under
.claude/commands/bmad/{module}/ and attempted to copy task files.
Since getTasksFromDir() filters for .md files only and all actual
tasks are .xml files, these directories remained empty.

Tasks are utility files referenced by agents via exec attributes
(e.g., exec="{project-root}/bmad/core/tasks/workflow.xml") and
should remain in the bmad/ directory - they are not slash commands.

Changes:
- Removed tasks directory creation in module setup
- Removed tasks copying logic (15 lines)
- Removed taskCount from console output
- Removed tasks property from return value
- Removed unused getTasksFromBmad and getTasksFromDir imports
- Updated comment to clarify agents-only installation

Verified: No tasks/ directories created in .claude/commands/bmad/
while task files remain accessible in bmad/core/tasks/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-27 13:39:29 -07:00
Jrakru 8bd4893065 fix(retrospective): align SM ownership in workflow paths and handoff (#770) 2025-10-27 13:39:29 -07:00
Alex Verkhovsky f252faade5 feat: add agent schema validation with comprehensive testing (#774)
Introduce automated validation for agent YAML files using Zod to ensure
schema compliance across all agent definitions. This feature validates
17 agent files across core and module directories, catching structural
errors and maintaining consistency.

Schema Validation (tools/schema/agent.js):
- Zod-based schema validating metadata, persona, menu, prompts, and critical actions
- Module-aware validation: module field required for src/modules/**/agents/,
  optional for src/core/agents/
- Enforces kebab-case unique triggers and at least one command target per menu item
- Validates persona.principles as array (not string)
- Comprehensive refinements for data integrity

CLI Validator (tools/validate-agent-schema.js):
- Scans src/{core,modules/*}/agents/*.agent.yaml
- Parses with js-yaml and validates using Zod schema
- Reports detailed errors with file paths and field paths
- Exits 1 on failures, 0 on success
- Accepts optional project_root parameter for testing

Testing (679 lines across 3 test files):
- test/test-cli-integration.sh: CLI behavior and error handling tests
- test/unit-test-schema.js: Direct schema validation unit tests
- test/test-agent-schema.js: Comprehensive fixture-based tests
- 50 test fixtures covering valid and invalid scenarios
- ESLint configured to support CommonJS test files
- Prettier configured to ignore intentionally broken fixtures

CI Integration (.github/workflows/lint.yaml):
- Renamed from format-check.yaml to lint.yaml
- Added schema-validation job running npm run validate:schemas
- Runs in parallel with prettier and eslint jobs
- Validates on all pull requests

Data Cleanup:
- Fixed src/core/agents/bmad-master.agent.yaml: converted persona.principles
  from string to array format

Documentation:
- Updated schema-classification.md with validation section
- Documents validator usage, enforcement rules, and CI integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-27 13:39:29 -07:00
Brian Madison cd0ba15047 massive architecture creation overhaul 2025-10-27 13:39:29 -07:00
Brian Madison 3c2f38db9a architecture reorganization in preparation of architecture solutioning rework 2025-10-27 13:39:29 -07:00
Brian Madison 625b820964 installer updates, bmd module added and moved out of src, created a plan for module installation tool for custom modules, minor flow improvements 2025-10-27 13:39:29 -07:00
Brian Madison 58630e4c6c readme updated 2025-10-27 13:39:29 -07:00
Dave Dittrich 6277f78bdf fix: Replace all v5 references with v6 in bmad/bmb/ directory
Updated all references to 'v5' with 'v6' (case-insensitive) in both
source files (src/modules/bmb/) and built files (bmad/bmb/):

- workflows/module-brief/README.md: Updated footer reference
- workflows/create-module/README.md: Updated footer reference
- workflows/create-workflow/README.md: Updated version history
- workflows/convert-legacy/checklist.md: Updated all compliance sections
- workflows/convert-legacy/instructions.md: Updated all conversion mappings
- workflows/convert-legacy/README.md: Updated documentation
- workflows/convert-legacy/workflow.yaml: Updated header comment

All v4-to-v5 conversion references now correctly reference v4-to-v6.
Build and validation tests passed successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 23:44:58 -07:00
Brian Madison 940cc15751 cli installer bundler documentation added 2025-10-18 10:20:29 -05:00
Brian Madison c0a2c55267 clearer codex install note 2025-10-18 09:41:38 -05:00
Brian Madison a1fc8da03c workflow init added to analyst pm and game agents 2025-10-18 01:34:03 -05:00
Brian Madison 36231173d1 workflows consistent method to update status file 2025-10-17 23:44:43 -05:00
Brian Madison 5788be64d0 installer temp updates 2025-10-17 22:42:36 -05:00
Brian Madison b54bb9e47d workflow references to moved workflow status workflow 2025-10-17 22:34:21 -05:00
Brian Madison af8e296e6f all phase 4 workflows use status check workflow update 2025-10-17 20:33:38 -05:00
Brian Madison e92f138f3d doc output lang vs com lang 2025-10-17 19:46:25 -05:00
Brian Madison ffd354b605 arch alignment with workflows 2025-10-17 16:44:06 -05:00
Brian Madison 9519eae666 workflow plan realignment 2025-10-17 00:44:05 -05:00
Brian Madison bc7d679366 workflow simplified 2025-10-17 00:19:45 -05:00
Brian Madison 54985778f2 minor fixes 2025-10-16 21:50:50 -05:00
Murat K Ozcan 84a70d8331
reafactor: test arch audit (#758)
Co-authored-by: Murat Ozcan <murat@mac.lan>
2025-10-16 19:58:37 -05:00
Murat K Ozcan bee9c5dce7
feat: migrate test architect entirely (#750)
* feat: migrate test architect entirely to v6

* format fixed

* feat: integrated new playwright mcp

---------

Co-authored-by: Murat Ozcan <murat@mac.lan>
2025-10-16 11:09:51 -05:00
Brian Madison 7f0e57e466 bmb updates 2025-10-16 09:50:29 -05:00
Brian Madison 790c4cedf4 remaining bmm workflows bloat removed 2025-10-16 08:58:09 -05:00
Brian Madison e77a1c036b 1-analysis workflow-state yaml streamlined 2025-10-16 08:26:26 -05:00
Brian Madison 1fe405eb64 1-analysis intentionalized 2025-10-16 08:11:22 -05:00