@riddledc/riddle-proof 0.8.49 → 0.8.51
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/adapters/openclaw.js +4 -4
- package/dist/advanced/engine-harness.cjs +16 -8
- package/dist/advanced/engine-harness.js +4 -4
- package/dist/advanced/index.cjs +16 -8
- package/dist/advanced/index.js +5 -5
- package/dist/advanced/runner.js +4 -4
- package/dist/checkpoint.cjs +16 -4
- package/dist/checkpoint.js +1 -1
- package/dist/{chunk-TO3VKAG2.js → chunk-AWM2BKDF.js} +2 -2
- package/dist/{chunk-U46KE6JZ.js → chunk-AXWJJ2LC.js} +16 -4
- package/dist/{chunk-UKGDVNGI.js → chunk-DFQBQGSD.js} +1 -1
- package/dist/{chunk-EMWF2575.js → chunk-M3IE3VNC.js} +1 -1
- package/dist/{chunk-2PHYFVTY.js → chunk-OYWZGDTS.js} +1 -1
- package/dist/{chunk-L7U7QZYH.js → chunk-RBAU2M4S.js} +1 -1
- package/dist/{chunk-2KEYWZY5.js → chunk-ZHTJEZH5.js} +3 -7
- package/dist/cli/index.js +5 -5
- package/dist/cli.cjs +16 -8
- package/dist/cli.js +5 -5
- package/dist/engine-harness.cjs +16 -8
- package/dist/engine-harness.js +4 -4
- package/dist/index.cjs +16 -8
- package/dist/index.js +5 -5
- package/dist/openclaw.js +4 -4
- package/dist/run-card.js +2 -2
- package/dist/runner.js +4 -4
- package/dist/spec/checkpoint.cjs +16 -4
- package/dist/spec/checkpoint.js +1 -1
- package/dist/spec/index.cjs +16 -4
- package/dist/spec/index.js +3 -3
- package/dist/spec/run-card.js +2 -2
- package/dist/spec/state.js +3 -3
- package/dist/state.js +3 -3
- package/package.json +1 -1
- package/runtime/lib/ship.py +2 -2
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseOpenClawAssertions,
|
|
4
4
|
parseOpenClawJsonObjectOrArray,
|
|
5
5
|
toRiddleProofRunParams
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-OYWZGDTS.js";
|
|
7
|
+
import "../chunk-M3IE3VNC.js";
|
|
8
|
+
import "../chunk-RBAU2M4S.js";
|
|
9
|
+
import "../chunk-AXWJJ2LC.js";
|
|
10
10
|
import "../chunk-VY4Y5U57.js";
|
|
11
11
|
import "../chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
|
@@ -4188,13 +4188,25 @@ function normalizeCheckpointResponse(value) {
|
|
|
4188
4188
|
created_at: nonEmptyString(record.created_at) || timestamp()
|
|
4189
4189
|
});
|
|
4190
4190
|
}
|
|
4191
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
4192
|
+
const history = state.checkpoint_history || [];
|
|
4193
|
+
const events = state.events || [];
|
|
4194
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
4195
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
4196
|
+
return history.filter((entry) => {
|
|
4197
|
+
if (!entry.response) return false;
|
|
4198
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
4199
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
4200
|
+
});
|
|
4201
|
+
}
|
|
4191
4202
|
function checkpointSummaryFromState(state, engineStatePath2) {
|
|
4192
4203
|
const history = state.checkpoint_history || [];
|
|
4204
|
+
const events = state.events || [];
|
|
4193
4205
|
const packets = history.filter((entry) => entry.packet);
|
|
4194
|
-
const responses =
|
|
4195
|
-
const duplicateResponses =
|
|
4206
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
4207
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
4196
4208
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
4197
|
-
const latestResponseEntry = [...
|
|
4209
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4198
4210
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4199
4211
|
const latestResponse = latestResponseEntry?.response;
|
|
4200
4212
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -4221,7 +4233,7 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4221
4233
|
}
|
|
4222
4234
|
function isDuplicateCheckpointResponse(state, response) {
|
|
4223
4235
|
const identity = checkpointResponseIdentity(response);
|
|
4224
|
-
return (state
|
|
4236
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
4225
4237
|
}
|
|
4226
4238
|
function checkpointResponseIdentity(response) {
|
|
4227
4239
|
const logicalResponse = compactRecord({
|
|
@@ -5558,10 +5570,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
5558
5570
|
if (!response) return null;
|
|
5559
5571
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
5560
5572
|
const at = timestamp3();
|
|
5561
|
-
state.checkpoint_history = [
|
|
5562
|
-
...state.checkpoint_history || [],
|
|
5563
|
-
{ ts: at, response }
|
|
5564
|
-
].slice(-25);
|
|
5565
5573
|
appendRunEvent(state, {
|
|
5566
5574
|
ts: at,
|
|
5567
5575
|
kind: "checkpoint.response.ignored",
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createDisabledRiddleProofAgentAdapter,
|
|
3
3
|
readRiddleProofRunStatus,
|
|
4
4
|
runRiddleProofEngineHarness
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ZHTJEZH5.js";
|
|
6
|
+
import "../chunk-M3IE3VNC.js";
|
|
7
|
+
import "../chunk-RBAU2M4S.js";
|
|
8
8
|
import "../chunk-X7SQTCIQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-AXWJJ2LC.js";
|
|
10
10
|
import "../chunk-VY4Y5U57.js";
|
|
11
11
|
import "../chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
package/dist/advanced/index.cjs
CHANGED
|
@@ -4220,13 +4220,25 @@ function normalizeCheckpointResponse(value) {
|
|
|
4220
4220
|
created_at: nonEmptyString(record.created_at) || timestamp()
|
|
4221
4221
|
});
|
|
4222
4222
|
}
|
|
4223
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
4224
|
+
const history = state.checkpoint_history || [];
|
|
4225
|
+
const events = state.events || [];
|
|
4226
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
4227
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
4228
|
+
return history.filter((entry) => {
|
|
4229
|
+
if (!entry.response) return false;
|
|
4230
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
4231
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
4232
|
+
});
|
|
4233
|
+
}
|
|
4223
4234
|
function checkpointSummaryFromState(state, engineStatePath2) {
|
|
4224
4235
|
const history = state.checkpoint_history || [];
|
|
4236
|
+
const events = state.events || [];
|
|
4225
4237
|
const packets = history.filter((entry) => entry.packet);
|
|
4226
|
-
const responses =
|
|
4227
|
-
const duplicateResponses =
|
|
4238
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
4239
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
4228
4240
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
4229
|
-
const latestResponseEntry = [...
|
|
4241
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4230
4242
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4231
4243
|
const latestResponse = latestResponseEntry?.response;
|
|
4232
4244
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -4253,7 +4265,7 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4253
4265
|
}
|
|
4254
4266
|
function isDuplicateCheckpointResponse(state, response) {
|
|
4255
4267
|
const identity = checkpointResponseIdentity(response);
|
|
4256
|
-
return (state
|
|
4268
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
4257
4269
|
}
|
|
4258
4270
|
function checkpointResponseIdentity(response) {
|
|
4259
4271
|
const logicalResponse = compactRecord({
|
|
@@ -6095,10 +6107,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
6095
6107
|
if (!response) return null;
|
|
6096
6108
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
6097
6109
|
const at = timestamp3();
|
|
6098
|
-
state.checkpoint_history = [
|
|
6099
|
-
...state.checkpoint_history || [],
|
|
6100
|
-
{ ts: at, response }
|
|
6101
|
-
].slice(-25);
|
|
6102
6110
|
appendRunEvent(state, {
|
|
6103
6111
|
ts: at,
|
|
6104
6112
|
kind: "checkpoint.response.ignored",
|
package/dist/advanced/index.js
CHANGED
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "../chunk-IOI6QR3B.js";
|
|
4
4
|
import {
|
|
5
5
|
runner_exports
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-DFQBQGSD.js";
|
|
7
7
|
import {
|
|
8
8
|
engine_harness_exports
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-ZHTJEZH5.js";
|
|
10
|
+
import "../chunk-M3IE3VNC.js";
|
|
11
|
+
import "../chunk-RBAU2M4S.js";
|
|
12
12
|
import {
|
|
13
13
|
proof_run_core_exports
|
|
14
14
|
} from "../chunk-X7SQTCIQ.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-AXWJJ2LC.js";
|
|
16
16
|
import "../chunk-VY4Y5U57.js";
|
|
17
17
|
import "../chunk-MLKGABMK.js";
|
|
18
18
|
export {
|
package/dist/advanced/runner.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRiddleProof
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-DFQBQGSD.js";
|
|
4
|
+
import "../chunk-M3IE3VNC.js";
|
|
5
|
+
import "../chunk-RBAU2M4S.js";
|
|
6
6
|
import "../chunk-X7SQTCIQ.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-AXWJJ2LC.js";
|
|
8
8
|
import "../chunk-VY4Y5U57.js";
|
|
9
9
|
import "../chunk-MLKGABMK.js";
|
|
10
10
|
export {
|
package/dist/checkpoint.cjs
CHANGED
|
@@ -718,13 +718,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
718
718
|
created_at: input.created_at || timestamp()
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
722
|
+
const history = state.checkpoint_history || [];
|
|
723
|
+
const events = state.events || [];
|
|
724
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
725
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
726
|
+
return history.filter((entry) => {
|
|
727
|
+
if (!entry.response) return false;
|
|
728
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
729
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
730
|
+
});
|
|
731
|
+
}
|
|
721
732
|
function checkpointSummaryFromState(state, engineStatePath) {
|
|
722
733
|
const history = state.checkpoint_history || [];
|
|
734
|
+
const events = state.events || [];
|
|
723
735
|
const packets = history.filter((entry) => entry.packet);
|
|
724
|
-
const responses =
|
|
725
|
-
const duplicateResponses =
|
|
736
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
737
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
726
738
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
727
|
-
const latestResponseEntry = [...
|
|
739
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
728
740
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
729
741
|
const latestResponse = latestResponseEntry?.response;
|
|
730
742
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -751,7 +763,7 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
751
763
|
}
|
|
752
764
|
function isDuplicateCheckpointResponse(state, response) {
|
|
753
765
|
const identity = checkpointResponseIdentity(response);
|
|
754
|
-
return (state
|
|
766
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
755
767
|
}
|
|
756
768
|
function checkpointResponseIdentity(response) {
|
|
757
769
|
const logicalResponse = compactRecord({
|
package/dist/checkpoint.js
CHANGED
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
createDisabledRiddleProofAgentAdapter,
|
|
29
29
|
readRiddleProofRunStatus,
|
|
30
30
|
runRiddleProofEngineHarness
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZHTJEZH5.js";
|
|
32
32
|
import {
|
|
33
33
|
createCheckpointResponseTemplate
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AXWJJ2LC.js";
|
|
35
35
|
import {
|
|
36
36
|
createCodexExecAgentAdapter,
|
|
37
37
|
runCodexExecAgentDoctor
|
|
@@ -664,13 +664,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
664
664
|
created_at: input.created_at || timestamp()
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
668
|
+
const history = state.checkpoint_history || [];
|
|
669
|
+
const events = state.events || [];
|
|
670
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
671
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
672
|
+
return history.filter((entry) => {
|
|
673
|
+
if (!entry.response) return false;
|
|
674
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
675
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
676
|
+
});
|
|
677
|
+
}
|
|
667
678
|
function checkpointSummaryFromState(state, engineStatePath) {
|
|
668
679
|
const history = state.checkpoint_history || [];
|
|
680
|
+
const events = state.events || [];
|
|
669
681
|
const packets = history.filter((entry) => entry.packet);
|
|
670
|
-
const responses =
|
|
671
|
-
const duplicateResponses =
|
|
682
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
683
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
672
684
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
673
|
-
const latestResponseEntry = [...
|
|
685
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
674
686
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
675
687
|
const latestResponse = latestResponseEntry?.response;
|
|
676
688
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -697,7 +709,7 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
697
709
|
}
|
|
698
710
|
function isDuplicateCheckpointResponse(state, response) {
|
|
699
711
|
const identity = checkpointResponseIdentity(response);
|
|
700
|
-
return (state
|
|
712
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
701
713
|
}
|
|
702
714
|
function checkpointResponseIdentity(response) {
|
|
703
715
|
const logicalResponse = compactRecord({
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
createRunStatusSnapshot,
|
|
6
6
|
normalizeRunParams,
|
|
7
7
|
setRunStatus
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-M3IE3VNC.js";
|
|
9
9
|
import {
|
|
10
10
|
createRiddleProofRunCard
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RBAU2M4S.js";
|
|
12
12
|
import {
|
|
13
13
|
noImplementationModeFor,
|
|
14
14
|
proofAssessmentHardBlockersForState,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
normalizeCheckpointResponse,
|
|
26
26
|
proofContractFromAuthorCheckpointResponse,
|
|
27
27
|
statePathsForRunState
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AXWJJ2LC.js";
|
|
29
29
|
import {
|
|
30
30
|
applyTerminalMetadata,
|
|
31
31
|
compactRecord,
|
|
@@ -917,10 +917,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
917
917
|
if (!response) return null;
|
|
918
918
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
919
919
|
const at = timestamp();
|
|
920
|
-
state.checkpoint_history = [
|
|
921
|
-
...state.checkpoint_history || [],
|
|
922
|
-
{ ts: at, response }
|
|
923
|
-
].slice(-25);
|
|
924
920
|
appendRunEvent(state, {
|
|
925
921
|
ts: at,
|
|
926
922
|
kind: "checkpoint.response.ignored",
|
package/dist/cli/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-AWM2BKDF.js";
|
|
2
2
|
import "../chunk-DI2XNGEZ.js";
|
|
3
3
|
import "../chunk-6KYXX4OE.js";
|
|
4
4
|
import "../chunk-EX7TO4I5.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-ZHTJEZH5.js";
|
|
6
|
+
import "../chunk-M3IE3VNC.js";
|
|
7
|
+
import "../chunk-RBAU2M4S.js";
|
|
8
8
|
import "../chunk-X7SQTCIQ.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-AXWJJ2LC.js";
|
|
10
10
|
import "../chunk-JFQXAJH2.js";
|
|
11
11
|
import "../chunk-73EBR3YL.js";
|
|
12
12
|
import "../chunk-VY4Y5U57.js";
|
package/dist/cli.cjs
CHANGED
|
@@ -4273,13 +4273,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
4273
4273
|
created_at: input.created_at || timestamp()
|
|
4274
4274
|
});
|
|
4275
4275
|
}
|
|
4276
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
4277
|
+
const history = state.checkpoint_history || [];
|
|
4278
|
+
const events = state.events || [];
|
|
4279
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
4280
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
4281
|
+
return history.filter((entry) => {
|
|
4282
|
+
if (!entry.response) return false;
|
|
4283
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
4284
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
4285
|
+
});
|
|
4286
|
+
}
|
|
4276
4287
|
function checkpointSummaryFromState(state, engineStatePath2) {
|
|
4277
4288
|
const history = state.checkpoint_history || [];
|
|
4289
|
+
const events = state.events || [];
|
|
4278
4290
|
const packets = history.filter((entry) => entry.packet);
|
|
4279
|
-
const responses =
|
|
4280
|
-
const duplicateResponses =
|
|
4291
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
4292
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
4281
4293
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
4282
|
-
const latestResponseEntry = [...
|
|
4294
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4283
4295
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4284
4296
|
const latestResponse = latestResponseEntry?.response;
|
|
4285
4297
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -4306,7 +4318,7 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4306
4318
|
}
|
|
4307
4319
|
function isDuplicateCheckpointResponse(state, response) {
|
|
4308
4320
|
const identity = checkpointResponseIdentity(response);
|
|
4309
|
-
return (state
|
|
4321
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
4310
4322
|
}
|
|
4311
4323
|
function checkpointResponseIdentity(response) {
|
|
4312
4324
|
const logicalResponse = compactRecord({
|
|
@@ -5643,10 +5655,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
5643
5655
|
if (!response) return null;
|
|
5644
5656
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
5645
5657
|
const at = timestamp3();
|
|
5646
|
-
state.checkpoint_history = [
|
|
5647
|
-
...state.checkpoint_history || [],
|
|
5648
|
-
{ ts: at, response }
|
|
5649
|
-
].slice(-25);
|
|
5650
5658
|
appendRunEvent(state, {
|
|
5651
5659
|
ts: at,
|
|
5652
5660
|
kind: "checkpoint.response.ignored",
|
package/dist/cli.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-AWM2BKDF.js";
|
|
3
3
|
import "./chunk-DI2XNGEZ.js";
|
|
4
4
|
import "./chunk-6KYXX4OE.js";
|
|
5
5
|
import "./chunk-EX7TO4I5.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZHTJEZH5.js";
|
|
7
|
+
import "./chunk-M3IE3VNC.js";
|
|
8
|
+
import "./chunk-RBAU2M4S.js";
|
|
9
9
|
import "./chunk-X7SQTCIQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-AXWJJ2LC.js";
|
|
11
11
|
import "./chunk-JFQXAJH2.js";
|
|
12
12
|
import "./chunk-73EBR3YL.js";
|
|
13
13
|
import "./chunk-VY4Y5U57.js";
|
package/dist/engine-harness.cjs
CHANGED
|
@@ -4186,13 +4186,25 @@ function normalizeCheckpointResponse(value) {
|
|
|
4186
4186
|
created_at: nonEmptyString(record.created_at) || timestamp()
|
|
4187
4187
|
});
|
|
4188
4188
|
}
|
|
4189
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
4190
|
+
const history = state.checkpoint_history || [];
|
|
4191
|
+
const events = state.events || [];
|
|
4192
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
4193
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
4194
|
+
return history.filter((entry) => {
|
|
4195
|
+
if (!entry.response) return false;
|
|
4196
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
4197
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
4198
|
+
});
|
|
4199
|
+
}
|
|
4189
4200
|
function checkpointSummaryFromState(state, engineStatePath2) {
|
|
4190
4201
|
const history = state.checkpoint_history || [];
|
|
4202
|
+
const events = state.events || [];
|
|
4191
4203
|
const packets = history.filter((entry) => entry.packet);
|
|
4192
|
-
const responses =
|
|
4193
|
-
const duplicateResponses =
|
|
4204
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
4205
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
4194
4206
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
4195
|
-
const latestResponseEntry = [...
|
|
4207
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4196
4208
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4197
4209
|
const latestResponse = latestResponseEntry?.response;
|
|
4198
4210
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -4219,7 +4231,7 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4219
4231
|
}
|
|
4220
4232
|
function isDuplicateCheckpointResponse(state, response) {
|
|
4221
4233
|
const identity = checkpointResponseIdentity(response);
|
|
4222
|
-
return (state
|
|
4234
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
4223
4235
|
}
|
|
4224
4236
|
function checkpointResponseIdentity(response) {
|
|
4225
4237
|
const logicalResponse = compactRecord({
|
|
@@ -5556,10 +5568,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
5556
5568
|
if (!response) return null;
|
|
5557
5569
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
5558
5570
|
const at = timestamp3();
|
|
5559
|
-
state.checkpoint_history = [
|
|
5560
|
-
...state.checkpoint_history || [],
|
|
5561
|
-
{ ts: at, response }
|
|
5562
|
-
].slice(-25);
|
|
5563
5571
|
appendRunEvent(state, {
|
|
5564
5572
|
ts: at,
|
|
5565
5573
|
kind: "checkpoint.response.ignored",
|
package/dist/engine-harness.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createDisabledRiddleProofAgentAdapter,
|
|
3
3
|
readRiddleProofRunStatus,
|
|
4
4
|
runRiddleProofEngineHarness
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZHTJEZH5.js";
|
|
6
|
+
import "./chunk-M3IE3VNC.js";
|
|
7
|
+
import "./chunk-RBAU2M4S.js";
|
|
8
8
|
import "./chunk-X7SQTCIQ.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-AXWJJ2LC.js";
|
|
10
10
|
import "./chunk-VY4Y5U57.js";
|
|
11
11
|
import "./chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
package/dist/index.cjs
CHANGED
|
@@ -4394,13 +4394,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
4394
4394
|
created_at: input.created_at || timestamp()
|
|
4395
4395
|
});
|
|
4396
4396
|
}
|
|
4397
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
4398
|
+
const history = state.checkpoint_history || [];
|
|
4399
|
+
const events = state.events || [];
|
|
4400
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
4401
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
4402
|
+
return history.filter((entry) => {
|
|
4403
|
+
if (!entry.response) return false;
|
|
4404
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
4405
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
4406
|
+
});
|
|
4407
|
+
}
|
|
4397
4408
|
function checkpointSummaryFromState(state, engineStatePath2) {
|
|
4398
4409
|
const history = state.checkpoint_history || [];
|
|
4410
|
+
const events = state.events || [];
|
|
4399
4411
|
const packets = history.filter((entry) => entry.packet);
|
|
4400
|
-
const responses =
|
|
4401
|
-
const duplicateResponses =
|
|
4412
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
4413
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
4402
4414
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
4403
|
-
const latestResponseEntry = [...
|
|
4415
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4404
4416
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4405
4417
|
const latestResponse = latestResponseEntry?.response;
|
|
4406
4418
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -4427,7 +4439,7 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4427
4439
|
}
|
|
4428
4440
|
function isDuplicateCheckpointResponse(state, response) {
|
|
4429
4441
|
const identity = checkpointResponseIdentity(response);
|
|
4430
|
-
return (state
|
|
4442
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
4431
4443
|
}
|
|
4432
4444
|
function checkpointResponseIdentity(response) {
|
|
4433
4445
|
const logicalResponse = compactRecord({
|
|
@@ -6310,10 +6322,6 @@ function finalizedCheckpointResponseWithoutPacketResult(state, value) {
|
|
|
6310
6322
|
if (!response) return null;
|
|
6311
6323
|
if (isDuplicateCheckpointResponse(state, response)) return null;
|
|
6312
6324
|
const at = timestamp3();
|
|
6313
|
-
state.checkpoint_history = [
|
|
6314
|
-
...state.checkpoint_history || [],
|
|
6315
|
-
{ ts: at, response }
|
|
6316
|
-
].slice(-25);
|
|
6317
6325
|
appendRunEvent(state, {
|
|
6318
6326
|
ts: at,
|
|
6319
6327
|
kind: "checkpoint.response.ignored",
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRiddleProof
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DFQBQGSD.js";
|
|
4
4
|
import "./chunk-6F4PWJZI.js";
|
|
5
5
|
import {
|
|
6
6
|
RIDDLE_PROOF_PLAYABILITY_ASSESSMENT_VERSION,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
createDisabledRiddleProofAgentAdapter,
|
|
103
103
|
readRiddleProofRunStatus,
|
|
104
104
|
runRiddleProofEngineHarness
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-ZHTJEZH5.js";
|
|
106
106
|
import {
|
|
107
107
|
RIDDLE_PROOF_RUN_STATE_VERSION,
|
|
108
108
|
appendRunEvent,
|
|
@@ -114,11 +114,11 @@ import {
|
|
|
114
114
|
normalizePrLifecycleState,
|
|
115
115
|
normalizeRunParams,
|
|
116
116
|
setRunStatus
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-M3IE3VNC.js";
|
|
118
118
|
import {
|
|
119
119
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
120
120
|
createRiddleProofRunCard
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-RBAU2M4S.js";
|
|
122
122
|
import "./chunk-X7SQTCIQ.js";
|
|
123
123
|
import {
|
|
124
124
|
RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
normalizeCheckpointResponse,
|
|
136
136
|
proofContractFromAuthorCheckpointResponse,
|
|
137
137
|
statePathsForRunState
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-AXWJJ2LC.js";
|
|
139
139
|
import "./chunk-JFQXAJH2.js";
|
|
140
140
|
import {
|
|
141
141
|
createCodexExecAgentAdapter,
|
package/dist/openclaw.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
parseOpenClawAssertions,
|
|
4
4
|
parseOpenClawJsonObjectOrArray,
|
|
5
5
|
toRiddleProofRunParams
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OYWZGDTS.js";
|
|
7
|
+
import "./chunk-M3IE3VNC.js";
|
|
8
|
+
import "./chunk-RBAU2M4S.js";
|
|
9
|
+
import "./chunk-AXWJJ2LC.js";
|
|
10
10
|
import "./chunk-VY4Y5U57.js";
|
|
11
11
|
import "./chunk-MLKGABMK.js";
|
|
12
12
|
export {
|
package/dist/run-card.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
3
3
|
createRiddleProofRunCard
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-RBAU2M4S.js";
|
|
5
|
+
import "./chunk-AXWJJ2LC.js";
|
|
6
6
|
import "./chunk-VY4Y5U57.js";
|
|
7
7
|
import "./chunk-MLKGABMK.js";
|
|
8
8
|
export {
|
package/dist/runner.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRiddleProof
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DFQBQGSD.js";
|
|
4
|
+
import "./chunk-M3IE3VNC.js";
|
|
5
|
+
import "./chunk-RBAU2M4S.js";
|
|
6
6
|
import "./chunk-X7SQTCIQ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-AXWJJ2LC.js";
|
|
8
8
|
import "./chunk-VY4Y5U57.js";
|
|
9
9
|
import "./chunk-MLKGABMK.js";
|
|
10
10
|
export {
|
package/dist/spec/checkpoint.cjs
CHANGED
|
@@ -720,13 +720,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
720
720
|
created_at: input.created_at || timestamp()
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
724
|
+
const history = state.checkpoint_history || [];
|
|
725
|
+
const events = state.events || [];
|
|
726
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
727
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
728
|
+
return history.filter((entry) => {
|
|
729
|
+
if (!entry.response) return false;
|
|
730
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
731
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
732
|
+
});
|
|
733
|
+
}
|
|
723
734
|
function checkpointSummaryFromState(state, engineStatePath) {
|
|
724
735
|
const history = state.checkpoint_history || [];
|
|
736
|
+
const events = state.events || [];
|
|
725
737
|
const packets = history.filter((entry) => entry.packet);
|
|
726
|
-
const responses =
|
|
727
|
-
const duplicateResponses =
|
|
738
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
739
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
728
740
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
729
|
-
const latestResponseEntry = [...
|
|
741
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
730
742
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
731
743
|
const latestResponse = latestResponseEntry?.response;
|
|
732
744
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -753,7 +765,7 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
753
765
|
}
|
|
754
766
|
function isDuplicateCheckpointResponse(state, response) {
|
|
755
767
|
const identity = checkpointResponseIdentity(response);
|
|
756
|
-
return (state
|
|
768
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
757
769
|
}
|
|
758
770
|
function checkpointResponseIdentity(response) {
|
|
759
771
|
const logicalResponse = compactRecord({
|
package/dist/spec/checkpoint.js
CHANGED
package/dist/spec/index.cjs
CHANGED
|
@@ -943,13 +943,25 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
943
943
|
created_at: input.created_at || timestamp()
|
|
944
944
|
});
|
|
945
945
|
}
|
|
946
|
+
function acceptedCheckpointResponseEntries(state) {
|
|
947
|
+
const history = state.checkpoint_history || [];
|
|
948
|
+
const events = state.events || [];
|
|
949
|
+
const acceptedResponseEvents = events.filter((event) => event.kind === "checkpoint.response.accepted");
|
|
950
|
+
const hasCheckpointResponseEvents = events.some((event) => nonEmptyString(event.kind)?.startsWith("checkpoint.response."));
|
|
951
|
+
return history.filter((entry) => {
|
|
952
|
+
if (!entry.response) return false;
|
|
953
|
+
if (!hasCheckpointResponseEvents) return true;
|
|
954
|
+
return acceptedResponseEvents.some((event) => event.ts === entry.ts && (!event.checkpoint || event.checkpoint === entry.response?.checkpoint));
|
|
955
|
+
});
|
|
956
|
+
}
|
|
946
957
|
function checkpointSummaryFromState(state, engineStatePath) {
|
|
947
958
|
const history = state.checkpoint_history || [];
|
|
959
|
+
const events = state.events || [];
|
|
948
960
|
const packets = history.filter((entry) => entry.packet);
|
|
949
|
-
const responses =
|
|
950
|
-
const duplicateResponses =
|
|
961
|
+
const responses = acceptedCheckpointResponseEntries(state);
|
|
962
|
+
const duplicateResponses = events.filter((event) => event.kind === "checkpoint.response.duplicate");
|
|
951
963
|
const latestPacketEntry = [...history].reverse().find((entry) => entry.packet);
|
|
952
|
-
const latestResponseEntry = [...
|
|
964
|
+
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
953
965
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
954
966
|
const latestResponse = latestResponseEntry?.response;
|
|
955
967
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
@@ -976,7 +988,7 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
976
988
|
}
|
|
977
989
|
function isDuplicateCheckpointResponse(state, response) {
|
|
978
990
|
const identity = checkpointResponseIdentity(response);
|
|
979
|
-
return (state
|
|
991
|
+
return acceptedCheckpointResponseEntries(state).some((entry) => entry.response ? checkpointResponseIdentity(entry.response) === identity : false);
|
|
980
992
|
}
|
|
981
993
|
function checkpointResponseIdentity(response) {
|
|
982
994
|
const logicalResponse = compactRecord({
|
package/dist/spec/index.js
CHANGED
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
normalizePrLifecycleState,
|
|
11
11
|
normalizeRunParams,
|
|
12
12
|
setRunStatus
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-M3IE3VNC.js";
|
|
14
14
|
import {
|
|
15
15
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
16
16
|
createRiddleProofRunCard
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-RBAU2M4S.js";
|
|
18
18
|
import {
|
|
19
19
|
RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
20
20
|
RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
normalizeCheckpointResponse,
|
|
31
31
|
proofContractFromAuthorCheckpointResponse,
|
|
32
32
|
statePathsForRunState
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-AXWJJ2LC.js";
|
|
34
34
|
import {
|
|
35
35
|
applyTerminalMetadata,
|
|
36
36
|
compactRecord,
|
package/dist/spec/run-card.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
3
3
|
createRiddleProofRunCard
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RBAU2M4S.js";
|
|
5
|
+
import "../chunk-AXWJJ2LC.js";
|
|
6
6
|
import "../chunk-VY4Y5U57.js";
|
|
7
7
|
import "../chunk-MLKGABMK.js";
|
|
8
8
|
export {
|
package/dist/spec/state.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
normalizePrLifecycleState,
|
|
10
10
|
normalizeRunParams,
|
|
11
11
|
setRunStatus
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-M3IE3VNC.js";
|
|
13
|
+
import "../chunk-RBAU2M4S.js";
|
|
14
|
+
import "../chunk-AXWJJ2LC.js";
|
|
15
15
|
import "../chunk-VY4Y5U57.js";
|
|
16
16
|
import "../chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
package/dist/state.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
normalizePrLifecycleState,
|
|
10
10
|
normalizeRunParams,
|
|
11
11
|
setRunStatus
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-M3IE3VNC.js";
|
|
13
|
+
import "./chunk-RBAU2M4S.js";
|
|
14
|
+
import "./chunk-AXWJJ2LC.js";
|
|
15
15
|
import "./chunk-VY4Y5U57.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
package/package.json
CHANGED
package/runtime/lib/ship.py
CHANGED
|
@@ -891,7 +891,7 @@ def ship_gate_report_facts(state):
|
|
|
891
891
|
if not prod_cdn:
|
|
892
892
|
reasons.append('prod_cdn is required before ship')
|
|
893
893
|
if not after_evidence_present:
|
|
894
|
-
reasons.append('
|
|
894
|
+
reasons.append('after_cdn is required before ship')
|
|
895
895
|
if verify_status != 'evidence_captured':
|
|
896
896
|
reasons.append('verify_status must be evidence_captured before ship')
|
|
897
897
|
if proof_source not in ('supervising_agent', 'supervisor'):
|
|
@@ -931,7 +931,7 @@ def ship_gate_failure_message(ship_gate):
|
|
|
931
931
|
if not reasons:
|
|
932
932
|
return 'Ship gate is blocked.'
|
|
933
933
|
first = reasons[0]
|
|
934
|
-
if first == '
|
|
934
|
+
if first == 'after_cdn is required before ship':
|
|
935
935
|
return 'No after evidence in state. Run verify first.'
|
|
936
936
|
if first.startswith('visual_delta.'):
|
|
937
937
|
return first + '. Rerun verify with measured before/after visual delta or return a non-shipping proof assessment.'
|