@wrongstack/sdd 0.319.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -5047,7 +5047,10 @@ var SpecVersioning = class {
5047
5047
  recordVersion(spec, changeDescription) {
5048
5048
  const version = {
5049
5049
  version: spec.version,
5050
- spec: { ...spec },
5050
+ // Deep snapshot: a shallow spread leaves `requirements`/`sections`
5051
+ // aliased to the caller's object, so later edits to that object would
5052
+ // retroactively rewrite recorded history.
5053
+ spec: structuredClone(spec),
5051
5054
  timestamp: Date.now(),
5052
5055
  changeDescription
5053
5056
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/sdd",
3
- "version": "0.319.1",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack Spec-Driven Development engine — standalone package extracted from @wrongstack/core. Task graph generation, tracking, execution, lifecycle management, and AI-driven spec building for SDD workflows.",
6
6
  "repository": {
@@ -27,10 +27,10 @@
27
27
  "!dist/**/*.map"
28
28
  ],
29
29
  "dependencies": {
30
- "@wrongstack/core": "0.319.1",
31
- "@wrongstack/kanban": "0.319.1",
32
- "@wrongstack/primitives": "0.319.1",
33
- "@wrongstack/requirement-intake": "0.319.1"
30
+ "@wrongstack/core": "1.0.0",
31
+ "@wrongstack/kanban": "1.0.0",
32
+ "@wrongstack/primitives": "1.0.0",
33
+ "@wrongstack/requirement-intake": "1.0.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.2.0",