@riddledc/riddle-proof 0.5.43 → 0.5.45
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/checkpoint.cjs +163 -0
- package/dist/checkpoint.d.cts +29 -1
- package/dist/checkpoint.d.ts +29 -1
- package/dist/checkpoint.js +5 -1
- package/dist/{chunk-U4VNN2CT.js → chunk-4ASMX4R6.js} +26 -5
- package/dist/{chunk-VSLU6XNI.js → chunk-CHRYLX6N.js} +116 -12
- package/dist/{chunk-RI25RGQP.js → chunk-LXE5YUYY.js} +161 -0
- package/dist/engine-harness.cjs +298 -16
- package/dist/engine-harness.js +3 -3
- package/dist/index.cjs +302 -16
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -3
- package/dist/proof-run-core.cjs +26 -5
- package/dist/proof-run-core.js +1 -1
- package/dist/proof-run-engine.cjs +28 -7
- package/dist/proof-run-engine.js +3 -3
- package/dist/types.d.cts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/proof-run-engine.js
CHANGED
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
validateShipGate,
|
|
15
15
|
workflowFile,
|
|
16
16
|
writeState
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4ASMX4R6.js";
|
|
18
18
|
|
|
19
19
|
// src/proof-run-engine.ts
|
|
20
20
|
import { execFileSync } from "child_process";
|
|
@@ -768,10 +768,10 @@ async function executeWorkflow(params, pluginConfig, resolvedConfig) {
|
|
|
768
768
|
const primaryShipGateNextAction = (shipGate) => {
|
|
769
769
|
const reasons = shipGate.reasons || [];
|
|
770
770
|
if (reasons.some((reason) => reason.includes("proof_assessment"))) {
|
|
771
|
-
return "resume with riddle_proof_review using decision=ready_to_ship only after
|
|
771
|
+
return "resume with riddle_proof_review using decision=ready_to_ship only after screenshots, semantic evidence, and required comparison metrics prove the request; otherwise choose needs_implementation, revise_capture, or needs_richer_proof for the specific missing stage";
|
|
772
772
|
}
|
|
773
773
|
if (reasons.some((reason) => reason.includes("visual_delta"))) {
|
|
774
|
-
return "
|
|
774
|
+
return "keep the run in verify/evidence recovery until a measured before/after visual_delta exists; choose revise_capture rather than ready_to_ship or generic needs_richer_proof for this visual proof";
|
|
775
775
|
}
|
|
776
776
|
if (reasons.some((reason) => reason.includes("after_cdn") || reason.includes("verify_status"))) {
|
|
777
777
|
return "rerun verify with stronger proof framing so after evidence is captured before shipping";
|
package/dist/types.d.cts
CHANGED
|
@@ -82,6 +82,7 @@ interface RiddleProofCheckpointPacket {
|
|
|
82
82
|
artifacts?: RiddleProofCheckpointArtifact[];
|
|
83
83
|
state_excerpt?: Record<string, unknown>;
|
|
84
84
|
evidence_excerpt?: Record<string, unknown>;
|
|
85
|
+
artifact_contract?: Record<string, unknown>;
|
|
85
86
|
allowed_decisions: string[];
|
|
86
87
|
response_schema: Record<string, unknown>;
|
|
87
88
|
routing_hint?: RiddleProofCheckpointRoutingHint;
|
package/dist/types.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ interface RiddleProofCheckpointPacket {
|
|
|
82
82
|
artifacts?: RiddleProofCheckpointArtifact[];
|
|
83
83
|
state_excerpt?: Record<string, unknown>;
|
|
84
84
|
evidence_excerpt?: Record<string, unknown>;
|
|
85
|
+
artifact_contract?: Record<string, unknown>;
|
|
85
86
|
allowed_decisions: string[];
|
|
86
87
|
response_schema: Record<string, unknown>;
|
|
87
88
|
routing_hint?: RiddleProofCheckpointRoutingHint;
|