@riddledc/riddle-proof 0.8.85 → 0.8.86
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/advanced/index.d.cts +2 -2
- package/dist/advanced/index.d.ts +2 -2
- package/dist/advanced/proof-run-core.d.cts +1 -1
- package/dist/advanced/proof-run-core.d.ts +1 -1
- package/dist/advanced/proof-run-engine.d.cts +2 -2
- package/dist/advanced/proof-run-engine.d.ts +2 -2
- package/dist/change-proof.cjs +2 -9
- package/dist/change-proof.d.cts +1 -1
- package/dist/change-proof.d.ts +1 -1
- package/dist/change-proof.js +2 -2
- package/dist/{chunk-AFARUBE4.js → chunk-3W4NGKZ6.js} +11 -11
- package/dist/chunk-6S33FQL7.js +14 -0
- package/dist/{chunk-FW7CKARF.js → chunk-7W6ZJPHJ.js} +1 -1
- package/dist/{chunk-JZKLCY5G.js → chunk-BVYM4WJ5.js} +1 -1
- package/dist/chunk-GQOE5Q7C.js +32 -0
- package/dist/chunk-H5AALGSA.js +32 -0
- package/dist/{chunk-2K3DIK7A.js → chunk-KF6F2RMQ.js} +301 -3979
- package/dist/{chunk-O2AO726C.js → chunk-NR2XQXIC.js} +3 -3
- package/dist/cli/index.js +5 -5
- package/dist/cli.cjs +285 -3999
- package/dist/cli.js +5 -5
- package/dist/evidence-trust-root.cjs +54 -0
- package/dist/evidence-trust-root.d.cts +2 -0
- package/dist/evidence-trust-root.d.ts +2 -0
- package/dist/evidence-trust-root.js +31 -0
- package/dist/index.cjs +346 -3991
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +80 -14
- package/dist/packet.cjs +54 -0
- package/dist/packet.d.cts +2 -0
- package/dist/packet.d.ts +2 -0
- package/dist/packet.js +31 -0
- package/dist/pr-comment.cjs +2 -9
- package/dist/pr-comment.d.cts +2 -2
- package/dist/pr-comment.d.ts +2 -2
- package/dist/pr-comment.js +3 -3
- package/dist/profile/index.cjs +277 -3991
- package/dist/profile/index.d.cts +2 -3
- package/dist/profile/index.d.ts +2 -3
- package/dist/profile/index.js +1 -1
- package/dist/profile-suggestions.cjs +2 -2
- package/dist/profile-suggestions.d.cts +1 -3
- package/dist/profile-suggestions.d.ts +1 -3
- package/dist/profile-suggestions.js +2 -2
- package/dist/profile.cjs +277 -3991
- package/dist/profile.d.cts +3 -550
- package/dist/profile.d.ts +3 -550
- package/dist/profile.js +1 -1
- package/dist/{proof-run-core-7Dqm7RKM.d.cts → proof-run-core-DwwrRhY4.d.cts} +1 -1
- package/dist/{proof-run-core-7Dqm7RKM.d.ts → proof-run-core-DwwrRhY4.d.ts} +1 -1
- package/dist/proof-run-core.d.cts +1 -1
- package/dist/proof-run-core.d.ts +1 -1
- package/dist/{proof-run-engine-BqRoA3Do.d.ts → proof-run-engine-CWBgj-15.d.ts} +4 -4
- package/dist/{proof-run-engine-DpChFR5H.d.cts → proof-run-engine-hEfje943.d.cts} +4 -4
- package/dist/proof-run-engine.d.cts +2 -2
- package/dist/proof-run-engine.d.ts +2 -2
- package/dist/receipts.d.cts +3 -0
- package/dist/receipts.d.ts +3 -0
- package/dist/rule-trust-root.cjs +36 -0
- package/dist/rule-trust-root.d.cts +2 -0
- package/dist/rule-trust-root.d.ts +2 -0
- package/dist/rule-trust-root.js +13 -0
- package/package.json +21 -6
package/dist/profile.d.ts
CHANGED
|
@@ -1,554 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { RiddleProofProfile, RiddleProofProfileHttpStatusPreflightOptions, RiddleProofProfileHttpStatusPreflightResult } from '@riddledc/riddle-proof-core/profile';
|
|
2
|
+
export { NormalizeRiddleProofProfileOptions, RIDDLE_PROOF_HOSTED_PROFILE_ARTIFACTS, RIDDLE_PROOF_ORDERED_TRACE_OPERATORS, RIDDLE_PROOF_PROFILE_CHECK_TYPES, RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION, RIDDLE_PROOF_PROFILE_NETWORK_ABORT_ERROR_CODES, RIDDLE_PROOF_PROFILE_RESULT_VERSION, RIDDLE_PROOF_PROFILE_SETUP_ACTION_TYPES, RIDDLE_PROOF_PROFILE_STATUSES, RIDDLE_PROOF_PROFILE_VERSION, RiddleProofArtifactBodyAssertionInput, RiddleProofArtifactBodyAssertionResult, RiddleProofOrderedTraceAssessment, RiddleProofOrderedTraceEvent, RiddleProofOrderedTraceOperator, RiddleProofOrderedTracePredicate, RiddleProofOrderedTraceWitness, RiddleProofProfile, RiddleProofProfileArtifactCompleteness, RiddleProofProfileArtifactRef, RiddleProofProfileBaselinePolicy, RiddleProofProfileBoundsOffender, RiddleProofProfileCheck, RiddleProofProfileCheckResult, RiddleProofProfileCheckType, RiddleProofProfileEvidence, RiddleProofProfileFailureAction, RiddleProofProfileHttpStatusBodyJsonAssertion, RiddleProofProfileHttpStatusBodyJsonAssertionResult, RiddleProofProfileHttpStatusPreflightCheckResult, RiddleProofProfileHttpStatusPreflightFetch, RiddleProofProfileHttpStatusPreflightFetchResponse, RiddleProofProfileHttpStatusPreflightOptions, RiddleProofProfileHttpStatusPreflightResult, RiddleProofProfileJsonValueType, RiddleProofProfileNetworkAbortErrorCode, RiddleProofProfileNetworkMock, RiddleProofProfileNetworkMockResponse, RiddleProofProfileResult, RiddleProofProfileReturnSummaryField, RiddleProofProfileRouteEvidence, RiddleProofProfileRouteInventoryRoute, RiddleProofProfileRunner, RiddleProofProfileRunnerArtifactPreflight, RiddleProofProfileSetupAction, RiddleProofProfileSetupActionType, RiddleProofProfileStatus, RiddleProofProfileTarget, RiddleProofProfileViewport, RiddleProofProfileViewportEvidence, applyRiddleProofProfileArtifactCompleteness, assessRiddleProofOrderedTrace, assessRiddleProofOrderedTraceSetupResults, assessRiddleProofProfileArtifactCompleteness, assessRiddleProofProfileEvidence, collectRiddleProfileArtifactRefs, collectRiddleProofProfileWarnings, createRiddleProofProfileConfigurationError, createRiddleProofProfileEnvironmentBlockedResult, createRiddleProofProfileInsufficientResult, deriveRiddleProofArtifactBodyAssertions, extractRiddleProofProfileResult, normalizeRiddleProofProfile, preflightRiddleProofProfileRunnerArtifacts, profileStatusExitCode, resolveRiddleProofProfileRouteUrl, resolveRiddleProofProfileTargetUrl, resolveRiddleProofProfileTimeoutSec, slugifyRiddleProofProfileName, summarizeRiddleProofProfileResult } from '@riddledc/riddle-proof-core/profile';
|
|
3
3
|
|
|
4
|
-
declare const RIDDLE_PROOF_PROFILE_VERSION: "riddle-proof.profile.v1";
|
|
5
|
-
declare const RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION: "riddle-proof.profile-evidence.v1";
|
|
6
|
-
declare const RIDDLE_PROOF_PROFILE_RESULT_VERSION: "riddle-proof.profile-result.v1";
|
|
7
|
-
declare const RIDDLE_PROOF_PROFILE_STATUSES: readonly ["passed", "product_regression", "proof_insufficient", "environment_blocked", "configuration_error", "needs_human_review"];
|
|
8
|
-
declare const RIDDLE_PROOF_PROFILE_CHECK_TYPES: readonly ["route_loaded", "url_search_param_equals", "url_search_param_absent", "selector_visible", "selector_absent", "selector_count_at_least", "selector_count_equals", "selector_count_equal", "selector_count_eq", "dialog_count_equals", "dialog_accept_count_equals", "dialog_dismiss_count_equals", "selector_text_visible", "selector_text_absent", "selector_text_order", "ordered_trace", "observe_within", "frame_text_visible", "frame_url_equals", "frame_url_matches", "frame_no_horizontal_overflow", "text_visible", "text_absent", "http_status", "link_status", "artifact_link_status", "route_inventory", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors", "no_console_warnings"];
|
|
9
|
-
declare const RIDDLE_PROOF_PROFILE_SETUP_ACTION_TYPES: readonly ["click", "tap", "tap_until", "drag", "press", "key_down", "key_up", "fill", "set_input_value", "set_range_value", "deterministic_runtime", "canvas_signature", "assert_text_visible", "assert_text_absent", "assert_selector_count", "assert_window_value", "assert_window_number", "local_storage", "session_storage", "clear_storage", "clear_console", "dialog_response", "screenshot", "wait", "wait_for_selector", "wait_for_text", "window_eval", "window_call", "window_call_until"];
|
|
10
|
-
type RiddleProofProfileStatus = typeof RIDDLE_PROOF_PROFILE_STATUSES[number];
|
|
11
|
-
type RiddleProofProfileCheckType = typeof RIDDLE_PROOF_PROFILE_CHECK_TYPES[number];
|
|
12
|
-
type RiddleProofProfileSetupActionType = typeof RIDDLE_PROOF_PROFILE_SETUP_ACTION_TYPES[number];
|
|
13
|
-
declare const RIDDLE_PROOF_PROFILE_NETWORK_ABORT_ERROR_CODES: readonly ["aborted", "accessdenied", "addressunreachable", "blockedbyclient", "blockedbyresponse", "connectionaborted", "connectionclosed", "connectionfailed", "connectionrefused", "connectionreset", "internetdisconnected", "namenotresolved", "timedout", "failed"];
|
|
14
|
-
type RiddleProofProfileNetworkAbortErrorCode = typeof RIDDLE_PROOF_PROFILE_NETWORK_ABORT_ERROR_CODES[number];
|
|
15
|
-
type RiddleProofProfileRunner = "riddle" | "local-playwright" | "browserless" | "github-actions" | (string & {});
|
|
16
|
-
type RiddleProofProfileFailureAction = "fail" | "neutral" | "review";
|
|
17
|
-
type RiddleProofProfileBaselinePolicy = "invariant_only" | "production_comparison" | "last_accepted_artifact" | "golden_reference_artifact" | (string & {});
|
|
18
|
-
interface RiddleProofArtifactBodyAssertionInput {
|
|
19
|
-
artifact_text: string;
|
|
20
|
-
candidates: string[];
|
|
21
|
-
required?: string[];
|
|
22
|
-
}
|
|
23
|
-
interface RiddleProofArtifactBodyAssertionResult {
|
|
24
|
-
version: "riddle-proof.artifact-body-assertions.v1";
|
|
25
|
-
ok: boolean;
|
|
26
|
-
body_contains: string[];
|
|
27
|
-
present_candidates: string[];
|
|
28
|
-
missing_candidates: string[];
|
|
29
|
-
missing_required: string[];
|
|
30
|
-
warnings: string[];
|
|
31
|
-
}
|
|
32
|
-
interface RiddleProofProfileHttpStatusPreflightFetchResponse {
|
|
33
|
-
status?: number;
|
|
34
|
-
statusText?: string;
|
|
35
|
-
headers?: {
|
|
36
|
-
get?: (name: string) => string | null;
|
|
37
|
-
};
|
|
38
|
-
arrayBuffer?: () => Promise<ArrayBuffer>;
|
|
39
|
-
text?: () => Promise<string>;
|
|
40
|
-
}
|
|
41
|
-
type RiddleProofProfileHttpStatusPreflightFetch = (url: string, init?: Record<string, unknown>) => Promise<RiddleProofProfileHttpStatusPreflightFetchResponse>;
|
|
42
|
-
type RiddleProofProfileJsonValueType = "array" | "boolean" | "null" | "number" | "object" | "string";
|
|
43
|
-
declare const RIDDLE_PROOF_ORDERED_TRACE_OPERATORS: readonly ["exists", "equals", "not_equals", "truthy", "falsy", "gt", "gte", "lt", "lte", "abs_gt", "abs_gte", "abs_lt", "abs_lte"];
|
|
44
|
-
type RiddleProofOrderedTraceOperator = typeof RIDDLE_PROOF_ORDERED_TRACE_OPERATORS[number];
|
|
45
|
-
interface RiddleProofOrderedTracePredicate {
|
|
46
|
-
path: string;
|
|
47
|
-
op: RiddleProofOrderedTraceOperator;
|
|
48
|
-
value?: JsonValue;
|
|
49
|
-
}
|
|
50
|
-
interface RiddleProofOrderedTraceEvent {
|
|
51
|
-
label: string;
|
|
52
|
-
predicates: RiddleProofOrderedTracePredicate[];
|
|
53
|
-
}
|
|
54
|
-
interface RiddleProofOrderedTraceWitness {
|
|
55
|
-
label: string;
|
|
56
|
-
index: number;
|
|
57
|
-
observations: Array<{
|
|
58
|
-
path: string;
|
|
59
|
-
op: RiddleProofOrderedTraceOperator;
|
|
60
|
-
expected?: JsonValue;
|
|
61
|
-
observed: JsonValue;
|
|
62
|
-
}>;
|
|
63
|
-
}
|
|
64
|
-
interface RiddleProofOrderedTraceAssessment {
|
|
65
|
-
version: "riddle-proof.ordered-trace-assessment.v1";
|
|
66
|
-
status: "passed" | "failed" | "proof_insufficient";
|
|
67
|
-
trace_length: number;
|
|
68
|
-
witnesses: RiddleProofOrderedTraceWitness[];
|
|
69
|
-
missing_event?: string;
|
|
70
|
-
missing_paths?: string[];
|
|
71
|
-
reason?: string;
|
|
72
|
-
}
|
|
73
|
-
interface RiddleProofProfileHttpStatusBodyJsonAssertion {
|
|
74
|
-
label?: string;
|
|
75
|
-
path: string;
|
|
76
|
-
exists?: boolean;
|
|
77
|
-
equals?: JsonValue;
|
|
78
|
-
not_equals?: JsonValue;
|
|
79
|
-
contains?: JsonValue;
|
|
80
|
-
type?: RiddleProofProfileJsonValueType;
|
|
81
|
-
}
|
|
82
|
-
interface RiddleProofProfileHttpStatusBodyJsonAssertionResult {
|
|
83
|
-
label: string;
|
|
84
|
-
path: string;
|
|
85
|
-
ok: boolean;
|
|
86
|
-
exists: boolean;
|
|
87
|
-
observed?: JsonValue;
|
|
88
|
-
observed_sample?: JsonValue;
|
|
89
|
-
observed_length?: number;
|
|
90
|
-
observed_key_count?: number;
|
|
91
|
-
observed_omitted_count?: number;
|
|
92
|
-
observed_type: RiddleProofProfileJsonValueType | "missing";
|
|
93
|
-
expected_exists?: boolean;
|
|
94
|
-
equals?: JsonValue;
|
|
95
|
-
not_equals?: JsonValue;
|
|
96
|
-
contains?: JsonValue;
|
|
97
|
-
type?: RiddleProofProfileJsonValueType;
|
|
98
|
-
errors?: string[];
|
|
99
|
-
}
|
|
100
|
-
interface RiddleProofProfileHttpStatusPreflightOptions {
|
|
101
|
-
fetchImpl?: RiddleProofProfileHttpStatusPreflightFetch;
|
|
102
|
-
target_url?: string;
|
|
103
|
-
}
|
|
104
|
-
interface RiddleProofProfileHttpStatusPreflightCheckResult {
|
|
105
|
-
index: number;
|
|
106
|
-
label: string;
|
|
107
|
-
url: string;
|
|
108
|
-
method: string;
|
|
109
|
-
ok: boolean;
|
|
110
|
-
status: number | null;
|
|
111
|
-
status_text: string;
|
|
112
|
-
error: string | null;
|
|
113
|
-
content_type: string | null;
|
|
114
|
-
content_length: number | null;
|
|
115
|
-
bytes: number | null;
|
|
116
|
-
body_contains: Record<string, boolean> | null;
|
|
117
|
-
body_contains_missing: string[];
|
|
118
|
-
body_not_contains: Record<string, boolean> | null;
|
|
119
|
-
body_not_contains_found: string[];
|
|
120
|
-
body_not_patterns: Record<string, boolean> | null;
|
|
121
|
-
body_not_patterns_found: string[];
|
|
122
|
-
body_json_assertions: RiddleProofProfileHttpStatusBodyJsonAssertionResult[] | null;
|
|
123
|
-
body_json_assertions_failed: RiddleProofProfileHttpStatusBodyJsonAssertionResult[];
|
|
124
|
-
}
|
|
125
|
-
interface RiddleProofProfileHttpStatusPreflightResult {
|
|
126
|
-
version: "riddle-proof.profile-http-status-preflight.v1";
|
|
127
|
-
ok: boolean;
|
|
128
|
-
profile_name: string;
|
|
129
|
-
target_url: string;
|
|
130
|
-
checked: number;
|
|
131
|
-
failed: number;
|
|
132
|
-
checks: RiddleProofProfileHttpStatusPreflightCheckResult[];
|
|
133
|
-
summary: string;
|
|
134
|
-
}
|
|
135
|
-
declare function deriveRiddleProofArtifactBodyAssertions(input: RiddleProofArtifactBodyAssertionInput): RiddleProofArtifactBodyAssertionResult;
|
|
136
|
-
interface RiddleProofProfileViewport {
|
|
137
|
-
name: string;
|
|
138
|
-
width: number;
|
|
139
|
-
height: number;
|
|
140
|
-
hasTouch?: boolean;
|
|
141
|
-
isMobile?: boolean;
|
|
142
|
-
}
|
|
143
|
-
interface RiddleProofProfileSetupAction {
|
|
144
|
-
type: RiddleProofProfileSetupActionType;
|
|
145
|
-
selector?: string;
|
|
146
|
-
frame_selector?: string;
|
|
147
|
-
frame_index?: number;
|
|
148
|
-
full_page?: boolean;
|
|
149
|
-
force?: boolean;
|
|
150
|
-
fallback_to_tap?: boolean;
|
|
151
|
-
click_count?: number;
|
|
152
|
-
coordinate_mode?: "pixels" | "ratio";
|
|
153
|
-
pointer_type?: "mouse" | "touch" | "pen";
|
|
154
|
-
from_x?: number;
|
|
155
|
-
from_y?: number;
|
|
156
|
-
to_x?: number;
|
|
157
|
-
to_y?: number;
|
|
158
|
-
duration_ms?: number;
|
|
159
|
-
steps?: number;
|
|
160
|
-
key?: string;
|
|
161
|
-
hold_ms?: number;
|
|
162
|
-
value?: string;
|
|
163
|
-
value_json?: JsonValue;
|
|
164
|
-
random_queue?: number[];
|
|
165
|
-
now?: number;
|
|
166
|
-
advance_ms?: number;
|
|
167
|
-
append?: boolean;
|
|
168
|
-
restore?: boolean;
|
|
169
|
-
label?: string;
|
|
170
|
-
script?: string;
|
|
171
|
-
path?: string;
|
|
172
|
-
args?: JsonValue[];
|
|
173
|
-
expect_return?: JsonValue;
|
|
174
|
-
store_return_to?: string;
|
|
175
|
-
capture_return?: boolean;
|
|
176
|
-
return_summary_fields?: RiddleProofProfileReturnSummaryField[];
|
|
177
|
-
compare_to?: string;
|
|
178
|
-
expect_changed?: boolean;
|
|
179
|
-
until_path?: string;
|
|
180
|
-
until_expected_value?: JsonValue;
|
|
181
|
-
expected_path?: string;
|
|
182
|
-
expected_url?: string;
|
|
183
|
-
max_calls?: number;
|
|
184
|
-
tap_burst_size?: number;
|
|
185
|
-
settle_ms?: number;
|
|
186
|
-
interval_ms?: number;
|
|
187
|
-
expected_value?: JsonValue;
|
|
188
|
-
min_value?: number;
|
|
189
|
-
max_value?: number;
|
|
190
|
-
text?: string;
|
|
191
|
-
pattern?: string;
|
|
192
|
-
flags?: string;
|
|
193
|
-
accept?: boolean;
|
|
194
|
-
prompt_text?: string;
|
|
195
|
-
message_text?: string;
|
|
196
|
-
message_pattern?: string;
|
|
197
|
-
index?: number;
|
|
198
|
-
expected_count?: number;
|
|
199
|
-
ms?: number;
|
|
200
|
-
timeout_ms?: number;
|
|
201
|
-
after_ms?: number;
|
|
202
|
-
repeat?: number;
|
|
203
|
-
reload?: boolean;
|
|
204
|
-
storage?: "local" | "session" | "both";
|
|
205
|
-
viewports?: string[];
|
|
206
|
-
optional?: boolean;
|
|
207
|
-
continue_on_failure?: boolean;
|
|
208
|
-
}
|
|
209
|
-
interface RiddleProofProfileReturnSummaryField {
|
|
210
|
-
path: string;
|
|
211
|
-
label?: string;
|
|
212
|
-
}
|
|
213
|
-
interface RiddleProofProfileNetworkMockResponse {
|
|
214
|
-
label?: string;
|
|
215
|
-
status: number;
|
|
216
|
-
content_type?: string;
|
|
217
|
-
headers?: Record<string, string>;
|
|
218
|
-
body?: string;
|
|
219
|
-
body_json?: JsonValue;
|
|
220
|
-
delay_ms?: number;
|
|
221
|
-
abort?: boolean;
|
|
222
|
-
abort_error_code?: RiddleProofProfileNetworkAbortErrorCode;
|
|
223
|
-
capture_request_body?: boolean;
|
|
224
|
-
request_body_contains?: string[];
|
|
225
|
-
request_body_patterns?: string[];
|
|
226
|
-
request_body_not_contains?: string[];
|
|
227
|
-
request_body_not_patterns?: string[];
|
|
228
|
-
}
|
|
229
|
-
interface RiddleProofProfileNetworkMock extends RiddleProofProfileNetworkMockResponse {
|
|
230
|
-
label: string;
|
|
231
|
-
url: string;
|
|
232
|
-
method?: string;
|
|
233
|
-
responses?: RiddleProofProfileNetworkMockResponse[];
|
|
234
|
-
repeat_responses?: boolean;
|
|
235
|
-
sequence_scope?: "global" | "viewport";
|
|
236
|
-
required_hit_count?: number;
|
|
237
|
-
max_hit_count?: number;
|
|
238
|
-
forbidden?: boolean;
|
|
239
|
-
required?: boolean;
|
|
240
|
-
capture_request_body?: boolean;
|
|
241
|
-
request_body_contains?: string[];
|
|
242
|
-
request_body_patterns?: string[];
|
|
243
|
-
request_body_not_contains?: string[];
|
|
244
|
-
request_body_not_patterns?: string[];
|
|
245
|
-
}
|
|
246
|
-
interface RiddleProofProfileRouteInventoryRoute {
|
|
247
|
-
name?: string;
|
|
248
|
-
path: string;
|
|
249
|
-
}
|
|
250
|
-
interface RiddleProofProfileTarget {
|
|
251
|
-
url?: string;
|
|
252
|
-
route?: string;
|
|
253
|
-
viewports: RiddleProofProfileViewport[];
|
|
254
|
-
auth?: "none" | (string & {});
|
|
255
|
-
timeout_sec?: number;
|
|
256
|
-
wait_for_selector?: string;
|
|
257
|
-
wait_ms?: number;
|
|
258
|
-
screenshot_full_page?: boolean;
|
|
259
|
-
setup_actions?: RiddleProofProfileSetupAction[];
|
|
260
|
-
network_mocks?: RiddleProofProfileNetworkMock[];
|
|
261
|
-
}
|
|
262
|
-
interface RiddleProofProfileCheck {
|
|
263
|
-
type: RiddleProofProfileCheckType;
|
|
264
|
-
label?: string;
|
|
265
|
-
expected_path?: string;
|
|
266
|
-
param?: string;
|
|
267
|
-
expected_value?: string;
|
|
268
|
-
expected_url?: string;
|
|
269
|
-
expected_routes?: RiddleProofProfileRouteInventoryRoute[];
|
|
270
|
-
selector?: string;
|
|
271
|
-
url?: string;
|
|
272
|
-
method?: string;
|
|
273
|
-
headers?: Record<string, string>;
|
|
274
|
-
body?: string;
|
|
275
|
-
body_json?: JsonValue;
|
|
276
|
-
body_contains?: string[];
|
|
277
|
-
body_not_contains?: string[];
|
|
278
|
-
body_not_patterns?: string[];
|
|
279
|
-
body_json_assertions?: RiddleProofProfileHttpStatusBodyJsonAssertion[];
|
|
280
|
-
expected_texts?: string[];
|
|
281
|
-
setup_action_label?: string;
|
|
282
|
-
trace_path?: string;
|
|
283
|
-
events?: RiddleProofOrderedTraceEvent[];
|
|
284
|
-
link_selector?: string;
|
|
285
|
-
source_selector?: string;
|
|
286
|
-
route_path_prefix?: string;
|
|
287
|
-
route_ready_selector?: string;
|
|
288
|
-
route_ready_text?: string;
|
|
289
|
-
route_ready_pattern?: string;
|
|
290
|
-
route_ready_flags?: string;
|
|
291
|
-
text?: string;
|
|
292
|
-
pattern?: string;
|
|
293
|
-
flags?: string;
|
|
294
|
-
viewports?: string[];
|
|
295
|
-
allowed_console_texts?: string[];
|
|
296
|
-
allowed_console_patterns?: string[];
|
|
297
|
-
allowed_page_error_texts?: string[];
|
|
298
|
-
allowed_page_error_patterns?: string[];
|
|
299
|
-
min_count?: number;
|
|
300
|
-
expected_count?: number;
|
|
301
|
-
expected_status?: number;
|
|
302
|
-
allowed_statuses?: number[];
|
|
303
|
-
max_links?: number;
|
|
304
|
-
same_origin_only?: boolean;
|
|
305
|
-
dedupe?: boolean;
|
|
306
|
-
require_nonzero_bytes?: boolean;
|
|
307
|
-
min_bytes?: number;
|
|
308
|
-
allowed_content_types?: string[];
|
|
309
|
-
allow_get_fallback?: boolean;
|
|
310
|
-
max_overflow_px?: number;
|
|
311
|
-
timeout_ms?: number;
|
|
312
|
-
run_direct_routes?: boolean;
|
|
313
|
-
run_clickthroughs?: boolean;
|
|
314
|
-
run_all_viewports?: boolean;
|
|
315
|
-
require_unique_routes?: boolean;
|
|
316
|
-
allow_unexpected_routes?: boolean;
|
|
317
|
-
save_route_screenshots?: boolean;
|
|
318
|
-
}
|
|
319
|
-
interface RiddleProofProfile {
|
|
320
|
-
version: typeof RIDDLE_PROOF_PROFILE_VERSION;
|
|
321
|
-
name: string;
|
|
322
|
-
target: RiddleProofProfileTarget;
|
|
323
|
-
checks: RiddleProofProfileCheck[];
|
|
324
|
-
artifacts: string[];
|
|
325
|
-
baseline_policy: RiddleProofProfileBaselinePolicy;
|
|
326
|
-
failure_policy: Partial<Record<RiddleProofProfileStatus, RiddleProofProfileFailureAction>>;
|
|
327
|
-
metadata?: Record<string, JsonValue>;
|
|
328
|
-
}
|
|
329
|
-
interface RiddleProofProfileRouteEvidence {
|
|
330
|
-
requested: string;
|
|
331
|
-
observed: string;
|
|
332
|
-
expected_path?: string;
|
|
333
|
-
matched: boolean;
|
|
334
|
-
http_status?: number | null;
|
|
335
|
-
error?: string;
|
|
336
|
-
}
|
|
337
|
-
interface RiddleProofProfileBoundsOffender {
|
|
338
|
-
selector?: string | null;
|
|
339
|
-
tag?: string | null;
|
|
340
|
-
text?: string | null;
|
|
341
|
-
overflow?: number;
|
|
342
|
-
overflow_px?: number;
|
|
343
|
-
left_overflow_px?: number;
|
|
344
|
-
right_overflow_px?: number;
|
|
345
|
-
bounds_overflow_px?: number;
|
|
346
|
-
clipped?: Record<string, unknown>;
|
|
347
|
-
rect?: Record<string, unknown>;
|
|
348
|
-
bounds?: Record<string, unknown>;
|
|
349
|
-
viewport_width?: number;
|
|
350
|
-
viewportWidth?: number;
|
|
351
|
-
[key: string]: unknown;
|
|
352
|
-
}
|
|
353
|
-
interface RiddleProofProfileViewportEvidence {
|
|
354
|
-
name: string;
|
|
355
|
-
width: number;
|
|
356
|
-
height: number;
|
|
357
|
-
url?: string;
|
|
358
|
-
route: RiddleProofProfileRouteEvidence;
|
|
359
|
-
title?: string;
|
|
360
|
-
body_text_length?: number;
|
|
361
|
-
body_text_sample?: string;
|
|
362
|
-
scroll_width?: number;
|
|
363
|
-
client_width?: number;
|
|
364
|
-
overflow_px?: number;
|
|
365
|
-
bounds_overflow_px?: number;
|
|
366
|
-
overflow_offenders?: RiddleProofProfileBoundsOffender[];
|
|
367
|
-
selectors?: Record<string, {
|
|
368
|
-
count: number;
|
|
369
|
-
visible_count: number;
|
|
370
|
-
}>;
|
|
371
|
-
frames?: Record<string, Record<string, JsonValue>>;
|
|
372
|
-
text_sequences?: Record<string, Record<string, JsonValue>>;
|
|
373
|
-
text_matches?: Record<string, boolean>;
|
|
374
|
-
text_match_samples?: Record<string, string[]>;
|
|
375
|
-
text_case_insensitive_samples?: Record<string, string[]>;
|
|
376
|
-
observations?: Record<string, Record<string, JsonValue>>;
|
|
377
|
-
http_statuses?: Record<string, Record<string, JsonValue>>;
|
|
378
|
-
link_statuses?: Record<string, Record<string, JsonValue>>;
|
|
379
|
-
route_inventory?: Record<string, JsonValue>;
|
|
380
|
-
setup_action_results?: Array<Record<string, JsonValue>>;
|
|
381
|
-
screenshot_label?: string;
|
|
382
|
-
screenshot_full_page?: boolean | null;
|
|
383
|
-
navigation_error?: string;
|
|
384
|
-
wait_error?: string;
|
|
385
|
-
}
|
|
386
|
-
interface RiddleProofProfileEvidence {
|
|
387
|
-
version: typeof RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION;
|
|
388
|
-
profile_name: string;
|
|
389
|
-
target_url: string;
|
|
390
|
-
baseline_policy: RiddleProofProfileBaselinePolicy;
|
|
391
|
-
captured_at: string;
|
|
392
|
-
viewports: RiddleProofProfileViewportEvidence[];
|
|
393
|
-
console: {
|
|
394
|
-
events: Array<{
|
|
395
|
-
type: string;
|
|
396
|
-
text: string;
|
|
397
|
-
location?: JsonValue;
|
|
398
|
-
}>;
|
|
399
|
-
fatal_count: number;
|
|
400
|
-
};
|
|
401
|
-
page_errors: Array<{
|
|
402
|
-
message: string;
|
|
403
|
-
}>;
|
|
404
|
-
network_mocks?: Array<Record<string, JsonValue>>;
|
|
405
|
-
dom_summary?: Record<string, JsonValue>;
|
|
406
|
-
}
|
|
407
|
-
interface RiddleProofProfileCheckResult {
|
|
408
|
-
type: RiddleProofProfileCheckType | (string & {});
|
|
409
|
-
label?: string;
|
|
410
|
-
status: "passed" | "failed" | "skipped" | "proof_insufficient" | "needs_human_review";
|
|
411
|
-
evidence: Record<string, JsonValue>;
|
|
412
|
-
message?: string;
|
|
413
|
-
}
|
|
414
|
-
interface RiddleProofProfileResult {
|
|
415
|
-
version: typeof RIDDLE_PROOF_PROFILE_RESULT_VERSION;
|
|
416
|
-
profile_name: string;
|
|
417
|
-
runner: RiddleProofProfileRunner;
|
|
418
|
-
status: RiddleProofProfileStatus;
|
|
419
|
-
baseline_policy: RiddleProofProfileBaselinePolicy;
|
|
420
|
-
route: RiddleProofProfileRouteEvidence;
|
|
421
|
-
artifacts: {
|
|
422
|
-
screenshots: string[];
|
|
423
|
-
canonical_screenshots?: string[];
|
|
424
|
-
setup_screenshots?: string[];
|
|
425
|
-
console?: string;
|
|
426
|
-
proof_json?: string;
|
|
427
|
-
dom_summary?: string;
|
|
428
|
-
riddle_artifacts?: RiddleProofProfileArtifactRef[];
|
|
429
|
-
};
|
|
430
|
-
checks: RiddleProofProfileCheckResult[];
|
|
431
|
-
summary: string;
|
|
432
|
-
captured_at: string;
|
|
433
|
-
metadata?: Record<string, JsonValue>;
|
|
434
|
-
warnings?: string[];
|
|
435
|
-
evidence?: RiddleProofProfileEvidence;
|
|
436
|
-
riddle?: {
|
|
437
|
-
mode?: "split-viewports" | (string & {});
|
|
438
|
-
job_id?: string;
|
|
439
|
-
job_count?: number;
|
|
440
|
-
status?: string | null;
|
|
441
|
-
phase?: string | null;
|
|
442
|
-
terminal?: boolean;
|
|
443
|
-
created_at?: string | null;
|
|
444
|
-
submitted_at?: string | null;
|
|
445
|
-
completed_at?: string | null;
|
|
446
|
-
queue_elapsed_ms?: number | null;
|
|
447
|
-
pre_submission_elapsed_ms?: number;
|
|
448
|
-
elapsed_ms?: number;
|
|
449
|
-
attempt?: number;
|
|
450
|
-
attempts?: number;
|
|
451
|
-
timed_out?: boolean;
|
|
452
|
-
retry_count?: number;
|
|
453
|
-
stale_job_ids?: string[];
|
|
454
|
-
artifact_recovery?: boolean;
|
|
455
|
-
execution?: Record<string, JsonValue>;
|
|
456
|
-
split_jobs?: Array<{
|
|
457
|
-
viewport: string;
|
|
458
|
-
job_id?: string;
|
|
459
|
-
status?: string | null;
|
|
460
|
-
phase?: string | null;
|
|
461
|
-
terminal?: boolean;
|
|
462
|
-
queue_elapsed_ms?: number | null;
|
|
463
|
-
pre_submission_elapsed_ms?: number;
|
|
464
|
-
elapsed_ms?: number;
|
|
465
|
-
attempt?: number;
|
|
466
|
-
attempts?: number;
|
|
467
|
-
timed_out?: boolean;
|
|
468
|
-
retry_count?: number;
|
|
469
|
-
stale_job_ids?: string[];
|
|
470
|
-
artifact_recovery?: boolean;
|
|
471
|
-
execution?: Record<string, JsonValue>;
|
|
472
|
-
}>;
|
|
473
|
-
};
|
|
474
|
-
environment_blocker?: Record<string, JsonValue>;
|
|
475
|
-
configuration_blocker?: Record<string, JsonValue>;
|
|
476
|
-
error?: string;
|
|
477
|
-
}
|
|
478
|
-
interface RiddleProofProfileArtifactRef {
|
|
479
|
-
name: string;
|
|
480
|
-
url?: string;
|
|
481
|
-
path?: string;
|
|
482
|
-
kind?: string;
|
|
483
|
-
content_type?: string;
|
|
484
|
-
source?: string;
|
|
485
|
-
role?: "canonical_screenshot" | "setup_screenshot" | "data" | "diagnostic" | "artifact";
|
|
486
|
-
}
|
|
487
|
-
interface NormalizeRiddleProofProfileOptions {
|
|
488
|
-
url?: string;
|
|
489
|
-
route?: string;
|
|
490
|
-
viewports?: RiddleProofProfileViewport[];
|
|
491
|
-
}
|
|
492
|
-
declare function assessRiddleProofOrderedTrace(trace: unknown, events: RiddleProofOrderedTraceEvent[]): RiddleProofOrderedTraceAssessment;
|
|
493
|
-
declare function assessRiddleProofOrderedTraceSetupResults(results: unknown, setupActionLabel: string, tracePath: string, events: RiddleProofOrderedTraceEvent[]): RiddleProofOrderedTraceAssessment;
|
|
494
|
-
declare function slugifyRiddleProofProfileName(value: string): string;
|
|
495
|
-
declare function collectRiddleProofProfileWarnings(profile: RiddleProofProfile): string[];
|
|
496
|
-
declare function normalizeRiddleProofProfile(input: unknown, options?: NormalizeRiddleProofProfileOptions): RiddleProofProfile;
|
|
497
|
-
declare function resolveRiddleProofProfileTargetUrl(profile: RiddleProofProfile): string;
|
|
498
|
-
declare function resolveRiddleProofProfileTimeoutSec(profile: RiddleProofProfile, requestedTimeoutSec?: number): number | undefined;
|
|
499
4
|
declare function preflightRiddleProofProfileHttpStatusChecks(profile: RiddleProofProfile, options?: RiddleProofProfileHttpStatusPreflightOptions): Promise<RiddleProofProfileHttpStatusPreflightResult>;
|
|
500
|
-
declare function resolveRiddleProofProfileRouteUrl(targetUrl: string, route: string): string;
|
|
501
|
-
interface RiddleProofProfileArtifactCompleteness {
|
|
502
|
-
ok: boolean;
|
|
503
|
-
required: string[];
|
|
504
|
-
observed: string[];
|
|
505
|
-
missing: string[];
|
|
506
|
-
}
|
|
507
|
-
declare const RIDDLE_PROOF_HOSTED_PROFILE_ARTIFACTS: readonly ["screenshot", "console", "dom_summary", "proof_json"];
|
|
508
|
-
interface RiddleProofProfileRunnerArtifactPreflight {
|
|
509
|
-
ok: boolean;
|
|
510
|
-
runner: RiddleProofProfileRunner;
|
|
511
|
-
requested: string[];
|
|
512
|
-
local_only: string[];
|
|
513
|
-
hosted_artifacts: string[];
|
|
514
|
-
message?: string;
|
|
515
|
-
}
|
|
516
|
-
declare function preflightRiddleProofProfileRunnerArtifacts(profile: RiddleProofProfile, runner: RiddleProofProfileRunner): RiddleProofProfileRunnerArtifactPreflight;
|
|
517
|
-
declare function assessRiddleProofProfileArtifactCompleteness(profile: RiddleProofProfile, result: RiddleProofProfileResult, artifacts: RiddleProofProfileArtifactRef[]): RiddleProofProfileArtifactCompleteness;
|
|
518
|
-
declare function applyRiddleProofProfileArtifactCompleteness(profile: RiddleProofProfile, result: RiddleProofProfileResult, artifacts: RiddleProofProfileArtifactRef[] | undefined): RiddleProofProfileResult;
|
|
519
|
-
declare function assessRiddleProofProfileEvidence(profile: RiddleProofProfile, evidence: RiddleProofProfileEvidence | undefined, options?: {
|
|
520
|
-
runner?: RiddleProofProfileRunner;
|
|
521
|
-
riddle?: RiddleProofProfileResult["riddle"];
|
|
522
|
-
artifacts?: RiddleProofProfileArtifactRef[];
|
|
523
|
-
}): RiddleProofProfileResult;
|
|
524
|
-
declare function summarizeRiddleProofProfileResult(input: {
|
|
525
|
-
profile_name: string;
|
|
526
|
-
status: RiddleProofProfileStatus;
|
|
527
|
-
checks: RiddleProofProfileCheckResult[];
|
|
528
|
-
viewports: RiddleProofProfileViewportEvidence[];
|
|
529
|
-
}): string;
|
|
530
|
-
declare function profileStatusExitCode(profile: RiddleProofProfile, status: RiddleProofProfileStatus): 0 | 1;
|
|
531
|
-
declare function createRiddleProofProfileConfigurationError(profileOrName: RiddleProofProfile | string, error: unknown, runner?: RiddleProofProfileRunner, options?: {
|
|
532
|
-
warnings?: string[];
|
|
533
|
-
configurationBlocker?: Record<string, JsonValue>;
|
|
534
|
-
}): RiddleProofProfileResult;
|
|
535
|
-
declare function createRiddleProofProfileEnvironmentBlockedResult(input: {
|
|
536
|
-
profile: RiddleProofProfile;
|
|
537
|
-
runner?: RiddleProofProfileRunner;
|
|
538
|
-
error?: unknown;
|
|
539
|
-
environmentBlocker?: Record<string, JsonValue>;
|
|
540
|
-
riddle?: RiddleProofProfileResult["riddle"];
|
|
541
|
-
artifacts?: RiddleProofProfileArtifactRef[];
|
|
542
|
-
}): RiddleProofProfileResult;
|
|
543
|
-
declare function createRiddleProofProfileInsufficientResult(input: {
|
|
544
|
-
profile: RiddleProofProfile;
|
|
545
|
-
runner?: RiddleProofProfileRunner;
|
|
546
|
-
error?: unknown;
|
|
547
|
-
riddle?: RiddleProofProfileResult["riddle"];
|
|
548
|
-
artifacts?: RiddleProofProfileArtifactRef[];
|
|
549
|
-
}): RiddleProofProfileResult;
|
|
550
5
|
declare function buildRiddleProofProfileScript(profile: RiddleProofProfile): string;
|
|
551
|
-
declare function collectRiddleProfileArtifactRefs(input: unknown): RiddleProofProfileArtifactRef[];
|
|
552
|
-
declare function extractRiddleProofProfileResult(input: unknown): RiddleProofProfileResult | undefined;
|
|
553
6
|
|
|
554
|
-
export {
|
|
7
|
+
export { buildRiddleProofProfileScript, preflightRiddleProofProfileHttpStatusChecks };
|
package/dist/profile.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
resolveRiddleProofProfileTimeoutSec,
|
|
31
31
|
slugifyRiddleProofProfileName,
|
|
32
32
|
summarizeRiddleProofProfileResult
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KF6F2RMQ.js";
|
|
34
34
|
import "./chunk-MLKGABMK.js";
|
|
35
35
|
export {
|
|
36
36
|
RIDDLE_PROOF_HOSTED_PROFILE_ARTIFACTS,
|
|
@@ -124,7 +124,7 @@ declare function buildSetupArgs(params: WorkflowParams, config: ReturnType<typeo
|
|
|
124
124
|
target_image_hash: string;
|
|
125
125
|
viewport_matrix_json: string;
|
|
126
126
|
deterministic_setup_json: string;
|
|
127
|
-
reference: "
|
|
127
|
+
reference: "prod" | "before" | "both";
|
|
128
128
|
base_branch: string;
|
|
129
129
|
before_ref: string;
|
|
130
130
|
allow_static_preview_fallback: string;
|
|
@@ -124,7 +124,7 @@ declare function buildSetupArgs(params: WorkflowParams, config: ReturnType<typeo
|
|
|
124
124
|
target_image_hash: string;
|
|
125
125
|
viewport_matrix_json: string;
|
|
126
126
|
deterministic_setup_json: string;
|
|
127
|
-
reference: "
|
|
127
|
+
reference: "prod" | "before" | "both";
|
|
128
128
|
base_branch: string;
|
|
129
129
|
before_ref: string;
|
|
130
130
|
allow_static_preview_fallback: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BUNDLED_RIDDLE_PROOF_DIR, C as CHECKPOINT_CONTRACT_VERSION, b as CheckpointInputContract, P as PluginConfig, R as RIDDLE_PROOF_DIR_CANDIDATES, S as ShipGateValidation, c as WORKFLOW_STAGE_ORDER, d as WorkflowAction, W as WorkflowParams, a as WorkflowStage, e as buildCheckpointContract, f as buildSetupArgs, g as canonicalProofAssessmentStageForDecision, h as checkpointContinueStage, i as clearStageDecisionRequest, j as ensureAction, k as ensureStageLoopState, l as invalidateVerifyEvidence, m as mergeStateFromParams, n as noImplementationModeFor, o as normalizeProofAssessmentStageFields, q as previewModeFromWorkflowMode, s as proofAssessmentHardBlockersForState, t as readState, u as recordStageAttempt, v as requiredBaselineLabelsForState, r as resolveConfig, w as resolveRiddleProofDir, x as setStageDecisionRequest, y as summarizeState, z as validateShipGate, A as visualDeltaForState, D as visualDeltaRequiredForState, E as visualDeltaShipGateReason, F as workflowFile, G as writeState } from './proof-run-core-
|
|
1
|
+
export { B as BUNDLED_RIDDLE_PROOF_DIR, C as CHECKPOINT_CONTRACT_VERSION, b as CheckpointInputContract, P as PluginConfig, R as RIDDLE_PROOF_DIR_CANDIDATES, S as ShipGateValidation, c as WORKFLOW_STAGE_ORDER, d as WorkflowAction, W as WorkflowParams, a as WorkflowStage, e as buildCheckpointContract, f as buildSetupArgs, g as canonicalProofAssessmentStageForDecision, h as checkpointContinueStage, i as clearStageDecisionRequest, j as ensureAction, k as ensureStageLoopState, l as invalidateVerifyEvidence, m as mergeStateFromParams, n as noImplementationModeFor, o as normalizeProofAssessmentStageFields, q as previewModeFromWorkflowMode, s as proofAssessmentHardBlockersForState, t as readState, u as recordStageAttempt, v as requiredBaselineLabelsForState, r as resolveConfig, w as resolveRiddleProofDir, x as setStageDecisionRequest, y as summarizeState, z as validateShipGate, A as visualDeltaForState, D as visualDeltaRequiredForState, E as visualDeltaShipGateReason, F as workflowFile, G as writeState } from './proof-run-core-DwwrRhY4.cjs';
|
package/dist/proof-run-core.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BUNDLED_RIDDLE_PROOF_DIR, C as CHECKPOINT_CONTRACT_VERSION, b as CheckpointInputContract, P as PluginConfig, R as RIDDLE_PROOF_DIR_CANDIDATES, S as ShipGateValidation, c as WORKFLOW_STAGE_ORDER, d as WorkflowAction, W as WorkflowParams, a as WorkflowStage, e as buildCheckpointContract, f as buildSetupArgs, g as canonicalProofAssessmentStageForDecision, h as checkpointContinueStage, i as clearStageDecisionRequest, j as ensureAction, k as ensureStageLoopState, l as invalidateVerifyEvidence, m as mergeStateFromParams, n as noImplementationModeFor, o as normalizeProofAssessmentStageFields, q as previewModeFromWorkflowMode, s as proofAssessmentHardBlockersForState, t as readState, u as recordStageAttempt, v as requiredBaselineLabelsForState, r as resolveConfig, w as resolveRiddleProofDir, x as setStageDecisionRequest, y as summarizeState, z as validateShipGate, A as visualDeltaForState, D as visualDeltaRequiredForState, E as visualDeltaShipGateReason, F as workflowFile, G as writeState } from './proof-run-core-
|
|
1
|
+
export { B as BUNDLED_RIDDLE_PROOF_DIR, C as CHECKPOINT_CONTRACT_VERSION, b as CheckpointInputContract, P as PluginConfig, R as RIDDLE_PROOF_DIR_CANDIDATES, S as ShipGateValidation, c as WORKFLOW_STAGE_ORDER, d as WorkflowAction, W as WorkflowParams, a as WorkflowStage, e as buildCheckpointContract, f as buildSetupArgs, g as canonicalProofAssessmentStageForDecision, h as checkpointContinueStage, i as clearStageDecisionRequest, j as ensureAction, k as ensureStageLoopState, l as invalidateVerifyEvidence, m as mergeStateFromParams, n as noImplementationModeFor, o as normalizeProofAssessmentStageFields, q as previewModeFromWorkflowMode, s as proofAssessmentHardBlockersForState, t as readState, u as recordStageAttempt, v as requiredBaselineLabelsForState, r as resolveConfig, w as resolveRiddleProofDir, x as setStageDecisionRequest, y as summarizeState, z as validateShipGate, A as visualDeltaForState, D as visualDeltaRequiredForState, E as visualDeltaShipGateReason, F as workflowFile, G as writeState } from './proof-run-core-DwwrRhY4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WorkflowParams, r as resolveConfig, P as PluginConfig, a as WorkflowStage } from './proof-run-core-
|
|
1
|
+
import { W as WorkflowParams, r as resolveConfig, P as PluginConfig, a as WorkflowStage } from './proof-run-core-DwwrRhY4.js';
|
|
2
2
|
|
|
3
3
|
declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, resolvedConfig?: ReturnType<typeof resolveConfig>): Promise<{
|
|
4
4
|
ok: boolean;
|
|
@@ -292,7 +292,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
292
292
|
blocking?: boolean;
|
|
293
293
|
details?: Record<string, unknown>;
|
|
294
294
|
ok: boolean;
|
|
295
|
-
action: "
|
|
295
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
296
296
|
state_path: string;
|
|
297
297
|
stage: any;
|
|
298
298
|
summary: string;
|
|
@@ -382,7 +382,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
382
382
|
continueWithStage?: WorkflowStage | null;
|
|
383
383
|
blocking?: boolean;
|
|
384
384
|
details?: Record<string, unknown>;
|
|
385
|
-
action: "
|
|
385
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
386
386
|
state_path: string;
|
|
387
387
|
stage: any;
|
|
388
388
|
checkpoint: string;
|
|
@@ -659,7 +659,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
659
659
|
error?: undefined;
|
|
660
660
|
} | {
|
|
661
661
|
ok: boolean;
|
|
662
|
-
action: "
|
|
662
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship";
|
|
663
663
|
state_path: string;
|
|
664
664
|
stage: any;
|
|
665
665
|
summary: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WorkflowParams, r as resolveConfig, P as PluginConfig, a as WorkflowStage } from './proof-run-core-
|
|
1
|
+
import { W as WorkflowParams, r as resolveConfig, P as PluginConfig, a as WorkflowStage } from './proof-run-core-DwwrRhY4.cjs';
|
|
2
2
|
|
|
3
3
|
declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, resolvedConfig?: ReturnType<typeof resolveConfig>): Promise<{
|
|
4
4
|
ok: boolean;
|
|
@@ -292,7 +292,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
292
292
|
blocking?: boolean;
|
|
293
293
|
details?: Record<string, unknown>;
|
|
294
294
|
ok: boolean;
|
|
295
|
-
action: "
|
|
295
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
296
296
|
state_path: string;
|
|
297
297
|
stage: any;
|
|
298
298
|
summary: string;
|
|
@@ -382,7 +382,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
382
382
|
continueWithStage?: WorkflowStage | null;
|
|
383
383
|
blocking?: boolean;
|
|
384
384
|
details?: Record<string, unknown>;
|
|
385
|
-
action: "
|
|
385
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
386
386
|
state_path: string;
|
|
387
387
|
stage: any;
|
|
388
388
|
checkpoint: string;
|
|
@@ -659,7 +659,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
659
659
|
error?: undefined;
|
|
660
660
|
} | {
|
|
661
661
|
ok: boolean;
|
|
662
|
-
action: "
|
|
662
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship";
|
|
663
663
|
state_path: string;
|
|
664
664
|
stage: any;
|
|
665
665
|
summary: string;
|