bmad-plus 0.12.2 → 0.13.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 (44) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +36 -8
  3. package/package.json +6 -4
  4. package/readme-international/README.de.md +37 -8
  5. package/readme-international/README.es.md +38 -9
  6. package/readme-international/README.fr.md +37 -8
  7. package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +2 -0
  8. package/src/bmad-plus/module.yaml +270 -220
  9. package/src/bmad-plus/packs/pack-seo/scripts/seo_apis.py +8 -8
  10. package/src/bmad-plus/packs/pack-seo/scripts/seo_fetch.py +1 -2
  11. package/src/bmad-plus/packs/pack-seo/scripts/seo_report.py +0 -1
  12. package/src/bmad-plus/skills/bmad-plus-autopilot/SKILL.md +1 -1
  13. package/tools/bmad-plus-npx.js +4 -2
  14. package/tools/build/adapters.config.js +60 -51
  15. package/tools/build/check-counts.js +52 -54
  16. package/tools/build/check-install-contract.js +298 -0
  17. package/tools/build/generate-adapters.js +252 -56
  18. package/tools/build/generate.js +187 -10
  19. package/tools/build/generated-adapters/.codex/AGENTS.md +20 -7
  20. package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +20 -7
  21. package/tools/build/generated-adapters/.opencode/AGENTS.md +20 -7
  22. package/tools/build/generated-adapters/AGENTS.md +20 -7
  23. package/tools/build/generated-adapters/CLAUDE.md +20 -7
  24. package/tools/build/generated-adapters/CONVENTIONS.md +20 -7
  25. package/tools/build/generated-adapters/GEMINI.md +20 -7
  26. package/tools/build/module.template.yaml +82 -0
  27. package/tools/cli/bmad-plus-cli.js +16 -1
  28. package/tools/cli/commands/doctor.js +12 -40
  29. package/tools/cli/commands/install.js +108 -163
  30. package/tools/cli/commands/uninstall.js +173 -65
  31. package/tools/cli/commands/update-check.js +31 -0
  32. package/tools/cli/commands/update-policy.js +39 -0
  33. package/tools/cli/commands/update.js +102 -113
  34. package/tools/cli/i18n.js +60 -0
  35. package/tools/cli/lib/ide-config.js +4 -261
  36. package/tools/cli/lib/install-manifest.js +17 -0
  37. package/tools/cli/lib/installed-adapters.js +89 -0
  38. package/tools/cli/lib/npm-runner.js +177 -0
  39. package/tools/cli/lib/pack-copy.js +62 -66
  40. package/tools/cli/lib/packs.js +437 -3
  41. package/tools/cli/lib/update-check.js +153 -0
  42. package/tools/cli/lib/update-dispatch.js +182 -0
  43. package/tools/cli/lib/update-policy.js +90 -0
  44. package/tools/cli/lib/update-transaction.js +334 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.0] - 2026-09-08
