ma-agents 3.8.0 → 3.11.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 (98) hide show
  1. package/README.md +13 -5
  2. package/bin/cli.js +140 -63
  3. package/lib/agents.js +12 -20
  4. package/lib/bmad-cache/cache-manifest.json +8 -8
  5. package/lib/bmad-cache/cis/_git_preserved/index +0 -0
  6. package/lib/bmad-cache/cis/_git_preserved/logs/HEAD +1 -1
  7. package/lib/bmad-cache/cis/_git_preserved/logs/refs/heads/main +1 -1
  8. package/lib/bmad-cache/cis/_git_preserved/logs/refs/remotes/origin/HEAD +1 -1
  9. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.idx +0 -0
  10. package/lib/bmad-cache/cis/_git_preserved/objects/pack/{pack-cad8ff313ea5db860ddcc7780f03917dcba1da8d.pack → pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.pack} +0 -0
  11. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-42ffc048f54e58ce94c6331bc6be97ebbb7936f2.rev +0 -0
  12. package/lib/bmad-cache/cis/_git_preserved/packed-refs +1 -1
  13. package/lib/bmad-cache/cis/_git_preserved/refs/heads/main +1 -1
  14. package/lib/bmad-cache/cis/_git_preserved/shallow +1 -1
  15. package/lib/bmad-cache/cis/src/module-help.csv +5 -5
  16. package/lib/bmad-cache/gds/_git_preserved/index +0 -0
  17. package/lib/bmad-cache/gds/_git_preserved/logs/HEAD +1 -1
  18. package/lib/bmad-cache/gds/_git_preserved/logs/refs/heads/main +1 -1
  19. package/lib/bmad-cache/gds/_git_preserved/logs/refs/remotes/origin/HEAD +1 -1
  20. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-9427a146a90c00bb542cba038874bf9671ba4dc0.idx +0 -0
  21. package/lib/bmad-cache/gds/_git_preserved/objects/pack/{pack-c1322f7c8531a89dc4f3f34c4955d194f286c1e6.pack → pack-9427a146a90c00bb542cba038874bf9671ba4dc0.pack} +0 -0
  22. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-9427a146a90c00bb542cba038874bf9671ba4dc0.rev +0 -0
  23. package/lib/bmad-cache/gds/_git_preserved/packed-refs +1 -1
  24. package/lib/bmad-cache/gds/_git_preserved/refs/heads/main +1 -1
  25. package/lib/bmad-cache/gds/_git_preserved/shallow +1 -1
  26. package/lib/bmad-cache/gds/src/module-help.csv +34 -34
  27. package/lib/bmad-cache/tea/.claude-plugin/marketplace.json +1 -1
  28. package/lib/bmad-cache/tea/.github/workflows/publish.yaml +168 -0
  29. package/lib/bmad-cache/tea/README.md +67 -57
  30. package/lib/bmad-cache/tea/_git_preserved/index +0 -0
  31. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-f0df537f2649464ff6c5aee241165eb9c8664227.idx +0 -0
  32. package/lib/bmad-cache/tea/_git_preserved/objects/pack/{pack-9b16db8eb5022c18cef1f0a27d63b6e0f4bc2b2a.pack → pack-f0df537f2649464ff6c5aee241165eb9c8664227.pack} +0 -0
  33. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-f0df537f2649464ff6c5aee241165eb9c8664227.rev +0 -0
  34. package/lib/bmad-cache/tea/_git_preserved/packed-refs +1 -1
  35. package/lib/bmad-cache/tea/_git_preserved/refs/heads/main +1 -1
  36. package/lib/bmad-cache/tea/_git_preserved/shallow +1 -1
  37. package/lib/bmad-cache/tea/package-lock.json +2 -2
  38. package/lib/bmad-cache/tea/package.json +5 -6
  39. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/contract-testing.md +2 -3
  40. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/pact-consumer-framework-setup.md +42 -95
  41. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/pactjs-utils-consumer-helpers.md +5 -6
  42. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/knowledge/pactjs-utils-provider-verifier.md +1 -1
  43. package/lib/bmad-cache/tea/src/agents/bmad-tea/resources/tea-index.csv +1 -1
  44. package/lib/bmad-cache/tea/src/module-help.csv +9 -9
  45. package/lib/bmad-extension/.claude-plugin/marketplace.json.template +2 -2
  46. package/lib/bmad-extension/skills/add-sprint/SKILL.md +39 -0
  47. package/lib/bmad-extension/skills/add-to-sprint/SKILL.md +39 -0
  48. package/lib/bmad-extension/skills/bmad-dev-story/workflow.md +39 -0
  49. package/lib/bmad-extension/skills/bmad-sprint-planning/workflow.md +41 -0
  50. package/lib/bmad-extension/skills/bmad-sprint-status/workflow.md +39 -0
  51. package/lib/bmad-extension/skills/cleanup-done/SKILL.md +39 -0
  52. package/lib/bmad-extension/skills/close-sprint/SKILL.md +39 -0
  53. package/lib/bmad-extension/skills/generate-backlog/SKILL.md +41 -0
  54. package/lib/bmad-extension/skills/modify-sprint/SKILL.md +39 -0
  55. package/lib/bmad-extension/skills/module.yaml +1 -1
  56. package/lib/bmad-extension/skills/prioritize-backlog/SKILL.md +39 -0
  57. package/lib/bmad-extension/skills/remove-from-sprint/SKILL.md +39 -0
  58. package/lib/bmad-extension/skills/sprint-status-view/SKILL.md +39 -0
  59. package/lib/bmad-extension/workflows/add-sprint/workflow.md +39 -0
  60. package/lib/bmad-extension/workflows/add-to-sprint/workflow.md +39 -0
  61. package/lib/bmad-extension/workflows/modify-sprint/workflow.md +39 -0
  62. package/lib/bmad-extension/workflows/sprint-status-view/workflow.md +39 -0
  63. package/lib/bmad-extension-plugin/.claude-plugin/marketplace.json +2 -2
  64. package/lib/bmad-extension-plugin/skills/add-sprint/SKILL.md +39 -0
  65. package/lib/bmad-extension-plugin/skills/add-to-sprint/SKILL.md +39 -0
  66. package/lib/bmad-extension-plugin/skills/bmad-dev-story/workflow.md +39 -0
  67. package/lib/bmad-extension-plugin/skills/bmad-sprint-planning/workflow.md +41 -0
  68. package/lib/bmad-extension-plugin/skills/bmad-sprint-status/workflow.md +39 -0
  69. package/lib/bmad-extension-plugin/skills/cleanup-done/SKILL.md +39 -0
  70. package/lib/bmad-extension-plugin/skills/close-sprint/SKILL.md +39 -0
  71. package/lib/bmad-extension-plugin/skills/generate-backlog/SKILL.md +41 -0
  72. package/lib/bmad-extension-plugin/skills/modify-sprint/SKILL.md +39 -0
  73. package/lib/bmad-extension-plugin/skills/module.yaml +1 -1
  74. package/lib/bmad-extension-plugin/skills/prioritize-backlog/SKILL.md +39 -0
  75. package/lib/bmad-extension-plugin/skills/remove-from-sprint/SKILL.md +39 -0
  76. package/lib/bmad-extension-plugin/skills/sprint-status-view/SKILL.md +39 -0
  77. package/lib/bmad.js +76 -8
  78. package/lib/installer.js +6 -1
  79. package/package.json +4 -4
  80. package/skills/add-sprint/SKILL.md +39 -0
  81. package/skills/add-to-sprint/SKILL.md +39 -0
  82. package/skills/bmad-sprint-planning/SKILL.md +41 -0
  83. package/skills/bmad-sprint-status/SKILL.md +39 -0
  84. package/skills/cleanup-done/SKILL.md +39 -0
  85. package/skills/close-sprint/SKILL.md +39 -0
  86. package/skills/generate-backlog/SKILL.md +41 -0
  87. package/skills/modify-sprint/SKILL.md +39 -0
  88. package/skills/prioritize-backlog/SKILL.md +39 -0
  89. package/skills/remove-from-sprint/SKILL.md +39 -0
  90. package/skills/sprint-status-view/SKILL.md +39 -0
  91. package/skills/story-status-lookup/SKILL.md +38 -21
  92. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-cad8ff313ea5db860ddcc7780f03917dcba1da8d.idx +0 -0
  93. package/lib/bmad-cache/cis/_git_preserved/objects/pack/pack-cad8ff313ea5db860ddcc7780f03917dcba1da8d.rev +0 -0
  94. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-c1322f7c8531a89dc4f3f34c4955d194f286c1e6.idx +0 -0
  95. package/lib/bmad-cache/gds/_git_preserved/objects/pack/pack-c1322f7c8531a89dc4f3f34c4955d194f286c1e6.rev +0 -0
  96. package/lib/bmad-cache/tea/.github/workflows/manual-release.yaml +0 -216
  97. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-9b16db8eb5022c18cef1f0a27d63b6e0f4bc2b2a.idx +0 -0
  98. package/lib/bmad-cache/tea/_git_preserved/objects/pack/pack-9b16db8eb5022c18cef1f0a27d63b6e0f4bc2b2a.rev +0 -0
