cadet-agent 0.39.0 → 0.40.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/package.json +1 -1
- package/src/harness/commands.mjs +3 -0
package/package.json
CHANGED
package/src/harness/commands.mjs
CHANGED
|
@@ -47,6 +47,9 @@ export const COMMANDS = {
|
|
|
47
47
|
// A failed migration must leave the tree exactly as it found it: no backup,
|
|
48
48
|
// no partial write. The backup is an artifact of a *successful* migration,
|
|
49
49
|
// so producing one and then failing would be a write the caller did not get.
|
|
50
|
+
// Enforced by `harness-command-registry.test.mjs` ("a failed migrate leaves
|
|
51
|
+
// the tree exactly as it found it"), which fails if the backup is copied
|
|
52
|
+
// before validation — verified by reintroducing the original ordering.
|
|
50
53
|
atomicFailure: true,
|
|
51
54
|
},
|
|
52
55
|
'state transition': {
|