sdtk-spec-kit 0.4.7 → 0.4.8
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 +21 -8
- package/assets/manifest/toolkit-bundle.manifest.json +5 -5
- package/assets/manifest/toolkit-bundle.sha256.txt +2 -2
- package/assets/toolkit/toolkit/scripts/agents/run-codex-task.ps1 +1 -1
- package/assets/toolkit/toolkit/scripts/agents/validate-mailbox-formal-artifact.py +1 -1
- package/package.json +1 -1
- package/src/commands/activate.js +5 -1
- package/src/lib/license-activation.js +12 -1
package/README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
# sdtk-spec-kit
|
|
2
2
|
|
|
3
|
-
`sdtk-spec-kit` is the canonical shipped technical interface for `SDTK-SPEC`.
|
|
4
|
-
|
|
5
|
-
It exposes the `sdtk-spec` CLI as the primary upstream command surface.
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
`sdtk-spec-kit` is the canonical shipped technical interface for `SDTK-SPEC`.
|
|
4
|
+
|
|
5
|
+
It exposes the `sdtk-spec` CLI as the primary upstream command surface.
|
|
6
|
+
|
|
7
|
+
Package version in this source snapshot: `0.4.7`
|
|
8
|
+
Full usage guide: `products/sdtk-spec/governance/SDTK_SPEC_USAGE_GUIDE.md`
|
|
9
|
+
|
|
10
|
+
Wraps the `SDTK-SPEC` PowerShell toolkit for portable, reproducible feature documentation scaffolding.
|
|
8
11
|
|
|
9
12
|
Canonical install/runtime source in the source repo: `governance/ai/cli/SDTK_RUNTIME_AND_FEATURE_STATUS.md`
|
|
10
13
|
|
|
@@ -181,9 +184,19 @@ Generate feature documentation from templates. Produces 17 files matching the `S
|
|
|
181
184
|
sdtk-spec generate --feature-key <UPPER_SNAKE_CASE> --feature-name "<text>" [--project-path <path>] [--force] [--validate-only]
|
|
182
185
|
```
|
|
183
186
|
|
|
184
|
-
Output files include: project initiation, BA spec, flow-action spec, PRD, backlog, architecture design, database spec, API specs (OpenAPI + endpoints + design detail + flow list), UI design layout, implementation plan, test cases, and QA release report.
|
|
185
|
-
|
|
186
|
-
### `sdtk-spec
|
|
187
|
+
Output files include: project initiation, BA spec, flow-action spec, PRD, backlog, architecture design, database spec, API specs (OpenAPI + endpoints + design detail + flow list), UI design layout, implementation plan, test cases, and QA release report.
|
|
188
|
+
|
|
189
|
+
### `sdtk-spec analyze`
|
|
190
|
+
|
|
191
|
+
Preserve a customer requirement source, bootstrap the standard 17-file scaffold, and create an agent task packet for PM/BA/ARCH/DEV/QA analysis.
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
sdtk-spec analyze --source <requirements.md> --feature-key <UPPER_SNAKE_CASE> --feature-name "<text>" [--project-path <path>] [--force] [--json]
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
`analyze` is source intake and workflow bootstrap. It records source hash traceability and likely mojibake/encoding risk, but it does not fully understand arbitrary requirements by itself. PM/BA/ARCH agents complete source-backed analysis inside the generated artifacts.
|
|
198
|
+
|
|
199
|
+
### `sdtk-spec atlas`
|
|
187
200
|
|
|
188
201
|
Build and browse a local document graph for your project.
|
|
189
202
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.4.
|
|
2
|
+
"version": "0.4.8",
|
|
3
3
|
"sourceCommit": "f42cb6f6420371df8305f965b404d173ddb7bb78",
|
|
4
4
|
"fileCount": 98,
|
|
5
5
|
"files": [
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"path": "toolkit/scripts/agents/run-codex-task.ps1",
|
|
38
|
-
"sha256": "
|
|
39
|
-
"size":
|
|
38
|
+
"sha256": "3b01d3f2c4d8bc5b0b7202b99ea1d659ce24d3a4dbd0512da9b2e95fc1b913b2",
|
|
39
|
+
"size": 29673
|
|
40
40
|
},
|
|
41
41
|
{
|
|
42
42
|
"path": "toolkit/scripts/agents/validate-mailbox-formal-artifact.py",
|
|
43
|
-
"sha256": "
|
|
44
|
-
"size":
|
|
43
|
+
"sha256": "26891fce6cb98901d8d2c7f9453736e45834eec4eae674169da42358e5258920",
|
|
44
|
+
"size": 2970
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"path": "toolkit/scripts/generate-code-handoff.ps1",
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
6c1aa50cae9752c982c2ad2086d2b8c592a3aaab346323253f8e0b2598b73d03 toolkit/runtimes/claude/CLAUDE_TEMPLATE.md
|
|
5
5
|
d77de12c4fbce75526614994a5a9ee640581392616811cbf4f430e6094c5b392 toolkit/runtimes/codex/CODEX_TEMPLATE.md
|
|
6
6
|
898f9062a3a4b9bc28c6ac2ab5525d1bd722fbc16510202f9a1297e8c37130a0 toolkit/scripts/agents/run-claude-task.ps1
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
3b01d3f2c4d8bc5b0b7202b99ea1d659ce24d3a4dbd0512da9b2e95fc1b913b2 toolkit/scripts/agents/run-codex-task.ps1
|
|
8
|
+
26891fce6cb98901d8d2c7f9453736e45834eec4eae674169da42358e5258920 toolkit/scripts/agents/validate-mailbox-formal-artifact.py
|
|
9
9
|
48bc3d8b1942e1e3499d8933a97e1c8f9bcb201e7c4d801afa3f04159113bdee toolkit/scripts/generate-code-handoff.ps1
|
|
10
10
|
3f281d25793ada92fe310409c9e87f105be43f16a56f21313aef73cb8505406d toolkit/scripts/init-feature.ps1
|
|
11
11
|
ec9bacff547379b04b745371efaab0e4befbed8e38ffc83fcedb763c48bc3f5e toolkit/scripts/install-claude-skills.ps1
|
package/package.json
CHANGED
package/src/commands/activate.js
CHANGED
|
@@ -12,7 +12,11 @@ const { ValidationError, CliError } = require("../lib/errors");
|
|
|
12
12
|
function parseActivateArgs(args) {
|
|
13
13
|
let licenseKey = null;
|
|
14
14
|
let json = false;
|
|
15
|
-
|
|
15
|
+
// Use `undefined` so the downstream default-parameter pattern in
|
|
16
|
+
// license-activation.js#activateWithLicense() kicks in when the user did
|
|
17
|
+
// not pass --activation-url. `null` would skip the default and propagate
|
|
18
|
+
// to fetch() as "Failed to parse URL from null".
|
|
19
|
+
let activationUrl;
|
|
16
20
|
|
|
17
21
|
for (let i = 0; i < args.length; i++) {
|
|
18
22
|
const arg = args[i];
|
|
@@ -277,8 +277,19 @@ function rollbackPartialState() {
|
|
|
277
277
|
*/
|
|
278
278
|
async function activateWithLicense({
|
|
279
279
|
licenseKey,
|
|
280
|
-
activationUrl
|
|
280
|
+
activationUrl,
|
|
281
281
|
} = {}) {
|
|
282
|
+
// Coalesce instead of using default-parameter syntax: ES6 default params
|
|
283
|
+
// are skipped only when the value is `undefined`, NOT `null`. If a caller
|
|
284
|
+
// forwards an explicit `null` (which is what the argv parser did before
|
|
285
|
+
// 0.4.8), the default would be bypassed and fetch() would throw
|
|
286
|
+
// "Failed to parse URL from null". This pattern guards both null and
|
|
287
|
+
// undefined identically.
|
|
288
|
+
if (!activationUrl) {
|
|
289
|
+
activationUrl =
|
|
290
|
+
process.env.SDTK_ACTIVATION_URL || "https://sdtk.dev/api/activate";
|
|
291
|
+
}
|
|
292
|
+
|
|
282
293
|
const result = {
|
|
283
294
|
success: false,
|
|
284
295
|
message: "",
|