@@ -20,6 +20,45 @@ Keeps the active sprint view lean by archiving completed and cancelled work. Pre
20
20
 
21
21
  ---
22
22
 
23
+ ## Backend Routing
24
+
25
+ Before executing any file-system operations, determine and route to the correct backend:
26
+
27
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
28
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
29
+
30
+ 2. If `tracking_system` is `file-system`:
31
+ Proceed with the **File-System Backend** instructions below.
32
+
33
+ 3. If `tracking_system` is `jira`:
34
+ a. Perform the Jira operation: Query all issues in project `{jira_project_key}` at `{jira_url}` with status Done/Resolved/Closed. For each such issue that maps to a local story file at `{story_location}/{id}.md`: transition the issue to the resolved/done Jira workflow state if not already there (using the issue transition API). Then move the local story file to `{story_location}/done/{id}.md` — this local file operation always executes regardless of backend. Note: Jira issues are NOT deleted; they remain in Jira as resolved.
35
+ Use whatever Jira-capable tool is available in your current tool context.
36
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
37
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
38
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
39
+ c. If the Jira operation FAILS for any reason:
40
+ - If no Jira-capable tool is available in your current context:
41
+ Pause and present the user with:
42
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
43
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
44
+ > instance at `{jira_url}`). How would you like to proceed?
45
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
46
+ > (b) Switch to file management — update sprint-status.yaml and config to use
47
+ > file-system backend, then complete this operation locally. This change is permanent."
48
+ - If a Jira tool attempted the operation but returned an error:
49
+ Pause and present the user with:
50
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
51
+ > (a) Retry — attempt the Jira operation again
52
+ > (b) Switch to file management — update sprint-status.yaml and config to use
53
+ > file-system backend, then complete this operation locally. This change is permanent."
54
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
55
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
56
+ then proceed with **File-System Backend** instructions below.
57
+
58
+ 4. **File-System Backend** — execute the workflow steps below.
59
+
60
+ ---
61
+
23
62
  <workflow>
