cyber-sdd 0.4.1 → 0.5.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/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.plugin/plugin.json +1 -1
- package/agents/sdd-impl-judge.md +1 -1
- package/agents/sdd-spec-judge.md +1 -1
- package/dist/spec-gate/scripts/check-suite.js +1 -1
- package/dist/spec-gate/scripts/classify-edit-class.js +1 -1
- package/dist/spec-gate/vendor/gherkin-cli.js +6369 -0
- package/package.json +2 -1
- package/skills/check-field-mandates/SKILL.md +56 -0
- package/skills/check-field-mandates/scripts/check-field-mandates.mts +302 -0
- package/skills/check-plugin-manifests/SKILL.md +3 -3
- package/skills/check-plugin-manifests/scripts/check-plugin-manifests.mts +51 -4
- package/skills/impl-producer-governance/SKILL.md +2 -1
- package/skills/solution-producer-governance/SKILL.md +1 -1
- package/skills/spec-gate/README.md +9 -0
- package/skills/spec-gate/scripts/check-suite.mts +2 -1
- package/skills/spec-gate/scripts/classify-edit-class.mts +1 -1
- package/skills/spec-gate/vendor/gherkin-cli.d.mts +2 -0
- package/skills/spec-gate/vendor/gherkin-cli.mjs +6545 -0
- package/skills/spec-producer-governance/SKILL.md +1 -1
- package/skills/touch-set-correction/README.md +5 -0
- package/skills/touch-set-correction/scripts/touch-set-correction.mts +1 -1
- package/skills/verify-scenarios/README.md +6 -1
- package/skills/verify-scenarios/scripts/verify-scenarios.mts +1 -1
package/.plugin/plugin.json
CHANGED
package/agents/sdd-impl-judge.md
CHANGED
|
@@ -44,7 +44,7 @@ when you grade against that bar. The **impl-gate lens set is {builder, architect
|
|
|
44
44
|
## Input
|
|
45
45
|
|
|
46
46
|
```
|
|
47
|
-
ARTIFACT_TYPE, NODE_PATH(s), SPEC_PATH, FEATURE_PATH
|
|
47
|
+
ARTIFACT_TYPE, NODE_PATH(s), SPEC_PATH, FEATURE_PATH: the touched artifact-type, the node folder(s), the spec.md, and the .feature
|
|
48
48
|
IMPLEMENTATION_PATHS: impl-layer paths from the ## Artifacts table
|
|
49
49
|
VERIFICATION_PATHS: the verification the impl-producer authored (or discoverable across IMPLEMENTATION_PATHS)
|
|
50
50
|
```
|
package/agents/sdd-spec-judge.md
CHANGED
|
@@ -44,7 +44,7 @@ them):
|
|
|
44
44
|
## Input
|
|
45
45
|
|
|
46
46
|
```
|
|
47
|
-
ARTIFACT_TYPE, NODE_PATH(s), SPEC_PATH, FEATURE_PATH
|
|
47
|
+
ARTIFACT_TYPE, NODE_PATH(s), SPEC_PATH, FEATURE_PATH: the touched artifact-type, the node folder(s), the spec.md, and the .feature
|
|
48
48
|
PRODUCER_GOVERNANCES_DECLARED: [ the spec-producer's declared governances_loaded, relayed by the conductor — or [] ]
|
|
49
49
|
```
|
|
50
50
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { validate } from "../vendor/gherkin-cli.js";
|
|
2
3
|
import { readFileSync, readdirSync, realpathSync } from "node:fs";
|
|
3
4
|
import { basename, dirname, join } from "node:path";
|
|
4
5
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
import { validate } from "gherkin-cli";
|
|
6
6
|
//#region skills/spec-gate/scripts/check-suite.mts
|
|
7
7
|
const ADVERB_PATTERNS = [
|
|
8
8
|
"sometimes",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { GitError, diff } from "../vendor/gherkin-cli.js";
|
|
1
2
|
import { execFileSync } from "node:child_process";
|
|
2
3
|
import { readFileSync, realpathSync } from "node:fs";
|
|
3
4
|
import { dirname, join, relative, resolve, sep } from "node:path";
|
|
4
5
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
import { GitError, diff } from "gherkin-cli";
|
|
6
6
|
//#region skills/spec-gate/scripts/classify-edit-class.mts
|
|
7
7
|
function hasFeatureFrozenTag(text) {
|
|
8
8
|
const lines = text.split("\n");
|