@sdd-method/sdd-cli 1.44.0 → 1.46.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 +4 -9
- package/dist/lib/api-surface/__fixtures__/serverless-repo/serverless/serverless.yml +4 -4
- package/dist/lib/api-surface/analyzers/serverless.js +1 -1
- package/dist/lib/api-surface/analyzers/serverless.js.map +1 -1
- package/dist/lib/api-surface/analyzers/spring.js +1 -1
- package/dist/lib/api-surface/analyzers/spring.js.map +1 -1
- package/dist/lib/briefing/render.d.ts +1 -2
- package/dist/lib/briefing/render.d.ts.map +1 -1
- package/dist/lib/briefing/render.js +1 -2
- package/dist/lib/briefing/render.js.map +1 -1
- package/dist/lib/briefing/variables.d.ts +1 -2
- package/dist/lib/briefing/variables.d.ts.map +1 -1
- package/dist/lib/briefing/variables.js +1 -2
- package/dist/lib/briefing/variables.js.map +1 -1
- package/dist/lib/catalogue/aggregate.d.ts +9 -9
- package/dist/lib/catalogue/aggregate.d.ts.map +1 -1
- package/dist/lib/catalogue/aggregate.js +35 -36
- package/dist/lib/catalogue/aggregate.js.map +1 -1
- package/dist/lib/catalogue/application-archetype/expectations.d.ts +1 -1
- package/dist/lib/catalogue/application-archetype/expectations.d.ts.map +1 -1
- package/dist/lib/catalogue/application-archetype/expectations.js +1 -1
- package/dist/lib/catalogue/application-archetype/expectations.js.map +1 -1
- package/dist/lib/catalogue/archetype/resolver.d.ts +1 -1
- package/dist/lib/catalogue/archetype/wireframe.js +1 -1
- package/dist/lib/catalogue/archetype/wireframe.js.map +1 -1
- package/dist/lib/catalogue/build.d.ts +4 -5
- package/dist/lib/catalogue/build.d.ts.map +1 -1
- package/dist/lib/catalogue/build.js +17 -23
- package/dist/lib/catalogue/build.js.map +1 -1
- package/dist/lib/catalogue/builders/application-conformance-coverage.js +1 -1
- package/dist/lib/catalogue/builders/application-conformance-coverage.js.map +1 -1
- package/dist/lib/catalogue/builders/c4-components.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/c4-components.js +4 -5
- package/dist/lib/catalogue/builders/c4-components.js.map +1 -1
- package/dist/lib/catalogue/builders/c4-containers.d.ts +4 -4
- package/dist/lib/catalogue/builders/c4-containers.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/c4-containers.js +3 -3
- package/dist/lib/catalogue/builders/c4-containers.js.map +1 -1
- package/dist/lib/catalogue/builders/c4-entity-rollups.js +1 -1
- package/dist/lib/catalogue/builders/c4-entity-rollups.js.map +1 -1
- package/dist/lib/catalogue/builders/c4-external-systems.d.ts +6 -6
- package/dist/lib/catalogue/builders/c4-external-systems.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/c4-external-systems.js +1 -1
- package/dist/lib/catalogue/builders/c4-l1-candidates.js +1 -1
- package/dist/lib/catalogue/builders/c4-l1-candidates.js.map +1 -1
- package/dist/lib/catalogue/builders/capabilities.js +2 -2
- package/dist/lib/catalogue/builders/capabilities.js.map +1 -1
- package/dist/lib/catalogue/builders/capability-edges.d.ts +1 -1
- package/dist/lib/catalogue/builders/capability-edges.js +4 -4
- package/dist/lib/catalogue/builders/capability-edges.js.map +1 -1
- package/dist/lib/catalogue/builders/capability-spec-walker.d.ts +3 -3
- package/dist/lib/catalogue/builders/capability-spec-walker.js +3 -3
- package/dist/lib/catalogue/builders/container-dependency.d.ts +3 -3
- package/dist/lib/catalogue/builders/container-dependency.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/container-dependency.js +18 -19
- package/dist/lib/catalogue/builders/container-dependency.js.map +1 -1
- package/dist/lib/catalogue/builders/contracts.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/contracts.js +5 -6
- package/dist/lib/catalogue/builders/contracts.js.map +1 -1
- package/dist/lib/catalogue/builders/data-store-mapping.js +3 -3
- package/dist/lib/catalogue/builders/data-store-mapping.js.map +1 -1
- package/dist/lib/catalogue/builders/edge-label-merge.js +2 -2
- package/dist/lib/catalogue/builders/edge-label-merge.js.map +1 -1
- package/dist/lib/catalogue/builders/entities-manifest.js +1 -1
- package/dist/lib/catalogue/builders/entities-manifest.js.map +1 -1
- package/dist/lib/catalogue/builders/entities-mermaid.js +3 -3
- package/dist/lib/catalogue/builders/entities-mermaid.js.map +1 -1
- package/dist/lib/catalogue/builders/entity-slug.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/entity-slug.js +11 -12
- package/dist/lib/catalogue/builders/entity-slug.js.map +1 -1
- package/dist/lib/catalogue/builders/event-catalog-walker.js +3 -3
- package/dist/lib/catalogue/builders/event-catalog-walker.js.map +1 -1
- package/dist/lib/catalogue/builders/event-edges.js +1 -1
- package/dist/lib/catalogue/builders/event-edges.js.map +1 -1
- package/dist/lib/catalogue/builders/evidence-class.js +2 -2
- package/dist/lib/catalogue/builders/evidence-class.js.map +1 -1
- package/dist/lib/catalogue/builders/external-system-exemption.js +1 -1
- package/dist/lib/catalogue/builders/external-system-exemption.js.map +1 -1
- package/dist/lib/catalogue/builders/feature-contract.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/feature-contract.js +1 -3
- package/dist/lib/catalogue/builders/feature-contract.js.map +1 -1
- package/dist/lib/catalogue/builders/feature-grounding.d.ts +1 -1
- package/dist/lib/catalogue/builders/feature-grounding.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/feature-grounding.js +1 -2
- package/dist/lib/catalogue/builders/feature-grounding.js.map +1 -1
- package/dist/lib/catalogue/builders/feature-groups.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/feature-groups.js +0 -1
- package/dist/lib/catalogue/builders/feature-groups.js.map +1 -1
- package/dist/lib/catalogue/builders/feature-subscription-channels.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/feature-subscription-channels.js +2 -3
- package/dist/lib/catalogue/builders/feature-subscription-channels.js.map +1 -1
- package/dist/lib/catalogue/builders/feature-tree-walker.d.ts +1 -1
- package/dist/lib/catalogue/builders/feature-tree-walker.js +1 -1
- package/dist/lib/catalogue/builders/features.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/features.js +3 -4
- package/dist/lib/catalogue/builders/features.js.map +1 -1
- package/dist/lib/catalogue/builders/glossary-xref.js +1 -1
- package/dist/lib/catalogue/builders/glossary-xref.js.map +1 -1
- package/dist/lib/catalogue/builders/persona-c4system.js +7 -7
- package/dist/lib/catalogue/builders/persona-c4system.js.map +1 -1
- package/dist/lib/catalogue/builders/persona-container.d.ts +1 -1
- package/dist/lib/catalogue/builders/persona-container.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/persona-container.js +14 -14
- package/dist/lib/catalogue/builders/persona-container.js.map +1 -1
- package/dist/lib/catalogue/builders/personas.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/personas.js +1 -2
- package/dist/lib/catalogue/builders/personas.js.map +1 -1
- package/dist/lib/catalogue/builders/product-platform-dependencies.d.ts +1 -1
- package/dist/lib/catalogue/builders/product-platform-dependencies.js +2 -2
- package/dist/lib/catalogue/builders/product-platform-dependencies.js.map +1 -1
- package/dist/lib/catalogue/builders/quality-scores.d.ts +1 -1
- package/dist/lib/catalogue/builders/quality-scores.js +1 -1
- package/dist/lib/catalogue/builders/quality-scores.js.map +1 -1
- package/dist/lib/catalogue/builders/repositories.d.ts +1 -1
- package/dist/lib/catalogue/builders/repositories.js +2 -2
- package/dist/lib/catalogue/builders/repositories.js.map +1 -1
- package/dist/lib/catalogue/builders/screen-tree.d.ts +1 -1
- package/dist/lib/catalogue/builders/screen-tree.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/screen-tree.js +1 -1
- package/dist/lib/catalogue/builders/screen-tree.js.map +1 -1
- package/dist/lib/catalogue/builders/screens.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/screens.js +3 -4
- package/dist/lib/catalogue/builders/screens.js.map +1 -1
- package/dist/lib/catalogue/builders/system-external-dependency.d.ts +1 -1
- package/dist/lib/catalogue/builders/system-external-dependency.d.ts.map +1 -1
- package/dist/lib/catalogue/builders/system-external-dependency.js +7 -7
- package/dist/lib/catalogue/builders/system-external-dependency.js.map +1 -1
- package/dist/lib/catalogue/canonical-schema.yaml +23 -23
- package/dist/lib/catalogue/contract-path-resolution.d.ts +2 -2
- package/dist/lib/catalogue/contract-path-resolution.js +3 -3
- package/dist/lib/catalogue/contract-path-resolution.js.map +1 -1
- package/dist/lib/catalogue/coverage-predicates.d.ts +2 -2
- package/dist/lib/catalogue/coverage-predicates.js +4 -4
- package/dist/lib/catalogue/coverage-predicates.js.map +1 -1
- package/dist/lib/catalogue/coverage-run.js +1 -1
- package/dist/lib/catalogue/coverage-run.js.map +1 -1
- package/dist/lib/catalogue/dedupe-keyed-tables.d.ts +2 -3
- package/dist/lib/catalogue/dedupe-keyed-tables.d.ts.map +1 -1
- package/dist/lib/catalogue/dedupe-keyed-tables.js +2 -3
- package/dist/lib/catalogue/dedupe-keyed-tables.js.map +1 -1
- package/dist/lib/catalogue/ext-id.d.ts +3 -3
- package/dist/lib/catalogue/ext-id.js +4 -4
- package/dist/lib/catalogue/ext-id.js.map +1 -1
- package/dist/lib/catalogue/feature-grounding-aliases-loader.d.ts +1 -1
- package/dist/lib/catalogue/feature-grounding-aliases-loader.js +1 -1
- package/dist/lib/catalogue/finding-identity.d.ts +3 -3
- package/dist/lib/catalogue/finding-identity.js +3 -3
- package/dist/lib/catalogue/findings.d.ts +1 -1
- package/dist/lib/catalogue/freshness.d.ts +1 -1
- package/dist/lib/catalogue/freshness.js +1 -1
- package/dist/lib/catalogue/manifest-loader.d.ts +2 -2
- package/dist/lib/catalogue/manifest-loader.d.ts.map +1 -1
- package/dist/lib/catalogue/manifest-loader.js +2 -2
- package/dist/lib/catalogue/manifest-loader.js.map +1 -1
- package/dist/lib/catalogue/scaffold-delta.js +1 -1
- package/dist/lib/catalogue/schema-compat.d.ts +1 -2
- package/dist/lib/catalogue/schema-compat.d.ts.map +1 -1
- package/dist/lib/catalogue/schema-compat.js +1 -2
- package/dist/lib/catalogue/schema-compat.js.map +1 -1
- package/dist/lib/catalogue/screen-validation-loader.d.ts +1 -1
- package/dist/lib/catalogue/screen-validation-loader.js +1 -1
- package/dist/lib/catalogue/staleness-verdicts.js +2 -2
- package/dist/lib/catalogue/staleness-verdicts.js.map +1 -1
- package/dist/lib/catalogue/traceability-loader.d.ts +1 -1
- package/dist/lib/catalogue/traceability-loader.d.ts.map +1 -1
- package/dist/lib/catalogue/traceability-loader.js +2 -3
- package/dist/lib/catalogue/traceability-loader.js.map +1 -1
- package/dist/lib/ci-binding/index.d.ts +12 -3
- package/dist/lib/ci-binding/index.d.ts.map +1 -1
- package/dist/lib/ci-binding/index.js +108 -33
- package/dist/lib/ci-binding/index.js.map +1 -1
- package/dist/lib/ci-binding/module.d.ts +1 -1
- package/dist/lib/ci-binding/module.d.ts.map +1 -1
- package/dist/lib/ci-binding/module.js +18 -8
- package/dist/lib/ci-binding/module.js.map +1 -1
- package/dist/lib/conformance/index.d.ts +2 -0
- package/dist/lib/conformance/index.d.ts.map +1 -1
- package/dist/lib/conformance/index.js +29 -8
- package/dist/lib/conformance/index.js.map +1 -1
- package/dist/lib/init/app.js +3 -3
- package/dist/lib/init/app.js.map +1 -1
- package/dist/lib/init/ci-workflow.js +2 -0
- package/dist/lib/init/ci-workflow.js.map +1 -1
- package/dist/lib/init/index.js +1 -1
- package/dist/lib/init/index.js.map +1 -1
- package/dist/lib/init/platform.d.ts +3 -0
- package/dist/lib/init/platform.d.ts.map +1 -1
- package/dist/lib/init/platform.js +22 -3
- package/dist/lib/init/platform.js.map +1 -1
- package/dist/lib/init/sdd-manifest.js +1 -1
- package/dist/lib/lock-file.js +1 -1
- package/dist/lib/lock-file.js.map +1 -1
- package/dist/lib/pack/builder.d.ts +1 -1
- package/dist/lib/pack/index.d.ts +1 -2
- package/dist/lib/pack/index.d.ts.map +1 -1
- package/dist/lib/pack/index.js.map +1 -1
- package/dist/lib/pack/reference-closure.d.ts +3 -3
- package/dist/lib/pack/reference-closure.js +3 -3
- package/dist/lib/package-version.d.ts +1 -1
- package/dist/lib/package-version.js +1 -1
- package/dist/lib/snapshot/manifest.js +1 -1
- package/dist/lib/snapshot/targets.d.ts +1 -1
- package/dist/lib/snapshot/targets.js +1 -1
- package/dist/lib/sync/adr-transitions.js +1 -1
- package/dist/lib/sync/bundle-source.d.ts +3 -4
- package/dist/lib/sync/bundle-source.d.ts.map +1 -1
- package/dist/lib/sync/bundle-source.js.map +1 -1
- package/dist/lib/sync/config.d.ts +5 -3
- package/dist/lib/sync/config.d.ts.map +1 -1
- package/dist/lib/sync/config.js +8 -1
- package/dist/lib/sync/config.js.map +1 -1
- package/dist/lib/sync/diff.d.ts +1 -1
- package/dist/lib/sync/diff.js +1 -1
- package/dist/lib/sync/index.d.ts.map +1 -1
- package/dist/lib/sync/index.js +8 -3
- package/dist/lib/sync/index.js.map +1 -1
- package/dist/lib/validate/behaviour-store.d.ts +31 -0
- package/dist/lib/validate/behaviour-store.d.ts.map +1 -0
- package/dist/lib/validate/behaviour-store.js +351 -0
- package/dist/lib/validate/behaviour-store.js.map +1 -0
- package/dist/lib/validate/dispatch.d.ts.map +1 -1
- package/dist/lib/validate/dispatch.js +18 -0
- package/dist/lib/validate/dispatch.js.map +1 -1
- package/dist/lib/validate/index.js +1 -1
- package/dist/lib/validate/index.js.map +1 -1
- package/dist/lib/validate/plan.d.ts +3 -3
- package/dist/lib/validate/plan.d.ts.map +1 -1
- package/dist/lib/validate/plan.js +3 -1
- package/dist/lib/validate/plan.js.map +1 -1
- package/dist/lib/validate/yaml-parse.js +1 -1
- package/dist/lib/validate/yaml-parse.js.map +1 -1
- package/dist/maintain-version.json +2 -2
- package/dist/verbs/plan.js +3 -3
- package/dist/verbs/plan.js.map +1 -1
- package/dist/verbs/sync.js +1 -1
- package/dist/verbs/sync.js.map +1 -1
- package/dist/verify-version.json +2 -2
- package/package.json +3 -5
- package/scripts/author-version.json +2 -2
- package/scripts/build-persona-package.mjs +1 -2
- package/scripts/dagger-parity.sh +2 -2
- package/scripts/maintain-version.json +2 -2
- package/scripts/publish-release.mjs +11 -5
- package/scripts/release-gate.mjs +1 -1
- package/scripts/validate-app-dependencies.sh +5 -5
- package/scripts/validate-integration-docs.sh +1 -1
- package/scripts/verify-version.json +2 -2
- package/LICENSE +0 -201
- package/NOTICE +0 -17
package/dist/verbs/plan.js
CHANGED
|
@@ -5,9 +5,9 @@ export function registerPlan(program) {
|
|
|
5
5
|
.command("plan")
|
|
6
6
|
.description("Scaffold a plan markdown file from a method-distributed template. Currently supports --pilot for pilot-kickoff plans; future subcommands may add --initiative / --migration.")
|
|
7
7
|
.option("--pilot", "scaffold a pilot-kickoff plan (requires --service, --capability, --domain)", false)
|
|
8
|
-
.option("--service <name>", "service / pilot name, e.g.
|
|
9
|
-
.option("--capability <name>", "capability under test, e.g.
|
|
10
|
-
.option("--domain <name>", "domain the capability belongs to, e.g.
|
|
8
|
+
.option("--service <name>", "service / pilot name, e.g. order-service")
|
|
9
|
+
.option("--capability <name>", "capability under test, e.g. order-management")
|
|
10
|
+
.option("--domain <name>", "domain the capability belongs to, e.g. orders")
|
|
11
11
|
.option("--workspace-root <path>", "SDD root (defaults to cwd)", resolvePathOption)
|
|
12
12
|
.option("--output <path>", "destination file (defaults to content/product/plans/{service}-pilot-kickoff.md)")
|
|
13
13
|
.option("--dry-run", "print rendered output to stdout without writing", false)
|
package/dist/verbs/plan.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan.js","sourceRoot":"","sources":["../../src/verbs/plan.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAYpD,MAAM,UAAU,YAAY,CAAC,OAAgB;IAC3C,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CACV,8KAA8K,CAC/K;SACA,MAAM,CAAC,SAAS,EAAE,4EAA4E,EAAE,KAAK,CAAC;SACtG,MAAM,CAAC,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"plan.js","sourceRoot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B,kDAAkD,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CACzE,CAAC;YACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,YAAY,CAC/B;YACE,OAAO,EAAE,IAAI,CAAC,aAAa,IAAI,OAAO,CAAC,GAAG,EAAE;YAC5C,OAAO,EAAE,IAAI,CAAC,OAAQ;YACtB,UAAU,EAAE,IAAI,CAAC,UAAW;YAC5B,MAAM,EAAE,IAAI,CAAC,MAAO;YACpB,GAAG,CAAC,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACjE,GAAG,CAAC,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAClD,EACD,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAC/B,CAAC;QACF,IAAI,MAAM,CAAC,QAAQ,KAAK,CAAC;YAAE,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAC3D,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/verbs/sync.js
CHANGED
|
@@ -18,7 +18,7 @@ export function registerSync(program) {
|
|
|
18
18
|
.option("--allow-overwrite", "accept overwrites of locally-modified method content")
|
|
19
19
|
.option("--no-delete", "preserve files removed upstream")
|
|
20
20
|
.option("--agent-harness <name>", `target agent harness for hooks + briefing. Default: claude-code. Supported: ${AGENT_HARNESSES.join(", ")}`)
|
|
21
|
-
.option("--ci-binding <host>", `CI host whose wrapper calls the Method Validation module (M-ADR 0219): ${CI_BINDINGS.join(", ")}. Default: the binding the lock records, else github; a new choice is recorded in the lock`)
|
|
21
|
+
.option("--ci-binding <host>", `CI host whose wrapper calls the Method Validation module (M-ADR 0219): ${CI_BINDINGS.join(", ")}. local writes the module and no wrapper, for an estate that runs it with dagger call on its own machines, and removes the wrapper this tool wrote for the previous binding while it is unedited. Default: the binding the lock records, else github; a new choice is recorded in the lock`)
|
|
22
22
|
.option("--ci-runner <labels>", `runner label(s) the CI wrapper targets, comma-separated (GitHub runs-on, GitLab tags, Jenkins agent label), e.g. a self-hosted runner. '${CI_RUNNER_DEFAULT}' returns to the host's default runner. Default: what the lock records; a new choice is recorded`)
|
|
23
23
|
.option("--cli-source <source>", `where the session-start hook finds the verify CLI: ${CLI_SOURCES.join(" (npx at the pinned version) or ")} (sdd-verify from PATH, for an org that installs the release's CLI tarballs; the hook names the version to install when it differs). Default: what the lock records, else registry; a new choice is recorded`)
|
|
24
24
|
.option("--cli-package <name>", `the verify CLI's npm package under the registry source, for a registry that rescopes it. 'default' returns to ${DEFAULT_VERIFY_CLI_PACKAGE}. Default: what the lock records; a new choice is recorded`)
|
package/dist/verbs/sync.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.js","sourceRoot":"","sources":["../../src/verbs/sync.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,mBAAmB,GACpB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACxG,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,gBAAgB,EAAkB,MAAM,4BAA4B,CAAC;AACvH,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAkBrD,MAAM,UAAU,YAAY,CAAC,OAAgB;IAC3C,OAAO;S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,KAAK,IAAI;wBAC5B,cAAc,EAAE,IAAI,CAAC,cAAc,KAAK,IAAI;wBAC5C,MAAM,EAAE,IAAI,CAAC,MAAM;wBACnB,YAAY;wBACZ,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;wBACnC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;wBACjC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;wBACnC,GAAG,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;qBACpD,CAAC,CAAC;oBACH,IAAI,QAAQ,KAAK,CAAC,EAAE,CAAC;wBACnB,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;wBACzB,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;oBACzB,CAAC;gBACH,CAAC;wBAAS,CAAC;oBACT,MAAM,QAAQ,CAAC,OAAO,EAAE,CAAC;gBAC3B,CAAC;YACH,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,UAAW,GAAa,CAAC,OAAO,IAAI,CAAC,CAAC;YAC3D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/verify-version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdd-method/sdd-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.0",
|
|
4
4
|
"description": "The full SDD method CLI (sdd-cli): init, sync, validate, catalogue build and aggregate, scaffold, plan, pack build and every other method verb for spec-driven-development repositories. The verify-only, author and maintain personas ship as @sdd-method/verify-cli, @sdd-method/author-cli and @sdd-method/maintain-cli.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdd-method",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"spec-driven-development",
|
|
9
9
|
"cli"
|
|
10
10
|
],
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "UNLICENSED",
|
|
12
12
|
"author": "Tom Foster",
|
|
13
13
|
"type": "module",
|
|
14
14
|
"bin": {
|
|
@@ -22,9 +22,7 @@
|
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
24
|
"scripts",
|
|
25
|
-
"README.md"
|
|
26
|
-
"LICENSE",
|
|
27
|
-
"NOTICE"
|
|
25
|
+
"README.md"
|
|
28
26
|
],
|
|
29
27
|
"scripts": {
|
|
30
28
|
"build": "tsc && node scripts/copy-yaml-assets.mjs",
|
|
@@ -278,7 +278,6 @@ for (const p of bundled) {
|
|
|
278
278
|
await mkdir(join(OUT, "scripts"), { recursive: true });
|
|
279
279
|
await cp(p, join(OUT, "scripts", relative(join(ROOT, "scripts"), p)));
|
|
280
280
|
}
|
|
281
|
-
for (const f of ["LICENSE", "NOTICE"]) await cp(join(ROOT, f), join(OUT, f));
|
|
282
281
|
|
|
283
282
|
if (main.publishConfig?.access !== "public") die(`sdd-cli's package.json has no publishConfig.access=public — ${P.name} would publish private`);
|
|
284
283
|
|
|
@@ -296,7 +295,7 @@ const pkg = {
|
|
|
296
295
|
// Inherited, not assumed: a scoped package publishes PRIVATE by default, and
|
|
297
296
|
// the first publish of verify-cli failed with E402 because this was missing.
|
|
298
297
|
publishConfig: main.publishConfig,
|
|
299
|
-
files: ["dist", "scripts", "README.md"
|
|
298
|
+
files: ["dist", "scripts", "README.md"],
|
|
300
299
|
};
|
|
301
300
|
await writeFile(join(OUT, "package.json"), `${JSON.stringify(pkg, null, 2)}\n`);
|
|
302
301
|
await writeFile(join(OUT, "README.md"), P.readme);
|
package/scripts/dagger-parity.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# dagger-parity.sh — per-step parity between the Method Validation Dagger module and the same plan
|
|
3
|
-
# (sdd-verify validate --list) run directly with the same CLIs (
|
|
3
|
+
# (sdd-verify validate --list) run directly with the same CLIs (M-ADR 0219).
|
|
4
4
|
# Run it on a release candidate: build the persona packages (npm run verify:boundary), then
|
|
5
5
|
# scripts/dagger-parity.sh <sdd-repo>... It packs them unless PKGS names a directory already
|
|
6
6
|
# holding the tarballs. Needs the dagger CLI and a container engine (M-ADR 0219 §4.5).
|
|
@@ -41,7 +41,7 @@ for repo in "$@"; do
|
|
|
41
41
|
--source="$W/$name" --verify-version=$VV --maintain-version=$MV \
|
|
42
42
|
--verify-tarball="$PKGS/sdd-method-verify-cli-$VV.tgz" --maintain-tarball="$PKGS/sdd-method-maintain-cli-$MV.tgz" ) > "$OUT/$name.dagger.log" 2>&1
|
|
43
43
|
drc=$?; secs=$(( $(date +%s) - start ))
|
|
44
|
-
sed "s/\x1b\[[0-9;]*m//g" "$OUT/$name.dagger.log" | grep -oE "^ *(PASS|FAIL|ADVISORY) +exit [0-9]+ [a-z0-9-]+" | sed "s/^ *//" | awk '{print $4, $3}' | sort > "$OUT/$name.dagger.steps"
|
|
44
|
+
sed "s/\x1b\[[0-9;]*m//g" "$OUT/$name.dagger.log" | grep -oE "^ *(PASS|FAIL|ADVISORY|N/A) +exit [0-9]+ [a-z0-9-]+" | sed "s/^ *//" | awk '{print $4, $3}' | sort > "$OUT/$name.dagger.steps"
|
|
45
45
|
# 2. The same plan, directly on the host (a second clone, so neither run sees the other)
|
|
46
46
|
git clone -q --no-hardlinks "$repo" "$W/direct"
|
|
47
47
|
( cd "$W/direct" && $VERIFY validate --list ) > "$OUT/$name.plan.json"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// Publish one release's four CLI packages to npm from cli-build's output, so npm holds the same bytes
|
|
3
|
-
// as the reference every other channel verifies against (method distribution
|
|
4
|
-
// it needs
|
|
3
|
+
// as the reference every other channel verifies against (method distribution). A maintainer's
|
|
4
|
+
// act: it needs their npm login.
|
|
5
5
|
//
|
|
6
6
|
// node scripts/publish-release.mjs <out> --second <out2> [--dry-run]
|
|
7
7
|
//
|
|
@@ -91,7 +91,8 @@ console.log(`[PASS] publish-release: ${out} is HEAD's build, matches its SHA256S
|
|
|
91
91
|
// 5. Publish what npm lacks; never republish; then npm must hold these bytes.
|
|
92
92
|
const integrity = (file) => `sha512-${createHash("sha512").update(readFileSync(join(out, file))).digest("base64")}`;
|
|
93
93
|
const onNpm = (p) => {
|
|
94
|
-
|
|
94
|
+
// --prefer-online: npm otherwise answers from its cache, where the pre-publish lookup left "absent".
|
|
95
|
+
const r = spawnSync("npm", ["view", `${p.name}@${p.version}`, "dist.integrity", "--prefer-online"], { cwd: out, encoding: "utf-8" });
|
|
95
96
|
return r.status === 0 && r.stdout.trim() !== "" ? r.stdout.trim() : null;
|
|
96
97
|
};
|
|
97
98
|
for (const p of packages) {
|
|
@@ -106,10 +107,15 @@ for (const p of packages) {
|
|
|
106
107
|
const pub = spawnSync("npm", ["publish", join(out, p.file), "--access", "public", ...tag, ...(dryRun ? ["--dry-run"] : [])], { cwd: out, stdio: "inherit" });
|
|
107
108
|
if (pub.status !== 0) fail(`npm publish ${p.file} failed`);
|
|
108
109
|
if (dryRun) continue;
|
|
110
|
+
// npm takes a minute or two to serve a new version ("may take a few minutes to become available"); the
|
|
111
|
+
// 1.44.0 release stopped after every package on a 30-second wait. Wait up to ten minutes.
|
|
109
112
|
let recorded = null;
|
|
110
|
-
for (let i = 0; i <
|
|
113
|
+
for (let i = 0; i < 60 && recorded === null; i++) {
|
|
111
114
|
recorded = onNpm(p);
|
|
112
|
-
if (recorded === null)
|
|
115
|
+
if (recorded === null) {
|
|
116
|
+
if (i % 6 === 0) console.log(`[INFO] publish-release: waiting for npm to serve ${p.name}@${p.version}…`);
|
|
117
|
+
spawnSync("sleep", ["10"]);
|
|
118
|
+
}
|
|
113
119
|
}
|
|
114
120
|
if (recorded !== local) fail(`npm records ${p.name}@${p.version} as ${recorded ?? "absent"}, not the local ${local}`);
|
|
115
121
|
console.log(`[PASS] publish-release: ${p.name}@${p.version} published; npm holds the reference bytes`);
|
package/scripts/release-gate.mjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// node scripts/release-gate.mjs `prepublishOnly`: refuses every folder publish
|
|
10
10
|
//
|
|
11
11
|
// A release publishes cli-build's container-built tarballs through scripts/publish-release.mjs, so
|
|
12
|
-
// npm and every other channel hold the same bytes (method distribution
|
|
12
|
+
// npm and every other channel hold the same bytes (method distribution). A folder publish
|
|
13
13
|
// packs on the host instead, whose zlib writes other bytes, so `prepublishOnly` refuses it. npm skips
|
|
14
14
|
// lifecycle scripts for a tarball publish, which is why publish-release.mjs runs the checks itself.
|
|
15
15
|
import { execFileSync } from "node:child_process";
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# 3b. (platform) that contract_path resolves to a file under the platform root
|
|
21
21
|
#
|
|
22
22
|
# Outputs a dependency status table.
|
|
23
|
-
# Used as the Stage 6
|
|
23
|
+
# Used as the Stage 6 agreement gate in the App Exploration Workflow.
|
|
24
24
|
#
|
|
25
25
|
# THE STABILITY VOCABULARY, AND WHY IT IS WHAT IT IS
|
|
26
26
|
# `required_stability` states the CONSUMING app's expectation of contract
|
|
@@ -157,8 +157,8 @@ APP_DEPS_FILE="$APP_ROOT/app-platform-dependencies.yaml"
|
|
|
157
157
|
#
|
|
158
158
|
# This gate read only the forward file, so an entire equal-status source went
|
|
159
159
|
# ungated. Measured in one reverse estate: 15 evidence files declaring 65
|
|
160
|
-
# further dependencies, 38 of them `locked` — precisely the
|
|
161
|
-
# a Stage 6
|
|
160
|
+
# further dependencies, 38 of them `locked` — precisely the population
|
|
161
|
+
# a Stage 6 agreement gate exists to check — none of which this gate could see.
|
|
162
162
|
#
|
|
163
163
|
# A source that the catalogue reads and the gate does not is a coverage gap by
|
|
164
164
|
# construction, so the gate now reads both.
|
|
@@ -637,7 +637,7 @@ main() {
|
|
|
637
637
|
fi
|
|
638
638
|
|
|
639
639
|
if [[ "$FAILURES" -gt 0 ]]; then
|
|
640
|
-
log_fail "$FAILURES dependency check(s) failed. Stage 6
|
|
640
|
+
log_fail "$FAILURES dependency check(s) failed. Stage 6 agreement gate NOT met."
|
|
641
641
|
exit 1
|
|
642
642
|
fi
|
|
643
643
|
|
|
@@ -656,7 +656,7 @@ main() {
|
|
|
656
656
|
if [[ "$WARNINGS" -gt 0 ]]; then
|
|
657
657
|
log_warn "All required checks passed with $WARNINGS warning(s)."
|
|
658
658
|
else
|
|
659
|
-
log_pass "All dependency checks passed. Stage 6
|
|
659
|
+
log_pass "All dependency checks passed. Stage 6 agreement gate met."
|
|
660
660
|
fi
|
|
661
661
|
exit 0
|
|
662
662
|
}
|
|
@@ -341,7 +341,7 @@ check_grounding_doc() {
|
|
|
341
341
|
|
|
342
342
|
local grounding="$REPO_ROOT/docs/design/integration/feature-grounding.md"
|
|
343
343
|
if [[ ! -f "$grounding" ]]; then
|
|
344
|
-
log_warn "docs/design/integration/feature-grounding.md not found — create before
|
|
344
|
+
log_warn "docs/design/integration/feature-grounding.md not found — create before agreement"
|
|
345
345
|
return
|
|
346
346
|
fi
|
|
347
347
|
|
package/LICENSE
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
Apache License
|
|
2
|
-
Version 2.0, January 2004
|
|
3
|
-
http://www.apache.org/licenses/
|
|
4
|
-
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
-
|
|
7
|
-
1. Definitions.
|
|
8
|
-
|
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
-
|
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
-
the copyright owner that is granting the License.
|
|
14
|
-
|
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
-
other entities that control, are controlled by, or are under common
|
|
17
|
-
control with that entity. For the purposes of this definition,
|
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
-
direction or management of such entity, whether by contract or
|
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
-
|
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
-
exercising permissions granted by this License.
|
|
25
|
-
|
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
-
including but not limited to software source code, documentation
|
|
28
|
-
source, and configuration files.
|
|
29
|
-
|
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
|
31
|
-
transformation or translation of a Source form, including but
|
|
32
|
-
not limited to compiled object code, generated documentation,
|
|
33
|
-
and conversions to other media types.
|
|
34
|
-
|
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
-
Object form, made available under the License, as indicated by a
|
|
37
|
-
copyright notice that is included in or attached to the work
|
|
38
|
-
(an example is provided in the Appendix below).
|
|
39
|
-
|
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
-
the Work and Derivative Works thereof.
|
|
47
|
-
|
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
|
49
|
-
the original version of the Work and any modifications or additions
|
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
-
|
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
-
subsequently incorporated within the Work.
|
|
65
|
-
|
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
|
72
|
-
|
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
-
where such license applies only to those patent claims licensable
|
|
79
|
-
by such Contributor that are necessarily infringed by their
|
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
-
institute patent litigation against any entity (including a
|
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
-
or contributory patent infringement, then any patent licenses
|
|
86
|
-
granted to You under this License for that Work shall terminate
|
|
87
|
-
as of the date such litigation is filed.
|
|
88
|
-
|
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
-
modifications, and in Source or Object form, provided that You
|
|
92
|
-
meet the following conditions:
|
|
93
|
-
|
|
94
|
-
(a) You must give any other recipients of the Work or
|
|
95
|
-
Derivative Works a copy of this License; and
|
|
96
|
-
|
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
|
98
|
-
stating that You changed the files; and
|
|
99
|
-
|
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
|
102
|
-
attribution notices from the Source form of the Work,
|
|
103
|
-
excluding those notices that do not pertain to any part of
|
|
104
|
-
the Derivative Works; and
|
|
105
|
-
|
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
|
108
|
-
include a readable copy of the attribution notices contained
|
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
|
111
|
-
of the following places: within a NOTICE text file distributed
|
|
112
|
-
as part of the Derivative Works; within the Source form or
|
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
|
114
|
-
within a display generated by the Derivative Works, if and
|
|
115
|
-
wherever such third-party notices normally appear. The contents
|
|
116
|
-
of the NOTICE file are for informational purposes only and
|
|
117
|
-
do not modify the License. You may add Your own attribution
|
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
-
that such additional attribution notices cannot be construed
|
|
121
|
-
as modifying the License.
|
|
122
|
-
|
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
|
124
|
-
may provide additional or different license terms and conditions
|
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
-
the conditions stated in this License.
|
|
129
|
-
|
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
-
this License, without any additional terms or conditions.
|
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
-
the terms of any separate license agreement you may have executed
|
|
136
|
-
with Licensor regarding such Contributions.
|
|
137
|
-
|
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
-
except as required for reasonable and customary use in describing the
|
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
-
|
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
|
152
|
-
|
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
|
158
|
-
incidental, or consequential damages of any character arising as a
|
|
159
|
-
result of this License or out of the use or inability to use the
|
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
-
other commercial damages or losses), even if such Contributor
|
|
163
|
-
has been advised of the possibility of such damages.
|
|
164
|
-
|
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
-
or other liability obligations and/or rights consistent with this
|
|
169
|
-
License. However, in accepting such obligations, You may act only
|
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
-
of your accepting any such warranty or additional liability.
|
|
175
|
-
|
|
176
|
-
END OF TERMS AND CONDITIONS
|
|
177
|
-
|
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
-
|
|
180
|
-
To apply the Apache License to your work, attach the following
|
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
-
replaced with your own identifying information. (Don't include
|
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
-
comment syntax for the file format. We also recommend that a
|
|
185
|
-
file or class name and description of purpose be included on the
|
|
186
|
-
same "printed page" as the copyright notice for easier
|
|
187
|
-
identification within third-party archives.
|
|
188
|
-
|
|
189
|
-
Copyright [yyyy] [name of copyright owner]
|
|
190
|
-
|
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
-
you may not use this file except in compliance with the License.
|
|
193
|
-
You may obtain a copy of the License at
|
|
194
|
-
|
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
-
|
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
-
See the License for the specific language governing permissions and
|
|
201
|
-
limitations under the License.
|
package/NOTICE
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
sdd-cli
|
|
2
|
-
Copyright 2026 Tom Foster
|
|
3
|
-
|
|
4
|
-
This product includes software developed as part of the SDD method
|
|
5
|
-
distribution.
|
|
6
|
-
|
|
7
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
-
you may not use this file except in compliance with the License.
|
|
9
|
-
You may obtain a copy of the License at
|
|
10
|
-
|
|
11
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
-
|
|
13
|
-
Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
See the License for the specific language governing permissions and
|
|
17
|
-
limitations under the License.
|