24
63
 
25
64
  <step n="0" goal="Load configuration and validate file existence">
@@ -13,6 +13,45 @@ Close an active sprint — archive done/cancelled items, disposition incomplete
13
13
 
14
14
  **Schema Reference:** `_bmad-output/planning-artifacts/sprint-status-schema.md` (Story 17.9)
15
15
 
16
+ ## Backend Routing
17
+
18
+ Before executing any file-system operations, determine and route to the correct backend:
19
+
20
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
21
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
22
+
23
+ 2. If `tracking_system` is `file-system`:
24
+ Proceed with the **File-System Backend** instructions below.
25
+
26
+ 3. If `tracking_system` is `jira`:
27
+ a. Perform the Jira operation: Query all issues in the active sprint for project `{jira_project_key}` at `{jira_url}`. For done/cancelled items: transition each to resolved/done Jira state using the issue transition API; then move each corresponding local story file from `{story_location}/{id}.md` to `{story_location}/done/{id}.md` (local file operation — always executes). For incomplete items (not done/cancelled): remove each issue from the sprint using the "remove issue from sprint" operation (returns them to board backlog). Then close the sprint using the sprint close API.
28
+ Use whatever Jira-capable tool is available in your current tool context.
29
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
30
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
31
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
32
+ c. If the Jira operation FAILS for any reason:
33
+ - If no Jira-capable tool is available in your current context:
34
+ Pause and present the user with:
35
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
36
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
37
+ > instance at `{jira_url}`). How would you like to proceed?
38
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
39
+ > (b) Switch to file management — update sprint-status.yaml and config to use
40
+ > file-system backend, then complete this operation locally. This change is permanent."
41
+ - If a Jira tool attempted the operation but returned an error:
42
+ Pause and present the user with:
43
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
44
+ > (a) Retry — attempt the Jira operation again
45
+ > (b) Switch to file management — update sprint-status.yaml and config to use
46
+ > file-system backend, then complete this operation locally. This change is permanent."
47
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
48
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
49
+ then proceed with **File-System Backend** instructions below.
50
+
51
+ 4. **File-System Backend** — execute the workflow steps below.
52
+
53
+ ---
54
+
16
55
  <workflow>
17
56
 
18
57
  <step n="0" goal="Load configuration and validate file existence">
