@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.
@@ -14,7 +14,7 @@ import {
14
14
  validateShipGate,
15
15
  workflowFile,
16
16
  writeState
17
- } from "./chunk-U4VNN2CT.js";
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 the screenshots and semantic evidence visibly prove the request; otherwise choose needs_implementation or needs_richer_proof";
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 "rerun verify with a measured before/after visual delta, or choose needs_richer_proof instead of ready_to_ship for this visual proof";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.5.43",
3
+ "version": "0.5.45",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",