cadet-agent 0.32.0 → 0.32.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.mjs +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cadet-agent",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "description": "Cross-IDE agent framework for Unity/C# game-development — one-command install",
5
5
  "type": "module",
6
6
  "bin": {
package/src/cli.mjs CHANGED
@@ -652,7 +652,11 @@ async function cmdHarness(opts) {
652
652
  relevantFiles: [opts.story, ...(reportPath ? [reportPath] : [])].map((f) => f.replace(/\\/g, '/')),
653
653
  createdAt: at,
654
654
  expiresAt: null,
655
- freshnessPolicy: 'current-story',
655
+ // Schema + validator require an object carrying a `scope`, not a bare
656
+ // string: state.schema.json#/$defs/evidence references
657
+ // harness.schema.json#/$defs/freshnessPolicy, which has required:["scope"]
658
+ // with scope ∈ story|phase|run|manual.
659
+ freshnessPolicy: { scope: 'story' },
656
660
  source: 'automated',
657
661
  });
658
662