@@ -22,6 +22,47 @@ This skill reads `epics.md` and `bug-*.md` files and writes the `backlog` and `e
22
22
 
23
23
  ---
24
24
 
25
+ ## Backend Routing
26
+
27
+ Before executing any file-system operations, determine and route to the correct backend:
28
+
29
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
30
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
31
+
32
+ 2. If `tracking_system` is `file-system`:
33
+ Proceed with the **File-System Backend** instructions below.
34
+
35
+ 3. If `tracking_system` is `jira`:
36
+ > "This operation will create/update Jira items in bulk. If it fails mid-way, Jira may be in partial state. The Jira server URL is `{jira_url}` and project key is `{jira_project_key}` (from `_bmad/bmm/config.yaml`). Proceed?"
37
+
38
+ a. Perform the Jira operation: Query all Jira epics (issues of type Epic) in project `{jira_project_key}` at `{jira_url}` to build the epics map. Query all backlog issues (Story and Bug type, not assigned to any active sprint) in project `{jira_project_key}`. For any backlog items not already present in Jira, create new Jira issues (one API call per item). For existing items whose fields have changed, update them. Use the Jira field mapping: item.title → issue summary, item.type → issue type (story → Story, bug → Bug), item.status → Jira workflow status (see status mapping below), item.priority → issue priority. Status mapping: backlog → Backlog/Open, ready-for-dev → To Do/Selected for Development, in-progress → In Progress, review → In Review/Code Review, done → Done/Resolved, on-hold → On Hold/Blocked, cancelled → Won't Do/Cancelled.
39
+ Use whatever Jira-capable tool is available in your current tool context.
40
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
41
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
42
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
43
+ c. If the Jira operation FAILS for any reason:
44
+ - If no Jira-capable tool is available in your current context:
45
+ Pause and present the user with:
46
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
47
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
48
+ > instance at `{jira_url}`). How would you like to proceed?
49
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
50
+ > (b) Switch to file management — update sprint-status.yaml and config to use
51
+ > file-system backend, then complete this operation locally. This change is permanent."
52
+ - If a Jira tool attempted the operation but returned an error:
53
+ Pause and present the user with:
54
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
55
+ > (a) Retry — attempt the Jira operation again
56
+ > (b) Switch to file management — update sprint-status.yaml and config to use
57
+ > file-system backend, then complete this operation locally. This change is permanent."
58
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
59
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
60
+ then proceed with **File-System Backend** instructions below.
61
+
62
+ 4. **File-System Backend** — execute the workflow steps below.
63
+
64
+ ---
65
+
25
66
  <workflow>
26
67
 
27
68
  <step n="1" goal="Resolve paths and load existing sprint-status.yaml state">
@@ -14,6 +14,45 @@ Guided workflow to modify an existing sprint's metadata (name, capacity, dates,
14
14
  > **Scope:** This skill modifies sprint **metadata only** — name, capacity, start date, end date, and status.
15
15
  > To assign items to a sprint, use `/add-to-sprint`. To remove items, use `/remove-from-sprint`.
16
16
 
17
+ ## Backend Routing
18
+
19
+ Before executing any file-system operations, determine and route to the correct backend:
20
+
21
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
22
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
23
+
24
+ 2. If `tracking_system` is `file-system`:
25
+ Proceed with the **File-System Backend** instructions below.
26
+
27
+ 3. If `tracking_system` is `jira`:
28
+ a. Perform the Jira operation: Find the sprint by name or ID in the board for project `{jira_project_key}` at `{jira_url}`. Update the sprint's name, dates, or goal using the sprint update API. If the status is being changed to `active`: start the sprint using the sprint start API (transitions the sprint from future/planning to active state — enforces the single-active-sprint constraint).
29
+ Use whatever Jira-capable tool is available in your current tool context.
30
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
31
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
32
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
33
+ c. If the Jira operation FAILS for any reason:
34
+ - If no Jira-capable tool is available in your current context:
35
+ Pause and present the user with:
36
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
37
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
38
+ > instance at `{jira_url}`). How would you like to proceed?
39
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
40
+ > (b) Switch to file management — update sprint-status.yaml and config to use
41
+ > file-system backend, then complete this operation locally. This change is permanent."
42
+ - If a Jira tool attempted the operation but returned an error:
43
+ Pause and present the user with:
44
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
45
+ > (a) Retry — attempt the Jira operation again
46
+ > (b) Switch to file management — update sprint-status.yaml and config to use
47
+ > file-system backend, then complete this operation locally. This change is permanent."
48
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
49
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
50
+ then proceed with **File-System Backend** instructions below.
51
+
52
+ 4. **File-System Backend** — execute the workflow steps below.
53
+
54
+ ---
55
+
17
56
  <workflow>
18
57
 
19
58
  <step n="0" goal="Load configuration and validate file existence">
@@ -1,4 +1,4 @@
1
- # ma-skills module manifest (BMAD v6.5.0 schema)
1
+ # ma-skills module manifest (BMAD v6.6.0 schema)
2
2
  #
3
3
  # Canonical location: `skills/module.yaml` (BMAD 6.2.2+ / 6.3.0). The previous
4
4
  # location `lib/bmad-extension/module.yaml` was moved here during Story 22.5.
@@ -12,6 +12,45 @@ triggers:
12
12
 
13
13
  Reprioritize backlog items in `sprint-status.yaml` using multiple criteria: severity, business value, dependencies, type, and age.
14
14
 
15
+ ## Backend Routing
16
+
17
+ Before executing any file-system operations, determine and route to the correct backend:
18
+
19
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
20
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
21
+
22
+ 2. If `tracking_system` is `file-system`:
23
+ Proceed with the **File-System Backend** instructions below.
24
+
25
+ 3. If `tracking_system` is `jira`:
26
+ a. Perform the Jira operation: Query all backlog issues (not assigned to any sprint) for project `{jira_project_key}` at `{jira_url}`. Apply the prioritization criteria specified by the user. Reorder the issues in the board backlog by updating the issue rank/priority order (use whatever ranking capability is available on the board — NextGen board issue ranking or classic board priority field). Map canonical priority back to Jira fields.
27
+ Use whatever Jira-capable tool is available in your current tool context.
28
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
29
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
30
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
31
+ c. If the Jira operation FAILS for any reason:
32
+ - If no Jira-capable tool is available in your current context:
33
+ Pause and present the user with:
34
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
35
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
36
+ > instance at `{jira_url}`). How would you like to proceed?
37
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
38
+ > (b) Switch to file management — update sprint-status.yaml and config to use
39
+ > file-system backend, then complete this operation locally. This change is permanent."
40
+ - If a Jira tool attempted the operation but returned an error:
41
+ Pause and present the user with:
42
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
43
+ > (a) Retry — attempt the Jira operation again
44
+ > (b) Switch to file management — update sprint-status.yaml and config to use
45
+ > file-system backend, then complete this operation locally. This change is permanent."
46
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
47
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
48
+ then proceed with **File-System Backend** instructions below.
49
+
50
+ 4. **File-System Backend** — execute the workflow steps below.
51
+
52
+ ---
53
+
15
54
  <workflow>
16
55
 
17
56
  <step n="0" goal="Load configuration and validate file existence">
@@ -11,6 +11,45 @@ triggers:
11
11
 
12
12
  Guided workflow to move sprint items back to the backlog in the unified `sprint-status.yaml` using reverse movement semantics (inverse of `add-to-sprint`).
13
13
 
14
+ ## Backend Routing
15
+
16
+ Before executing any file-system operations, determine and route to the correct backend:
17
+
18
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
19
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
20
+
21
+ 2. If `tracking_system` is `file-system`:
22
+ Proceed with the **File-System Backend** instructions below.
23
+
24
+ 3. If `tracking_system` is `jira`:
25
+ a. Perform the Jira operation: Find the Jira issue matching the item ID in project `{jira_project_key}` at `{jira_url}` (search by issue key or summary). Remove the issue from its current sprint using the "remove issue from sprint" operation, returning it to the board backlog.
26
+ Use whatever Jira-capable tool is available in your current tool context.
27
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
28
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
29
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
30
+ c. If the Jira operation FAILS for any reason:
31
+ - If no Jira-capable tool is available in your current context:
32
+ Pause and present the user with:
33
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
34
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
35
+ > instance at `{jira_url}`). How would you like to proceed?
36
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
37
+ > (b) Switch to file management — update sprint-status.yaml and config to use
38
+ > file-system backend, then complete this operation locally. This change is permanent."
39
+ - If a Jira tool attempted the operation but returned an error:
40
+ Pause and present the user with:
41
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
42
+ > (a) Retry — attempt the Jira operation again
43
+ > (b) Switch to file management — update sprint-status.yaml and config to use
44
+ > file-system backend, then complete this operation locally. This change is permanent."
45
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
46
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
47
+ then proceed with **File-System Backend** instructions below.
48
+
49
+ 4. **File-System Backend** — execute the workflow steps below.
50
+
51
+ ---
52
+
14
53
  <workflow>
15
54
 
16
55
  <step n="0" goal="Load configuration and validate file existence">
@@ -16,6 +16,45 @@ Display a formatted, read-only dashboard of all sprint, backlog, and epic data f
16
16
 
17
17
  ---
18
18
 
19
+ ## Backend Routing
20
+
21
+ Before executing any file-system operations, determine and route to the correct backend:
22
+
23
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
24
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
25
+
26
+ 2. If `tracking_system` is `file-system`:
27
+ Proceed with the **File-System Backend** instructions below.
28
+
29
+ 3. If `tracking_system` is `jira`:
30
+ a. Perform the Jira operation: Query all sprint data for project `{jira_project_key}` at `{jira_url}`: active sprint with all its issues and their statuses, backlog issues count and list, epic summary and progress. Map Jira sprint states to canonical vocabulary (future → planning, active → active, closed → closed). Map Jira issue statuses to canonical statuses per the status mapping below. Use this data for the display — no writes. Status mapping: Backlog/Open → backlog, To Do/Selected for Development → ready-for-dev, In Progress → in-progress, In Review/Code Review → review, Done/Resolved → done, On Hold/Blocked → on-hold, Won't Do/Cancelled → cancelled.
31
+ Use whatever Jira-capable tool is available in your current tool context.
32
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
33
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
34
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
35
+ c. If the Jira operation FAILS for any reason:
36
+ - If no Jira-capable tool is available in your current context:
37
+ Pause and present the user with:
38
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
39
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
40
+ > instance at `{jira_url}`). How would you like to proceed?
41
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
42
+ > (b) Switch to file management — update sprint-status.yaml and config to use
43
+ > file-system backend, then complete this operation locally. This change is permanent."
44
+ - If a Jira tool attempted the operation but returned an error:
45
+ Pause and present the user with:
46
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
47
+ > (a) Retry — attempt the Jira operation again
48
+ > (b) Switch to file management — update sprint-status.yaml and config to use
49
+ > file-system backend, then complete this operation locally. This change is permanent."
50
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
51
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
52
+ then proceed with **File-System Backend** instructions below.
53
+
54
+ 4. **File-System Backend** — execute the steps below.
55
+
56
+ ---
57
+
19
58
  ## Step 1 — Load sprint-status.yaml
20
59
 
21
60
  Resolve the path to `sprint-status.yaml` using the BMAD config:
@@ -2,6 +2,45 @@
2
2
 
3
3
  Guided workflow to create a new sprint entry in the `sprints` section of `sprint-status.yaml` with capacity limits, optional ISO dates, and auto-incremented sprint ID.
4
4
 
5
+ ## Backend Routing
6
+
7
+ Before executing any file-system operations, determine and route to the correct backend:
8
+
9
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
10
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
11
+
12
+ 2. If `tracking_system` is `file-system`:
13
+ Proceed with the **File-System Backend** instructions below.
14
+
15
+ 3. If `tracking_system` is `jira`:
16
+ a. Perform the Jira operation: Create a new sprint in the board for project `{jira_project_key}` at `{jira_url}` using the sprint create API. Set the sprint name, goal (if provided), start date, and end date from the provided sprint data. The new sprint starts in "future/planning" state.
17
+ Use whatever Jira-capable tool is available in your current tool context.
18
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
19
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
20
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
21
+ c. If the Jira operation FAILS for any reason:
22
+ - If no Jira-capable tool is available in your current context:
23
+ Pause and present the user with:
24
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
25
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
26
+ > instance at `{jira_url}`). How would you like to proceed?
27
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
28
+ > (b) Switch to file management — update sprint-status.yaml and config to use
29
+ > file-system backend, then complete this operation locally. This change is permanent."
30
+ - If a Jira tool attempted the operation but returned an error:
31
+ Pause and present the user with:
32
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
33
+ > (a) Retry — attempt the Jira operation again
34
+ > (b) Switch to file management — update sprint-status.yaml and config to use
35
+ > file-system backend, then complete this operation locally. This change is permanent."
36
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
37
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
38
+ then proceed with **File-System Backend** instructions below.
39
+
40
+ 4. **File-System Backend** — execute the workflow steps below.
41
+
42
+ ---
43
+
5
44
  <workflow>
6
45
 
7
46
  <step n="0" goal="Load configuration and validate file existence">
@@ -4,6 +4,45 @@ Guided workflow to move backlog items to a sprint in the unified `sprint-status.
4
4
 
