bmad-plus 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +108 -30
  2. package/README.md +23 -23
  3. package/SECURITY.md +9 -1
  4. package/osint-agent-package/README.md +13 -0
  5. package/osint-agent-package/SETUP_KEYS.md +13 -0
  6. package/package.json +32 -8
  7. package/readme-international/README.de.md +133 -542
  8. package/readme-international/README.es.md +135 -561
  9. package/readme-international/README.fr.md +134 -558
  10. package/src/bmad-plus/agents/agent-shadow/SKILL.md +6 -0
  11. package/src/bmad-plus/packs/pack-memory/README.md +1 -1
  12. package/src/bmad-plus/packs/pack-memory/memory-orchestrator.md +1 -1
  13. package/src/bmad-plus/packs/pack-memory/shared/memory-protocol.md +1 -1
  14. package/src/bmad-plus/packs/pack-shield/README.md +2 -0
  15. package/src/bmad-plus/packs/pack-shield/SKILL.md +2 -0
  16. package/src/bmad-plus/packs/pack-shield/shared/audit-report-template.md +6 -0
  17. package/src/bmad-plus/packs/pack-shield/shield-orchestrator.md +4 -0
  18. package/src/bmad-plus/skills/bmad-plus-uat/SKILL.md +61 -1
  19. package/src/bmad-plus/skills/bmad-plus-uat/ref/uat-results.schema.json +11 -0
  20. package/src/bmad-plus/skills/bmad-plus-uat/template/page.html +455 -137
  21. package/src/bmad-plus/skills/bmad-plus-uat/template/strings.json +230 -20
  22. package/tools/build/adapters.config.js +1 -1
  23. package/tools/build/generate-adapters.js +186 -60
  24. package/tools/build/generate.js +49 -13
  25. package/tools/cli/bmad-plus-cli.js +3 -6
  26. package/tools/cli/commands/autoconfig.js +62 -22
  27. package/tools/cli/commands/install.js +620 -356
  28. package/tools/cli/commands/memory.js +40 -13
  29. package/tools/cli/commands/scan.js +94 -30
  30. package/tools/cli/commands/uat.js +50 -5
  31. package/tools/cli/commands/uninstall.js +65 -16
  32. package/tools/cli/commands/update-check.js +13 -4
  33. package/tools/cli/commands/update-policy.js +14 -5
  34. package/tools/cli/commands/update.js +96 -21
  35. package/tools/cli/i18n.js +120 -68
  36. package/tools/cli/lib/ide-config.js +3 -1
  37. package/tools/cli/lib/install-manifest.js +32 -7
  38. package/tools/cli/lib/installation-health.js +33 -1
  39. package/tools/cli/lib/installed-adapters.js +29 -6
  40. package/tools/cli/lib/memory-init.js +19 -4
  41. package/tools/cli/lib/packs.js +17 -28
  42. package/tools/cli/lib/path-hash.js +5 -1
  43. package/tools/cli/lib/python-provision.js +51 -12
  44. package/tools/cli/lib/stack-detect.js +51 -25
  45. package/tools/cli/lib/uat.js +139 -1
  46. package/tools/cli/lib/update-check.js +132 -34
  47. package/tools/cli/lib/update-dispatch.js +2 -2
  48. package/tools/cli/lib/update-policy.js +57 -19
  49. package/tools/cli/lib/update-transaction.js +439 -85
  50. package/tools/build/README.md +0 -78
  51. package/tools/build/check-counts.js +0 -626
  52. package/tools/build/check-install-contract.js +0 -648
  53. package/tools/build/generated-adapters/.codex/AGENTS.md +0 -134
  54. package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +0 -139
  55. package/tools/build/generated-adapters/.opencode/AGENTS.md +0 -134
  56. package/tools/build/generated-adapters/AGENTS.md +0 -132
  57. package/tools/build/generated-adapters/CLAUDE.md +0 -135
  58. package/tools/build/generated-adapters/CONVENTIONS.md +0 -134
  59. package/tools/build/generated-adapters/GEMINI.md +0 -139
  60. package/tools/build/generated-adapters/README.md +0 -79
  61. package/tools/maintain/upstream-candidate.js +0 -456
  62. package/tools/release/publication-content.js +0 -904
  63. package/tools/release/supply-chain.js +0 -282
