@riddledc/riddle-proof 0.4.3 → 0.4.4

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/state.cjs CHANGED
@@ -23,9 +23,11 @@ __export(state_exports, {
23
23
  RIDDLE_PROOF_RUN_STATE_VERSION: () => RIDDLE_PROOF_RUN_STATE_VERSION,
24
24
  appendRunEvent: () => appendRunEvent,
25
25
  appendStageHeartbeat: () => appendStageHeartbeat,
26
+ applyPrLifecycleState: () => applyPrLifecycleState,
26
27
  createRunState: () => createRunState,
27
28
  createRunStatusSnapshot: () => createRunStatusSnapshot,
28
29
  normalizeIntegrationContext: () => normalizeIntegrationContext,
30
+ normalizePrLifecycleState: () => normalizePrLifecycleState,
29
31
  normalizeRunParams: () => normalizeRunParams,
30
32
  setRunStatus: () => setRunStatus
31
33
  });
@@ -58,6 +60,36 @@ function elapsedMs(start, end) {
58
60
  if (!Number.isFinite(startMs) || !Number.isFinite(endMs)) return void 0;
59
61
  return Math.max(0, endMs - startMs);
60
62
  }
63
+ function normalizePrStatus(value) {
64
+ const status = nonEmptyString(value)?.toLowerCase();
65
+ if (status === "merged") return "merged";
66
+ if (status === "open") return "open";
67
+ if (status === "closed") return "closed";
68
+ if (status === "not_found" || status === "not-found") return "not_found";
69
+ if (status === "unavailable") return "unavailable";
70
+ return status || "unknown";
71
+ }
72
+ function normalizePrLifecycleState(input, checkedAt = timestamp()) {
73
+ const value = recordValue(input);
74
+ if (!value) return void 0;
75
+ const cleanup = recordValue(value.cleanup);
76
+ const mergeCommit = nonEmptyString(value.merge_commit) || nonEmptyString(value.mergeCommit) || nonEmptyString(recordValue(value.mergeCommit)?.oid);
77
+ return compactRecord({
78
+ status: normalizePrStatus(value.status || value.state),
79
+ pr_url: nonEmptyString(value.pr_url) || nonEmptyString(value.prUrl) || nonEmptyString(value.url),
80
+ pr_number: nonEmptyString(value.pr_number) || nonEmptyString(value.prNumber) || (typeof value.number === "number" ? String(value.number) : void 0),
81
+ repo: nonEmptyString(value.repo) || nonEmptyString(value.repository),
82
+ head_branch: nonEmptyString(value.head_branch) || nonEmptyString(value.headBranch) || nonEmptyString(value.headRefName),
83
+ base_branch: nonEmptyString(value.base_branch) || nonEmptyString(value.baseBranch) || nonEmptyString(value.baseRefName),
84
+ merge_commit: mergeCommit,
85
+ merged_at: nonEmptyString(value.merged_at) || nonEmptyString(value.mergedAt),
86
+ closed_at: nonEmptyString(value.closed_at) || nonEmptyString(value.closedAt),
87
+ checked_at: nonEmptyString(value.checked_at) || nonEmptyString(value.checkedAt) || checkedAt,
88
+ source: nonEmptyString(value.source),
89
+ next_action: nonEmptyString(value.next_action) || nonEmptyString(value.nextAction),
90
+ cleanup: cleanup && Object.keys(cleanup).length ? cleanup : void 0
91
+ });
92
+ }
61
93
  function normalizeIntegrationContext(input, fallbackSource) {
62
94
  const value = recordValue(input);
63
95
  if (!value) {
@@ -181,6 +213,16 @@ function createRunStatusSnapshot(state, at = timestamp()) {
181
213
  state_path: state.state_path ?? null,
182
214
  worktree_path: state.worktree_path ?? null,
183
215
  branch: state.branch ?? null,
216
+ pr_url: state.pr_url ?? null,
217
+ pr_branch: state.pr_branch ?? null,
218
+ pr_state: state.pr_state,
219
+ ci_status: state.ci_status,
220
+ ship_commit: state.ship_commit,
221
+ ship_remote_head: state.ship_remote_head,
222
+ merge_commit: state.merge_commit,
223
+ merged_at: state.merged_at,
224
+ proof_comment_url: state.proof_comment_url,
225
+ cleanup_report: state.cleanup_report,
184
226
  iterations: state.iterations,
185
227
  last_checkpoint: state.last_checkpoint ?? null,
186
228
  updated_at: state.updated_at,
@@ -196,14 +238,33 @@ function setRunStatus(state, status, at = timestamp()) {
196
238
  state.updated_at = at;
197
239
  return state;
198
240
  }
241
+ function applyPrLifecycleState(state, input, at = timestamp()) {
242
+ const prState = normalizePrLifecycleState(input, at);
243
+ if (!prState) return state;
244
+ state.pr_state = prState;
245
+ if (prState.pr_url) state.pr_url = prState.pr_url;
246
+ if (prState.head_branch) state.pr_branch = prState.head_branch;
247
+ if (prState.merge_commit) state.merge_commit = prState.merge_commit;
248
+ if (prState.merged_at) state.merged_at = prState.merged_at;
249
+ if (prState.cleanup) state.cleanup_report = prState.cleanup;
250
+ if (prState.status === "merged") {
251
+ state.finalized = true;
252
+ state.status = "completed";
253
+ state.ok = true;
254
+ }
255
+ state.updated_at = at;
256
+ return state;
257
+ }
199
258
  // Annotate the CommonJS export names for ESM import in node:
200
259
  0 && (module.exports = {
201
260
  RIDDLE_PROOF_RUN_STATE_VERSION,
202
261
  appendRunEvent,
203
262
  appendStageHeartbeat,
263
+ applyPrLifecycleState,
204
264
  createRunState,
205
265
  createRunStatusSnapshot,
206
266
  normalizeIntegrationContext,
267
+ normalizePrLifecycleState,
207
268
  normalizeRunParams,
208
269
  setRunStatus
209
270
  });
package/dist/state.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofEvent, RiddleProofRunState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.cjs';
1
+ import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.cjs';
2
2
 
3
3
  declare const RIDDLE_PROOF_RUN_STATE_VERSION: "riddle-proof.run-state.v1";
4
4
  interface CreateRunStateInput {
@@ -19,6 +19,7 @@ interface CreateRunStateInput {
19
19
  type RunEventInput = Omit<RiddleProofEvent, "ts"> & {
20
20
  ts?: string;
21
21
  };
22
+ declare function normalizePrLifecycleState(input?: Partial<RiddleProofPrLifecycleState> | Record<string, unknown> | null, checkedAt?: string): RiddleProofPrLifecycleState | undefined;
22
23
  declare function normalizeIntegrationContext(input?: Partial<IntegrationContext> | Record<string, unknown> | null, fallbackSource?: IntegrationContext["source"]): IntegrationContext | undefined;
23
24
  declare function normalizeRunParams(input: RiddleProofRunParams): RiddleProofRunParams;
24
25
  declare function createRunState(input: CreateRunStateInput): RiddleProofRunState;
@@ -34,5 +35,6 @@ declare function appendStageHeartbeat<T extends RiddleProofRunState>(state: T, i
34
35
  }): T;
35
36
  declare function createRunStatusSnapshot(state: RiddleProofRunState, at?: string): RiddleProofRunStatusSnapshot;
36
37
  declare function setRunStatus<T extends RiddleProofRunState>(state: T, status: RiddleProofStatus, at?: string): T;
38
+ declare function applyPrLifecycleState<T extends RiddleProofRunState>(state: T, input?: Partial<RiddleProofPrLifecycleState> | Record<string, unknown> | null, at?: string): T;
37
39
 
38
- export { type CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, type RunEventInput, appendRunEvent, appendStageHeartbeat, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizeRunParams, setRunStatus };
40
+ export { type CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, type RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus };
package/dist/state.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofEvent, RiddleProofRunState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.js';
1
+ import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.js';
2
2
 
3
3
  declare const RIDDLE_PROOF_RUN_STATE_VERSION: "riddle-proof.run-state.v1";
4
4
  interface CreateRunStateInput {
@@ -19,6 +19,7 @@ interface CreateRunStateInput {
19
19
  type RunEventInput = Omit<RiddleProofEvent, "ts"> & {
20
20
  ts?: string;
21
21
  };
22
+ declare function normalizePrLifecycleState(input?: Partial<RiddleProofPrLifecycleState> | Record<string, unknown> | null, checkedAt?: string): RiddleProofPrLifecycleState | undefined;
22
23
  declare function normalizeIntegrationContext(input?: Partial<IntegrationContext> | Record<string, unknown> | null, fallbackSource?: IntegrationContext["source"]): IntegrationContext | undefined;
23
24
  declare function normalizeRunParams(input: RiddleProofRunParams): RiddleProofRunParams;
24
25
  declare function createRunState(input: CreateRunStateInput): RiddleProofRunState;
@@ -34,5 +35,6 @@ declare function appendStageHeartbeat<T extends RiddleProofRunState>(state: T, i
34
35
  }): T;
35
36
  declare function createRunStatusSnapshot(state: RiddleProofRunState, at?: string): RiddleProofRunStatusSnapshot;
36
37
  declare function setRunStatus<T extends RiddleProofRunState>(state: T, status: RiddleProofStatus, at?: string): T;
38
+ declare function applyPrLifecycleState<T extends RiddleProofRunState>(state: T, input?: Partial<RiddleProofPrLifecycleState> | Record<string, unknown> | null, at?: string): T;
37
39
 
38
- export { type CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, type RunEventInput, appendRunEvent, appendStageHeartbeat, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizeRunParams, setRunStatus };
40
+ export { type CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, type RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus };
package/dist/state.js CHANGED
@@ -2,20 +2,24 @@ import {
2
2
  RIDDLE_PROOF_RUN_STATE_VERSION,
3
3
  appendRunEvent,
4
4
  appendStageHeartbeat,
5
+ applyPrLifecycleState,
5
6
  createRunState,
6
7
  createRunStatusSnapshot,
7
8
  normalizeIntegrationContext,
9
+ normalizePrLifecycleState,
8
10
  normalizeRunParams,
9
11
  setRunStatus
10
- } from "./chunk-AHQIV5QN.js";
11
- import "./chunk-VFO5WY5X.js";
12
+ } from "./chunk-SIQG3N6F.js";
13
+ import "./chunk-TMMKRKY5.js";
12
14
  export {
13
15
  RIDDLE_PROOF_RUN_STATE_VERSION,
14
16
  appendRunEvent,
15
17
  appendStageHeartbeat,
18
+ applyPrLifecycleState,
16
19
  createRunState,
17
20
  createRunStatusSnapshot,
18
21
  normalizeIntegrationContext,
22
+ normalizePrLifecycleState,
19
23
  normalizeRunParams,
20
24
  setRunStatus
21
25
  };
package/dist/types.d.cts CHANGED
@@ -4,6 +4,7 @@ type JsonObject = {
4
4
  [key: string]: JsonValue;
5
5
  };
6
6
  type RiddleProofStatus = "running" | "blocked" | "failed" | "ready_to_ship" | "shipped" | "completed";
7
+ type RiddleProofPrLifecycleStatus = "unknown" | "open" | "merged" | "closed" | "not_found" | "unavailable" | (string & {});
7
8
  type RiddleProofVerificationMode = "proof" | "visual" | "interaction" | "render" | "data" | "json" | "audio" | "log" | "logs" | "metric" | "metrics" | (string & {});
8
9
  type RiddleProofDecision = "ready_to_ship" | "needs_richer_proof" | "revise_capture" | "needs_recon" | "needs_implementation" | (string & {});
9
10
  type RiddleProofStage = "preflight" | "setup" | "recon" | "author" | "implement" | "prove" | "verify" | "ship" | "notify" | (string & {});
@@ -82,16 +83,20 @@ interface RiddleProofRunState {
82
83
  last_checkpoint?: string | null;
83
84
  pr_url?: string;
84
85
  pr_branch?: string;
86
+ pr_state?: RiddleProofPrLifecycleState;
85
87
  marked_ready?: boolean;
86
88
  left_draft?: boolean;
87
89
  ci_status?: string;
88
90
  ship_commit?: string;
89
91
  ship_remote_head?: string;
92
+ merge_commit?: string;
93
+ merged_at?: string;
90
94
  proof_comment_url?: string;
91
95
  before_artifact_url?: string;
92
96
  prod_artifact_url?: string;
93
97
  after_artifact_url?: string;
94
98
  ship_report?: Record<string, unknown>;
99
+ cleanup_report?: Record<string, unknown>;
95
100
  notification?: Record<string, unknown>;
96
101
  proof_decision?: RiddleProofDecision;
97
102
  merge_recommendation?: string;
@@ -113,16 +118,20 @@ interface RiddleProofRunResult {
113
118
  event_count?: number;
114
119
  pr_url?: string;
115
120
  pr_branch?: string;
121
+ pr_state?: RiddleProofPrLifecycleState;
116
122
  marked_ready?: boolean;
117
123
  left_draft?: boolean;
118
124
  ci_status?: string;
119
125
  ship_commit?: string;
120
126
  ship_remote_head?: string;
127
+ merge_commit?: string;
128
+ merged_at?: string;
121
129
  proof_comment_url?: string;
122
130
  before_artifact_url?: string;
123
131
  prod_artifact_url?: string;
124
132
  after_artifact_url?: string;
125
133
  ship_report?: Record<string, unknown>;
134
+ cleanup_report?: Record<string, unknown>;
126
135
  notification?: Record<string, unknown>;
127
136
  proof_decision?: RiddleProofDecision;
128
137
  merge_recommendation?: string;
@@ -138,6 +147,16 @@ interface RiddleProofRunStatusSnapshot {
138
147
  state_path?: string | null;
139
148
  worktree_path?: string | null;
140
149
  branch?: string | null;
150
+ pr_url?: string | null;
151
+ pr_branch?: string | null;
152
+ pr_state?: RiddleProofPrLifecycleState;
153
+ ci_status?: string;
154
+ ship_commit?: string;
155
+ ship_remote_head?: string;
156
+ merge_commit?: string;
157
+ merged_at?: string;
158
+ proof_comment_url?: string;
159
+ cleanup_report?: Record<string, unknown>;
141
160
  iterations: number;
142
161
  last_checkpoint?: string | null;
143
162
  updated_at: string;
@@ -269,20 +288,39 @@ interface NotificationAdapter {
269
288
  interface RiddleProofTerminalMetadata {
270
289
  pr_url?: string;
271
290
  pr_branch?: string;
291
+ pr_state?: RiddleProofPrLifecycleState;
272
292
  marked_ready?: boolean;
273
293
  left_draft?: boolean;
274
294
  ci_status?: string;
275
295
  ship_commit?: string;
276
296
  ship_remote_head?: string;
297
+ merge_commit?: string;
298
+ merged_at?: string;
277
299
  proof_comment_url?: string;
278
300
  before_artifact_url?: string;
279
301
  prod_artifact_url?: string;
280
302
  after_artifact_url?: string;
281
303
  ship_report?: Record<string, unknown>;
304
+ cleanup_report?: Record<string, unknown>;
282
305
  notification?: Record<string, unknown>;
283
306
  proof_decision?: RiddleProofDecision;
284
307
  merge_recommendation?: string;
285
308
  finalized?: boolean;
286
309
  }
310
+ interface RiddleProofPrLifecycleState {
311
+ status: RiddleProofPrLifecycleStatus;
312
+ pr_url?: string;
313
+ pr_number?: string;
314
+ repo?: string;
315
+ head_branch?: string;
316
+ base_branch?: string;
317
+ merge_commit?: string;
318
+ merged_at?: string;
319
+ closed_at?: string;
320
+ checked_at?: string;
321
+ source?: string;
322
+ next_action?: string;
323
+ cleanup?: Record<string, unknown>;
324
+ }
287
325
 
288
- export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
326
+ export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
package/dist/types.d.ts CHANGED
@@ -4,6 +4,7 @@ type JsonObject = {
4
4
  [key: string]: JsonValue;
5
5
  };
6
6
  type RiddleProofStatus = "running" | "blocked" | "failed" | "ready_to_ship" | "shipped" | "completed";
7
+ type RiddleProofPrLifecycleStatus = "unknown" | "open" | "merged" | "closed" | "not_found" | "unavailable" | (string & {});
7
8
  type RiddleProofVerificationMode = "proof" | "visual" | "interaction" | "render" | "data" | "json" | "audio" | "log" | "logs" | "metric" | "metrics" | (string & {});
8
9
  type RiddleProofDecision = "ready_to_ship" | "needs_richer_proof" | "revise_capture" | "needs_recon" | "needs_implementation" | (string & {});
9
10
  type RiddleProofStage = "preflight" | "setup" | "recon" | "author" | "implement" | "prove" | "verify" | "ship" | "notify" | (string & {});
@@ -82,16 +83,20 @@ interface RiddleProofRunState {
82
83
  last_checkpoint?: string | null;
83
84
  pr_url?: string;
84
85
  pr_branch?: string;
86
+ pr_state?: RiddleProofPrLifecycleState;
85
87
  marked_ready?: boolean;
86
88
  left_draft?: boolean;
87
89
  ci_status?: string;
88
90
  ship_commit?: string;
89
91
  ship_remote_head?: string;
92
+ merge_commit?: string;
93
+ merged_at?: string;
90
94
  proof_comment_url?: string;
91
95
  before_artifact_url?: string;
92
96
  prod_artifact_url?: string;
93
97
  after_artifact_url?: string;
94
98
  ship_report?: Record<string, unknown>;
99
+ cleanup_report?: Record<string, unknown>;
95
100
  notification?: Record<string, unknown>;
96
101
  proof_decision?: RiddleProofDecision;
97
102
  merge_recommendation?: string;
@@ -113,16 +118,20 @@ interface RiddleProofRunResult {
113
118
  event_count?: number;
114
119
  pr_url?: string;
115
120
  pr_branch?: string;
121
+ pr_state?: RiddleProofPrLifecycleState;
116
122
  marked_ready?: boolean;
117
123
  left_draft?: boolean;
118
124
  ci_status?: string;
119
125
  ship_commit?: string;
120
126
  ship_remote_head?: string;
127
+ merge_commit?: string;
128
+ merged_at?: string;
121
129
  proof_comment_url?: string;
122
130
  before_artifact_url?: string;
123
131
  prod_artifact_url?: string;
124
132
  after_artifact_url?: string;
125
133
  ship_report?: Record<string, unknown>;
134
+ cleanup_report?: Record<string, unknown>;
126
135
  notification?: Record<string, unknown>;
127
136
  proof_decision?: RiddleProofDecision;
128
137
  merge_recommendation?: string;
@@ -138,6 +147,16 @@ interface RiddleProofRunStatusSnapshot {
138
147
  state_path?: string | null;
139
148
  worktree_path?: string | null;
140
149
  branch?: string | null;
150
+ pr_url?: string | null;
151
+ pr_branch?: string | null;
152
+ pr_state?: RiddleProofPrLifecycleState;
153
+ ci_status?: string;
154
+ ship_commit?: string;
155
+ ship_remote_head?: string;
156
+ merge_commit?: string;
157
+ merged_at?: string;
158
+ proof_comment_url?: string;
159
+ cleanup_report?: Record<string, unknown>;
141
160
  iterations: number;
142
161
  last_checkpoint?: string | null;
143
162
  updated_at: string;
@@ -269,20 +288,39 @@ interface NotificationAdapter {
269
288
  interface RiddleProofTerminalMetadata {
270
289
  pr_url?: string;
271
290
  pr_branch?: string;
291
+ pr_state?: RiddleProofPrLifecycleState;
272
292
  marked_ready?: boolean;
273
293
  left_draft?: boolean;
274
294
  ci_status?: string;
275
295
  ship_commit?: string;
276
296
  ship_remote_head?: string;
297
+ merge_commit?: string;
298
+ merged_at?: string;
277
299
  proof_comment_url?: string;
278
300
  before_artifact_url?: string;
279
301
  prod_artifact_url?: string;
280
302
  after_artifact_url?: string;
281
303
  ship_report?: Record<string, unknown>;
304
+ cleanup_report?: Record<string, unknown>;
282
305
  notification?: Record<string, unknown>;
283
306
  proof_decision?: RiddleProofDecision;
284
307
  merge_recommendation?: string;
285
308
  finalized?: boolean;
286
309
  }
310
+ interface RiddleProofPrLifecycleState {
311
+ status: RiddleProofPrLifecycleStatus;
312
+ pr_url?: string;
313
+ pr_number?: string;
314
+ repo?: string;
315
+ head_branch?: string;
316
+ base_branch?: string;
317
+ merge_commit?: string;
318
+ merged_at?: string;
319
+ closed_at?: string;
320
+ checked_at?: string;
321
+ source?: string;
322
+ next_action?: string;
323
+ cleanup?: Record<string, unknown>;
324
+ }
287
325
 
288
- export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
326
+ export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",