@llman-sdd/cli 0.8.0 → 0.8.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llman-sdd/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Spec-driven development workflow CLI (the `llman-sdd` command)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"build": "bun run ./scripts/build-binary.ts"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@llman-sdd/core": "0.
|
|
30
|
+
"@llman-sdd/core": "0.8.2",
|
|
31
31
|
"commander": "^15.0.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
package/src/commands/review.ts
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
CliError,
|
|
17
17
|
cliMaxScanDepth,
|
|
18
18
|
exitWith,
|
|
19
|
+
loadCliConfig,
|
|
19
20
|
loadSpecEntries,
|
|
20
21
|
newIo,
|
|
21
22
|
resolveOutMode,
|
|
@@ -58,6 +59,7 @@ export function registerReview(program: Command): void {
|
|
|
58
59
|
boundChangeCount: activeChanges.filter((c) => c.hasBinding).length,
|
|
59
60
|
activeChanges,
|
|
60
61
|
capability: options.capability,
|
|
62
|
+
checkTransitions: Boolean(loadCliConfig()?.specs?.check_transitions),
|
|
61
63
|
},
|
|
62
64
|
io,
|
|
63
65
|
);
|
package/src/commands/show.ts
CHANGED
|
@@ -49,7 +49,7 @@ function renderSpecJson(
|
|
|
49
49
|
orphans: { name: string; steps: { kind: string; text: string }[] }[];
|
|
50
50
|
}
|
|
51
51
|
| undefined;
|
|
52
|
-
const cap = entry ? (
|
|
52
|
+
const cap = entry ? specIdOf(entry) : item;
|
|
53
53
|
const purpose = doc?.header.purpose ?? '';
|
|
54
54
|
const rules = doc?.rules ?? [];
|
|
55
55
|
const morphology = morphologyOf(entry?.doc as never);
|
package/src/commands/validate.ts
CHANGED
|
@@ -65,6 +65,7 @@ function specV1Items(
|
|
|
65
65
|
const cap = specIdOf(entry);
|
|
66
66
|
const verdict = validateCapability(entry as never, duplicatesFor, io, {
|
|
67
67
|
strict: opts.strict === true,
|
|
68
|
+
checkTransitions: Boolean(loadCliConfig()?.specs?.check_transitions),
|
|
68
69
|
});
|
|
69
70
|
const issues: ChangeIssue[] = verdict.items.map((i) => ({
|
|
70
71
|
level: i.level,
|
|
@@ -217,7 +218,7 @@ function renderValidateReport(items: VItem[], mode: 'json' | 'compact-json' | 't
|
|
|
217
218
|
}
|
|
218
219
|
|
|
219
220
|
const SPEC_NEXT_STEPS = [
|
|
220
|
-
'- Ensure each .feature
|
|
221
|
+
'- Ensure each .feature has a non-empty "# purpose:" header and a Feature title matching the assigned spec id',
|
|
221
222
|
'- Each requirement MUST include at least one scenario object',
|
|
222
223
|
'- Re-run with --json to see structured report',
|
|
223
224
|
];
|