@@ -1,135 +0,0 @@
1
- <!-- AUTO-GENERATED by tools/build/generate-adapters.js — DO NOT EDIT. -->
2
- <!-- Source of truth: registry.yaml → spine AGENTS.md. Regenerate: node tools/build/generate-adapters.js -->
3
-
4
- # BMAD+ — Adapter for claude-code
5
-
6
- This file is a THIN adapter. The single source of truth for agents, packs,
7
- skills, and workflows is the spine file: **AGENTS.md** (project root).
8
- Read AGENTS.md first; this adapter only adds tool-specific invocation notes.
9
-
10
- ## Tool notes — claude-code
11
-
12
- - Claude Code loads `CLAUDE.md` from the project root automatically.
13
- - Activate an agent by saying its name (see the spine for the full roster).
14
- - Skills are loaded from `.agents/skills/`; auto-activation triggers live in `.agents/data/role-triggers.yaml`.
15
-
16
- ## Project Context
17
-
18
- This project uses BMAD+, an augmented AI-driven development framework.
19
- Based on BMAD-METHOD v6.6.0 with multi-role agents, autopilot mode, and parallel execution.
20
-
21
- <!-- Hand-authored project instructions — single source: tools/build/adapters.config.js. -->
22
- <!-- Edit the config, then regenerate; never edit this file directly. -->
23
-
24
- ## Agents
25
-
26
- To activate an agent, say its name or persona:
27
-
28
- - **Atlas** (Strategist) — Business analysis + Product management
29
- - **Forge** (Architect-Dev) — Architecture + Development + Documentation
30
- - **Sentinel** (Quality) — QA + UX review
31
- - **Nexus** (Orchestrator) — Sprint management + Autopilot + Parallel execution
32
- - **Shadow** (OSINT) — Investigation + Scraping + Psychoprofiling (OSINT)
33
- - **Maker** (Agent Creator) — Design, build, validate, and package new BMAD+ agents (Maker)
34
- - **Shield** (GRC) — Compliance agents for GDPR, ISO 27001, SOC 2, HIPAA, EU AI Act, DORA, NIS2 and more (Shield)
35
- - **SEO Scout** (Technical Scanner) — Crawling + technical inspection + performance (SEO)
36
- - **SEO Chief** (Strategist & Reporter) — Scoring + strategy + reporting (SEO)
37
- - **SEO Judge** (Content & AI Analyst) — Content quality + structured data + GEO analysis (SEO)
38
- - **Zecher** (זכר, Memory Guardian) — Memory Archivist — Persistent cross-session memory, consolidation, project scanning, context recall, session handoffs (Memory)
39
- - **Miriam** (מרים) — Business Analyst — Strategic analysis, research, product briefs (Dev Studio)
40
- - **Huldah** (חולדה) — Technical Writer — Documentation, diagrams, editorial review (Dev Studio)
41
- - **Yosef** (יוסף) — Product Manager — PRD, requirements, feature prioritization (Dev Studio)
42
- - **Rachel** (רחל) — UX Designer — User experience, wireframes, empathy mapping (Dev Studio)
43
- - **Bezalel** (בצלאל) — System Architect — Architecture, ADRs, epics & stories (Dev Studio)
44
- - **Oholiab** (אהליאב) — Senior Engineer — TDD, sprint, code review, implementation (Dev Studio)
45
- - **Backup Manager** (Backup & Restore) — Timestamped backups, restoration, and rotation (Backup)
46
- - **Animated Website Creator** (Website Builder) — Video-driven scrolling websites (Animated)
47
-
48
- ## Skills
49
-
50
- - Installed projects load skills from `.agents/skills/`; in this repository the sources live in `src/bmad-plus/skills/` and `src/bmad-plus/agents/`.
51
- - Each agent has a SKILL.md with capabilities, activation protocol, and role-switching rules.
52
- - Auto-activation triggers: `.agents/data/role-triggers.yaml` (source: `src/bmad-plus/data/role-triggers.yaml`).
53
-
54
- ## Project Structure
55
-
56
- - `src/bmad-plus/` — Custom module (agents, skills, data)
57
- - `monitor/` — Upstream monitoring system (VPS)
58
- - `mcp-server/` — Audit 360° MCP Server
59
- - `osint-agent-package/` — OSINT package
60
- - `upstream/` — BMAD-METHOD reference clone
61
-
62
- ## Communication
63
-
64
- - User name: laurent
65
- - Default language: Français for user-facing content, English for code and technical docs.
66
-
67
- ## Commit Rules
68
-
69
- - NEVER add "Co-Authored-By: Claude" or any AI co-author attribution.
70
- - The sole author is Laurent Rochetta.
71
-
72
- ## Repository Maintenance Rule
73
-
74
- When updating the main README.md (English), you MUST synchronously update all translations in the readme-international/ directory (fr, es, de).
75
-
76
- ## Memory Protocol (Karpathy Guardrails)
77
-
78
- Agents MUST follow these behavioral principles:
79
-
80
- ### G1 — Think Before Coding
81
-
82
- - State assumptions explicitly. If uncertain, ask.
83
- - Check `.agents/memory/decisions.md` for prior decisions before re-deciding.
84
-
85
- ### G2 — Simplicity First
86
-
87
- - Minimum code that solves the problem. Nothing speculative.
88
- - Check `.agents/memory/patterns.md` for existing solutions.
89
-
90
- ### G3 — Surgical Changes
91
-
92
- - Touch only what you must. Match existing style.
93
- - Log surprises in `.agents/memory/lessons.md`.
94
-
95
- ### G4 — Goal-Driven Execution
96
-
97
- - Define success criteria before implementing.
98
- - Log non-obvious decisions in `.agents/memory/decisions.md`.
99
-
100
- ### Memory Files
101
-
102
- - `.agents/memory/decisions.md` — Read at session start, write when making decisions
103
- - `.agents/memory/lessons.md` — Write when something unexpected happens
104
- - `.agents/memory/patterns.md` — Write when a reusable pattern is validated
105
- - `.agents/memory/context.md` — Update at session end with project state
106
-
107
- ## Framework updates
108
-
109
- Once per session, check the installed framework before starting project work. If this is the BMAD+ source checkout, use `node tools/cli/bmad-plus-cli.js update-check --json`; otherwise use `npx --no-install bmad-plus update-check --json` from the project root.
110
- If the command is unavailable or the result is off, unknown, offline or stale, continue the user task. Do not install a CLI just to perform this check or claim that an offline version is current.
111
- When `updateAvailable` is true and `canAutoApply` is true, run the same CLI with `update --latest --auto`. This follows the project update policy; it does not grant permission to expand that policy.
112
- When an update is available but automatic application is not eligible, explain the version and reason. An explicit request to update can be fulfilled with `update --latest --yes`; do not change the policy, overwrite customized files, or resolve conflicts without the user request covering that action.
113
- After a successful update, reread the project spine and relevant installed skills, or start a fresh session if the client cannot reload them. Respect preserved local instructions. Check only once even when several adapters include this section.
114
-
115
- ## Registry facts (computed from registry.yaml — never hand-typed)
116
-
117
- - Product: BMAD+ v0.17.0 (derived from BMAD-METHOD v6.6.0)
118
- - Models supported: claude, gpt, gemini, local (model-agnostic by contract)
119
- - Packs (9): Core, OSINT, Maker, Shield, SEO, Memory, Dev Studio, Backup, Animated
120
- - Installer agents (14 across all packs):
121
- - Core (required): 4 installer agents — Core agents & skills
122
- - OSINT: 1 installer agent — OSINT & investigation — 2 compliance frameworks
123
- - Maker: 1 installer agent — Agent creation toolkit
124
- - Shield: 1 installer agent — GRC compliance (26 frameworks) — 27 specialized agents, 11 workflows, 26 compliance frameworks
125
- - SEO: 3 installer agents — SEO audit & optimization — 1 compliance frameworks
126
- - Memory: 1 installer agent — Persistent cross-session memory
127
- - Dev Studio: 1 installer agent — SDLC automation (6 agents, specialized workflows) — 6 sub-agents, 38 workflows
128
- - Backup: 1 installer agent — Backup & restore
129
- - Animated: 1 installer agent — Animated website agents
130
-
131
- ## Key commands
132
-
133
- - `bmad-help` — Show all available agents and skills
134
- - `autopilot` — Launch the orchestrator (Nexus) in full pipeline mode
135
- - `parallel` — Enable parallel multi-agent execution
@@ -1,134 +0,0 @@
1
- <!-- AUTO-GENERATED by tools/build/generate-adapters.js — DO NOT EDIT. -->
2
- <!-- Source of truth: registry.yaml → spine AGENTS.md. Regenerate: node tools/build/generate-adapters.js -->
3
-
4
- # BMAD+ — Adapter for aider
5
-
6
- This file is a THIN adapter. The single source of truth for agents, packs,
7
- skills, and workflows is the spine file: **AGENTS.md** (project root).
8
- Read AGENTS.md first; this adapter only adds tool-specific invocation notes.
9
-
10
- ## Tool notes — aider
11
-
12
- - Aider does not auto-load convention files: add `read: CONVENTIONS.md` to `.aider.conf.yml` or run `/read CONVENTIONS.md`.
13
- - Treat the spine as the single source of truth; this file only adds Aider-specific notes.
14
-
15
- ## Project Context
16
-
17
- This project uses BMAD+, an augmented AI-driven development framework.
18
- Based on BMAD-METHOD v6.6.0 with multi-role agents, autopilot mode, and parallel execution.
19
-
20
- <!-- Hand-authored project instructions — single source: tools/build/adapters.config.js. -->
21
- <!-- Edit the config, then regenerate; never edit this file directly. -->
22
-
23
- ## Agents
24
-
25
- To activate an agent, say its name or persona:
26
-
27
- - **Atlas** (Strategist) — Business analysis + Product management
28
- - **Forge** (Architect-Dev) — Architecture + Development + Documentation
29
- - **Sentinel** (Quality) — QA + UX review
30
- - **Nexus** (Orchestrator) — Sprint management + Autopilot + Parallel execution
31
- - **Shadow** (OSINT) — Investigation + Scraping + Psychoprofiling (OSINT)
32
- - **Maker** (Agent Creator) — Design, build, validate, and package new BMAD+ agents (Maker)
33
- - **Shield** (GRC) — Compliance agents for GDPR, ISO 27001, SOC 2, HIPAA, EU AI Act, DORA, NIS2 and more (Shield)
34
- - **SEO Scout** (Technical Scanner) — Crawling + technical inspection + performance (SEO)
35
- - **SEO Chief** (Strategist & Reporter) — Scoring + strategy + reporting (SEO)
36
- - **SEO Judge** (Content & AI Analyst) — Content quality + structured data + GEO analysis (SEO)
37
- - **Zecher** (זכר, Memory Guardian) — Memory Archivist — Persistent cross-session memory, consolidation, project scanning, context recall, session handoffs (Memory)
38
- - **Miriam** (מרים) — Business Analyst — Strategic analysis, research, product briefs (Dev Studio)
39
- - **Huldah** (חולדה) — Technical Writer — Documentation, diagrams, editorial review (Dev Studio)
40
- - **Yosef** (יוסף) — Product Manager — PRD, requirements, feature prioritization (Dev Studio)
41
- - **Rachel** (רחל) — UX Designer — User experience, wireframes, empathy mapping (Dev Studio)
42
- - **Bezalel** (בצלאל) — System Architect — Architecture, ADRs, epics & stories (Dev Studio)
43
- - **Oholiab** (אהליאב) — Senior Engineer — TDD, sprint, code review, implementation (Dev Studio)
44
- - **Backup Manager** (Backup & Restore) — Timestamped backups, restoration, and rotation (Backup)
45
- - **Animated Website Creator** (Website Builder) — Video-driven scrolling websites (Animated)
46
-
47
- ## Skills
48
-
49
- - Installed projects load skills from `.agents/skills/`; in this repository the sources live in `src/bmad-plus/skills/` and `src/bmad-plus/agents/`.
50
- - Each agent has a SKILL.md with capabilities, activation protocol, and role-switching rules.
51
- - Auto-activation triggers: `.agents/data/role-triggers.yaml` (source: `src/bmad-plus/data/role-triggers.yaml`).
52
-
53
- ## Project Structure
54
-
55
- - `src/bmad-plus/` — Custom module (agents, skills, data)
56
- - `monitor/` — Upstream monitoring system (VPS)
57
- - `mcp-server/` — Audit 360° MCP Server
58
- - `osint-agent-package/` — OSINT package
59
- - `upstream/` — BMAD-METHOD reference clone
60
-
61
- ## Communication
62
-
63
- - User name: laurent
64
- - Default language: Français for user-facing content, English for code and technical docs.
65
-
66
- ## Commit Rules
67
-
68
- - NEVER add "Co-Authored-By: Claude" or any AI co-author attribution.
69
- - The sole author is Laurent Rochetta.
70
-
71
- ## Repository Maintenance Rule
72
-
73
- When updating the main README.md (English), you MUST synchronously update all translations in the readme-international/ directory (fr, es, de).
74
-
75
- ## Memory Protocol (Karpathy Guardrails)
76
-
77
- Agents MUST follow these behavioral principles:
78
-
79
- ### G1 — Think Before Coding
80
-
81
- - State assumptions explicitly. If uncertain, ask.
82
- - Check `.agents/memory/decisions.md` for prior decisions before re-deciding.
83
-
84
- ### G2 — Simplicity First
85
-
86
- - Minimum code that solves the problem. Nothing speculative.
87
- - Check `.agents/memory/patterns.md` for existing solutions.
88
-
89
- ### G3 — Surgical Changes
90
-
91
- - Touch only what you must. Match existing style.
92
- - Log surprises in `.agents/memory/lessons.md`.
93
-
94
- ### G4 — Goal-Driven Execution
95
-
96
- - Define success criteria before implementing.
97
- - Log non-obvious decisions in `.agents/memory/decisions.md`.
98
-
99
- ### Memory Files
100
-
101
- - `.agents/memory/decisions.md` — Read at session start, write when making decisions
102
- - `.agents/memory/lessons.md` — Write when something unexpected happens
103
- - `.agents/memory/patterns.md` — Write when a reusable pattern is validated
104
- - `.agents/memory/context.md` — Update at session end with project state
105
-
106
- ## Framework updates
107
-
108
- Once per session, check the installed framework before starting project work. If this is the BMAD+ source checkout, use `node tools/cli/bmad-plus-cli.js update-check --json`; otherwise use `npx --no-install bmad-plus update-check --json` from the project root.
109
- If the command is unavailable or the result is off, unknown, offline or stale, continue the user task. Do not install a CLI just to perform this check or claim that an offline version is current.
110
- When `updateAvailable` is true and `canAutoApply` is true, run the same CLI with `update --latest --auto`. This follows the project update policy; it does not grant permission to expand that policy.
111
- When an update is available but automatic application is not eligible, explain the version and reason. An explicit request to update can be fulfilled with `update --latest --yes`; do not change the policy, overwrite customized files, or resolve conflicts without the user request covering that action.
112
- After a successful update, reread the project spine and relevant installed skills, or start a fresh session if the client cannot reload them. Respect preserved local instructions. Check only once even when several adapters include this section.
113
-
114
- ## Registry facts (computed from registry.yaml — never hand-typed)
115
-
116
- - Product: BMAD+ v0.17.0 (derived from BMAD-METHOD v6.6.0)
117
- - Models supported: claude, gpt, gemini, local (model-agnostic by contract)
118
- - Packs (9): Core, OSINT, Maker, Shield, SEO, Memory, Dev Studio, Backup, Animated
119
- - Installer agents (14 across all packs):
120
- - Core (required): 4 installer agents — Core agents & skills
121
- - OSINT: 1 installer agent — OSINT & investigation — 2 compliance frameworks
122
- - Maker: 1 installer agent — Agent creation toolkit
123
- - Shield: 1 installer agent — GRC compliance (26 frameworks) — 27 specialized agents, 11 workflows, 26 compliance frameworks
124
- - SEO: 3 installer agents — SEO audit & optimization — 1 compliance frameworks
125
- - Memory: 1 installer agent — Persistent cross-session memory
126
- - Dev Studio: 1 installer agent — SDLC automation (6 agents, specialized workflows) — 6 sub-agents, 38 workflows
127
- - Backup: 1 installer agent — Backup & restore
128
- - Animated: 1 installer agent — Animated website agents
129
-
130
- ## Key commands
131
-
132
- - `bmad-help` — Show all available agents and skills
133
- - `autopilot` — Launch the orchestrator (Nexus) in full pipeline mode
134
- - `parallel` — Enable parallel multi-agent execution
@@ -1,139 +0,0 @@
1
- <!-- AUTO-GENERATED by tools/build/generate-adapters.js — DO NOT EDIT. -->
2
- <!-- Source of truth: registry.yaml → spine AGENTS.md. Regenerate: node tools/build/generate-adapters.js -->
3
-
4
- # BMAD+ — Adapter for gemini-cli + antigravity
5
-
6
- This file is a THIN adapter. The single source of truth for agents, packs,
7
- skills, and workflows is the spine file: **AGENTS.md** (project root).
8
- Read AGENTS.md first; this adapter only adds tool-specific invocation notes.
9
-
10
- ## Tool notes — gemini-cli
11
-
12
- - Gemini CLI loads `GEMINI.md` from the project root automatically.
13
- - Activate an agent by saying its name (see the spine for the full roster).
14
-
15
- ## Tool notes — antigravity
16
-
17
- - Antigravity reads the same `GEMINI.md` file (detected via `.gemini/antigravity`).
18
- - Concurrency rule: coordinate with other agentic CLIs before writing — never edit the same files simultaneously.
19
-
20
- ## Project Context
21
-
22
- This project uses BMAD+, an augmented AI-driven development framework.
23
- Based on BMAD-METHOD v6.6.0 with multi-role agents, autopilot mode, and parallel execution.
24
-
25
- <!-- Hand-authored project instructions — single source: tools/build/adapters.config.js. -->
26
- <!-- Edit the config, then regenerate; never edit this file directly. -->
27
-
28
- ## Agents
29
-
30
- To activate an agent, say its name or persona:
31
-
32
- - **Atlas** (Strategist) — Business analysis + Product management
33
- - **Forge** (Architect-Dev) — Architecture + Development + Documentation
34
- - **Sentinel** (Quality) — QA + UX review
35
- - **Nexus** (Orchestrator) — Sprint management + Autopilot + Parallel execution
36
- - **Shadow** (OSINT) — Investigation + Scraping + Psychoprofiling (OSINT)
37
- - **Maker** (Agent Creator) — Design, build, validate, and package new BMAD+ agents (Maker)
38
- - **Shield** (GRC) — Compliance agents for GDPR, ISO 27001, SOC 2, HIPAA, EU AI Act, DORA, NIS2 and more (Shield)
39
- - **SEO Scout** (Technical Scanner) — Crawling + technical inspection + performance (SEO)
40
- - **SEO Chief** (Strategist & Reporter) — Scoring + strategy + reporting (SEO)
41
- - **SEO Judge** (Content & AI Analyst) — Content quality + structured data + GEO analysis (SEO)
42
- - **Zecher** (זכר, Memory Guardian) — Memory Archivist — Persistent cross-session memory, consolidation, project scanning, context recall, session handoffs (Memory)
43
- - **Miriam** (מרים) — Business Analyst — Strategic analysis, research, product briefs (Dev Studio)
44
- - **Huldah** (חולדה) — Technical Writer — Documentation, diagrams, editorial review (Dev Studio)
45
- - **Yosef** (יוסף) — Product Manager — PRD, requirements, feature prioritization (Dev Studio)
46
- - **Rachel** (רחל) — UX Designer — User experience, wireframes, empathy mapping (Dev Studio)
47
- - **Bezalel** (בצלאל) — System Architect — Architecture, ADRs, epics & stories (Dev Studio)
48
- - **Oholiab** (אהליאב) — Senior Engineer — TDD, sprint, code review, implementation (Dev Studio)
49
- - **Backup Manager** (Backup & Restore) — Timestamped backups, restoration, and rotation (Backup)
50
- - **Animated Website Creator** (Website Builder) — Video-driven scrolling websites (Animated)
51
-
52
- ## Skills
53
-
54
- - Installed projects load skills from `.agents/skills/`; in this repository the sources live in `src/bmad-plus/skills/` and `src/bmad-plus/agents/`.
55
- - Each agent has a SKILL.md with capabilities, activation protocol, and role-switching rules.
56
- - Auto-activation triggers: `.agents/data/role-triggers.yaml` (source: `src/bmad-plus/data/role-triggers.yaml`).
57
-
58
- ## Project Structure
59
-
60
- - `src/bmad-plus/` — Custom module (agents, skills, data)
61
- - `monitor/` — Upstream monitoring system (VPS)
62
- - `mcp-server/` — Audit 360° MCP Server
63
- - `osint-agent-package/` — OSINT package
64
- - `upstream/` — BMAD-METHOD reference clone
65
-
66
- ## Communication
67
-
68
- - User name: laurent
69
- - Default language: Français for user-facing content, English for code and technical docs.
70
-
71
- ## Commit Rules
72
-
73
- - NEVER add "Co-Authored-By: Claude" or any AI co-author attribution.
74
- - The sole author is Laurent Rochetta.
75
-
76
- ## Repository Maintenance Rule
77
-
78
- When updating the main README.md (English), you MUST synchronously update all translations in the readme-international/ directory (fr, es, de).
79
-
80
- ## Memory Protocol (Karpathy Guardrails)
81
-
82
- Agents MUST follow these behavioral principles:
83
-
84
- ### G1 — Think Before Coding
85
-
86
- - State assumptions explicitly. If uncertain, ask.
87
- - Check `.agents/memory/decisions.md` for prior decisions before re-deciding.
88
-
89
- ### G2 — Simplicity First
90
-
91
- - Minimum code that solves the problem. Nothing speculative.
92
- - Check `.agents/memory/patterns.md` for existing solutions.
93
-
94
- ### G3 — Surgical Changes
95
-
96
- - Touch only what you must. Match existing style.
97
- - Log surprises in `.agents/memory/lessons.md`.
98
-
99
- ### G4 — Goal-Driven Execution
100
-
101
- - Define success criteria before implementing.
102
- - Log non-obvious decisions in `.agents/memory/decisions.md`.
103
-
104
- ### Memory Files
105
-
106
- - `.agents/memory/decisions.md` — Read at session start, write when making decisions
107
- - `.agents/memory/lessons.md` — Write when something unexpected happens
108
- - `.agents/memory/patterns.md` — Write when a reusable pattern is validated
109
- - `.agents/memory/context.md` — Update at session end with project state
110
-
111
- ## Framework updates
112
-
113
- Once per session, check the installed framework before starting project work. If this is the BMAD+ source checkout, use `node tools/cli/bmad-plus-cli.js update-check --json`; otherwise use `npx --no-install bmad-plus update-check --json` from the project root.
114
- If the command is unavailable or the result is off, unknown, offline or stale, continue the user task. Do not install a CLI just to perform this check or claim that an offline version is current.
115
- When `updateAvailable` is true and `canAutoApply` is true, run the same CLI with `update --latest --auto`. This follows the project update policy; it does not grant permission to expand that policy.
116
- When an update is available but automatic application is not eligible, explain the version and reason. An explicit request to update can be fulfilled with `update --latest --yes`; do not change the policy, overwrite customized files, or resolve conflicts without the user request covering that action.
117
- After a successful update, reread the project spine and relevant installed skills, or start a fresh session if the client cannot reload them. Respect preserved local instructions. Check only once even when several adapters include this section.
118
-
119
- ## Registry facts (computed from registry.yaml — never hand-typed)
120
-
121
- - Product: BMAD+ v0.17.0 (derived from BMAD-METHOD v6.6.0)
122
- - Models supported: claude, gpt, gemini, local (model-agnostic by contract)
123
- - Packs (9): Core, OSINT, Maker, Shield, SEO, Memory, Dev Studio, Backup, Animated
124
- - Installer agents (14 across all packs):
125
- - Core (required): 4 installer agents — Core agents & skills
126
- - OSINT: 1 installer agent — OSINT & investigation — 2 compliance frameworks
127
- - Maker: 1 installer agent — Agent creation toolkit
128
- - Shield: 1 installer agent — GRC compliance (26 frameworks) — 27 specialized agents, 11 workflows, 26 compliance frameworks
129
- - SEO: 3 installer agents — SEO audit & optimization — 1 compliance frameworks
130
- - Memory: 1 installer agent — Persistent cross-session memory
131
- - Dev Studio: 1 installer agent — SDLC automation (6 agents, specialized workflows) — 6 sub-agents, 38 workflows
132
- - Backup: 1 installer agent — Backup & restore
133
- - Animated: 1 installer agent — Animated website agents
134
-
135
- ## Key commands
136
-
137
- - `bmad-help` — Show all available agents and skills
138
- - `autopilot` — Launch the orchestrator (Nexus) in full pipeline mode
139
- - `parallel` — Enable parallel multi-agent execution
@@ -1,79 +0,0 @@
1
- # Generated Multi-CLI Adapters (Pillar 5 — portability lock)
2
-
3
- Everything in this directory **except this README** is generated by:
4
-
5
- ```
6
- node tools/build/generate-adapters.js
7
- ```
8
-
9
- from the root `registry.yaml` (`targets.adapters[]` + pack declarations) plus
10
- the hand-authored sections in `tools/build/adapters.config.js`.
11
-
12
- ## ADOPTED — the root files are now generated too
13
-
14
- Since v0.11.0 the generated adapters are **load-bearing**: the live repo-root
15
- `AGENTS.md` (spine), `CLAUDE.md`, `GEMINI.md`, `.cursor/rules/bmad-plus.mdc`,
16
- `.codex/AGENTS.md`, `.opencode/AGENTS.md` and `CONVENTIONS.md` are written by
17
-
18
- ```
19
- node tools/build/generate-adapters.js --adopt
20
- ```
21
-
22
- and drift-gated by
23
-
24
- ```
25
- node tools/build/generate-adapters.js --check --adopt
26
- ```
27
-
28
- (also enforced by `tests/unit/generate-adapters.test.js`). This directory
29
- remains as a PREVIEW target so you can inspect what a registry/config change
30
- produces before adopting it (`git diff` on this dir vs the root files).
31
-
32
- ## Where content comes from
33
-
34
- - **Derived facts** (product/version, pack list, every count) — `registry.yaml`.
35
- No human ever types a count, so adapters cannot drift or lie.
36
- - **Hand-authored project instructions** (agent roster, skills paths, project
37
- structure, communication, commit rules, README i18n rule, Karpathy memory
38
- protocol) — `tools/build/adapters.config.js`. The pre-adoption root
39
- CLAUDE.md/GEMINI.md/AGENTS.md content was folded there verbatim (union of
40
- all three, nothing dropped).
41
- - **Tool notes** — `TOOL_NOTES` in `tools/build/generate-adapters.js`.
42
-
43
- ## How to change the root configs
44
-
45
- 1. Edit `tools/build/adapters.config.js` (instructions) or `registry.yaml`
46
- (facts/targets) — NEVER the generated files themselves.
47
- 2. Regenerate: `node tools/build/generate-adapters.js --adopt` (previews:
48
- run without `--adopt`).
49
- 3. `node tools/build/generate-adapters.js --check --adopt` must pass.
50
-
51
- A safety guard refuses `--adopt` over a root file that lacks the
52
- `AUTO-GENERATED` marker (i.e. hand-written content that was never folded in);
53
- override only with `--force` after folding the content into the config.
54
-
55
- ## What each file is
56
-
57
- One generated file per unique `targets.adapters[].file` entry, plus the spine
58
- (`targets.spine`). Tools that share a file (e.g. `gemini-cli` + `antigravity`
59
- → `GEMINI.md`) are grouped into a single adapter with one "Tool notes" block
60
- per tool. Every adapter:
61
-
62
- - points the tool at the **spine** (`targets.spine`, currently `AGENTS.md`) as
63
- the single source of truth,
64
- - adds tool-specific invocation notes,
65
- - inlines the full hand-authored project instructions (most tools auto-load
66
- only their own file, so a thin pointer would silently lose behavior),
67
- - lists pack/agent facts **computed** from `registry.yaml`.
68
-
69
- ## Drift check
70
-
71
- ```
72
- node tools/build/generate-adapters.js --check # this preview dir
73
- node tools/build/generate-adapters.js --check --adopt # the live root files
74
- ```
75
-
76
- Each exits 1 if any file no longer matches what the registry + config generate
77
- (same contract as `tools/build/generate.js --check` for `packs.js`). Both are
78
- suitable for CI. Comparisons are EOL-insensitive so Windows checkouts do not
79
- false-positive.