dsh-plugin-bmad-sprint-board 1.0.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/LICENSE +21 -0
- package/README.md +156 -0
- package/client.js +4577 -0
- package/cordis.patch.yml +3 -0
- package/icon.svg +12 -0
- package/index.js +10 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +53 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Vitaliy Bobrov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# BMAD Sprint Board
|
|
2
|
+
|
|
3
|
+
A [DSH Harness](https://github.com/deepseek-ai/dsh) plugin that reads a
|
|
4
|
+
[BMAD](https://github.com/bmad-code-org/BMAD-METHOD) project and shows it in the
|
|
5
|
+
Session sidebar: what is being worked on, what disagrees with the tracking file,
|
|
6
|
+
and what to do next.
|
|
7
|
+
|
|
8
|
+
**Read-only.** It never writes to your sprint files. Every action it offers is a
|
|
9
|
+
string you copy — a command when the board knows what to do, a prompt when it
|
|
10
|
+
only knows what to ask.
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Requirements │ BMAD Sprint board │ Chat
|
|
14
|
+
─────────────────────────────────────────
|
|
15
|
+
Status Epic Requirements Specs
|
|
16
|
+
|
|
17
|
+
stories ████████░░ 12 / 15 80%
|
|
18
|
+
requirements ███████░░░ 11 / 17 65%
|
|
19
|
+
⚠ 23 of 40 unmapped
|
|
20
|
+
|
|
21
|
+
NEXT bmad-build Storefront Header Navigation Tools Integration
|
|
22
|
+
it is the next unstarted story [Ask agent · prompt]
|
|
23
|
+
|
|
24
|
+
● DONE (12) ● GAPS (4) ● COULD NOT CHECK (1) ● BACKLOG (3)
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## What you get
|
|
28
|
+
|
|
29
|
+
### Four views, one tab
|
|
30
|
+
|
|
31
|
+
| View | Shows |
|
|
32
|
+
|---|---|
|
|
33
|
+
| **Status** | One foldable lane per story status, in board order, with the gaps board below |
|
|
34
|
+
| **Epic** | One section per epic: its status, retrospective state, and progress |
|
|
35
|
+
| **Requirements** | Every declared requirement by class, each with the state its evidence supports |
|
|
36
|
+
| **Specs** | The spec files no story in the sprint file claims |
|
|
37
|
+
|
|
38
|
+
Requirements and specs are readings of the same artefacts, so they are views of
|
|
39
|
+
the same tab rather than tabs of their own.
|
|
40
|
+
|
|
41
|
+
The requirements lane is the one worth knowing about, because it has **four**
|
|
42
|
+
states rather than two:
|
|
43
|
+
|
|
44
|
+
| Mark | State | Meaning |
|
|
45
|
+
|---|---|---|
|
|
46
|
+
| `✓` | done | verifiable, and verified |
|
|
47
|
+
| `◑` | partial | some covering epic is finished |
|
|
48
|
+
| `✗` | not started | verifiable, and nothing has begun |
|
|
49
|
+
| `○` | no evidence | nothing can say either way |
|
|
50
|
+
|
|
51
|
+
`○` is the point. A requirement with no coverage map and no story citing it is
|
|
52
|
+
not "not done" — the board cannot tell, and says so rather than guessing.
|
|
53
|
+
|
|
54
|
+
### The gaps board
|
|
55
|
+
|
|
56
|
+
The board is a **check on** the tracking file, not a mirror of it.
|
|
57
|
+
|
|
58
|
+
| Detector | Fires when |
|
|
59
|
+
|---|---|
|
|
60
|
+
| **B1 done but owing** | a story is `done` while deferred entries still name its spec |
|
|
61
|
+
| **B3 review patches never applied** | a story is `done` with unticked `[Review][Patch]` items |
|
|
62
|
+
| **U1 UX run not carried into the plan** | a UX design run the epics document never names |
|
|
63
|
+
| **U2 UX requirement no epic delivers** | a UX requirement whose components no story mentions |
|
|
64
|
+
| **REQ** | requirements the inventory declares that no coverage map claims |
|
|
65
|
+
|
|
66
|
+
Alongside them: two sparse progress bars side by side — stories against
|
|
67
|
+
requirements, because the distance between them is the finding — and **one next
|
|
68
|
+
action**, chosen from BMAD's own ladder rather than invented. A board that offers
|
|
69
|
+
three next actions has not answered.
|
|
70
|
+
|
|
71
|
+
**Unverifiable is a state, never a silence.** A check that cannot be evaluated
|
|
72
|
+
reports itself, and the bar's denominator never shrinks — so the board cannot
|
|
73
|
+
improve its score by going blind.
|
|
74
|
+
|
|
75
|
+
### Keyboard
|
|
76
|
+
|
|
77
|
+
`primary+S` on desktop, `primary+alt+S` on the web, opening in whichever sidebar
|
|
78
|
+
pane you are already in. `web:linux` declares no default on purpose: the Harness
|
|
79
|
+
admits only three chords product-wide there, so every shipped tab command omits
|
|
80
|
+
it rather than squat on one.
|
|
81
|
+
|
|
82
|
+
## Install
|
|
83
|
+
|
|
84
|
+
**From npm** — nothing to build, no dependencies, no install scripts:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
plugin_manager({ action: "install_bundle",
|
|
88
|
+
target: "dsh-plugin-bmad-sprint-board" })
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**From the repository:**
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
plugin_manager({ action: "install_bundle",
|
|
95
|
+
target: "github:vitaliy-bobrov/dsh-plugin-bmad-sprint-board" })
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**From a local clone**, which is the form used while developing it:
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
plugin_manager({ action: "install_bundle",
|
|
102
|
+
target: "/path/to/bmad-sprint-board-bundle" })
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Peer dependency
|
|
106
|
+
|
|
107
|
+
The manifest declares one peer, and the range is not the obvious one:
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
"peerDependencies": { "@deepseek-ai/dsh": "^0.2.0-0" }
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
A plain `^0.2.0` is **rejected**. The compatibility check compares the range
|
|
114
|
+
against the running version with prereleases included, and against a runtime such
|
|
115
|
+
as `0.2.0-rc.2` a bare `^0.2.0` does not match — so the install is refused before
|
|
116
|
+
pnpm runs. `^0.2.0-0` resolves to `>=0.2.0-0 <0.3.0-0`: prereleases of 0.2.0,
|
|
117
|
+
every later 0.2.x, and nothing beyond.
|
|
118
|
+
|
|
119
|
+
## Extending
|
|
120
|
+
|
|
121
|
+
The plugin is two layers, and only the second knows about DSH:
|
|
122
|
+
|
|
123
|
+
| What | Where |
|
|
124
|
+
|---|---|
|
|
125
|
+
| What the board reads and computes | `src/core.js`, `src/detect.js`, `src/plan.js`, `src/ux.js`, `src/requirements.js` — pure, no DSH, no DOM |
|
|
126
|
+
| How it renders | `src/shell-*.js` — CSS, components, slot registration |
|
|
127
|
+
|
|
128
|
+
Adding a **view** is one entry in the `VIEWS` list in `src/shell-post.js` plus a
|
|
129
|
+
body function; the switcher, the fold state and the snapshot are already shared.
|
|
130
|
+
|
|
131
|
+
Adding a **detector** is a function returning gaps shaped
|
|
132
|
+
`{ id, title, severity, subject, evidence, action }` and one line in `detect()`.
|
|
133
|
+
`src/detect.test.js` shows the shape: the fixtures there prove a detector *fires*,
|
|
134
|
+
while the live-workspace tests only prove it *agrees* with the repository. Those
|
|
135
|
+
are different jobs, and keeping them apart is what stops a sprint in progress
|
|
136
|
+
from breaking the suite.
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
node build.mjs # reassemble client.js from src/
|
|
140
|
+
node build.mjs --check # fail if client.js and src/ have drifted apart
|
|
141
|
+
node --test src/*.test.js
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
`client.js` is committed on purpose: an install from a registry or a git URL does
|
|
145
|
+
no build, so the assembled bundle has to be present. Edit `src/`, rebuild, and
|
|
146
|
+
`--check` will tell you if you forget.
|
|
147
|
+
|
|
148
|
+
## More
|
|
149
|
+
|
|
150
|
+
- [Implementation notes](https://github.com/vitaliy-bobrov/dsh-plugin-bmad-sprint-board/blob/main/docs/implementation.md) — what every section renders
|
|
151
|
+
from, how paths and folds resolve, the parsing, the bundle layout. None of it is
|
|
152
|
+
needed to install or use the plugin.
|
|
153
|
+
|
|
154
|
+
## Licence
|
|
155
|
+
|
|
156
|
+
MIT — see [LICENSE](LICENSE).
|