bmad-plus 0.12.2 β 0.14.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.
- package/CHANGELOG.md +47 -0
- package/README.md +96 -461
- package/package.json +12 -5
- package/readme-international/README.de.md +42 -9
- package/readme-international/README.es.md +43 -10
- package/readme-international/README.fr.md +42 -9
- package/src/bmad-plus/agents/agent-orchestrator/SKILL.md +5 -3
- package/src/bmad-plus/module.yaml +270 -220
- package/src/bmad-plus/packs/pack-dev-studio/README.md +133 -141
- package/src/bmad-plus/packs/pack-dev-studio/SKILL.md +49 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/analyst-agent.md +35 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/document-project.md +59 -59
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/domain-research.md +55 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/market-research.md +58 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/prfaq.md +55 -132
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/product-brief.md +63 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/tech-writer-agent.md +54 -69
- package/src/bmad-plus/packs/pack-dev-studio/categories/analysis/technical-research.md +54 -93
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/architect-agent.md +32 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-architecture.md +67 -71
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/create-epics-stories.md +61 -90
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/generate-project-context.md +56 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/implementation-readiness.md +55 -88
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01-init.md +20 -153
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-01b-continue.md +20 -173
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-02-context.md +14 -220
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-03-starter.md +20 -329
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-04-decisions.md +15 -314
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-05-patterns.md +15 -355
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-06-structure.md +15 -375
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-07-validation.md +14 -357
- package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/steps/step-08-complete.md +13 -78
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/checkpoint-preview.md +52 -65
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-01-gather-context.md +14 -81
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-02-review.md +14 -31
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-03-triage.md +14 -45
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review-steps/step-04-present.md +13 -128
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/code-review.md +61 -87
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/correct-course.md +55 -298
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/create-story.md +52 -426
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-agent.md +48 -69
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story-checklist.md +22 -80
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/dev-story.md +60 -482
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/investigate.md +50 -184
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/qa-e2e-tests.md +57 -173
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/quick-dev.md +56 -108
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/retrospective.md +54 -1509
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-planning.md +54 -296
- package/src/bmad-plus/packs/pack-dev-studio/categories/implementation/sprint-status.md +41 -283
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-prd.md +58 -18
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/create-ux-design.md +103 -72
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/edit-prd.md +55 -27
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/pm-agent.md +34 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/prd.md +46 -87
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/steps/step-01-init.md +10 -0
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/ux-designer-agent.md +30 -60
- package/src/bmad-plus/packs/pack-dev-studio/categories/planning/validate-prd.md +57 -27
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/advanced-elicitation.md +47 -138
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/adversarial-review.md +48 -34
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/bmad-help.md +51 -68
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/brainstorming.md +46 -3
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/customize.md +68 -109
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/distillator.md +53 -174
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/edge-case-hunter.md +39 -53
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-prose.md +45 -83
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/editorial-review-structure.md +45 -176
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/index-docs.md +45 -63
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/party-mode.md +53 -124
- package/src/bmad-plus/packs/pack-dev-studio/categories/utilities/shard-doc.md +44 -100
- package/src/bmad-plus/packs/pack-dev-studio/dev-studio-orchestrator.md +56 -116
- package/src/bmad-plus/packs/pack-dev-studio/shared/architecture-decision-template.md +49 -12
- package/src/bmad-plus/packs/pack-dev-studio/shared/bwml-spec.md +51 -328
- package/src/bmad-plus/packs/pack-dev-studio/shared/catalog.json +489 -0
- package/src/bmad-plus/packs/pack-dev-studio/shared/execution.md +69 -0
- package/src/bmad-plus/packs/pack-dev-studio/shared/module-help.csv +39 -32
- package/src/bmad-plus/packs/pack-dev-studio/upstream-sync.yaml +85 -14
- package/src/bmad-plus/packs/pack-memory/README.md +6 -0
- package/src/bmad-plus/packs/pack-memory/memory-orchestrator.md +12 -5
- package/src/bmad-plus/packs/pack-seo/SKILL.md +27 -1
- package/src/bmad-plus/packs/pack-seo/scripts/seo_apis.py +8 -8
- package/src/bmad-plus/packs/pack-seo/scripts/seo_fetch.py +1 -2
- package/src/bmad-plus/packs/pack-seo/scripts/seo_report.py +0 -1
- package/src/bmad-plus/packs/pack-seo/seo-chief.md +16 -1
- package/src/bmad-plus/packs/pack-seo/seo-judge.md +12 -0
- package/src/bmad-plus/packs/pack-seo/seo-scout.md +12 -0
- package/src/bmad-plus/skills/bmad-plus-autopilot/SKILL.md +4 -4
- package/src/bmad-plus/skills/bmad-plus-sync/SKILL.md +5 -3
- package/src/bmad-plus/skills/dev-studio/SKILL.md +19 -0
- package/tools/bmad-plus-npx.js +4 -2
- package/tools/build/adapters.config.js +60 -51
- package/tools/build/check-counts.js +52 -54
- package/tools/build/check-install-contract.js +450 -0
- package/tools/build/generate-adapters.js +252 -56
- package/tools/build/generate.js +364 -14
- package/tools/build/generated-adapters/.codex/AGENTS.md +20 -7
- package/tools/build/generated-adapters/.cursor/rules/bmad-plus.mdc +20 -7
- package/tools/build/generated-adapters/.opencode/AGENTS.md +20 -7
- package/tools/build/generated-adapters/AGENTS.md +20 -7
- package/tools/build/generated-adapters/CLAUDE.md +20 -7
- package/tools/build/generated-adapters/CONVENTIONS.md +20 -7
- package/tools/build/generated-adapters/GEMINI.md +20 -7
- package/tools/build/module.template.yaml +82 -0
- package/tools/build/pack-delivery.js +78 -0
- package/tools/cli/bmad-plus-cli.js +16 -1
- package/tools/cli/commands/doctor.js +49 -217
- package/tools/cli/commands/install.js +109 -164
- package/tools/cli/commands/studio.js +68 -0
- package/tools/cli/commands/uninstall.js +173 -65
- package/tools/cli/commands/update-check.js +31 -0
- package/tools/cli/commands/update-policy.js +39 -0
- package/tools/cli/commands/update.js +102 -113
- package/tools/cli/i18n.js +60 -0
- package/tools/cli/lib/ide-config.js +4 -261
- package/tools/cli/lib/install-manifest.js +17 -0
- package/tools/cli/lib/installation-health.js +360 -0
- package/tools/cli/lib/installed-adapters.js +89 -0
- package/tools/cli/lib/npm-runner.js +177 -0
- package/tools/cli/lib/pack-copy.js +62 -66
- package/tools/cli/lib/packs.js +546 -3
- package/tools/cli/lib/python-health.js +233 -0
- package/tools/cli/lib/python-provision.js +2 -2
- package/tools/cli/lib/studio.js +310 -0
- package/tools/cli/lib/update-check.js +153 -0
- package/tools/cli/lib/update-dispatch.js +182 -0
- package/tools/cli/lib/update-policy.js +90 -0
- package/tools/cli/lib/update-transaction.js +334 -0
- package/tools/release/publication-content.js +901 -0
|
@@ -1,74 +1,70 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-create-architecture
|
|
3
|
-
description:
|
|
3
|
+
description: Define an implementable architecture for an actual product or change request.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Read fully and follow: `./steps/step-01-init.md` to begin the workflow.
|
|
73
|
-
|
|
74
|
-
**Note:** Input document discovery and all initialization protocols are handled in step-01-init.md.
|
|
6
|
+
# Create architecture
|
|
7
|
+
|
|
8
|
+
Read the [execution guide](../../shared/execution.md) and
|
|
9
|
+
[Bezalel's role](architect-agent.md). Use the
|
|
10
|
+
[decision document guide](../../shared/architecture-decision-template.md) for the
|
|
11
|
+
output. This page contains the complete procedure; no step-file runtime is needed.
|
|
12
|
+
|
|
13
|
+
## Inputs
|
|
14
|
+
|
|
15
|
+
A request or supplied artifact describing the desired behavior. For an existing
|
|
16
|
+
project, inspect relevant code, manifests and prior decisions. A PRD, UX contract,
|
|
17
|
+
load forecast or deployment constraint is evidence only if actually supplied or
|
|
18
|
+
found and read. Record missing consequential facts as questions.
|
|
19
|
+
|
|
20
|
+
## Procedure
|
|
21
|
+
|
|
22
|
+
1. Establish the scope and baseline. Record the request, inspected input paths,
|
|
23
|
+
hashes when available, current implementation state and the decisions already
|
|
24
|
+
accepted. Identify what the architecture must enable and what is outside scope.
|
|
25
|
+
2. Describe the significant journeys and constraints. Distinguish observable
|
|
26
|
+
behavior, invariants, service limits and design preferences. Connect each
|
|
27
|
+
consequential constraint to an input or an explicitly stated assumption.
|
|
28
|
+
3. Examine the existing stack and operating environment. Locate extension points,
|
|
29
|
+
data stores, deployment configuration and project conventions. For a new
|
|
30
|
+
project, compare suitable foundations against actual needs; scaffolding or
|
|
31
|
+
changing dependencies is a separate action from selecting a design.
|
|
32
|
+
4. Decide the consequential choices. For each, record the problem, credible
|
|
33
|
+
alternatives, chosen approach, costs, supporting evidence and a condition for
|
|
34
|
+
revisiting it. Resolve an essential unknown by inspection or a bounded,
|
|
35
|
+
authorized experiment; otherwise mark the affected decision provisional.
|
|
36
|
+
5. Define component and data boundaries. Specify ownership, dependencies,
|
|
37
|
+
interface examples, validation, errors and state transitions. Cover access
|
|
38
|
+
control, sensitive data, concurrency, observability and recovery wherever the
|
|
39
|
+
system actually uses them. Avoid adding mechanisms without a requirement.
|
|
40
|
+
6. Map the design onto the repository and delivery environment. Distinguish
|
|
41
|
+
existing paths from proposed paths, describe migrations and compatibility, and
|
|
42
|
+
identify the smallest useful implementation sequence with its dependencies.
|
|
43
|
+
7. Walk through a representative success case, a relevant failure case and any
|
|
44
|
+
migration or restart that the change needs. Check each against the boundaries
|
|
45
|
+
and invariants. Record contradictions, missing decisions and the concrete
|
|
46
|
+
tests or measurements that would resolve them.
|
|
47
|
+
8. Write the architecture report. Explain which parts are sufficiently specified
|
|
48
|
+
for implementation, which remain provisional, and the next bounded action.
|
|
49
|
+
Do not claim performance, security or deployment validation without evidence.
|
|
50
|
+
|
|
51
|
+
## Output and acceptance
|
|
52
|
+
|
|
53
|
+
Write the common report at the configured output path for create-architecture.
|
|
54
|
+
Include context, input ledger, requirement-to-decision mapping, component/data
|
|
55
|
+
boundaries, decision records, repository map, delivery sequence, verification
|
|
56
|
+
plan and open risks. A diagram is useful only when its labels agree with the
|
|
57
|
+
written interfaces.
|
|
58
|
+
|
|
59
|
+
The report is complete when every in-scope consequential requirement has a
|
|
60
|
+
decision or an explicit unresolved dependency, interface examples are consistent,
|
|
61
|
+
and an implementer can identify the first slice and its acceptance checks.
|
|
62
|
+
Record actual experiments separately from proposed tests. Provisional design
|
|
63
|
+
can be delivered as a draft; it cannot be described as verified architecture.
|
|
64
|
+
|
|
65
|
+
## Continue
|
|
66
|
+
|
|
67
|
+
Read the existing report and compare its inputs with current files before editing.
|
|
68
|
+
Keep user additions. Invalidate decisions whose assumptions or interfaces changed,
|
|
69
|
+
then resume at the earliest affected procedure step. Preserve superseded decisions
|
|
70
|
+
and the reason for replacement rather than silently rewriting project history.
|
|
@@ -1,93 +1,64 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-create-epics-and-stories
|
|
3
|
-
description:
|
|
3
|
+
description: Turn requirements into traceable epics and implementable stories.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Create
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
67
|
-
|
|
68
|
-
### Step 3: Load Persistent Facts
|
|
69
|
-
|
|
70
|
-
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` β load the referenced contents as facts. All other entries are facts verbatim.
|
|
71
|
-
|
|
72
|
-
### Step 4: Load Config
|
|
73
|
-
|
|
74
|
-
Load config from `{project-root}/project config` and resolve:
|
|
75
|
-
- Use `{user_name}` for greeting
|
|
76
|
-
- Use `{communication_language}` for all communications
|
|
77
|
-
- Use `{document_output_language}` for output documents
|
|
78
|
-
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
79
|
-
- Use `{project_knowledge}` for additional context scanning
|
|
80
|
-
|
|
81
|
-
### Step 5: Greet the User
|
|
82
|
-
|
|
83
|
-
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
84
|
-
|
|
85
|
-
### Step 6: Execute Append Steps
|
|
86
|
-
|
|
87
|
-
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
88
|
-
|
|
89
|
-
Activation is complete. Begin the workflow below.
|
|
90
|
-
|
|
91
|
-
## Execution
|
|
92
|
-
|
|
93
|
-
Read fully and follow: `./steps/step-01-validate-prerequisites.md` to begin the workflow.
|
|
6
|
+
# Create epics and stories
|
|
7
|
+
|
|
8
|
+
Read the [execution guide](../../shared/execution.md) and
|
|
9
|
+
[Bezalel's role](architect-agent.md).
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
At least one explicit requirements artifact. Read any supplied architecture,
|
|
14
|
+
UX decisions and existing backlog. Determine the intended outcome from their
|
|
15
|
+
contents; file names alone do not establish requirements or readiness.
|
|
16
|
+
|
|
17
|
+
## Procedure
|
|
18
|
+
|
|
19
|
+
1. Inventory the requested outcomes and constraints. Preserve existing requirement,
|
|
20
|
+
epic and story identifiers. If inputs have no identifiers, assign local stable
|
|
21
|
+
IDs and record their source passages so later edits remain traceable.
|
|
22
|
+
2. Inspect the existing backlog and implementation where available. Separate work
|
|
23
|
+
already evidenced from proposed work; do not infer completion from a title or
|
|
24
|
+
change a manually maintained status.
|
|
25
|
+
3. Group related outcomes into epics with an observable benefit and a boundary.
|
|
26
|
+
Make stories small coherent increments that can be reviewed and tested.
|
|
27
|
+
Necessary infrastructure work should state the capability it enables and an
|
|
28
|
+
observable acceptance condition, rather than masquerading as a user journey.
|
|
29
|
+
4. Define each story's intent, affected behavior, requirement references,
|
|
30
|
+
prerequisites, acceptance examples, exclusions and evidence needed to accept
|
|
31
|
+
it. Include failure or permission cases when they belong to the behavior.
|
|
32
|
+
Do not invent file paths before inspecting the relevant code.
|
|
33
|
+
5. Order dependencies and check for cycles. Identify external prerequisites and
|
|
34
|
+
decisions that prevent a story from being actionable. Distinguish a useful
|
|
35
|
+
sequence from a hard dependency; avoid making independent stories wait without
|
|
36
|
+
a reason.
|
|
37
|
+
6. Reconcile the set with the requirements. Find omitted constraints, duplicate
|
|
38
|
+
outcomes and acceptance criteria that cannot be observed. Revise the slices or
|
|
39
|
+
record the unresolved issue with the affected IDs.
|
|
40
|
+
7. Deliver the backlog and recommend the first actionable slice. If capacity or
|
|
41
|
+
delivery dates are unknown, leave scheduling uncommitted rather than inventing
|
|
42
|
+
velocity or assigning people.
|
|
43
|
+
|
|
44
|
+
## Output and acceptance
|
|
45
|
+
|
|
46
|
+
Write the report for create-epics-stories with an epic overview, story records,
|
|
47
|
+
dependency list and coverage table:
|
|
48
|
+
|
|
49
|
+
| Requirement ID | Source | Story IDs | Acceptance evidence | Gap |
|
|
50
|
+
| --- | --- | --- | --- | --- |
|
|
51
|
+
| Use actual IDs | File and section | Existing or newly assigned IDs | Observable check | None or unresolved dependency |
|
|
52
|
+
|
|
53
|
+
Each story record includes its stable ID, outcome, scope, dependencies and
|
|
54
|
+
acceptance examples. Each in-scope requirement must map to a story or an explained
|
|
55
|
+
deferral. A story is actionable only when its essential decisions and inputs are
|
|
56
|
+
available. Report coverage gaps explicitly; a completed backlog is not completed
|
|
57
|
+
implementation.
|
|
58
|
+
|
|
59
|
+
## Continue
|
|
60
|
+
|
|
61
|
+
Compare the current inputs and backlog with the saved input ledger. Preserve IDs,
|
|
62
|
+
human status values and annotations. Add or revise affected stories, recording
|
|
63
|
+
splits, merges and superseded IDs so existing references remain understandable.
|
|
64
|
+
Recheck dependencies and coverage only for changes and their consequences.
|
package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/generate-project-context.md
CHANGED
|
@@ -1,81 +1,59 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-generate-project-context
|
|
3
|
-
description:
|
|
3
|
+
description: Capture concise project conventions and constraints from inspected sources.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Generate
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Step 5: Greet the User
|
|
61
|
-
|
|
62
|
-
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
63
|
-
|
|
64
|
-
### Step 6: Execute Append Steps
|
|
65
|
-
|
|
66
|
-
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
67
|
-
|
|
68
|
-
Activation is complete. Begin the workflow below.
|
|
69
|
-
|
|
70
|
-
## Paths
|
|
71
|
-
|
|
72
|
-
- `output_file` = `{output_folder}/project-context.md`
|
|
73
|
-
|
|
74
|
-
## Execution
|
|
75
|
-
|
|
76
|
-
- β
YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
77
|
-
- β
YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
|
|
78
|
-
|
|
79
|
-
Load and execute `./steps/step-01-discover.md` to begin the workflow.
|
|
80
|
-
|
|
81
|
-
**Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.
|
|
6
|
+
# Generate project context
|
|
7
|
+
|
|
8
|
+
Read the [execution guide](../../shared/execution.md) and
|
|
9
|
+
[Bezalel's role](architect-agent.md).
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
A request naming what project or area to summarize, or an explicit project
|
|
14
|
+
artifact. Inspect the selected directory with host tools; a prepared context
|
|
15
|
+
bundle is not a repository inspection. Read current instructions and existing
|
|
16
|
+
context before generating another file.
|
|
17
|
+
|
|
18
|
+
## Procedure
|
|
19
|
+
|
|
20
|
+
1. Identify the repository boundary and relevant source areas. Read project
|
|
21
|
+
instructions, manifests, build or test entry points and representative code.
|
|
22
|
+
Record the inspected revision or input hashes and any inaccessible areas.
|
|
23
|
+
2. Extract facts that affect future work: runtime and package manager, directory
|
|
24
|
+
responsibilities, established extension patterns, actual verification commands
|
|
25
|
+
and deployment boundaries. Cite each consequential fact to its source.
|
|
26
|
+
3. Capture invariants and recurring conventions using concrete examples. Separate
|
|
27
|
+
project requirements from an observed local pattern and from a recommendation.
|
|
28
|
+
Do not promote one unusual file into a universal rule.
|
|
29
|
+
4. Check existing context and documentation for duplication or contradictions.
|
|
30
|
+
Resolve claims by inspecting the authoritative source; keep unresolved
|
|
31
|
+
disagreements visible. Summarize useful rules rather than copying large files
|
|
32
|
+
or storing sensitive values.
|
|
33
|
+
5. Organize a compact context document around the decisions a future implementer
|
|
34
|
+
must make. Include where to look next and what has not been inspected. Label
|
|
35
|
+
commands as discovered or executed, with actual results only for executed
|
|
36
|
+
checks.
|
|
37
|
+
6. Review each statement for evidence and ongoing relevance. Write the report,
|
|
38
|
+
or the user's requested project-context destination. Never overwrite generated
|
|
39
|
+
AGENTS.md or tool adapters; changes to their rules belong in their source
|
|
40
|
+
configuration and generation workflow.
|
|
41
|
+
|
|
42
|
+
## Output and acceptance
|
|
43
|
+
|
|
44
|
+
The report for generate-project-context contains scope and freshness, source
|
|
45
|
+
ledger, project map, working conventions, acceptance/verification commands,
|
|
46
|
+
invariants and unresolved questions. State the inspected area prominently when
|
|
47
|
+
coverage is partial.
|
|
48
|
+
|
|
49
|
+
A future assistant should be able to find the implementation area and the
|
|
50
|
+
appropriate checks from this document. Unsupported prescriptions, duplicated
|
|
51
|
+
manuals and hidden assumptions should be removed or labeled as proposals.
|
|
52
|
+
The context is reference material and does not override project or user instructions.
|
|
53
|
+
|
|
54
|
+
## Continue
|
|
55
|
+
|
|
56
|
+
Read and preserve the existing document's human additions. Compare referenced
|
|
57
|
+
sources and hashes, refresh affected facts and remove stale statements only with
|
|
58
|
+
their replacement evidence recorded. An unchanged report date is not proof that
|
|
59
|
+
the project stayed unchanged.
|
package/src/bmad-plus/packs/pack-dev-studio/categories/architecture/implementation-readiness.md
CHANGED
|
@@ -1,91 +1,58 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
2
|
name: bmad-check-implementation-readiness
|
|
3
|
-
description:
|
|
3
|
+
description: Check whether a selected scope has enough consistent evidence to begin implementation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Implementation
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
61
|
-
|
|
62
|
-
### Step 2: Execute Prepend Steps
|
|
63
|
-
|
|
64
|
-
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
65
|
-
|
|
66
|
-
### Step 3: Load Persistent Facts
|
|
67
|
-
|
|
68
|
-
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` β load the referenced contents as facts. All other entries are facts verbatim.
|
|
69
|
-
|
|
70
|
-
### Step 4: Load Config
|
|
71
|
-
|
|
72
|
-
Load config from `{project-root}/project config` and resolve:
|
|
73
|
-
- Use `{user_name}` for greeting
|
|
74
|
-
- Use `{communication_language}` for all communications
|
|
75
|
-
- Use `{document_output_language}` for output documents
|
|
76
|
-
- Use `{planning_artifacts}` for output location and artifact scanning
|
|
77
|
-
- Use `{project_knowledge}` for additional context scanning
|
|
78
|
-
|
|
79
|
-
### Step 5: Greet the User
|
|
80
|
-
|
|
81
|
-
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
82
|
-
|
|
83
|
-
### Step 6: Execute Append Steps
|
|
84
|
-
|
|
85
|
-
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
86
|
-
|
|
87
|
-
Activation is complete. Begin the workflow below.
|
|
88
|
-
|
|
89
|
-
## Execution
|
|
90
|
-
|
|
91
|
-
Read fully and follow: `./steps/step-01-document-discovery.md` to begin the workflow.
|
|
6
|
+
# Implementation readiness
|
|
7
|
+
|
|
8
|
+
Read the [execution guide](../../shared/execution.md) and
|
|
9
|
+
[Bezalel's role](architect-agent.md).
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
At least one explicit planning or story artifact and the scope to assess. Use
|
|
14
|
+
supplied requirements, architecture, UX, backlog and project constraints as
|
|
15
|
+
applicable. A small maintenance task need not acquire unrelated planning documents.
|
|
16
|
+
|
|
17
|
+
## Procedure
|
|
18
|
+
|
|
19
|
+
1. Name the slice being assessed and inventory the artifacts actually read.
|
|
20
|
+
Record versions or hashes and whether each artifact describes the current
|
|
21
|
+
project. Separate absent documents from missing information.
|
|
22
|
+
2. Extract the slice's intended behavior, acceptance criteria and invariants.
|
|
23
|
+
Check that essential terms, boundaries and failure behavior have a consistent
|
|
24
|
+
meaning across inputs. Cite conflicting passages precisely.
|
|
25
|
+
3. Trace requirements through relevant UX or interface contracts, architecture
|
|
26
|
+
decisions and implementation tasks. Identify missing handoffs, contradictory
|
|
27
|
+
interfaces, uncovered constraints and acceptance checks with no observable
|
|
28
|
+
result.
|
|
29
|
+
4. Inspect readiness dependencies: repository and runtime access, required data,
|
|
30
|
+
decision owners, migrations, credentials supplied through approved channels,
|
|
31
|
+
and test capabilities. Do not request or reproduce secret values in the report.
|
|
32
|
+
A promise that access exists is not a successful access check.
|
|
33
|
+
5. Rank issues by their effect on the next implementation slice. Separate
|
|
34
|
+
prerequisites that stop it, decisions safely deferred, and improvements that
|
|
35
|
+
do not affect its acceptance. Give each blocking issue a source, consequence
|
|
36
|
+
and the smallest resolution action.
|
|
37
|
+
6. Produce a disposition of ready, needs-resolution, or insufficient-evidence.
|
|
38
|
+
Ready requires the scoped prerequisites and acceptance path to be evidenced.
|
|
39
|
+
Missing information prevents a readiness claim for the affected scope;
|
|
40
|
+
unrelated missing documents do not block useful independent work.
|
|
41
|
+
|
|
42
|
+
## Output and acceptance
|
|
43
|
+
|
|
44
|
+
Write the report for implementation-readiness with assessed scope, input ledger,
|
|
45
|
+
traceability table, issues, disposition and next actions. Use one row per relevant
|
|
46
|
+
requirement or invariant with columns for source, implementing story or task,
|
|
47
|
+
acceptance check and evidence status.
|
|
48
|
+
|
|
49
|
+
Every blocking conclusion must cite a concrete contradiction or missing
|
|
50
|
+
prerequisite. Zero issues is valid after completing the scoped assessment.
|
|
51
|
+
Readiness means work can begin under the recorded assumptions; it does not mean
|
|
52
|
+
the implementation is correct or that tests have passed.
|
|
53
|
+
|
|
54
|
+
## Continue
|
|
55
|
+
|
|
56
|
+
On new evidence, compare inputs and reassess only affected rows and dependencies.
|
|
57
|
+
Keep prior issues and record their resolution evidence. A document revision or
|
|
58
|
+
someone saying an issue is fixed is not itself proof of the relevant change.
|