@gonovus-ai/spec-flow-cli 2.0.0 → 2.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/README.md +4 -4
- package/guides/work-items.md +53 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ seven-day Better Auth CLI Session. It supports the Node.js 24 runtime line;
|
|
|
39
39
|
Node.js 22 and unverified future major versions are intentionally unsupported.
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
-
npm install --global @gonovus-ai/spec-flow-cli@2.0.
|
|
42
|
+
npm install --global @gonovus-ai/spec-flow-cli@2.0.1
|
|
43
43
|
specflow auth login
|
|
44
44
|
specflow auth status
|
|
45
45
|
specflow auth logout
|
|
@@ -98,7 +98,7 @@ review in the Web application, and publishing waits until then (`REVIEW_PENDING`
|
|
|
98
98
|
|
|
99
99
|
## Versions
|
|
100
100
|
|
|
101
|
-
CLI 2.0.
|
|
101
|
+
CLI 2.0.1 plans deliveries as Workspace Versions (ADR 0177). `specflow version` alone
|
|
102
102
|
still checks compatibility; its subcommands manage Versions (`specflow guide versions`):
|
|
103
103
|
|
|
104
104
|
```bash
|
|
@@ -111,10 +111,10 @@ specflow spec labels set --workspace-id <workspace-id> --spec-id PAY-S12 --label
|
|
|
111
111
|
## Compatibility and upgrades
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
specflow version --json --skill-version 0.12.
|
|
114
|
+
specflow version --json --skill-version 0.12.1 --compatible-cli "^2.0.1"
|
|
115
115
|
specflow upgrade
|
|
116
116
|
specflow upgrade --yes
|
|
117
|
-
specflow upgrade --to 2.0.
|
|
117
|
+
specflow upgrade --to 2.0.1
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
`version` shows the installed CLI and public advice from the selected origin.
|
package/guides/work-items.md
CHANGED
|
@@ -16,7 +16,8 @@ people who pick it up understand the real problem, not a guessed implementation.
|
|
|
16
16
|
`work-item relation create --type related`.
|
|
17
17
|
- Pick the format by what the item is, not by who files it, judging from the content.
|
|
18
18
|
Ask the User when it is unclear. Use Technical task only for engineering work the
|
|
19
|
-
User asks for as such, such as an upgrade
|
|
19
|
+
User asks for as such, such as an upgrade, a refactor or the engineering pieces of a
|
|
20
|
+
Requirement breakdown; never turn a Bug or
|
|
20
21
|
Requirement into one. When rewriting, keep the Task's format unless the User asks to
|
|
21
22
|
change it. The format shapes the title and description only: there is no type
|
|
22
23
|
field, so do not invent a title prefix, label or custom field the Project lacks.
|
|
@@ -44,6 +45,56 @@ people who pick it up understand the real problem, not a guessed implementation.
|
|
|
44
45
|
and verification notes in comments or a section of their own, never over the
|
|
45
46
|
product description.
|
|
46
47
|
|
|
48
|
+
### A Requirement is the parent of the work that delivers it
|
|
49
|
+
|
|
50
|
+
SpecFlow tracks a Requirement and the Tasks that deliver it as one tree: the
|
|
51
|
+
Requirement is the parent, each Task that delivers it is a subtask. The parent then
|
|
52
|
+
shows the children's progress, and the `hasParent`/`hasChildren` filters and the
|
|
53
|
+
`parent` view grouping keep the work together.
|
|
54
|
+
|
|
55
|
+
- When the User breaks a Requirement into work, or files work that delivers one (an
|
|
56
|
+
implementation, design or test Task, a Technical task, a Bug whose fix is part of
|
|
57
|
+
delivering it), search for the Requirement and for delivery Tasks that already exist,
|
|
58
|
+
then link each new or existing one as a child: `work-item subtask link --project-id
|
|
59
|
+
PARENT_PROJECT --parent REQ --child TASK --idempotency-key KEY`, adding
|
|
60
|
+
`--child-project-id` for a child in another Project. Do not use `related` for this,
|
|
61
|
+
and do not fold the children into the Requirement's description. File a missing
|
|
62
|
+
Requirement only when the User's request includes it; otherwise file the requested
|
|
63
|
+
Tasks unlinked, say which Requirement you could not find, and ask where they belong.
|
|
64
|
+
- Each child is one deliverable with its own owner and verifiable result. Existing
|
|
65
|
+
children keep their format; a new child takes the format that fits it: Technical
|
|
66
|
+
task for engineering work in a breakdown the User asked for, Requirement for a
|
|
67
|
+
user-facing sub-capability, Bug for a defect. Keep the Requirement's description on
|
|
68
|
+
the user problem and expected behavior; the how goes in the children.
|
|
69
|
+
- Prefer one level of subtasks; add another level only when the User asks.
|
|
70
|
+
- A Bug found after the Requirement was done is a separate follow-up: search for an
|
|
71
|
+
existing one first, and link it (or a new one) `related`, not as a child of a
|
|
72
|
+
finished Requirement.
|
|
73
|
+
- Do not move the Requirement to done because its children are: its owner accepts it.
|
|
74
|
+
|
|
75
|
+
### Every Task has one owner
|
|
76
|
+
|
|
77
|
+
A Task's assignee is its owner: the one person who answers for getting it done. It
|
|
78
|
+
has at most one, and other roles are not assignees.
|
|
79
|
+
|
|
80
|
+
- The Requirement's owner answers for the outcome and accepts it, usually whoever
|
|
81
|
+
owns the product decision. Each child's owner is whoever does that piece. They may
|
|
82
|
+
be different people; when you report, say who owns the Requirement (outcome and
|
|
83
|
+
acceptance) and who owns each child.
|
|
84
|
+
- People with another role on the Task (reviewer, tester, the person who reported
|
|
85
|
+
it) can watch it; add them as watchers when the User asks, never as co-owners, a
|
|
86
|
+
title prefix or a label. Watcher commands take User IDs only (from `work-item
|
|
87
|
+
watcher-candidates`), not names or `me`; when you pass `--initial-watcher-ids`,
|
|
88
|
+
include the creator's User ID (`auth whoami`) if they should keep watching.
|
|
89
|
+
- Assign only owners the User named (`--assignee` takes a User ID, exact name or
|
|
90
|
+
Member Alias). Do not assign
|
|
91
|
+
the User or yourself by default; use `--assignee me` only when the User says they
|
|
92
|
+
take it and the selected credential is theirs.
|
|
93
|
+
- A missing owner alone never blocks filing: file without an assignee. An unclear
|
|
94
|
+
format or problem still needs the User's answer before you file. In your reply, ask
|
|
95
|
+
once about the items whose owner is still undecided, all of them together. Respect
|
|
96
|
+
a User who says to leave an item unassigned.
|
|
97
|
+
|
|
47
98
|
## Links, watchers and comments
|
|
48
99
|
|
|
49
100
|
- When the User asks to associate a Task with supporting resources, use
|
|
@@ -152,7 +203,7 @@ that omits `url` still yields a successful business result with one stderr warni
|
|
|
152
203
|
|
|
153
204
|
```sh
|
|
154
205
|
specflow auth whoami
|
|
155
|
-
specflow work-item create --project-id PROJECT --title 'Prepare release' --assignee me --description-file ./release.md --output summary
|
|
206
|
+
specflow work-item create --project-id PROJECT --title 'Prepare release' --assignee me --description-file ./release.md --output summary # the User takes it
|
|
156
207
|
cat ./release.md | specflow work-item update --project-id PROJECT --work-item-id GON-78 --expected-version '"3"' --description-file - --output summary
|
|
157
208
|
specflow work-item subtask link --project-id PROJECT --parent GON-78 --child GON-79 --child-project-id OTHER_PROJECT --idempotency-key KEY
|
|
158
209
|
```
|