5
5
  **Movement semantics:** Each item exists in exactly one location — either the `backlog` array OR a sprint's `items` array, never both. This skill atomically removes items from `backlog` and appends them to the target sprint's `items` array in a single file write.
6
6
 
7
+ ## Backend Routing
8
+
9
+ Before executing any file-system operations, determine and route to the correct backend:
10
+
11
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
12
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
13
+
14
+ 2. If `tracking_system` is `file-system`:
15
+ Proceed with the **File-System Backend** instructions below.
16
+
17
+ 3. If `tracking_system` is `jira`:
18
+ a. Perform the Jira operation: Find the Jira issue matching the item ID in project `{jira_project_key}` at `{jira_url}` (search by issue key or summary). Find the active sprint on the board for project `{jira_project_key}`. Move the issue to the active sprint using the "add issue to sprint" operation.
19
+ Use whatever Jira-capable tool is available in your current tool context.
20
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
21
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
22
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
23
+ c. If the Jira operation FAILS for any reason:
24
+ - If no Jira-capable tool is available in your current context:
25
+ Pause and present the user with:
26
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
27
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
28
+ > instance at `{jira_url}`). How would you like to proceed?
29
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
30
+ > (b) Switch to file management — update sprint-status.yaml and config to use
31
+ > file-system backend, then complete this operation locally. This change is permanent."
32
+ - If a Jira tool attempted the operation but returned an error:
33
+ Pause and present the user with:
34
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
35
+ > (a) Retry — attempt the Jira operation again
36
+ > (b) Switch to file management — update sprint-status.yaml and config to use
37
+ > file-system backend, then complete this operation locally. This change is permanent."
38
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
39
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
40
+ then proceed with **File-System Backend** instructions below.
41
+
42
+ 4. **File-System Backend** — execute the workflow steps below.
43
+
44
+ ---
45
+
7
46
  <workflow>
