@riddledc/riddle-proof 0.8.34 → 0.8.36

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.
@@ -40,6 +40,218 @@
40
40
  "no-diff-prod-audit-default-capture-pass"
41
41
  ]
42
42
  },
43
+ "hosted_riddle_suite": {
44
+ "runner": "riddle",
45
+ "target": {
46
+ "url": "https://riddledc.com/"
47
+ },
48
+ "result_log_fields": [
49
+ "case_id",
50
+ "profile_name",
51
+ "profile_status",
52
+ "route",
53
+ "riddle.job_id",
54
+ "riddle.status",
55
+ "artifacts",
56
+ "environment_blocker"
57
+ ],
58
+ "cases": [
59
+ {
60
+ "id": "hosted-home-to-proof-route-change-pass",
61
+ "intent": "Run the generic hosted Riddle profile runner against production home, click Proof, and prove terminal /proof/ before involving OC.",
62
+ "profile": {
63
+ "version": "riddle-proof.profile.v1",
64
+ "name": "riddle-site-hosted-home-to-proof",
65
+ "target": {
66
+ "route": "/",
67
+ "wait_for_selector": "main#main-content",
68
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }],
69
+ "setup_actions": [
70
+ {
71
+ "type": "click",
72
+ "selector": "a[href*='/proof']",
73
+ "text": "Proof",
74
+ "expected_path": "/proof/",
75
+ "timeout_ms": 10000,
76
+ "after_ms": 750
77
+ }
78
+ ]
79
+ },
80
+ "checks": [
81
+ { "type": "route_loaded", "expected_path": "/proof/" },
82
+ { "type": "selector_visible", "selector": "main#main-content" },
83
+ { "type": "text_visible", "text": "Proof" }
84
+ ],
85
+ "metadata": {
86
+ "pack_id": "riddle_proof_hosted_flow",
87
+ "pack_public_name": "Riddle Proof Hosted Flow"
88
+ }
89
+ },
90
+ "expect": { "profile_status": "passed" }
91
+ },
92
+ {
93
+ "id": "hosted-proof-to-home-route-change-pass",
94
+ "intent": "Run the generic hosted Riddle profile runner from /proof/, click the root/Home link, and prove terminal /.",
95
+ "profile": {
96
+ "version": "riddle-proof.profile.v1",
97
+ "name": "riddle-site-hosted-proof-to-home",
98
+ "target": {
99
+ "route": "/proof/",
100
+ "wait_for_selector": "main#main-content",
101
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }],
102
+ "setup_actions": [
103
+ {
104
+ "type": "click",
105
+ "selector": "a[href='/'], a[href='https://riddledc.com/']",
106
+ "text": "Riddle",
107
+ "expected_path": "/",
108
+ "timeout_ms": 10000,
109
+ "after_ms": 750
110
+ }
111
+ ]
112
+ },
113
+ "checks": [
114
+ { "type": "route_loaded", "expected_path": "/" },
115
+ { "type": "selector_visible", "selector": "main#main-content" }
116
+ ],
117
+ "metadata": {
118
+ "pack_id": "riddle_proof_hosted_flow",
119
+ "pack_public_name": "Riddle Proof Hosted Flow"
120
+ }
121
+ },
122
+ "expect": { "profile_status": "passed" }
123
+ },
124
+ {
125
+ "id": "hosted-pricing-query-hash-positive-pass",
126
+ "intent": "Run the hosted profile runner directly against Pricing with query/hash and prove slash, query, and hash are preserved.",
127
+ "profile": {
128
+ "version": "riddle-proof.profile.v1",
129
+ "name": "riddle-site-hosted-pricing-query-hash",
130
+ "target": {
131
+ "route": "/pricing/?rp_probe=1#pricing-probe",
132
+ "wait_for_selector": "main#main-content",
133
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }],
134
+ "setup_actions": [
135
+ {
136
+ "type": "window_eval",
137
+ "script": "return window.location.hash;",
138
+ "expect_return": "#pricing-probe",
139
+ "store_return_to": "__riddleProof.pricingHash",
140
+ "capture_return": true
141
+ }
142
+ ]
143
+ },
144
+ "checks": [
145
+ { "type": "route_loaded", "expected_path": "/pricing/" },
146
+ { "type": "url_search_param_equals", "param": "rp_probe", "expected_value": "1" },
147
+ { "type": "selector_visible", "selector": "main#main-content" }
148
+ ],
149
+ "metadata": {
150
+ "pack_id": "riddle_proof_hosted_flow",
151
+ "pack_public_name": "Riddle Proof Hosted Flow"
152
+ }
153
+ },
154
+ "expect": { "profile_status": "passed" }
155
+ },
156
+ {
157
+ "id": "hosted-pricing-query-hash-dropped-blocker",
158
+ "intent": "Run a hosted negative control where Pricing lacks the expected query/hash and require a product_regression profile result.",
159
+ "profile": {
160
+ "version": "riddle-proof.profile.v1",
161
+ "name": "riddle-site-hosted-pricing-query-hash-dropped",
162
+ "target": {
163
+ "route": "/pricing/",
164
+ "wait_for_selector": "main#main-content",
165
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }]
166
+ },
167
+ "checks": [
168
+ { "type": "route_loaded", "expected_path": "/pricing/" },
169
+ { "type": "url_search_param_equals", "param": "rp_probe", "expected_value": "1" }
170
+ ],
171
+ "metadata": {
172
+ "pack_id": "riddle_proof_hosted_flow",
173
+ "pack_public_name": "Riddle Proof Hosted Flow"
174
+ }
175
+ },
176
+ "expect": { "profile_status": "product_regression" }
177
+ },
178
+ {
179
+ "id": "hosted-no-diff-prod-audit-pass",
180
+ "intent": "Run a hosted no-diff production audit profile with no implementation or OC wrapper involved.",
181
+ "profile": {
182
+ "version": "riddle-proof.profile.v1",
183
+ "name": "riddle-site-hosted-no-diff-prod-audit",
184
+ "target": {
185
+ "route": "/",
186
+ "wait_for_selector": "main#main-content",
187
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }]
188
+ },
189
+ "checks": [
190
+ { "type": "route_loaded", "expected_path": "/" },
191
+ { "type": "selector_visible", "selector": "main#main-content" },
192
+ { "type": "no_fatal_console_errors" }
193
+ ],
194
+ "metadata": {
195
+ "pack_id": "riddle_proof_hosted_flow",
196
+ "pack_public_name": "Riddle Proof Hosted Flow"
197
+ }
198
+ },
199
+ "expect": { "profile_status": "passed" }
200
+ },
201
+ {
202
+ "id": "hosted-missing-selector-timeout-blocker",
203
+ "intent": "Run a hosted profile with a missing selector and require a clean product_regression result, not a lifecycle failure.",
204
+ "profile": {
205
+ "version": "riddle-proof.profile.v1",
206
+ "name": "riddle-site-hosted-missing-selector",
207
+ "target": {
208
+ "route": "/",
209
+ "wait_for_selector": "main#main-content",
210
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }]
211
+ },
212
+ "checks": [
213
+ { "type": "selector_visible", "selector": "#riddle-proof-missing-selector-timeout-smoke-20260604" }
214
+ ],
215
+ "metadata": {
216
+ "pack_id": "riddle_proof_hosted_flow",
217
+ "pack_public_name": "Riddle Proof Hosted Flow"
218
+ }
219
+ },
220
+ "expect": { "profile_status": "product_regression" }
221
+ },
222
+ {
223
+ "id": "hosted-thrown-error-specific-blocker",
224
+ "intent": "Run a hosted profile whose setup action throws a marker and require the marker to surface as a product_regression result.",
225
+ "profile": {
226
+ "version": "riddle-proof.profile.v1",
227
+ "name": "riddle-site-hosted-thrown-error",
228
+ "target": {
229
+ "route": "/",
230
+ "wait_for_selector": "main#main-content",
231
+ "viewports": [{ "name": "desktop", "width": 1280, "height": 900 }],
232
+ "setup_actions": [
233
+ {
234
+ "type": "window_eval",
235
+ "script": "throw new Error('RIDDLE_PROOF_HOSTED_THROWN_ERROR_SMOKE_20260604');",
236
+ "timeout_ms": 1000
237
+ }
238
+ ]
239
+ },
240
+ "checks": [
241
+ { "type": "route_loaded", "expected_path": "/" }
242
+ ],
243
+ "metadata": {
244
+ "pack_id": "riddle_proof_hosted_flow",
245
+ "pack_public_name": "Riddle Proof Hosted Flow"
246
+ }
247
+ },
248
+ "expect": {
249
+ "profile_status": "product_regression",
250
+ "message_contains": "RIDDLE_PROOF_HOSTED_THROWN_ERROR_SMOKE_20260604"
251
+ }
252
+ }
253
+ ]
254
+ },
43
255
  "openclaw_live_suite": {
44
256
  "target": {
45
257
  "repo": "davisdiehl/riddle-site",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.8.34",
3
+ "version": "0.8.36",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",