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.
- package/package.json +1 -1
- package/src/cli.mjs +5 -1
package/package.json
CHANGED
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
|
-
|
|
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
|
|