@wrongstack/governance 0.319.0 → 0.319.1

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/dist/index.js CHANGED
@@ -2156,11 +2156,7 @@ function validateTaskContractV1(contract) {
2156
2156
  }
2157
2157
  for (const assumption of contract.assumptions) {
2158
2158
  addRequiredStringIssue(issues, assumption.id, "assumptions[].id");
2159
- addRequiredStringIssue(
2160
- issues,
2161
- assumption.statement,
2162
- `assumptions[${assumption.id}].statement`
2163
- );
2159
+ addRequiredStringIssue(issues, assumption.statement, `assumptions[${assumption.id}].statement`);
2164
2160
  }
2165
2161
  if (hasMutatingOperation(contract.autonomy.allowedOperations) && contract.autonomy.allowedPaths.length === 0) {
2166
2162
  issues.push({
@@ -1225,11 +1225,7 @@ function validateTaskContractV1(contract) {
1225
1225
  }
1226
1226
  for (const assumption of contract.assumptions) {
1227
1227
  addRequiredStringIssue(issues, assumption.id, "assumptions[].id");
1228
- addRequiredStringIssue(
1229
- issues,
1230
- assumption.statement,
1231
- `assumptions[${assumption.id}].statement`
1232
- );
1228
+ addRequiredStringIssue(issues, assumption.statement, `assumptions[${assumption.id}].statement`);
1233
1229
  }
1234
1230
  if (hasMutatingOperation(contract.autonomy.allowedOperations) && contract.autonomy.allowedPaths.length === 0) {
1235
1231
  issues.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/governance",
3
- "version": "0.319.0",
3
+ "version": "0.319.1",
4
4
  "license": "MIT",
5
5
  "description": "Deterministic workflow contracts and transition policy for WrongStack orchestration.",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "README.md"
28
28
  ],
29
29
  "dependencies": {
30
- "@wrongstack/persistence": "0.319.0"
30
+ "@wrongstack/persistence": "0.319.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^26.2.0",