8
47
 
9
48
  <step n="0" goal="Load configuration and validate file existence">
@@ -5,6 +5,45 @@ Guided workflow to modify an existing sprint's metadata (name, capacity, dates,
5
5
  > **Scope:** This skill modifies sprint **metadata only** — name, capacity, start date, end date, and status.
6
6
  > To assign items to a sprint, use `/add-to-sprint`. To remove items, use `/remove-from-sprint`.
7
7
 
8
+ ## Backend Routing
9
+
10
+ Before executing any file-system operations, determine and route to the correct backend:
11
+
12
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
13
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
14
+
15
+ 2. If `tracking_system` is `file-system`:
16
+ Proceed with the **File-System Backend** instructions below.
17
+
18
+ 3. If `tracking_system` is `jira`:
19
+ a. Perform the Jira operation: Find the sprint by name or ID in the board for project `{jira_project_key}` at `{jira_url}`. Update the sprint's name, dates, or goal using the sprint update API. If the status is being changed to `active`: start the sprint using the sprint start API (transitions the sprint from future/planning to active state — enforces the single-active-sprint constraint).
20
+ Use whatever Jira-capable tool is available in your current tool context.
21
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
22
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
23
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
24
+ c. If the Jira operation FAILS for any reason:
25
+ - If no Jira-capable tool is available in your current context:
26
+ Pause and present the user with:
27
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
28
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
29
+ > instance at `{jira_url}`). How would you like to proceed?
30
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
31
+ > (b) Switch to file management — update sprint-status.yaml and config to use
32
+ > file-system backend, then complete this operation locally. This change is permanent."
33
+ - If a Jira tool attempted the operation but returned an error:
34
+ Pause and present the user with:
35
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
36
+ > (a) Retry — attempt the Jira operation again
37
+ > (b) Switch to file management — update sprint-status.yaml and config to use
38
+ > file-system backend, then complete this operation locally. This change is permanent."
39
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
40
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
41
+ then proceed with **File-System Backend** instructions below.
42
+
43
+ 4. **File-System Backend** — execute the workflow steps below.
44
+
45
+ ---
46
+
8
47
  <workflow>
