Commit Graph

742 Commits

Author SHA1 Message Date
Sallvainian c2c23454c1 chore: remove development files from tracking
Remove development-specific files and directories from git tracking:
- .vscode/settings.json (IDE config)
- claudedocs/ (development documentation)
- scripts/ (development scripts)
- v6-open-items.md (development notes)
- OPENCODE_INTEGRATION_SUMMARY.md (development summary)

These files are now gitignored to prevent accidental commits.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 21:17:11 -04:00
Sallvainian 30e7e99c6a feat: add BMAD handoff workflows for agent context preservation
Add two new BMAD Core workflows for preserving context between agent sessions:

- `/handoff` - Creates comprehensive handoff memory and saves to Serena
- `/handoff-receive` - Loads and displays handoff from previous agent

Features:
- Timestamped memory naming (YYYY-MM-DD-HHmmss) prevents collisions
- Workflow status file validation and field extraction
- Intelligent handoff selection (newest first, with fallbacks)
- Structured handoff format with work completed, task, context, files, success criteria
- Error recovery and graceful degradation
- Backward compatible with legacy date-only format

Files:
- bmad/core/workflows/handoff/ - Handoff creation workflow
- bmad/core/workflows/handoff-receive/ - Handoff receive workflow
- .claude/commands/bmad/core/workflows/ - Original standalone commands (for reference)
- bmad/_cfg/workflow-manifest.csv - Workflow registration
- .gitignore - Allow .claude/commands/ distribution

Integration:
- Works with BMAD /workflow-status command
- Requires Serena MCP for memory persistence
- Tested with BMAD v6.x

Note: Original hardened slash commands are included in .claude/commands/
for reference. If the BMAD workflow versions need adjustment, the original
standalone commands can be used as a fallback or reference implementation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 21:09:04 -04:00
Sallvainian d770a4e1f9 docs: add local development guide and clarify fork-only features
- Created docs/V6_LOCAL_DEVELOPMENT.md with comprehensive guide
- Added dev:install, dev:status, dev:list, dev:uninstall npm scripts
- Updated OpenCode preservation docs with fork-only warnings
- Clarified that npx downloads published version without OpenCode
- Documented direct node execution as primary development method

This resolves the issue where npx bmad-method was downloading the
published npm package instead of using the local fork version with
OpenCode integration.
2025-10-20 03:20:49 -04:00
Sallvainian 35df388127 Rename TeachFlow module to BTF: BMad Teach Flow
- Updated display name from 'TeachFlow: 3D Learning & Standards Alignment for Educators' to 'BTF: BMad Teach Flow'
- Renamed config file to match new upstream convention: install-menu-config.yaml → install-config.yaml
- Maintains consistency with other module naming (BMB, BMM, CIS)
2025-10-20 01:51:32 -04:00
Sallvainian 61ae41a0c7 Merge upstream v6-alpha into fork
Merged 4 upstream commits:
- 2a6eb71: massive architecture creation overhaul
- d3402c3: architecture reorganization
- 0a048f2: installer updates, bmd module added
- eb9a214: readme updated

Critical fork modifications preserved:
 Installer skip block (tools/cli/installers/lib/core/installer.js:913-916)
 OpenCode integration (tools/cli/installers/lib/ide/opencode.js)
 comment-json dependency

No conflicts encountered - clean automatic merge.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 01:42:35 -04:00
Sallvainian 0544964a87 docs: add OpenCode preservation to merge-upstream workflow
Extends merge-upstream workflow to preserve OpenCode integration during
upstream merges alongside existing installer modification preservation.

Changes:
- Add Serena memory: CRITICAL-opencode-fork-integration
- Create claudedocs/opencode-integration-reference.md
  * Complete recovery procedures
  * Verification commands (3-tier checking)
  * Integration with merge workflow
- Update bmad/workflows/merge-upstream/instructions.md
  * Step 3: Document both modifications
  * Step 4: Verify both before merge
  * Step 7: Verify both after merge (7a installer, 7b OpenCode)
  * Step 8: Update both Serena memories

OpenCode Preservation Strategy:
 Additive modification (new file) = lower risk than inline changes
 3-tier verification: file existence, dependency, runtime discovery
 Recovery: restore from backup branch
 Dependencies: comment-json in package.json

Files to Preserve:
- tools/cli/installers/lib/ide/opencode.js (602 lines)
- "comment-json": "^4.2.5" in package.json
- OPENCODE_INTEGRATION_SUMMARY.md (documentation)

Verification Commands:
1. test -f tools/cli/installers/lib/ide/opencode.js
2. grep -q "comment-json" package.json
3. Node runtime check via IDE manager