11
+
12
+ ### Added
13
+ - Registry-derived installation now delivers the common agent spine and all seven tool adapters from one renderer, with consistent pack facts and persistent execution settings.
14
+ - Published-release discovery with `update-check` (JSON, refresh and offline modes), a 24-hour cache, and explicit project update policies. Notification is the default; automatic updates require an authorized semver range.
15
+ - `update --latest` dispatches an exact validated package through npm, rechecks policy and ownership, refuses downgrades and wrong-version children, and requests instruction reload. All generated tool adapters include one check per session.
16
+ - Managed-file hash inventories cover agents, skills, pack data and module files. Customized files are preserved; automatic updates refuse conflicts or incomplete legacy ownership. Updates are locked, backed up and recoverable with `update --restore <receipt-id> --yes`.
17
+
18
+ ### Security
19
+ - Patch runtime `js-yaml` from 5.2.1 to 5.2.2 for [GHSA-pm4m-ph32-ghv5](https://github.com/advisories/GHSA-pm4m-ph32-ghv5). Production npm audit reports zero vulnerabilities for the validated lockfile.
20
+ - Update and install destinations reject redirected paths; restore validates every backup before changing files and preserves subsequent local edits.
21
+
22
+ ### Fixed
23
+ - Uninstall preserves project memory, settings, modified pack files, custom IDE instructions and nonempty output. Only identifiable BMAD+ files are removed after checking for symlinks/junctions; legacy installs may retain files whose ownership cannot be established.
24
+ - Doctor and uninstall report invalid manifests with failure exit codes. Installation/removal without a terminal requires `--yes`; the npx launcher propagates child launch failures and signals.
25
+ - MCP audit entry points validate identifiers and confine filesystem operations before deletion, cloning or metadata writes. Git URL validation is shared across audit and Git tools.
26
+ - GitHub requests have connection/read timeouts. RAG ingestion uses the server interpreter and working directory without an undrained stderr pipe.
27
+
28
+ ### Quality
29
+ - Distribution security audit explicitly checks production dependencies, matching its production-only install and the CI gate.
30
+ - CI now blocks on pinned Ruff correctness checks and MCP tool, evaluation-backend and memory-bridge tests. SEO DNS/HTTP tests use offline fixtures.
31
+ - JavaScript regression suite expanded to 709 tests in 31 suites, with all coverage thresholds passing. Python correctness-lint findings removed; mutable argument defaults replaced.
32
+ - Source/npm contract verifies 64 installations, 168 generated adapters, complete managed-file hashes and offline update checks. npm execution with Windows path metacharacters is covered by a real offline process test.
33
+ - Backlog projection completed with CLI safety, MCP hardening and Python-quality epics. Dependency modernization retains its existing decision gate.
34
+
10
35
  ## [0.12.2] - 2026-07-16
11
36
 
12
37
  ### Added — capabilities now actually delivered
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # 🚀 BMAD+ — Augmented Multi-Agent AI Framework
2
2
 
3
- [![Version](https://img.shields.io/badge/version-0.12.2-blue.svg)](CHANGELOG.md)
3
+ [![Version](https://img.shields.io/badge/version-0.13.0-blue.svg)](CHANGELOG.md)
4
4
  [![Based on](https://img.shields.io/badge/based%20on-BMAD--METHOD-green.svg)](https://github.com/bmad-code-org/BMAD-METHOD)
5
5
  [![License](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)
6
6
 
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## 📋 Table of Contents
17
17
 
18
+ Repository validation: **709 JavaScript tests** (`npm test`). Uninstall preserves project memory and customized files; use `--yes` for installation or removal without a terminal.
19
+
18
20
  - [Why BMAD+?](#-why-bmad-)
19
21
  - [Quick Start](#-quick-start)
20
22
  - [Architecture](#-architecture)
@@ -40,7 +42,7 @@ BMAD-METHOD is an excellent framework with 9 specialized agents. But for a solo
40
42
  | No automated pipeline | **Autopilot Mode**: idea → delivery |
41
43
  | Sequential execution | **Supervised parallelism** |
42
44
  | No persistent memory | **Cross-session brain** with project scanner |
43
- | 1-2 IDEs supported | **5 IDEs** with auto-detection |
45
+ | 1-2 IDEs supported | **7 IDEs** with auto-detection |
44
46
  | 1 module | **9 modular packs** (Core, OSINT, Shield, Dev Studio, SEO, Memory...) |
45
47
 
46
48
  ---
@@ -163,6 +165,22 @@ Nexus automatically orchestrates everything with checkpoints for your approval.
163
165
  | `npx bmad-plus uninstall` | Remove BMAD+ from current project |
164
166
  | `npx bmad-plus autoconfig` | Smart project bootstrap — auto-detect, install, and configure |
165
167
 
168
+ #### Framework updates
169
+
170
+ The installed instructions ask the LLM to check once per session. Discovery uses a 24-hour cache; offline results remain unknown. Automatic updates require an explicit policy and unchanged managed files.
171
+
172
+ For installations using 0.12.2 or earlier, load the new CLI once with `npx --yes bmad-plus@0.13.0 update --yes`. This explicit migration saves backups before replacing legacy files.
173
+
174
+ ```bash
175
+ npx bmad-plus update-check --json
176
+ npx bmad-plus update --latest --yes
177
+ npx bmad-plus update-policy --mode auto --range "^0.13.0"
178
+ npx bmad-plus update --latest --auto
179
+ npx bmad-plus update-check --offline --json
180
+ ```
181
+
182
+ Notification is the default. To stop checks, use `update-policy --mode off`. Customized agents and adapters are preserved; conflicts block automatic application. Older installations without file hashes require an explicit manual migration with backups. Each applied update reports a receipt; use `update --restore <receipt-id> --yes` to recover it, then reload the agent instructions.
183
+
166
184
  #### 🔬 Advanced Install Options
167
185
 
168
186
  ```bash
@@ -412,6 +430,8 @@ Give a project idea → Nexus orchestrates the complete pipeline:
412
430
  ```
413
431
 
414
432
  **Configurable checkpoints:**
433
+ Configure `execution_mode` and `checkpoints` in `_bmad/config.yaml` (`discovery`, `architecture`, `story`, `delivery`).
434
+
415
435
  - `require_approval` (🔴) — Pause, wait for approval
416
436
  - `notify_only` (🟡) — Notification, continues unless intervened
417
437
  - `auto` (🟢) — Continues automatically
@@ -432,15 +452,19 @@ The Orchestrator detects independent tasks and launches them in parallel:
432
452
 
433
453
  ## 🖥️ Supported IDEs
434
454
 
435
- The installer automatically detects IDEs and generates configs:
455
+ The installer automatically detects IDEs and generates their adapters around a shared `AGENTS.md` instruction spine at the project root:
436
456
 
437
457
  | IDE | Config File | Detection |
438
458
  |-----|---------------|-----------|
439
459
  | Claude Code | `CLAUDE.md` | `.claude/` folder |
440
460
  | Gemini CLI | `GEMINI.md` | `.gemini/` folder |
441
- | Antigravity | `.gemini/` + `.agents/` | Antigravity Extension |
442
- | Codex CLI | `AGENTS.md` | `.codex/` folder |
443
- | OpenCode | `OPENCODE.md` | opencode config |
461
+ | Antigravity | `GEMINI.md` | `.gemini/antigravity/` folder |
462
+ | Cursor | `.cursor/rules/bmad-plus.mdc` | `.cursor/` folder |
463
+ | Codex CLI | `.codex/AGENTS.md` | `.codex/` folder |
464
+ | OpenCode | `.opencode/AGENTS.md` | `.opencode/` folder |
465
+ | Aider | `CONVENTIONS.md` | `.aider.conf.yml` file |
466
+
467
+ For Aider, add `read: CONVENTIONS.md` to `.aider.conf.yml` or run `/read CONVENTIONS.md` to load the generated instructions.
444
468
 
445
469
  ---
446
470
 
@@ -452,8 +476,12 @@ BMAD+/
452
476
  ├── readme-international/ ← Translated READMEs (fr, es, de)
453
477
  ├── CHANGELOG.md ← Version history
454
478
  ├── CLAUDE.md ← Claude Code Config
455
- ├── GEMINI.md ← Gemini CLI Config
456
- ├── AGENTS.md ← Codex CLI / OpenCode Config
479
+ ├── GEMINI.md ← Gemini CLI / Antigravity Config
480
+ ├── AGENTS.md ← Shared instruction spine
481
+ ├── .codex/AGENTS.md ← Codex CLI adapter
482
+ ├── .opencode/AGENTS.md ← OpenCode adapter
483
+ ├── .cursor/rules/bmad-plus.mdc ← Cursor adapter
484
+ ├── CONVENTIONS.md ← Aider adapter
457
485
  ├── .gitignore
458
486
 
459
487
  ├── src/
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-plus",
4
- "version": "0.12.2",
4
+ "version": "0.13.0",
5
5
  "description": "BMAD+ — Augmented AI-Driven Development Framework with multi-role agents, autopilot, and parallel execution",
6
6
  "keywords": [
7
7
  "bmad",
@@ -34,13 +34,14 @@
34
34
  "install:bmad": "node tools/cli/bmad-plus-cli.js install",
35
35
  "update:bmad": "node tools/cli/bmad-plus-cli.js update",
36
36
  "doctor:bmad": "node tools/cli/bmad-plus-cli.js doctor",
37
- "build": "node tools/build/generate.js --out tools/cli/lib/packs.js",
37
+ "build": "node tools/build/generate.js --out tools/cli/lib/packs.js --module-out src/bmad-plus/module.yaml",
38
38
  "build:check": "node tools/build/generate.js --check",
39
39
  "check:counts": "node tools/build/check-counts.js",
40
40
  "lint": "eslint tools/ tests/",
41
41
  "format": "prettier --write \"tools/**/*.js\" \"tests/**/*.js\"",
42
42
  "format:check": "prettier --check \"tools/**/*.js\" \"tests/**/*.js\"",
43
43
  "test": "jest --coverage",
44
+ "test:install-contract": "node tools/build/check-install-contract.js",
44
45
  "prepare": "husky || true",
45
46
  "uninstall:bmad": "node tools/cli/bmad-plus-cli.js uninstall"
46
47
  },
@@ -48,8 +49,9 @@
48
49
  "@clack/prompts": "^1.4.0",
49
50
  "commander": "^14.0.0",
50
51
  "fs-extra": "^11.3.6",
51
- "js-yaml": "^5.2.1",
52
- "picocolors": "^1.1.1"
52
+ "js-yaml": "^5.2.2",
53
+ "picocolors": "^1.1.1",
54
+ "semver": "^7.8.5"
53
55
  },
54
56
  "engines": {
55
57
  "node": ">=20.0.0"
@@ -1,6 +1,6 @@
1
1
  # 🚀 BMAD+ — Erweitertes Multi-Agent KI-Framework
2
2
 
3
- [![Version](https://img.shields.io/badge/version-0.12.2-blue.svg)](../CHANGELOG.md)
3
+ [![Version](https://img.shields.io/badge/version-0.13.0-blue.svg)](../CHANGELOG.md)
4
4
  [![Based on](https://img.shields.io/badge/based%20on-BMAD--METHOD-green.svg)](https://github.com/bmad-code-org/BMAD-METHOD)
5
5
  [![License](https://img.shields.io/badge/license-MIT-yellow.svg)](../LICENSE)
6
6
 
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## 📋 Inhaltsverzeichnis
17
17
 
18
+ Repository-Prüfung: **709 JavaScript-Tests** (`npm test`). Die Deinstallation erhält den Projektspeicher und angepasste Dateien; für Installation oder Deinstallation ohne interaktives Terminal `--yes` verwenden.
19
+
18
20
  - [Warum BMAD+?](#-warum-bmad-)
19
21
  - [Schnellstart](#-schnellstart)
20
22
  - [Architektur](#-architektur)
@@ -41,7 +43,7 @@ BMAD-METHOD ist ein exzellentes Framework mit 9 spezialisierten Agenten. Für ei
41
43
  | Keine automatisierte Pipeline | **Autopilot-Modus**: Idee → Fertigstellung |
42
44
  | Sequentielle Ausführung | **Überwachte parallele Ausführung** |
43
45
  | Kein Upstream-Tracking | **Wöchentliches Monitoring** mit WhatsApp |
44
- | 1-2 unterstützte IDEs | **5 IDEs** mit automatischer Erkennung |
46
+ | 1-2 unterstützte IDEs | **7 IDEs** mit automatischer Erkennung |
45
47
 
46
48
  ---
47
49
 
@@ -163,6 +165,22 @@ Nexus orchestriert alles automatisch mit Checkpoints für deine Genehmigung.
163
165
  | `npx bmad-plus uninstall` | BMAD+ vom aktuellen Projekt entfernen |
164
166
  | `npx bmad-plus autoconfig` | Intelligentes Bootstrap — Auto-Erkennung, Installation und Konfiguration |
165
167
 
168
+ #### Framework aktualisieren
169
+
170
+ Die installierten Anweisungen bitten das LLM um eine Prüfung pro Sitzung. Das Ergebnis wird 24 Stunden zwischengespeichert; offline bleibt die veröffentlichte Version unbekannt. Automatische Updates erfordern eine ausdrückliche Richtlinie und unveränderte verwaltete Dateien.
171
+
172
+ Für Installationen mit 0.12.2 oder älter einmal die neue CLI mit `npx --yes bmad-plus@0.13.0 update --yes` laden. Diese ausdrückliche Migration sichert vorhandene Dateien vor dem Ersetzen.
173
+
174
+ ```bash
175
+ npx bmad-plus update-check --json
176
+ npx bmad-plus update --latest --yes
177
+ npx bmad-plus update-policy --mode auto --range "^0.13.0"
178
+ npx bmad-plus update --latest --auto
179
+ npx bmad-plus update-check --offline --json
180
+ ```
181
+
182
+ Standardmäßig werden Updates nur gemeldet. Mit `update-policy --mode off` lassen sich Prüfungen deaktivieren. Angepasste Agenten und Adapter bleiben erhalten; Konflikte blockieren automatische Updates. Ältere Installationen ohne Prüfsummen brauchen eine ausdrückliche manuelle Migration mit Sicherungen. Jedes Update meldet eine Sicherungskennung; `update --restore <receipt-id> --yes` stellt sie wieder her. Danach die Agentenanweisungen neu laden.
183
+
166
184
  #### 🔬 Erweiterte Installationsoptionen
167
185
 
168
186
  ```bash
@@ -423,6 +441,8 @@ Eine Projektidee eingeben → Nexus orchestriert die komplette Pipeline:
423
441
  ```
424
442
 
425
443
  **Konfigurierbare Checkpoints:**
444
+ Konfiguriere `execution_mode` und `checkpoints` in `_bmad/config.yaml` (`discovery`, `architecture`, `story`, `delivery`).
445
+
426
446
  - `require_approval` (🔴) — Pause, WhatsApp-Benachrichtigung, warten
427
447
  - `notify_only` (🟡) — Benachrichtigung, wird fortgesetzt, sofern nicht eingegriffen wird
428
448
  - `auto` (🟢) — Wird automatisch fortgesetzt
@@ -441,15 +461,19 @@ Eine Projektidee eingeben → Nexus orchestriert die komplette Pipeline:
441
461
 
442
462
  ## 🖥️ Unterstützte IDEs
443
463
 
444
- Das Installationsprogramm erkennt IDEs automatisch und generiert Konfigurationen:
464
+ Das Installationsprogramm erkennt IDEs automatisch und generiert ihre Adapter mit `AGENTS.md` im Projektstamm als gemeinsame Anweisungsdatei:
445
465
 
446
466
  | IDE | Konfigurationsdatei | Erkennung |
447
467
  |-----|---------------|-----------|
448
468
  | Claude Code | `CLAUDE.md` | `.claude/` Ordner |
449
469
  | Gemini CLI | `GEMINI.md` | `.gemini/` Ordner |
450
- | Antigravity | `.gemini/` + `.agents/` | Antigravity-Erweiterung |
451
- | Codex CLI | `AGENTS.md` | `.codex/` Ordner |
452
- | OpenCode | `OPENCODE.md` | opencode-Konfiguration |
470
+ | Antigravity | `GEMINI.md` | `.gemini/antigravity/` Ordner |
471
+ | Cursor | `.cursor/rules/bmad-plus.mdc` | `.cursor/` Ordner |
472
+ | Codex CLI | `.codex/AGENTS.md` | `.codex/` Ordner |
473
+ | OpenCode | `.opencode/AGENTS.md` | `.opencode/` Ordner |
474
+ | Aider | `CONVENTIONS.md` | Datei `.aider.conf.yml` |
475
+
476
+ Für Aider ergänze `read: CONVENTIONS.md` in `.aider.conf.yml` oder führe `/read CONVENTIONS.md` aus, um die generierten Anweisungen zu laden.
453
477
 
454
478
  ---
455
479
 
@@ -473,8 +497,12 @@ BMAD+/
473
497
  ├── readme-international/ ← Übersetzungen in andere Sprachen
474
498
  ├── CHANGELOG.md ← Versionshistorie
475
499
  ├── CLAUDE.md ← Claude Code Konfiguration
476
- ├── GEMINI.md ← Gemini CLI Konfiguration
477
- ├── AGENTS.md ← Codex CLI / OpenCode Konfiguration
500
+ ├── GEMINI.md ← Gemini CLI / Antigravity Konfiguration
501
+ ├── AGENTS.md ← Gemeinsame Anweisungsdatei
502
+ ├── .codex/AGENTS.md ← Codex CLI Adapter
503
+ ├── .opencode/AGENTS.md ← OpenCode Adapter
504
+ ├── .cursor/rules/bmad-plus.mdc ← Cursor Adapter
505
+ ├── CONVENTIONS.md ← Aider Adapter
478
506
  ├── .gitignore
479
507
 
480
508
  ├── src/
@@ -565,6 +593,7 @@ BMAD+/
565
593
  | **0.12.0** | 2026-07-02 | 🏛️ **Load-bearing** — Root-Adapter aus dem Registry adoptiert, Memory über MCP, provider-neutrales Eval-Gateway; 333 Tests |
566
594
  | **0.12.1** | 2026-07-12 | 🧩 **Portfolio-Brain** — memory-init Brain-Erkennung behoben, Monitor auf google-genai SDK migriert, Versions-Sync |
567
595
  | **0.12.2** | 2026-07-16 | 🚚 **Fähigkeiten ausgeliefert** — SEO-Toolkit in-pack ausgeliefert (funktioniert von npm), OSINT-Rechtsgrundlagen-Gate auf jedem Pfad, Monitor rebuildbar, Crawler-SSRF geschlossen, mcp-server + CLI Testabdeckung; 483 Tests |
596
+ | **0.13.0** | 2026-09-08 | Kontrollierte Updates, geschützte Agenten, wiederherstellbare Sicherungen und Registry-basierte Installation; 709 Tests |
568
597
 
569
598
  Siehe [CHANGELOG.md](../CHANGELOG.md) für vollständige Details.
570
599
 
@@ -1,6 +1,6 @@
1
1
  # 🚀 BMAD+ — Framework Multi-Agente IA Aumentado
2
2
 
3
- [![Version](https://img.shields.io/badge/version-0.12.2-blue.svg)](../CHANGELOG.md)
3
+ [![Version](https://img.shields.io/badge/version-0.13.0-blue.svg)](../CHANGELOG.md)
4
4
  [![Based on](https://img.shields.io/badge/based%20on-BMAD--METHOD-green.svg)](https://github.com/bmad-code-org/BMAD-METHOD)
5
5
  [![License](https://img.shields.io/badge/license-MIT-yellow.svg)](../LICENSE)
6
6
 
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## 📋 Tabla de contenidos
17
17
 
18
+ Validación del repositorio: **709 tests JavaScript** (`npm test`). La desinstalación conserva la memoria del proyecto y los archivos personalizados; utiliza `--yes` para instalar o desinstalar sin un terminal interactivo.
19
+
18
20
  - [¿Por qué BMAD+?](#-por-qué-bmad-)
19
21
  - [Inicio Rápido](#-inicio-rápido)
20
22
  - [Arquitectura](#-arquitectura)
@@ -41,7 +43,7 @@ BMAD-METHOD es un excelente framework con 9 agentes especializados. Pero para un
41
43
  | Sin pipeline automatizado | **Modo Autopilot**: idea → entrega |
42
44
  | Ejecución secuencial | **Paralelismo supervisado** |
43
45
  | Sin seguimiento upstream | **Monitorización semanal** con WhatsApp |
44
- | 1-2 IDEs soportados | **5 IDEs** con auto-detección |
46
+ | 1-2 IDEs soportados | **7 IDEs** con auto-detección |
45
47
 
46
48
  ---
47
49
 
@@ -163,6 +165,22 @@ Nexus orquesta todo automáticamente con puntos de control (checkpoints) para tu
163
165
  | `npx bmad-plus uninstall` | Eliminar BMAD+ del proyecto actual |
164
166
  | `npx bmad-plus autoconfig` | Bootstrap inteligente — detección auto, instalación y configuración |
165
167
 
168
+ #### Actualizaciones del framework
169
+
170
+ Las instrucciones instaladas piden al LLM una comprobación por sesión. El resultado se conserva durante 24 horas; sin conexión, la versión publicada permanece desconocida. Las actualizaciones automáticas requieren una política explícita y archivos administrados sin cambios locales.
171
+
172
+ Para instalaciones con 0.12.2 o anterior, carga una vez el nuevo CLI con `npx --yes bmad-plus@0.13.0 update --yes`. Esta migración explícita guarda copias de seguridad antes de reemplazar los archivos antiguos.
173
+
174
+ ```bash
175
+ npx bmad-plus update-check --json
176
+ npx bmad-plus update --latest --yes
177
+ npx bmad-plus update-policy --mode auto --range "^0.13.0"
178
+ npx bmad-plus update --latest --auto
179
+ npx bmad-plus update-check --offline --json
180
+ ```
181
+
182
+ El modo predeterminado solo avisa. Para desactivar las comprobaciones: `update-policy --mode off`. Se conservan los agentes y adaptadores personalizados; los conflictos bloquean el modo automático. Las instalaciones antiguas sin huellas requieren una migración manual explícita con copias de seguridad. Cada actualización muestra un identificador; utiliza `update --restore <receipt-id> --yes` para restaurarla y vuelve a cargar las instrucciones.
183
+
166
184
  #### 🔬 Opciones de instalación avanzadas
167
185
 
168
186
  ```bash
@@ -427,6 +445,8 @@ Introduce una idea → Nexus gestionará todo:
427
445
  ```
428
446
 
429
447
  **Puntos de control (checkpoints) configurables:**
448
+ Configura `execution_mode` y `checkpoints` en `_bmad/config.yaml` (`discovery`, `architecture`, `story`, `delivery`).
449
+
430
450
  - `require_approval` (🔴) — Pausa, notifica por WhatsApp, espera
431
451
  - `notify_only` (🟡) — Notifica, continúa (a menos que el usuario intervenga)
432
452
  - `auto` (🟢) — Totalmente automático
@@ -447,15 +467,19 @@ El orquestador divide las tareas asíncronas para ejecutarlas de forma paralela:
447
467
 
448
468
  ## 🖥️ IDE Soportados
449
469
 
450
- El instalador detecta automáticamente el IDE actual para generar la configuración nativa que conecte a BMAD+:
470
+ El instalador detecta automáticamente los IDE y genera sus adaptadores con una base de instrucciones común en `AGENTS.md`, en la raíz del proyecto:
451
471
 
452
- | IDE | Archivo de Config. | Detección (carpeta) |
472
+ | IDE | Archivo de Config. | Detección |
453
473
  |-----|---------------|-----------|
454
474
  | Claude Code | `CLAUDE.md` | `.claude/` |
455
475
  | Gemini CLI | `GEMINI.md` | `.gemini/` |
456
- | Antigravity | `.gemini/` + `.agents/` | Antigravity Extensión |
457
- | Codex CLI | `AGENTS.md` | `.codex/` |
458
- | OpenCode | `OPENCODE.md` | Opciones de opencode |
476
+ | Antigravity | `GEMINI.md` | `.gemini/antigravity/` |
477
+ | Cursor | `.cursor/rules/bmad-plus.mdc` | `.cursor/` |
478
+ | Codex CLI | `.codex/AGENTS.md` | `.codex/` |
479
+ | OpenCode | `.opencode/AGENTS.md` | `.opencode/` |
480
+ | Aider | `CONVENTIONS.md` | Archivo `.aider.conf.yml` |
481
+
482
+ Para Aider, añade `read: CONVENTIONS.md` a `.aider.conf.yml` o ejecuta `/read CONVENTIONS.md` para cargar las instrucciones generadas.
459
483
 
460
484
  ---
461
485
 
@@ -488,8 +512,12 @@ BMAD+/
488
512
  ├── readme-international/ ← Versiones traducidas (es, fr, de)
489
513
  ├── CHANGELOG.md ← Versiones de proyecto
490
514
  ├── CLAUDE.md ← Config IDE: Claude
491
- ├── GEMINI.md ← Config IDE: Gemini
492
- ├── AGENTS.md ← Config IDE: Codex / Opencode
515
+ ├── GEMINI.md ← Config Gemini CLI / Antigravity
516
+ ├── AGENTS.md ← Base de instrucciones común
517
+ ├── .codex/AGENTS.md ← Adaptador Codex CLI
518
+ ├── .opencode/AGENTS.md ← Adaptador OpenCode
519
+ ├── .cursor/rules/bmad-plus.mdc ← Adaptador Cursor
520
+ ├── CONVENTIONS.md ← Adaptador Aider
493
521
  ├── .gitignore
494
522
 
495
523
  ├── src/
@@ -580,6 +608,7 @@ BMAD+/
580
608
  | **0.12.0** | 2026-07-02 | 🏛️ **Load-bearing** — adapters raíz adoptados desde el registry, memoria vía MCP, gateway eval multi-proveedor; 333 tests |
581
609
  | **0.12.1** | 2026-07-12 | 🧩 **Cerebro portfolio** — fix de detección de cerebro memory-init, monitor migrado al SDK google-genai, sincronización de versión |
582
610
  | **0.12.2** | 2026-07-16 | 🚚 **Capacidades entregadas** — toolkit SEO embarcado in-pack (funciona desde npm), gate de base legal OSINT en cada ruta, monitor reconstruible, SSRF del crawler cerrado, cobertura de tests mcp-server + CLI; 483 tests |
611
+ | **0.13.0** | 2026-09-08 | Actualizaciones controladas, agentes protegidos, copias restaurables e instalación derivada del registro; 709 tests |
583
612
 
584
613
  Más descripciones a fondo en el archivo: [CHANGELOG.md](../CHANGELOG.md).
585
614
 
@@ -1,6 +1,6 @@
1
1
  # 🚀 BMAD+ — Framework Multi-Agent IA Augmenté
2
2
 
3
- [![Version](https://img.shields.io/badge/version-0.12.2-blue.svg)](../CHANGELOG.md)
3
+ [![Version](https://img.shields.io/badge/version-0.13.0-blue.svg)](../CHANGELOG.md)
4
4
  [![Based on](https://img.shields.io/badge/based%20on-BMAD--METHOD-green.svg)](https://github.com/bmad-code-org/BMAD-METHOD)
5
5
  [![License](https://img.shields.io/badge/license-MIT-yellow.svg)](../LICENSE)
6
6
 
@@ -15,6 +15,8 @@
15
15
 
16
16
  ## 📋 Table des matières
17
17
 
18
+ Validation du dépôt : **709 tests JavaScript** (`npm test`). La désinstallation conserve la mémoire du projet et les fichiers personnalisés ; utilisez `--yes` pour installer ou désinstaller sans terminal interactif.
19
+
18
20
  - [Pourquoi BMAD+ ?](#-pourquoi-bmad-)
19
21
  - [Quick Start](#-quick-start)
20
22
  - [Architecture](#-architecture)
@@ -41,7 +43,7 @@ BMAD-METHOD est un excellent framework avec 9 agents spécialisés. Mais pour un
41
43
  | Pas de pipeline automatisé | **Mode Autopilot** : idée → livraison |
42
44
  | Exécution séquentielle | **Parallélisme supervisé** |
43
45
  | Pas de suivi upstream | **Monitoring hebdomadaire** avec WhatsApp |
44
- | 1-2 IDE supportés | **5 IDE** avec détection automatique |
46
+ | 1-2 IDE supportés | **7 IDE** avec détection automatique |
45
47
 
46
48
  ---
47
49
 
@@ -163,6 +165,22 @@ Nexus orchestre tout automatiquement avec des checkpoints pour ton approbation.
163
165
  | `npx bmad-plus uninstall` | Supprimer BMAD+ du projet actuel |
164
166
  | `npx bmad-plus autoconfig` | Bootstrap intelligent — détection auto, installation et configuration |
165
167
 
168
+ #### Mises à jour du framework
169
+
170
+ Les instructions installées demandent au LLM une vérification par session. Le résultat est conservé 24 heures ; hors connexion, la version publiée reste inconnue. Les mises à jour automatiques exigent une politique explicite et des fichiers gérés sans modification locale.
171
+
172
+ Pour les installations en 0.12.2 ou antérieures, chargez une fois le nouveau CLI avec `npx --yes bmad-plus@0.13.0 update --yes`. Cette migration explicite sauvegarde les anciens fichiers avant leur remplacement.
173
+
174
+ ```bash
175
+ npx bmad-plus update-check --json
176
+ npx bmad-plus update --latest --yes
177
+ npx bmad-plus update-policy --mode auto --range "^0.13.0"
178
+ npx bmad-plus update --latest --auto
179
+ npx bmad-plus update-check --offline --json
180
+ ```
181
+
182
+ Le mode par défaut signale les mises à jour. Pour désactiver les vérifications : `update-policy --mode off`. Les agents et adaptateurs personnalisés sont conservés ; les conflits bloquent le mode automatique. Les anciennes installations sans empreintes exigent une migration manuelle explicite avec sauvegardes. Chaque mise à jour fournit un identifiant de sauvegarde ; utilisez `update --restore <receipt-id> --yes` pour la restaurer, puis rechargez les instructions des agents.
183
+
166
184
  #### 🔬 Options d'installation avancées
167
185
 
168
186
  ```bash
@@ -427,6 +445,8 @@ Donnez une idée projet → Nexus orchestre le pipeline complet :
427
445
  ```
428
446
 
429
447
  **Checkpoints configurables :**
448
+ Configurez `execution_mode` et `checkpoints` dans `_bmad/config.yaml` (`discovery`, `architecture`, `story`, `delivery`).
449
+
430
450
  - `require_approval` (🔴) — Pause, notification WhatsApp, attente
431
451
  - `notify_only` (🟡) — Notification, continue sauf intervention
432
452
  - `auto` (🟢) — Continue automatiquement
@@ -447,15 +467,19 @@ L'Orchestrateur détecte les tâches indépendantes et les lance en parallèle :
447
467
 
448
468
  ## 🖥️ IDE Supportés
449
469
 
450
- L'installeur détecte automatiquement les IDE et génère les configs :
470
+ L'installeur détecte automatiquement les IDE et génère leurs adaptateurs autour d'un socle d'instructions commun `AGENTS.md` à la racine du projet :
451
471
 
452
472
  | IDE | Fichier Config | Détection |
453
473
  |-----|---------------|-----------|
454
474
  | Claude Code | `CLAUDE.md` | Dossier `.claude/` |
455
475
  | Gemini CLI | `GEMINI.md` | Dossier `.gemini/` |
456
- | Antigravity | `.gemini/` + `.agents/` | Extension Antigravity |
457
- | Codex CLI | `AGENTS.md` | Dossier `.codex/` |
458
- | OpenCode | `OPENCODE.md` | Config opencode |
476
+ | Antigravity | `GEMINI.md` | Dossier `.gemini/antigravity/` |
477
+ | Cursor | `.cursor/rules/bmad-plus.mdc` | Dossier `.cursor/` |
478
+ | Codex CLI | `.codex/AGENTS.md` | Dossier `.codex/` |
479
+ | OpenCode | `.opencode/AGENTS.md` | Dossier `.opencode/` |
480
+ | Aider | `CONVENTIONS.md` | Fichier `.aider.conf.yml` |
481
+
482
+ Pour Aider, ajoutez `read: CONVENTIONS.md` dans `.aider.conf.yml` ou lancez `/read CONVENTIONS.md` pour charger les instructions générées.
459
483
 
460
484
  ---
461
485
 
@@ -488,8 +512,12 @@ BMAD+/
488
512
  ├── readme-international/ ← Traductions en autres langues
489
513
  ├── CHANGELOG.md ← Historique des versions
490
514
  ├── CLAUDE.md ← Config Claude Code
491
- ├── GEMINI.md ← Config Gemini CLI
492
- ├── AGENTS.md ← Config Codex CLI / OpenCode
515
+ ├── GEMINI.md ← Config Gemini CLI / Antigravity
516
+ ├── AGENTS.md ← Socle d'instructions commun
517
+ ├── .codex/AGENTS.md ← Adaptateur Codex CLI
518
+ ├── .opencode/AGENTS.md ← Adaptateur OpenCode
519
+ ├── .cursor/rules/bmad-plus.mdc ← Adaptateur Cursor
520
+ ├── CONVENTIONS.md ← Adaptateur Aider
493
521
  ├── .gitignore
494
522
 
495
523
  ├── src/
@@ -580,6 +608,7 @@ BMAD+/
580
608
  | **0.12.0** | 2026-07-02 | 🏛️ **Load-bearing** — adapters racine adoptés depuis le registry, mémoire via MCP, gateway eval multi-provider ; 333 tests |
581
609
  | **0.12.1** | 2026-07-12 | 🧩 **Cerveau portfolio** — fix détection de cerveau memory-init, monitor migré vers le SDK google-genai, sync version |
582
610
  | **0.12.2** | 2026-07-16 | 🚚 **Capacités livrées** — toolkit SEO embarqué in-pack (fonctionne depuis npm), gate base légale OSINT sur tout chemin, monitor reconstructible, SSRF crawler fermé, couverture de tests mcp-server + CLI ; 483 tests |
611
+ | **0.13.0** | 2026-09-08 | Mises à jour contrôlées, agents protégés, sauvegardes restaurables et installation issue du registre ; 709 tests |
583
612
 
584
613
  Voir [CHANGELOG.md](../CHANGELOG.md) pour le détail complet.
585
614
 
@@ -65,6 +65,8 @@ Focuses on: end-to-end pipeline management, agent sequencing, checkpoint managem
65
65
  - Run full code review → UX review → documentation
66
66
  - 🔴 CHECKPOINT: Wait for user approval before finalization
67
67
 
68
+ Read `execution_mode` and `checkpoints` from `_bmad/config.yaml` before starting the pipeline. The checkpoint keys are `discovery`, `architecture`, `story`, and `delivery`.
69
+
68
70
  **Checkpoint behavior** (configurable):
69
71
  - `require_approval` (🔴 STOP): Pause and wait for user input. Notify via WhatsApp if configured.
70
72
  - `notify_only` (🟡 INFO): Send notification, continue unless user intervenes within timeout.