9
48
 
10
49
  <step n="0" goal="Load configuration and validate file existence">
@@ -6,6 +6,45 @@ Display a formatted, read-only dashboard of all sprint, backlog, and epic data f
6
6
 
7
7
  ---
8
8
 
9
+ ## Backend Routing
10
+
11
+ Before executing any file-system operations, determine and route to the correct backend:
12
+
13
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
14
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
15
+
16
+ 2. If `tracking_system` is `file-system`:
17
+ Proceed with the **File-System Backend** instructions below.
18
+
19
+ 3. If `tracking_system` is `jira`:
20
+ a. Perform the Jira operation: Query all sprint data for project `{jira_project_key}` at `{jira_url}`: active sprint with all its issues and their statuses, backlog issues count and list, epic summary and progress. Map Jira sprint states to canonical vocabulary (future → planning, active → active, closed → closed). Map Jira issue statuses to canonical statuses per the status mapping below. Use this data for the display — no writes. Status mapping: Backlog/Open → backlog, To Do/Selected for Development → ready-for-dev, In Progress → in-progress, In Review/Code Review → review, Done/Resolved → done, On Hold/Blocked → on-hold, Won't Do/Cancelled → cancelled.
21
+ Use whatever Jira-capable tool is available in your current tool context.
22
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
23
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
24
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
25
+ c. If the Jira operation FAILS for any reason:
26
+ - If no Jira-capable tool is available in your current context:
27
+ Pause and present the user with:
28
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
29
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
30
+ > instance at `{jira_url}`). How would you like to proceed?
31
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
32
+ > (b) Switch to file management — update sprint-status.yaml and config to use
33
+ > file-system backend, then complete this operation locally. This change is permanent."
34
+ - If a Jira tool attempted the operation but returned an error:
35
+ Pause and present the user with:
36
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
37
+ > (a) Retry — attempt the Jira operation again
38
+ > (b) Switch to file management — update sprint-status.yaml and config to use
39
+ > file-system backend, then complete this operation locally. This change is permanent."
40
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
41
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
42
+ then proceed with **File-System Backend** instructions below.
43
+
44
+ 4. **File-System Backend** — execute the steps below.
45
+
46
+ ---
47
+
9
48
  ## Step 1 — Load sprint-status.yaml
10
49
 
11
50
  Resolve the path to `sprint-status.yaml` using the BMAD config:
@@ -31,13 +31,13 @@
31
31
  "roo-code",
32
32
  "kilocode"
33
33
  ],