Recovery: Restore files from backup-before-pull-* branch

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 00:38:22 -04:00
Brian Madison 2a6eb71612 massive architecture creation overhaul 2025-10-19 23:28:38 -05:00
Brian Madison d3402c3132 architecture reorganization in preparation of architecture solutioning rework 2025-10-19 15:28:33 -05:00
Sallvainian b3975f628f Implement OpenCode integration for BMAD Method V6
Adds full OpenCode IDE support following V6 architecture patterns.

Changes:
- Add comment-json dependency for JSONC parsing
- Implement tools/cli/installers/lib/ide/opencode.js (590 lines)
  * Generates opencode.json/opencode.jsonc with file references
  * Supports agent/command prefix configuration
  * Auto-generates AGENTS.md for system prompt
  * Handles expansion packs and module filtering
  * Idempotent merges with collision detection
- Add comprehensive implementation documentation

Features:
 JSON-only config with file references {file:./.bmad-core/...}
 Optional prefixes (bmad- for agents, bmad:tasks: for commands)
 AGENTS.md generation for OpenCode system prompt
 Metadata extraction (whenToUse, Purpose)
 Expansion pack support
 Reversible cleanup
 Auto-discovery by IDE manager

Architecture:
- Extends BaseIdeSetup following V6 patterns
- Uses shared bmad-artifacts utilities
- Implements collectConfiguration() for user preferences
- Supports selectedModules filtering
- No manual registration required

Based on V4 OpenCode implementation but adapted to V6's modular
architecture with improved module handling and shared utilities.

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 16:26:45 -04:00
Brian Madison 0a048f2ccc 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-19 11:59:27 -05:00
Sallvainian 18c051df82 Add backup branch cleanup to merge-upstream workflow
- Added new step 9: Clean up backup branches after successful merge
- Automatically deletes all backup-before-pull-* branches
- Reports cleanup count in completion summary
- Updated checklist with cleanup validation items
- Renumbered final step from 9 to 10
2025-10-19 02:22:42 -04:00
Sallvainian aee4e4d479 Update merge-upstream reference doc with current backup branch 2025-10-19 02:17:44 -04:00
Sallvainian 4cfa0f8c6f Add merge-upstream workflow and documentation
- Created merge-upstream workflow configuration
- Added workflow instructions and validation checklist
- Added installer modification reference documentation
- Updated workflow manifest
2025-10-19 02:15:13 -04:00
Sallvainian 506ab11b33 Merge remote-tracking branch 'upstream/v6-alpha' into v6-alpha 2025-10-18 13:39:34 -04:00
Brian Madison eb9a214115 readme updated 2025-10-18 12:19:47 -05: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
Sallvainian 59186deade Merge branch 'v6-alpha' of https://github.com/bmad-code-org/BMAD-METHOD into v6-alpha 2025-10-17 01:56:59 -04: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
Sallvainian 71ce18f292 Merge branch 'v6-alpha' of https://github.com/Sallvainian/BMAD-METHOD into v6-alpha 2025-10-16 16:18:43 -04:00
Sallvainian cf8f1e9a4c Add local changes: installer updates, scripts, teachflow module, web-bundles 2025-10-16 16:18:22 -04: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
Brian Madison 516fa1a917 intent based workflow 2025-10-16 07:58:28 -05:00
Brian Madison a28a350e14 workflow builder understand existing_workflows tag for web bundles, and cleanup comtinues 2025-10-16 07:24:38 -05:00
Brian Madison 73ba7afa90 update additional location audit workflow 2025-10-16 00:15:18 -05:00
Brian Madison fb5e40319f added audit workflow worfklow 2025-10-16 00:09:19 -05:00
Brian Madison bcac484319 remove old webbundles 2025-10-15 23:51:07 -05:00
Brian Madison 72b6640f4b workflow cleanup 2025-10-15 23:50:34 -05:00
Brian Madison f4b16bfacf planning workflow alignment 2025-10-15 23:10:33 -05:00
Brian Madison b9b219a13b prd cleanup 2025-10-15 21:17:09 -05:00
Brian Madison 9b427a4e2b planning tech spec cleanup 2025-10-14 20:20:55 -05:00
Brian Madison 0f126b7f87 consolidated prd isntruction 2025-10-14 19:58:44 -05:00
Brian Madison 4b6f34dff8 date removed from status file, status file renamed 2025-10-13 22:32:35 -05:00
Brian Madison 27586e6a40 context should use relative paths 2025-10-13 21:11:20 -05:00
Brian Madison 5eb410d622 update config re deprecated removed file 2025-10-13 19:29:19 -05:00
Brian Madison f1965810a6 adv elicitation project updated to hopefully not be skipped as optional anymore. further workflow updates. 2025-10-13 00:33:06 -05:00