@riddledc/riddle-proof 0.8.52 → 0.8.53
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 +54 -11
- package/dist/advanced/engine-harness.js +4 -4
- package/dist/advanced/index.cjs +54 -11
- package/dist/advanced/index.js +5 -5
- package/dist/advanced/runner.js +4 -4
- package/dist/checkpoint.cjs +41 -11
- package/dist/checkpoint.d.cts +2 -1
- package/dist/checkpoint.d.ts +2 -1
- package/dist/checkpoint.js +3 -1
- package/dist/{chunk-FWHJN3QG.js → chunk-2ALMXMFZ.js} +3 -2
- package/dist/{chunk-AXWJJ2LC.js → chunk-BLM5EIBA.js} +40 -11
- package/dist/{chunk-RBAU2M4S.js → chunk-JJ4IWRMJ.js} +1 -1
- package/dist/{chunk-OYWZGDTS.js → chunk-LNWJAHAQ.js} +1 -1
- package/dist/{chunk-2CZORYB7.js → chunk-S5DX7Z6X.js} +1 -1
- package/dist/{chunk-M3IE3VNC.js → chunk-WDIKPIMB.js} +1 -1
- package/dist/{chunk-WURLFN72.js → chunk-ZLBOGPUL.js} +19 -3
- package/dist/cli/index.js +5 -5
- package/dist/cli.cjs +56 -11
- package/dist/cli.js +5 -5
- package/dist/engine-harness.cjs +54 -11
- package/dist/engine-harness.js +4 -4
- package/dist/index.cjs +57 -11
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -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 +41 -11
- package/dist/spec/checkpoint.d.cts +1 -1
- package/dist/spec/checkpoint.d.ts +1 -1
- package/dist/spec/checkpoint.js +3 -1
- package/dist/spec/index.cjs +41 -11
- package/dist/spec/index.d.cts +1 -1
- package/dist/spec/index.d.ts +1 -1
- package/dist/spec/index.js +5 -3
- package/dist/spec/run-card.js +2 -2
- package/dist/spec/state.js +3 -3
- package/dist/state.js +3 -3
- package/dist/types.d.cts +5 -0
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3458,6 +3458,7 @@ __export(index_exports, {
|
|
|
3458
3458
|
buildRiddleProofProfileScript: () => buildRiddleProofProfileScript,
|
|
3459
3459
|
buildStageCheckpointPacket: () => buildStageCheckpointPacket,
|
|
3460
3460
|
buildVisualProofSession: () => buildVisualProofSession,
|
|
3461
|
+
checkpointPacketIdentity: () => checkpointPacketIdentity,
|
|
3461
3462
|
checkpointResponseIdentity: () => checkpointResponseIdentity,
|
|
3462
3463
|
checkpointSummaryFromState: () => checkpointSummaryFromState,
|
|
3463
3464
|
collectRiddlePreviewDeployWarnings: () => collectRiddlePreviewDeployWarnings,
|
|
@@ -3799,12 +3800,13 @@ function statePathsForRunState(state, engineStatePath2) {
|
|
|
3799
3800
|
function responseSchemaForAuthorPacket() {
|
|
3800
3801
|
return {
|
|
3801
3802
|
type: "object",
|
|
3802
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "payload", "created_at"],
|
|
3803
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "payload", "created_at"],
|
|
3803
3804
|
additionalProperties: false,
|
|
3804
3805
|
properties: {
|
|
3805
3806
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
3806
3807
|
run_id: { type: "string" },
|
|
3807
3808
|
checkpoint: { type: "string" },
|
|
3809
|
+
packet_id: { type: "string" },
|
|
3808
3810
|
resume_token: { type: "string" },
|
|
3809
3811
|
decision: {
|
|
3810
3812
|
type: "string",
|
|
@@ -3832,12 +3834,13 @@ function responseSchemaForAuthorPacket() {
|
|
|
3832
3834
|
function responseSchemaForProofAssessmentPacket() {
|
|
3833
3835
|
return {
|
|
3834
3836
|
type: "object",
|
|
3835
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
3837
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
3836
3838
|
additionalProperties: false,
|
|
3837
3839
|
properties: {
|
|
3838
3840
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
3839
3841
|
run_id: { type: "string" },
|
|
3840
3842
|
checkpoint: { type: "string" },
|
|
3843
|
+
packet_id: { type: "string" },
|
|
3841
3844
|
resume_token: { type: "string" },
|
|
3842
3845
|
decision: {
|
|
3843
3846
|
type: "string",
|
|
@@ -3873,12 +3876,13 @@ function responseSchemaForProofAssessmentPacket() {
|
|
|
3873
3876
|
function responseSchemaForReconPacket() {
|
|
3874
3877
|
return {
|
|
3875
3878
|
type: "object",
|
|
3876
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
3879
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
3877
3880
|
additionalProperties: false,
|
|
3878
3881
|
properties: {
|
|
3879
3882
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
3880
3883
|
run_id: { type: "string" },
|
|
3881
3884
|
checkpoint: { type: "string" },
|
|
3885
|
+
packet_id: { type: "string" },
|
|
3882
3886
|
resume_token: { type: "string" },
|
|
3883
3887
|
decision: {
|
|
3884
3888
|
type: "string",
|
|
@@ -3906,12 +3910,13 @@ function responseSchemaForReconPacket() {
|
|
|
3906
3910
|
function responseSchemaForImplementationPacket() {
|
|
3907
3911
|
return {
|
|
3908
3912
|
type: "object",
|
|
3909
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
3913
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
3910
3914
|
additionalProperties: false,
|
|
3911
3915
|
properties: {
|
|
3912
3916
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
3913
3917
|
run_id: { type: "string" },
|
|
3914
3918
|
checkpoint: { type: "string" },
|
|
3919
|
+
packet_id: { type: "string" },
|
|
3915
3920
|
resume_token: { type: "string" },
|
|
3916
3921
|
decision: {
|
|
3917
3922
|
type: "string",
|
|
@@ -3939,12 +3944,13 @@ function responseSchemaForImplementationPacket() {
|
|
|
3939
3944
|
function responseSchemaForAdvancePacket(stage) {
|
|
3940
3945
|
return {
|
|
3941
3946
|
type: "object",
|
|
3942
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
3947
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
3943
3948
|
additionalProperties: false,
|
|
3944
3949
|
properties: {
|
|
3945
3950
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
3946
3951
|
run_id: { type: "string" },
|
|
3947
3952
|
checkpoint: { type: "string" },
|
|
3953
|
+
packet_id: { type: "string" },
|
|
3948
3954
|
resume_token: { type: "string" },
|
|
3949
3955
|
decision: {
|
|
3950
3956
|
type: "string",
|
|
@@ -3970,6 +3976,20 @@ function resumeTokenFor(input) {
|
|
|
3970
3976
|
const hash = import_node_crypto.default.createHash("sha256").update(JSON.stringify(input)).digest("hex").slice(0, 24);
|
|
3971
3977
|
return `rpchk_${hash}`;
|
|
3972
3978
|
}
|
|
3979
|
+
function packetIdentityPayload(packet) {
|
|
3980
|
+
const { packet_id: _packetId, ...identityPayload } = packet;
|
|
3981
|
+
return identityPayload;
|
|
3982
|
+
}
|
|
3983
|
+
function checkpointPacketIdentity(packet) {
|
|
3984
|
+
const hash = import_node_crypto.default.createHash("sha256").update(stableJson(packetIdentityPayload(packet))).digest("hex").slice(0, 24);
|
|
3985
|
+
return `rppkt_${hash}`;
|
|
3986
|
+
}
|
|
3987
|
+
function withPacketIdentity(packet) {
|
|
3988
|
+
return {
|
|
3989
|
+
...packet,
|
|
3990
|
+
packet_id: checkpointPacketIdentity(packet)
|
|
3991
|
+
};
|
|
3992
|
+
}
|
|
3973
3993
|
function artifactsFromState(state) {
|
|
3974
3994
|
const artifacts = [];
|
|
3975
3995
|
for (const role of ["before", "prod", "after"]) {
|
|
@@ -4042,7 +4062,7 @@ function buildStageCheckpointPacket(input) {
|
|
|
4042
4062
|
const checkpointContract = recordValue(input.engineResult.checkpointContract);
|
|
4043
4063
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.stage_summary) || `${stage} checkpoint needs a supervising decision.`;
|
|
4044
4064
|
const kind = packetKindForStage(stage, checkpoint);
|
|
4045
|
-
return {
|
|
4065
|
+
return withPacketIdentity({
|
|
4046
4066
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
4047
4067
|
run_id: runId,
|
|
4048
4068
|
state_path: input.runState.state_path,
|
|
@@ -4091,7 +4111,7 @@ function buildStageCheckpointPacket(input) {
|
|
|
4091
4111
|
stage
|
|
4092
4112
|
}),
|
|
4093
4113
|
created_at: input.created_at || timestamp()
|
|
4094
|
-
};
|
|
4114
|
+
});
|
|
4095
4115
|
}
|
|
4096
4116
|
function buildAuthorCheckpointPacket(input) {
|
|
4097
4117
|
const checkpoint = nonEmptyString(input.engineResult.checkpoint) || "author_supervisor_judgment";
|
|
@@ -4104,7 +4124,7 @@ function buildAuthorCheckpointPacket(input) {
|
|
|
4104
4124
|
const reconResults = recordValue(fullState.recon_results);
|
|
4105
4125
|
const checkpointContract = recordValue(input.engineResult.checkpointContract);
|
|
4106
4126
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.author_summary) || "Author checkpoint needs a supervising proof packet.";
|
|
4107
|
-
return {
|
|
4127
|
+
return withPacketIdentity({
|
|
4108
4128
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
4109
4129
|
run_id: runId,
|
|
4110
4130
|
state_path: input.runState.state_path,
|
|
@@ -4153,7 +4173,7 @@ function buildAuthorCheckpointPacket(input) {
|
|
|
4153
4173
|
stage
|
|
4154
4174
|
}),
|
|
4155
4175
|
created_at: input.created_at || timestamp()
|
|
4156
|
-
};
|
|
4176
|
+
});
|
|
4157
4177
|
}
|
|
4158
4178
|
function visualDeltaFromState(fullState) {
|
|
4159
4179
|
const bundle = recordValue(fullState.evidence_bundle);
|
|
@@ -4224,7 +4244,7 @@ function buildProofAssessmentCheckpointPacket(input) {
|
|
|
4224
4244
|
const evidenceIssueCode2 = visualDeltaIssueCode(visualDelta, visualDeltaRequired);
|
|
4225
4245
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.verify_summary) || "Verify captured evidence and needs a supervising proof assessment.";
|
|
4226
4246
|
const recoveryHint = evidenceIssueCode2 ? "Required visual_delta evidence is incomplete. Keep this same run in verify/evidence recovery with decision=revise_capture and continue_with_stage=verify unless the evidence proves an implementation or recon problem." : "Assess whether the current artifacts prove the requested change, then choose the next stage.";
|
|
4227
|
-
return {
|
|
4247
|
+
return withPacketIdentity({
|
|
4228
4248
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
4229
4249
|
run_id: runId,
|
|
4230
4250
|
state_path: input.runState.state_path,
|
|
@@ -4284,7 +4304,7 @@ function buildProofAssessmentCheckpointPacket(input) {
|
|
|
4284
4304
|
stage
|
|
4285
4305
|
}),
|
|
4286
4306
|
created_at: input.created_at || timestamp()
|
|
4287
|
-
};
|
|
4307
|
+
});
|
|
4288
4308
|
}
|
|
4289
4309
|
function buildCheckpointPacketForEngineResult(input) {
|
|
4290
4310
|
const checkpoint = nonEmptyString(input.engineResult.checkpoint) || "";
|
|
@@ -4313,6 +4333,7 @@ function normalizeCheckpointResponse(value) {
|
|
|
4313
4333
|
version: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
4314
4334
|
run_id: runId,
|
|
4315
4335
|
checkpoint,
|
|
4336
|
+
packet_id: nonEmptyString(record.packet_id),
|
|
4316
4337
|
resume_token: nonEmptyString(record.resume_token),
|
|
4317
4338
|
decision,
|
|
4318
4339
|
summary,
|
|
@@ -4400,6 +4421,7 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
4400
4421
|
version: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
4401
4422
|
run_id: packet.run_id,
|
|
4402
4423
|
checkpoint: packet.checkpoint,
|
|
4424
|
+
packet_id: packet.packet_id,
|
|
4403
4425
|
resume_token: packet.resume_token,
|
|
4404
4426
|
decision,
|
|
4405
4427
|
summary: input.summary || `TODO: explain checkpoint decision ${decision}.`,
|
|
@@ -4433,6 +4455,9 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4433
4455
|
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
4434
4456
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
4435
4457
|
const latestResponse = latestResponseEntry?.response;
|
|
4458
|
+
const latestPacketId = latestPacket?.packet_id || null;
|
|
4459
|
+
const latestResponsePacketId = latestResponse?.packet_id || null;
|
|
4460
|
+
const packetIdMatches = !latestResponse ? null : latestPacketId && latestResponsePacketId ? latestPacketId === latestResponsePacketId : latestPacketId || latestResponsePacketId ? false : null;
|
|
4436
4461
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
4437
4462
|
const latestResponseToken = latestResponse?.resume_token || null;
|
|
4438
4463
|
const tokenMatches = !latestResponse ? null : latestResumeToken && latestResponseToken ? latestResumeToken === latestResponseToken : latestResumeToken || latestResponseToken ? false : null;
|
|
@@ -4447,6 +4472,9 @@ function checkpointSummaryFromState(state, engineStatePath2) {
|
|
|
4447
4472
|
latest_decision: latestResponse?.decision || null,
|
|
4448
4473
|
latest_packet_summary: latestPacket?.summary || null,
|
|
4449
4474
|
latest_response_summary: latestResponse?.summary || null,
|
|
4475
|
+
latest_packet_id: latestPacketId,
|
|
4476
|
+
latest_response_packet_id: latestResponsePacketId,
|
|
4477
|
+
packet_id_matches: packetIdMatches,
|
|
4450
4478
|
latest_resume_token: latestResumeToken,
|
|
4451
4479
|
latest_response_token: latestResponseToken,
|
|
4452
4480
|
token_matches: tokenMatches,
|
|
@@ -4463,6 +4491,7 @@ function checkpointResponseIdentity(response) {
|
|
|
4463
4491
|
const logicalResponse = compactRecord({
|
|
4464
4492
|
run_id: response.run_id,
|
|
4465
4493
|
checkpoint: response.checkpoint,
|
|
4494
|
+
packet_id: response.packet_id,
|
|
4466
4495
|
resume_token: response.resume_token,
|
|
4467
4496
|
decision: response.decision,
|
|
4468
4497
|
summary: response.summary,
|
|
@@ -6159,6 +6188,22 @@ function checkpointResponseContinuation(state, value) {
|
|
|
6159
6188
|
}
|
|
6160
6189
|
};
|
|
6161
6190
|
}
|
|
6191
|
+
if (packet.packet_id && response.packet_id !== packet.packet_id) {
|
|
6192
|
+
return {
|
|
6193
|
+
blocker: {
|
|
6194
|
+
code: "checkpoint_response_packet_id_mismatch",
|
|
6195
|
+
checkpoint: packet.checkpoint,
|
|
6196
|
+
message: "Checkpoint response packet_id does not match the pending checkpoint packet.",
|
|
6197
|
+
details: {
|
|
6198
|
+
stage: packet.stage,
|
|
6199
|
+
expected_packet_id: packet.packet_id,
|
|
6200
|
+
actual_packet_id: response.packet_id || null,
|
|
6201
|
+
expected_resume_token: packet.resume_token || null,
|
|
6202
|
+
actual_resume_token: response.resume_token || null
|
|
6203
|
+
}
|
|
6204
|
+
}
|
|
6205
|
+
};
|
|
6206
|
+
}
|
|
6162
6207
|
if (!packet.allowed_decisions.includes(response.decision)) {
|
|
6163
6208
|
return {
|
|
6164
6209
|
blocker: {
|
|
@@ -19959,6 +20004,7 @@ function buildRiddleProofPrCommentMarkdown(input) {
|
|
|
19959
20004
|
buildRiddleProofProfileScript,
|
|
19960
20005
|
buildStageCheckpointPacket,
|
|
19961
20006
|
buildVisualProofSession,
|
|
20007
|
+
checkpointPacketIdentity,
|
|
19962
20008
|
checkpointResponseIdentity,
|
|
19963
20009
|
checkpointSummaryFromState,
|
|
19964
20010
|
collectRiddlePreviewDeployWarnings,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunCard, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofViewportCapture, RiddleProofViewportMatrixStatus, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.cjs';
|
|
2
2
|
export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunResult, isSuccessfulStatus, isTerminalStatus, nonEmptyString, normalizeTerminalMetadata, recordValue } from './result.cjs';
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.cjs';
|
|
4
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.cjs';
|
|
4
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointPacketIdentity, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.cjs';
|
|
5
5
|
export { RIDDLE_PROOF_RUN_CARD_VERSION, createRiddleProofRunCard } from './run-card.cjs';
|
|
6
6
|
export { R as RiddleProofRunnerAdapters, a as RunRiddleProofInput, r as runRiddleProof } from './runner-4LJ5z0D-.cjs';
|
|
7
7
|
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-LBfqbFSe.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunCard, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofViewportCapture, RiddleProofViewportMatrixStatus, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.js';
|
|
2
2
|
export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunResult, isSuccessfulStatus, isTerminalStatus, nonEmptyString, normalizeTerminalMetadata, recordValue } from './result.js';
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.js';
|
|
4
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.js';
|
|
4
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointPacketIdentity, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.js';
|
|
5
5
|
export { RIDDLE_PROOF_RUN_CARD_VERSION, createRiddleProofRunCard } from './run-card.js';
|
|
6
6
|
export { R as RiddleProofRunnerAdapters, a as RunRiddleProofInput, r as runRiddleProof } from './runner-BdQpOkZD.js';
|
|
7
7
|
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-CMACHP6A.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRiddleProof
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S5DX7Z6X.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-ZLBOGPUL.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-WDIKPIMB.js";
|
|
118
118
|
import {
|
|
119
119
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
120
120
|
createRiddleProofRunCard
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-JJ4IWRMJ.js";
|
|
122
122
|
import "./chunk-EKZXU6MU.js";
|
|
123
123
|
import {
|
|
124
124
|
RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
@@ -128,6 +128,7 @@ import {
|
|
|
128
128
|
buildCheckpointPacketForEngineResult,
|
|
129
129
|
buildProofAssessmentCheckpointPacket,
|
|
130
130
|
buildStageCheckpointPacket,
|
|
131
|
+
checkpointPacketIdentity,
|
|
131
132
|
checkpointResponseIdentity,
|
|
132
133
|
checkpointSummaryFromState,
|
|
133
134
|
createCheckpointResponseTemplate,
|
|
@@ -135,7 +136,7 @@ import {
|
|
|
135
136
|
normalizeCheckpointResponse,
|
|
136
137
|
proofContractFromAuthorCheckpointResponse,
|
|
137
138
|
statePathsForRunState
|
|
138
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-BLM5EIBA.js";
|
|
139
140
|
import "./chunk-JFQXAJH2.js";
|
|
140
141
|
import {
|
|
141
142
|
createCodexExecAgentAdapter,
|
|
@@ -205,6 +206,7 @@ export {
|
|
|
205
206
|
buildRiddleProofProfileScript,
|
|
206
207
|
buildStageCheckpointPacket,
|
|
207
208
|
buildVisualProofSession,
|
|
209
|
+
checkpointPacketIdentity,
|
|
208
210
|
checkpointResponseIdentity,
|
|
209
211
|
checkpointSummaryFromState,
|
|
210
212
|
collectRiddlePreviewDeployWarnings,
|
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-LNWJAHAQ.js";
|
|
7
|
+
import "./chunk-WDIKPIMB.js";
|
|
8
|
+
import "./chunk-JJ4IWRMJ.js";
|
|
9
|
+
import "./chunk-BLM5EIBA.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-JJ4IWRMJ.js";
|
|
5
|
+
import "./chunk-BLM5EIBA.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-S5DX7Z6X.js";
|
|
4
|
+
import "./chunk-WDIKPIMB.js";
|
|
5
|
+
import "./chunk-JJ4IWRMJ.js";
|
|
6
6
|
import "./chunk-EKZXU6MU.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-BLM5EIBA.js";
|
|
8
8
|
import "./chunk-VY4Y5U57.js";
|
|
9
9
|
import "./chunk-MLKGABMK.js";
|
|
10
10
|
export {
|
package/dist/spec/checkpoint.cjs
CHANGED
|
@@ -37,6 +37,7 @@ __export(checkpoint_exports, {
|
|
|
37
37
|
buildCheckpointPacketForEngineResult: () => buildCheckpointPacketForEngineResult,
|
|
38
38
|
buildProofAssessmentCheckpointPacket: () => buildProofAssessmentCheckpointPacket,
|
|
39
39
|
buildStageCheckpointPacket: () => buildStageCheckpointPacket,
|
|
40
|
+
checkpointPacketIdentity: () => checkpointPacketIdentity,
|
|
40
41
|
checkpointResponseIdentity: () => checkpointResponseIdentity,
|
|
41
42
|
checkpointSummaryFromState: () => checkpointSummaryFromState,
|
|
42
43
|
createCheckpointResponseTemplate: () => createCheckpointResponseTemplate,
|
|
@@ -107,12 +108,13 @@ function statePathsForRunState(state, engineStatePath) {
|
|
|
107
108
|
function responseSchemaForAuthorPacket() {
|
|
108
109
|
return {
|
|
109
110
|
type: "object",
|
|
110
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "payload", "created_at"],
|
|
111
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "payload", "created_at"],
|
|
111
112
|
additionalProperties: false,
|
|
112
113
|
properties: {
|
|
113
114
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
114
115
|
run_id: { type: "string" },
|
|
115
116
|
checkpoint: { type: "string" },
|
|
117
|
+
packet_id: { type: "string" },
|
|
116
118
|
resume_token: { type: "string" },
|
|
117
119
|
decision: {
|
|
118
120
|
type: "string",
|
|
@@ -140,12 +142,13 @@ function responseSchemaForAuthorPacket() {
|
|
|
140
142
|
function responseSchemaForProofAssessmentPacket() {
|
|
141
143
|
return {
|
|
142
144
|
type: "object",
|
|
143
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
145
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
144
146
|
additionalProperties: false,
|
|
145
147
|
properties: {
|
|
146
148
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
147
149
|
run_id: { type: "string" },
|
|
148
150
|
checkpoint: { type: "string" },
|
|
151
|
+
packet_id: { type: "string" },
|
|
149
152
|
resume_token: { type: "string" },
|
|
150
153
|
decision: {
|
|
151
154
|
type: "string",
|
|
@@ -181,12 +184,13 @@ function responseSchemaForProofAssessmentPacket() {
|
|
|
181
184
|
function responseSchemaForReconPacket() {
|
|
182
185
|
return {
|
|
183
186
|
type: "object",
|
|
184
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
187
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
185
188
|
additionalProperties: false,
|
|
186
189
|
properties: {
|
|
187
190
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
188
191
|
run_id: { type: "string" },
|
|
189
192
|
checkpoint: { type: "string" },
|
|
193
|
+
packet_id: { type: "string" },
|
|
190
194
|
resume_token: { type: "string" },
|
|
191
195
|
decision: {
|
|
192
196
|
type: "string",
|
|
@@ -214,12 +218,13 @@ function responseSchemaForReconPacket() {
|
|
|
214
218
|
function responseSchemaForImplementationPacket() {
|
|
215
219
|
return {
|
|
216
220
|
type: "object",
|
|
217
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
221
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
218
222
|
additionalProperties: false,
|
|
219
223
|
properties: {
|
|
220
224
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
221
225
|
run_id: { type: "string" },
|
|
222
226
|
checkpoint: { type: "string" },
|
|
227
|
+
packet_id: { type: "string" },
|
|
223
228
|
resume_token: { type: "string" },
|
|
224
229
|
decision: {
|
|
225
230
|
type: "string",
|
|
@@ -247,12 +252,13 @@ function responseSchemaForImplementationPacket() {
|
|
|
247
252
|
function responseSchemaForAdvancePacket(stage) {
|
|
248
253
|
return {
|
|
249
254
|
type: "object",
|
|
250
|
-
required: ["version", "run_id", "checkpoint", "decision", "summary", "created_at"],
|
|
255
|
+
required: ["version", "run_id", "checkpoint", "packet_id", "decision", "summary", "created_at"],
|
|
251
256
|
additionalProperties: false,
|
|
252
257
|
properties: {
|
|
253
258
|
version: { const: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION },
|
|
254
259
|
run_id: { type: "string" },
|
|
255
260
|
checkpoint: { type: "string" },
|
|
261
|
+
packet_id: { type: "string" },
|
|
256
262
|
resume_token: { type: "string" },
|
|
257
263
|
decision: {
|
|
258
264
|
type: "string",
|
|
@@ -278,6 +284,20 @@ function resumeTokenFor(input) {
|
|
|
278
284
|
const hash = import_node_crypto.default.createHash("sha256").update(JSON.stringify(input)).digest("hex").slice(0, 24);
|
|
279
285
|
return `rpchk_${hash}`;
|
|
280
286
|
}
|
|
287
|
+
function packetIdentityPayload(packet) {
|
|
288
|
+
const { packet_id: _packetId, ...identityPayload } = packet;
|
|
289
|
+
return identityPayload;
|
|
290
|
+
}
|
|
291
|
+
function checkpointPacketIdentity(packet) {
|
|
292
|
+
const hash = import_node_crypto.default.createHash("sha256").update(stableJson(packetIdentityPayload(packet))).digest("hex").slice(0, 24);
|
|
293
|
+
return `rppkt_${hash}`;
|
|
294
|
+
}
|
|
295
|
+
function withPacketIdentity(packet) {
|
|
296
|
+
return {
|
|
297
|
+
...packet,
|
|
298
|
+
packet_id: checkpointPacketIdentity(packet)
|
|
299
|
+
};
|
|
300
|
+
}
|
|
281
301
|
function artifactsFromState(state) {
|
|
282
302
|
const artifacts = [];
|
|
283
303
|
for (const role of ["before", "prod", "after"]) {
|
|
@@ -350,7 +370,7 @@ function buildStageCheckpointPacket(input) {
|
|
|
350
370
|
const checkpointContract = recordValue(input.engineResult.checkpointContract);
|
|
351
371
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.stage_summary) || `${stage} checkpoint needs a supervising decision.`;
|
|
352
372
|
const kind = packetKindForStage(stage, checkpoint);
|
|
353
|
-
return {
|
|
373
|
+
return withPacketIdentity({
|
|
354
374
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
355
375
|
run_id: runId,
|
|
356
376
|
state_path: input.runState.state_path,
|
|
@@ -399,7 +419,7 @@ function buildStageCheckpointPacket(input) {
|
|
|
399
419
|
stage
|
|
400
420
|
}),
|
|
401
421
|
created_at: input.created_at || timestamp()
|
|
402
|
-
};
|
|
422
|
+
});
|
|
403
423
|
}
|
|
404
424
|
function buildAuthorCheckpointPacket(input) {
|
|
405
425
|
const checkpoint = nonEmptyString(input.engineResult.checkpoint) || "author_supervisor_judgment";
|
|
@@ -412,7 +432,7 @@ function buildAuthorCheckpointPacket(input) {
|
|
|
412
432
|
const reconResults = recordValue(fullState.recon_results);
|
|
413
433
|
const checkpointContract = recordValue(input.engineResult.checkpointContract);
|
|
414
434
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.author_summary) || "Author checkpoint needs a supervising proof packet.";
|
|
415
|
-
return {
|
|
435
|
+
return withPacketIdentity({
|
|
416
436
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
417
437
|
run_id: runId,
|
|
418
438
|
state_path: input.runState.state_path,
|
|
@@ -461,7 +481,7 @@ function buildAuthorCheckpointPacket(input) {
|
|
|
461
481
|
stage
|
|
462
482
|
}),
|
|
463
483
|
created_at: input.created_at || timestamp()
|
|
464
|
-
};
|
|
484
|
+
});
|
|
465
485
|
}
|
|
466
486
|
function visualDeltaFromState(fullState) {
|
|
467
487
|
const bundle = recordValue(fullState.evidence_bundle);
|
|
@@ -532,7 +552,7 @@ function buildProofAssessmentCheckpointPacket(input) {
|
|
|
532
552
|
const evidenceIssueCode = visualDeltaIssueCode(visualDelta, visualDeltaRequired);
|
|
533
553
|
const summary = nonEmptyString(input.engineResult.summary) || nonEmptyString(fullState.verify_summary) || "Verify captured evidence and needs a supervising proof assessment.";
|
|
534
554
|
const recoveryHint = evidenceIssueCode ? "Required visual_delta evidence is incomplete. Keep this same run in verify/evidence recovery with decision=revise_capture and continue_with_stage=verify unless the evidence proves an implementation or recon problem." : "Assess whether the current artifacts prove the requested change, then choose the next stage.";
|
|
535
|
-
return {
|
|
555
|
+
return withPacketIdentity({
|
|
536
556
|
version: RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
537
557
|
run_id: runId,
|
|
538
558
|
state_path: input.runState.state_path,
|
|
@@ -592,7 +612,7 @@ function buildProofAssessmentCheckpointPacket(input) {
|
|
|
592
612
|
stage
|
|
593
613
|
}),
|
|
594
614
|
created_at: input.created_at || timestamp()
|
|
595
|
-
};
|
|
615
|
+
});
|
|
596
616
|
}
|
|
597
617
|
function buildCheckpointPacketForEngineResult(input) {
|
|
598
618
|
const checkpoint = nonEmptyString(input.engineResult.checkpoint) || "";
|
|
@@ -621,6 +641,7 @@ function normalizeCheckpointResponse(value) {
|
|
|
621
641
|
version: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
622
642
|
run_id: runId,
|
|
623
643
|
checkpoint,
|
|
644
|
+
packet_id: nonEmptyString(record.packet_id),
|
|
624
645
|
resume_token: nonEmptyString(record.resume_token),
|
|
625
646
|
decision,
|
|
626
647
|
summary,
|
|
@@ -708,6 +729,7 @@ function createCheckpointResponseTemplate(packet, input = {}) {
|
|
|
708
729
|
version: RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
709
730
|
run_id: packet.run_id,
|
|
710
731
|
checkpoint: packet.checkpoint,
|
|
732
|
+
packet_id: packet.packet_id,
|
|
711
733
|
resume_token: packet.resume_token,
|
|
712
734
|
decision,
|
|
713
735
|
summary: input.summary || `TODO: explain checkpoint decision ${decision}.`,
|
|
@@ -741,6 +763,9 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
741
763
|
const latestResponseEntry = [...responses].reverse().find((entry) => entry.response);
|
|
742
764
|
const latestPacket = state.checkpoint_packet || latestPacketEntry?.packet;
|
|
743
765
|
const latestResponse = latestResponseEntry?.response;
|
|
766
|
+
const latestPacketId = latestPacket?.packet_id || null;
|
|
767
|
+
const latestResponsePacketId = latestResponse?.packet_id || null;
|
|
768
|
+
const packetIdMatches = !latestResponse ? null : latestPacketId && latestResponsePacketId ? latestPacketId === latestResponsePacketId : latestPacketId || latestResponsePacketId ? false : null;
|
|
744
769
|
const latestResumeToken = latestPacket?.resume_token || null;
|
|
745
770
|
const latestResponseToken = latestResponse?.resume_token || null;
|
|
746
771
|
const tokenMatches = !latestResponse ? null : latestResumeToken && latestResponseToken ? latestResumeToken === latestResponseToken : latestResumeToken || latestResponseToken ? false : null;
|
|
@@ -755,6 +780,9 @@ function checkpointSummaryFromState(state, engineStatePath) {
|
|
|
755
780
|
latest_decision: latestResponse?.decision || null,
|
|
756
781
|
latest_packet_summary: latestPacket?.summary || null,
|
|
757
782
|
latest_response_summary: latestResponse?.summary || null,
|
|
783
|
+
latest_packet_id: latestPacketId,
|
|
784
|
+
latest_response_packet_id: latestResponsePacketId,
|
|
785
|
+
packet_id_matches: packetIdMatches,
|
|
758
786
|
latest_resume_token: latestResumeToken,
|
|
759
787
|
latest_response_token: latestResponseToken,
|
|
760
788
|
token_matches: tokenMatches,
|
|
@@ -771,6 +799,7 @@ function checkpointResponseIdentity(response) {
|
|
|
771
799
|
const logicalResponse = compactRecord({
|
|
772
800
|
run_id: response.run_id,
|
|
773
801
|
checkpoint: response.checkpoint,
|
|
802
|
+
packet_id: response.packet_id,
|
|
774
803
|
resume_token: response.resume_token,
|
|
775
804
|
decision: response.decision,
|
|
776
805
|
summary: response.summary,
|
|
@@ -832,6 +861,7 @@ function proofContractFromAuthorCheckpointResponse(response, packet, payload) {
|
|
|
832
861
|
buildCheckpointPacketForEngineResult,
|
|
833
862
|
buildProofAssessmentCheckpointPacket,
|
|
834
863
|
buildStageCheckpointPacket,
|
|
864
|
+
checkpointPacketIdentity,
|
|
835
865
|
checkpointResponseIdentity,
|
|
836
866
|
checkpointSummaryFromState,
|
|
837
867
|
createCheckpointResponseTemplate,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from '../checkpoint.cjs';
|
|
1
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointPacketIdentity, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from '../checkpoint.cjs';
|
|
2
2
|
import '../types.cjs';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from '../checkpoint.js';
|
|
1
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointPacketIdentity, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from '../checkpoint.js';
|
|
2
2
|
import '../types.js';
|
package/dist/spec/checkpoint.js
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
buildCheckpointPacketForEngineResult,
|
|
7
7
|
buildProofAssessmentCheckpointPacket,
|
|
8
8
|
buildStageCheckpointPacket,
|
|
9
|
+
checkpointPacketIdentity,
|
|
9
10
|
checkpointResponseIdentity,
|
|
10
11
|
checkpointSummaryFromState,
|
|
11
12
|
createCheckpointResponseTemplate,
|
|
@@ -13,7 +14,7 @@ import {
|
|
|
13
14
|
normalizeCheckpointResponse,
|
|
14
15
|
proofContractFromAuthorCheckpointResponse,
|
|
15
16
|
statePathsForRunState
|
|
16
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-BLM5EIBA.js";
|
|
17
18
|
import "../chunk-VY4Y5U57.js";
|
|
18
19
|
import "../chunk-MLKGABMK.js";
|
|
19
20
|
export {
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
buildCheckpointPacketForEngineResult,
|
|
25
26
|
buildProofAssessmentCheckpointPacket,
|
|
26
27
|
buildStageCheckpointPacket,
|
|
28
|
+
checkpointPacketIdentity,
|
|
27
29
|
checkpointResponseIdentity,
|
|
28
30
|
checkpointSummaryFromState,
|
|
29
31
|
createCheckpointResponseTemplate,
|