34
- "bmad_min_version": "6.5.0",
34
+ "bmad_min_version": "6.6.0",
35
35
  "plugins": [
36
36
  {
37
37
  "name": "ma-skills",
38
38
  "source": "./",
39
39
  "description": "ma-agents extension module providing enterprise SDLC personas and operational workflow skills.",
40
- "version": "3.8.0",
40
+ "version": "3.11.0",
41
41
  "author": {
42
42
  "name": "Alon Mayaffit"
43
43
  },
@@ -11,6 +11,45 @@ triggers:
11
11
 
12
12
  Guided workflow to create a new sprint entry in the `sprints` section of `sprint-status.yaml` with capacity limits, optional ISO dates, and auto-incremented sprint ID.
13
13
 
14
+ ## Backend Routing
15
+
16
+ Before executing any file-system operations, determine and route to the correct backend:
17
+
18
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
19
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
20
+
21
+ 2. If `tracking_system` is `file-system`:
22
+ Proceed with the **File-System Backend** instructions below.
23
+
24
+ 3. If `tracking_system` is `jira`:
25
+ a. Perform the Jira operation: Create a new sprint in the board for project `{jira_project_key}` at `{jira_url}` using the sprint create API. Set the sprint name, goal (if provided), start date, and end date from the provided sprint data. The new sprint starts in "future/planning" state.
26
+ Use whatever Jira-capable tool is available in your current tool context.
27
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
28
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
29
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
30
+ c. If the Jira operation FAILS for any reason:
31
+ - If no Jira-capable tool is available in your current context:
32
+ Pause and present the user with:
33
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
34
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
35
+ > instance at `{jira_url}`). How would you like to proceed?
36
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
37
+ > (b) Switch to file management — update sprint-status.yaml and config to use
38
+ > file-system backend, then complete this operation locally. This change is permanent."
39
+ - If a Jira tool attempted the operation but returned an error:
40
+ Pause and present the user with:
41
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
42
+ > (a) Retry — attempt the Jira operation again
43
+ > (b) Switch to file management — update sprint-status.yaml and config to use
44
+ > file-system backend, then complete this operation locally. This change is permanent."
45
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
46
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
47
+ then proceed with **File-System Backend** instructions below.
48
+
49
+ 4. **File-System Backend** — execute the workflow steps below.
50
+
51
+ ---
52
+
14
53
  <workflow>
15
54
 
16
55
  <step n="0" goal="Load configuration and validate file existence">
@@ -13,6 +13,45 @@ Guided workflow to move backlog items to a sprint in the unified `sprint-status.
13
13
 
14
14
  **Movement semantics:** Each item exists in exactly one location — either the `backlog` array OR a sprint's `items` array, never both. This skill atomically removes items from `backlog` and appends them to the target sprint's `items` array in a single file write.
15
15
 
16
+ ## Backend Routing
17
+
18
+ Before executing any file-system operations, determine and route to the correct backend:
19
+
20
+ 1. Read `_bmad-output/implementation-artifacts/sprint-status.yaml` and extract the `tracking_system` field.
21
+ If the field is absent or the file does not exist, read `sprint_backend` from `_bmad/bmm/config.yaml`. Use that value if present, otherwise default to `file-system`.
22
+
23
+ 2. If `tracking_system` is `file-system`:
24
+ Proceed with the **File-System Backend** instructions below.
25
+
26
+ 3. If `tracking_system` is `jira`:
27
+ a. Perform the Jira operation: Find the Jira issue matching the item ID in project `{jira_project_key}` at `{jira_url}` (search by issue key or summary). Find the active sprint on the board for project `{jira_project_key}`. Move the issue to the active sprint using the "add issue to sprint" operation.
28
+ Use whatever Jira-capable tool is available in your current tool context.
29
+ Map Jira entities to the canonical schema (Sprint → sprints[], Backlog → backlog[],
30
+ Epic → epics[], Jira status → canonical vocabulary per Section 6.3 of the routing spec).
31
+ b. If the Jira operation SUCCEEDS: continue with the Jira data returned. Jira is the source of truth.
32
+ c. If the Jira operation FAILS for any reason:
33
+ - If no Jira-capable tool is available in your current context:
34
+ Pause and present the user with:
35
+ > "No Jira-capable tool is available. To use Jira tracking, configure a Jira integration
36
+ > in your agent (an MCP server, plugin, or native integration connected to the Jira
37
+ > instance at `{jira_url}`). How would you like to proceed?
38
+ > (a) Retry — attempt the Jira operation again once a Jira tool is configured
39
+ > (b) Switch to file management — update sprint-status.yaml and config to use
40
+ > file-system backend, then complete this operation locally. This change is permanent."
41
+ - If a Jira tool attempted the operation but returned an error:
42
+ Pause and present the user with:
43
+ > "The Jira operation failed: {actual Jira error details}. How would you like to proceed?
44
+ > (a) Retry — attempt the Jira operation again
45
+ > (b) Switch to file management — update sprint-status.yaml and config to use
46
+ > file-system backend, then complete this operation locally. This change is permanent."
47
+ If user chooses (b) in either case: write `tracking_system: file-system` to `sprint-status.yaml`,
48
+ update `sprint_backend: file-system` in `_bmad/bmm/config.yaml`,
49
+ then proceed with **File-System Backend** instructions below.
50
+
51
+ 4. **File-System Backend** — execute the workflow steps below.
52
+
53
+ ---
54
+
16
55
  <workflow>
17
56
 
18
57
  <step n="0" goal="Load configuration and validate file existence">