@riddledc/riddle-proof 0.8.75 → 0.8.76

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/README.md CHANGED
@@ -115,6 +115,10 @@ When `--output` / `--output-dir` is set, the command writes
115
115
  non-passing change proof exits nonzero so CI and PR-comment automation can use
116
116
  the receipt as a gate.
117
117
 
118
+ For a small hosted-preview dogfood target, see
119
+ `examples/profiles/hosted-change-proof-preview.json` and
120
+ `examples/change-contracts/hosted-change-proof-preview.json`.
121
+
118
122
  ## Durable Loop CLI
119
123
 
120
124
  The package publishes `riddle-proof-loop` as a host-agnostic runner surface for
@@ -0,0 +1,16 @@
1
+ {
2
+ "version": "riddle-proof.change-contract.v1",
3
+ "name": "Hosted preview marker appears after change",
4
+ "deltas": [
5
+ {
6
+ "type": "check_status_transition",
7
+ "label": "hosted preview marker becomes visible",
8
+ "check_label": "hosted-preview-marker-visible",
9
+ "before_status": "failed",
10
+ "after_status": "passed"
11
+ }
12
+ ],
13
+ "metadata": {
14
+ "example": "hosted preview before/after proof"
15
+ }
16
+ }
@@ -28,6 +28,10 @@
28
28
  <dt>Fixture</dt>
29
29
  <dd>neutral-fixture-pass</dd>
30
30
  </div>
31
+ <div>
32
+ <dt>Hosted proof</dt>
33
+ <dd data-rp-change-proof="hosted-preview">hosted preview change proof</dd>
34
+ </div>
31
35
  </dl>
32
36
  </section>
33
37
  </main>
@@ -70,7 +70,7 @@ p {
70
70
 
71
71
  dl {
72
72
  display: grid;
73
- grid-template-columns: repeat(3, minmax(0, 1fr));
73
+ grid-template-columns: repeat(4, minmax(0, 1fr));
74
74
  margin: 0;
75
75
  }
76
76
 
@@ -0,0 +1,36 @@
1
+ {
2
+ "version": "riddle-proof.profile.v1",
3
+ "name": "hosted-change-proof-preview",
4
+ "target": {
5
+ "route": "/pass.html",
6
+ "viewports": [
7
+ { "name": "phone", "width": 390, "height": 844 },
8
+ { "name": "desktop", "width": 1440, "height": 1000 }
9
+ ],
10
+ "auth": "none",
11
+ "wait_for_selector": "[data-rp-fixture=\"pass\"]",
12
+ "setup_actions": [
13
+ { "type": "screenshot", "label": "initial-fixture-state", "full_page": false },
14
+ { "type": "wait", "ms": 100 }
15
+ ],
16
+ "screenshot_full_page": false
17
+ },
18
+ "checks": [
19
+ { "type": "route_loaded", "expected_path": "/pass.html" },
20
+ { "type": "selector_visible", "selector": "[data-rp-fixture=\"pass\"]" },
21
+ {
22
+ "type": "selector_text_visible",
23
+ "label": "hosted-preview-marker-visible",
24
+ "selector": "[data-rp-change-proof=\"hosted-preview\"]",
25
+ "text": "hosted preview change proof"
26
+ },
27
+ { "type": "no_mobile_horizontal_overflow" },
28
+ { "type": "no_fatal_console_errors" }
29
+ ],
30
+ "artifacts": ["screenshot", "console", "dom_summary", "proof_json"],
31
+ "failure_policy": {
32
+ "environment_blocked": "neutral",
33
+ "proof_insufficient": "fail",
34
+ "product_regression": "fail"
35
+ }
36
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.8.75",
3
+ "version": "0.8.76",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",