@gonovus-ai/spec-flow-cli 2.5.1 → 2.6.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/README.md +16 -3
- package/dist/acceptance-commands.js +20 -2
- package/dist/acceptance-commands.js.map +1 -1
- package/dist/agent-commands.js +2 -0
- package/dist/agent-commands.js.map +1 -1
- package/dist/agent-preference-commands.d.ts +12 -0
- package/dist/agent-preference-commands.js +126 -0
- package/dist/agent-preference-commands.js.map +1 -0
- package/dist/capability-commands.d.ts +3 -0
- package/dist/capability-commands.js +92 -0
- package/dist/capability-commands.js.map +1 -0
- package/dist/cli-command-context.d.ts +31 -0
- package/dist/cli-command-context.js +2 -0
- package/dist/cli-command-context.js.map +1 -0
- package/dist/cli-command-support.d.ts +62 -0
- package/dist/cli-command-support.js +118 -0
- package/dist/cli-command-support.js.map +1 -0
- package/dist/cli.js +68 -3817
- package/dist/cli.js.map +1 -1
- package/dist/global-search-commands.d.ts +4 -0
- package/dist/global-search-commands.js +23 -0
- package/dist/global-search-commands.js.map +1 -0
- package/dist/notification-commands.d.ts +3 -0
- package/dist/notification-commands.js +184 -0
- package/dist/notification-commands.js.map +1 -0
- package/dist/project-commands.d.ts +4 -0
- package/dist/project-commands.js +127 -0
- package/dist/project-commands.js.map +1 -0
- package/dist/proposal-commands.d.ts +3 -0
- package/dist/proposal-commands.js +165 -0
- package/dist/proposal-commands.js.map +1 -0
- package/dist/resource-command-runtime.d.ts +2 -0
- package/dist/runner/orchestrator.js +3 -1
- package/dist/runner/orchestrator.js.map +1 -1
- package/dist/runner/telemetry-bridge.d.ts +13 -1
- package/dist/runner/telemetry-bridge.js +29 -2
- package/dist/runner/telemetry-bridge.js.map +1 -1
- package/dist/runner/types.d.ts +2 -0
- package/dist/runner/workflow.js +6 -0
- package/dist/runner/workflow.js.map +1 -1
- package/dist/spec-commands.d.ts +4 -0
- package/dist/spec-commands.js +347 -0
- package/dist/spec-commands.js.map +1 -0
- package/dist/token-commands.d.ts +3 -0
- package/dist/token-commands.js +79 -0
- package/dist/token-commands.js.map +1 -0
- package/dist/work-item-commands.d.ts +4 -0
- package/dist/work-item-commands.js +978 -0
- package/dist/work-item-commands.js.map +1 -0
- package/dist/work-item-comment-commands.d.ts +4 -0
- package/dist/work-item-comment-commands.js +160 -0
- package/dist/work-item-comment-commands.js.map +1 -0
- package/dist/work-item-custom-field-commands.d.ts +3 -0
- package/dist/work-item-custom-field-commands.js +209 -0
- package/dist/work-item-custom-field-commands.js.map +1 -0
- package/dist/work-item-label-commands.d.ts +3 -0
- package/dist/work-item-label-commands.js +224 -0
- package/dist/work-item-label-commands.js.map +1 -0
- package/dist/work-item-relation-commands.d.ts +4 -0
- package/dist/work-item-relation-commands.js +209 -0
- package/dist/work-item-relation-commands.js.map +1 -0
- package/dist/workflow-column-commands.d.ts +3 -0
- package/dist/workflow-column-commands.js +206 -0
- package/dist/workflow-column-commands.js.map +1 -0
- package/dist/workspace-commands.d.ts +4 -0
- package/dist/workspace-commands.js +299 -0
- package/dist/workspace-commands.js.map +1 -0
- package/dist/workspace-finding-commands.d.ts +4 -0
- package/dist/workspace-finding-commands.js +303 -0
- package/dist/workspace-finding-commands.js.map +1 -0
- package/dist/workspace-glossary-commands.d.ts +4 -0
- package/dist/workspace-glossary-commands.js +121 -0
- package/dist/workspace-glossary-commands.js.map +1 -0
- package/dist/workspace-review-commands.d.ts +4 -0
- package/dist/workspace-review-commands.js +108 -0
- package/dist/workspace-review-commands.js.map +1 -0
- package/guides/acceptance.md +8 -1
- package/guides/agent-sessions.md +34 -0
- package/guides/versions.md +5 -1
- package/guides/work-items.md +26 -2
- package/package.json +1 -1
package/guides/versions.md
CHANGED
|
@@ -47,7 +47,11 @@ specflow version scope remove --workspace-id W --version-id v2.4 --expected-vers
|
|
|
47
47
|
Updates (`--health on-track|at-risk --body TEXT`).
|
|
48
48
|
- A Work Item belongs to at most one unsealed Version: adding it elsewhere moves it.
|
|
49
49
|
A done Work Item cannot be pulled out of another Version. `work-item create|update
|
|
50
|
-
--version-id ID` plans one task (`--clear-version` takes it out).
|
|
50
|
+
--version-id ID` plans one task (`--clear-version` takes it out). A new subtask
|
|
51
|
+
created with `--relation-direction parent` joins its parent's unsealed Version
|
|
52
|
+
unless `--version-id` or `--without-version` says otherwise; linking an existing
|
|
53
|
+
Task as a subtask leaves its Version alone. Which Version a new Task goes in by
|
|
54
|
+
default is in the `work-items` guide.
|
|
51
55
|
- `--scenario` and `--term` need `--change added|modified|removed`; `modified` and
|
|
52
56
|
`removed` must name a published Scenario or term. `--spec` with `--title`, or
|
|
53
57
|
`--new-term`, registers an `added` change before it exists. `--item` takes the
|
package/guides/work-items.md
CHANGED
|
@@ -45,6 +45,27 @@ people who pick it up understand the real problem, not a guessed implementation.
|
|
|
45
45
|
and verification notes in comments or a section of their own, never over the
|
|
46
46
|
product description.
|
|
47
47
|
|
|
48
|
+
### Planning a new Task in a Version
|
|
49
|
+
|
|
50
|
+
Every new Task, Bug included, belongs to the delivery Version it ships in (see the
|
|
51
|
+
`versions` guide). Before creating Tasks, read `version list --workspace-id W` once
|
|
52
|
+
for the batch and decide:
|
|
53
|
+
|
|
54
|
+
- The User named a Version, or said to keep the Task out of one: do that
|
|
55
|
+
(`--version-id v2.4`, or `--without-version`).
|
|
56
|
+
- A new subtask created with `--relation-direction parent` under a parent that is
|
|
57
|
+
in an unsealed Version joins that Version by itself; pass nothing. When the parent
|
|
58
|
+
has no Version, decide as for any other Task.
|
|
59
|
+
- Otherwise, when exactly one Version is `active`, pass `--version-id` with it.
|
|
60
|
+
- When several Versions are `active`, or none is `active` but some are `planned`, ask
|
|
61
|
+
the User once which one the batch goes in, or none. With no unsealed Version, pass
|
|
62
|
+
nothing and do not mention Versions.
|
|
63
|
+
- When `canManage` is false, create the Task without a Version and say that someone
|
|
64
|
+
who manages Versions has to plan it.
|
|
65
|
+
|
|
66
|
+
Report the Version each new Task landed in (the output's `plannedVersion`) and that
|
|
67
|
+
the User can ask to move it (`work-item update --version-id ID` or `--clear-version`).
|
|
68
|
+
|
|
48
69
|
### A Requirement is the parent of the work that delivers it
|
|
49
70
|
|
|
50
71
|
SpecFlow tracks a Requirement and the Tasks that deliver it as one tree: the
|
|
@@ -54,8 +75,11 @@ shows the children's progress, and the `hasParent`/`hasChildren` filters and the
|
|
|
54
75
|
|
|
55
76
|
- When the User breaks a Requirement into work, or files work that delivers one (an
|
|
56
77
|
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
|
-
|
|
78
|
+
delivering it), search for the Requirement and for delivery Tasks that already exist.
|
|
79
|
+
Create each new one as a child in the same command (`work-item create
|
|
80
|
+
--relation-direction parent --relation-target-project-id PARENT_PROJECT
|
|
81
|
+
--relation-target-work-item-id REQ`), so it also joins the Requirement's Version;
|
|
82
|
+
link each existing one as a child: `work-item subtask link --project-id
|
|
59
83
|
PARENT_PROJECT --parent REQ --child TASK --idempotency-key KEY`, adding
|
|
60
84
|
`--child-project-id` for a child in another Project. Do not use `related` for this,
|
|
61
85
|
and do not fold the children into the Requirement's description. File a missing
|