@kudusov.takhir/ba-toolkit 4.0.0 → 4.0.1

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 CHANGED
@@ -11,6 +11,14 @@ Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
12
  ---
13
13
 
14
+ ## [4.0.1] — 2026-04-12
15
+
16
+ ### Fixed
17
+
18
+ - **Removed stale v3.x references from skill files.** `/principles` still offered an "Output folder structure" interview topic with a `{slug}/` subfolder option that no longer exists in v4.0 — removed, topics renumbered (8 → 7). `principles-template.md` subfolder section and Decision Authority rows renumbered to match. `/brief`, `/discovery`, `/srs` SKILL.md files still referenced "per-project AGENTS.md" and "legacy v3.0 single-project layouts" — updated to v4.0 wording (project root, flat output).
19
+
20
+ ---
21
+
14
22
  ## [4.0.0] — 2026-04-11
15
23
 
16
24
  ### Changed
@@ -872,6 +880,7 @@ CI scripts that relied on the old behaviour (`init` creates files only, `install
872
880
  ---
873
881
 
874
882
  [Unreleased]: https://github.com/TakhirKudusov/ba-toolkit/compare/v3.10.1...HEAD
883
+ [4.0.1]: https://github.com/TakhirKudusov/ba-toolkit/compare/v4.0.0...v4.0.1
875
884
  [4.0.0]: https://github.com/TakhirKudusov/ba-toolkit/compare/v3.13.1...v4.0.0
876
885
  [3.13.1]: https://github.com/TakhirKudusov/ba-toolkit/compare/v3.13.0...v3.13.1
877
886
  [3.13.0]: https://github.com/TakhirKudusov/ba-toolkit/compare/v3.12.0...v3.13.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kudusov.takhir/ba-toolkit",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "AI-powered Business Analyst pipeline — 24 skills from concept discovery to a sequenced implementation plan an AI coding agent can execute, with one-command Notion + Confluence publish. Works with Claude Code, Codex CLI, Gemini CLI, Cursor, and Windsurf.",
5
5
  "keywords": [
6
6
  "business-analyst",
@@ -103,9 +103,9 @@ If a domain reference is loaded, supplement general questions with domain-specif
103
103
 
104
104
  `ba-toolkit init` already created `AGENTS.md` at the project root. After saving `01_brief_{slug}.md` to `output/`, find the project's `AGENTS.md` (look in cwd first; if cwd is `output/`, check `../AGENTS.md`).
105
105
 
106
- **Update only the `## Pipeline Status` row for `/brief`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename in the `File` column. **Do not touch the managed block** (`<!-- ba-toolkit:begin managed -->` … `<!-- ba-toolkit:end managed -->`) — that's owned by `ba-toolkit init`. **Do not recreate the file at the repo root.** **Do not add `## Artifacts` / `## Key context` sections** — those are not part of the v3.1+ template and would be ignored by future runs.
106
+ **Update only the `## Pipeline Status` row for `/brief`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename in the `File` column. **Do not touch the managed block** (`<!-- ba-toolkit:begin managed -->` … `<!-- ba-toolkit:end managed -->`) — that's owned by `ba-toolkit init`.
107
107
 
108
- If you find no `AGENTS.md` at all (neither in cwd nor up the tree), warn the user that the project was likely set up before v3.1 and tell them to run `ba-toolkit init --name "..." --slug {slug}` to scaffold the per-project `AGENTS.md`. Do not create one yourself with arbitrary structure.
108
+ If you find no `AGENTS.md` at all, warn the user that the project was likely not scaffolded with `ba-toolkit init` and tell them to run it. Do not create one yourself with arbitrary structure.
109
109
 
110
110
  ### 7. Iterative refinement
111
111
 
@@ -127,11 +127,11 @@ Things we don't yet know and need to learn before committing real resources.
127
127
 
128
128
  `ba-toolkit init` already created `AGENTS.md` at the project root. After saving `00_discovery_{slug}.md` to `output/`, find the project's `AGENTS.md` (look in cwd first; if cwd is `output/`, check `../AGENTS.md`).
129
129
 
130
- **Update only the `## Pipeline Status` row for `/discovery`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename in the `File` column. **Do not recreate the file at the repo root.** **Do not add `## Artifacts` / `## Key context` sections**those are not part of the v3.1+ template and would be ignored by future runs.
130
+ **Update only the `## Pipeline Status` row for `/discovery`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename in the `File` column. **Do not touch the managed block** (`<!-- ba-toolkit:begin managed -->` `<!-- ba-toolkit:end managed -->`)that's owned by `ba-toolkit init`.
131
131
 
132
132
  **Domain field exception (managed block).** `/discovery` is the canonical source of truth for the project domain after `ba-toolkit init`. After saving `00_discovery_{slug}.md`, compare the recommended domain in §8 of the discovery artifact against the `**Domain:**` line inside the managed block of `AGENTS.md`. **If they differ, surgically update only that single line** to the new value — do not modify any other managed-block field (`**Project:**`, `**Slug:**`, `**Language:**`, `**Output folder:**`, the auto-generated date comment). Mention the change in the user-facing reply: "Updated the project domain in AGENTS.md from `<old>` to `<new>` based on the discovery recommendation." This is the only managed-block field `/discovery` may touch; everything else inside `<!-- ba-toolkit:begin managed -->` … `<!-- ba-toolkit:end managed -->` remains owned by `ba-toolkit init`.
133
133
 
134
- If you find no `AGENTS.md` at all (neither in cwd nor up the tree), warn the user that the project was likely set up before v3.2 and tell them to run `ba-toolkit init --name "..." --slug {slug}` to scaffold the per-project `AGENTS.md`. Do not create one yourself with arbitrary structure.
134
+ If you find no `AGENTS.md` at all, warn the user that the project was likely not scaffolded with `ba-toolkit init` and tell them to run it. Do not create one yourself with arbitrary structure.
135
135
 
136
136
  If the existing `AGENTS.md` predates v3.2 and has no `/discovery` row in its Pipeline Status table, prepend a new row at stage `0` (and renumber the existing `/principles` row to `0a`) — same convention used by `/research` at stage `7a`. Mention the migration in your reply so the user knows their AGENTS.md was updated.
137
137
 
@@ -40,10 +40,9 @@ If `01_brief_*.md` already exists, extract the slug and domain from it. Otherwis
40
40
  2. NFR baseline — which **ISO/IEC 25010** quality characteristics are mandatory beyond the domain defaults? (Performance Efficiency / Reliability / Security / Compatibility / Usability / Maintainability / Portability / Functional Suitability — `/nfr` reads this list verbatim and treats it as a checklist).
41
41
  3. Definition of Ready — any project-specific acceptance criteria for finalizing an artifact beyond the `v3.7.0+` baseline DoR per artifact type listed in §4 below? (e.g., stakeholder sign-off, specific review steps).
42
42
  4. Quality gate — at what severity level should `/analyze` findings block `/done`? (default: CRITICAL only)
43
- 5. Output folder structure save all artifacts flat in the output directory (default), or inside a `{slug}/` subfolder? (useful when managing multiple projects side by side)
44
- 6. **Testing strategy** — TDD (tests before implementation), tests-after, integration-only, manual-only, none? Drives whether `/implement-plan` task templates embed "Tests to write first" blocks. **Recommended:** TDD for production-grade systems; tests-after for prototypes; manual-only or none for spike work. *(This is the principles-based approach to the testing-discipline question that batch 6 item 2 surfaced — the right place to declare a testing strategy is here, not as a separate skill.)*
45
- 7. **Stakeholder decision authority** — who has sign-off authority on changes to these principles? Captured by name and role. Without this, principle changes become contentious mid-project.
46
- 8. **Code review and branching policy** — trunk-based / GitFlow / GitHub flow? Required reviewers per PR? `/implement-plan` and downstream skills assume one of these defaults but the principles file is the source of truth.
43
+ 5. **Testing strategy**TDD (tests before implementation), tests-after, integration-only, manual-only, none? Drives whether `/implement-plan` task templates embed "Tests to write first" blocks. **Recommended:** TDD for production-grade systems; tests-after for prototypes; manual-only or none for spike work. *(This is the principles-based approach to the testing-discipline question that batch 6 item 2 surfaced — the right place to declare a testing strategy is here, not as a separate skill.)*
44
+ 6. **Stakeholder decision authority** — who has sign-off authority on changes to these principles? Captured by name and role. Without this, principle changes become contentious mid-project.
45
+ 7. **Code review and branching policy** — trunk-based / GitFlow / GitHub flow? Required reviewers per PR? `/implement-plan` and downstream skills assume one of these defaults but the principles file is the source of truth.
47
46
 
48
47
  **Note:** Artifact language is **not** an interview topic — it is detected automatically from the user's first message and recorded in `## 1. Artifact Language` of the generated file. The user can override it later by re-running `/principles`.
49
48
 
@@ -157,13 +156,7 @@ For `/analyze` findings — action required before `/done` at the current step:
157
156
  - **MEDIUM:** documented and may be deferred.
158
157
  - **LOW:** informational only.
159
158
 
160
- ## 7. Output Folder Structure
161
-
162
- **Mode:** {flat | subfolder}
163
-
164
- _(flat = all artifacts in the output directory root; subfolder = all artifacts under `{output_dir}/{slug}/`)_
165
-
166
- ## 8. Project-Specific Notes
159
+ ## 7. Project-Specific Notes
167
160
 
168
161
  {any_additional_conventions_from_interview}
169
162
  ```
@@ -165,14 +165,7 @@ For `/analyze` findings:
165
165
  - **MEDIUM:** documented and may be deferred.
166
166
  - **LOW:** informational only.
167
167
 
168
- ## 7. Output Folder Structure
169
-
170
- **Mode:** [flat | subfolder]
171
-
172
- - `flat` (default) — all artifacts saved directly in the output directory.
173
- - `subfolder` — all artifacts saved under `{output_dir}/[SLUG]/`.
174
-
175
- ## 8. Testing Strategy
168
+ ## 7. Testing Strategy
176
169
 
177
170
  **Strategy:** TDD | Tests-after | Integration-only | Manual-only | None
178
171
 
@@ -186,13 +179,13 @@ For `/analyze` findings:
186
179
 
187
180
  `/implement-plan` reads this section to decide whether to embed test specifications in each task. Default is **TDD** for production-grade systems.
188
181
 
189
- ## 9. Code Review and Branching
182
+ ## 8. Code Review and Branching
190
183
 
191
184
  **Branching model:** trunk-based | GitHub flow | GitFlow | other
192
185
  **Required reviewers per PR:** [N]
193
186
  **Merge gate:** [CI green + N reviews / CODEOWNERS approval / specific reviewer]
194
187
 
195
- ## 10. Stakeholder Decision Authority
188
+ ## 9. Stakeholder Decision Authority
196
189
 
197
190
  Who can approve a change to these principles, and to which sections.
198
191
 
@@ -204,11 +197,10 @@ Who can approve a change to these principles, and to which sections.
204
197
  | §4 Definition of Ready | [Role] | |
205
198
  | §5 NFR Baseline | [Role] | |
206
199
  | §6 Quality Gates | [Role] | |
207
- | §7 Output Structure | [Role] | |
208
- | §8 Testing Strategy | [Role] | |
209
- | §9 Branching | [Role] | |
200
+ | §7 Testing Strategy | [Role] | |
201
+ | §8 Branching | [Role] | |
210
202
 
211
- ## 11. Project-Specific Notes
203
+ ## 10. Project-Specific Notes
212
204
 
213
205
  [ADDITIONAL_CONVENTIONS]
214
206
 
@@ -118,9 +118,9 @@ FR numbering: sequential within each feature area, three-digit, with reserved ra
118
118
 
119
119
  ## AGENTS.md update
120
120
 
121
- After `/done`, find the project's `AGENTS.md` (look in cwd first; fall back to walking up the directory tree for legacy v3.0 single-project layouts). **Update only the `## Pipeline Status` row for `/srs`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename (`02_srs_{slug}.md`) in the `File` column. **Do not touch the managed block** (`<!-- ba-toolkit:begin managed -->` … `<!-- ba-toolkit:end managed -->`) — that's owned by `ba-toolkit init`. **Do not add `## Artifacts` / `## Key context` sections** — those are not part of the v3.1+ template.
121
+ After `/done`, find the project's `AGENTS.md` (look in cwd first; if cwd is `output/`, check `../AGENTS.md`). **Update only the `## Pipeline Status` row for `/srs`** — toggle its status from `⬜ Not started` to `✅ Done` and fill in the artifact filename (`02_srs_{slug}.md`) in the `File` column. **Do not touch the managed block** (`<!-- ba-toolkit:begin managed -->` … `<!-- ba-toolkit:end managed -->`) — that's owned by `ba-toolkit init`.
122
122
 
123
- If you find no `AGENTS.md` at all, warn the user that the project was likely set up before v3.1 and tell them to run `ba-toolkit init --name "..." --slug {slug}` to scaffold the per-project file. Do not create one yourself with arbitrary structure.
123
+ If you find no `AGENTS.md` at all, warn the user that the project was likely not scaffolded with `ba-toolkit init` and tell them to run it. Do not create one yourself with arbitrary structure.
124
124
 
125
125
  ## Iterative refinement
126
126