@riddledc/riddle-proof 0.8.63 → 0.8.65
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 +16 -0
- package/dist/chunk-5Y4V2IXI.js +178 -0
- package/dist/{chunk-DI2XNGEZ.js → chunk-B2DP2LET.js} +4 -1
- package/dist/{chunk-DDAV6D6K.js → chunk-JPRKO2DH.js} +52 -4
- package/dist/cli/index.js +3 -2
- package/dist/cli.cjs +220 -4
- package/dist/cli.js +3 -2
- package/dist/index.cjs +179 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +9 -1
- package/dist/profile-suggestions.cjs +204 -0
- package/dist/profile-suggestions.d.cts +36 -0
- package/dist/profile-suggestions.d.ts +36 -0
- package/dist/profile-suggestions.js +10 -0
- package/dist/riddle-client.cjs +5 -1
- package/dist/riddle-client.d.cts +2 -1
- package/dist/riddle-client.d.ts +2 -1
- package/dist/riddle-client.js +3 -1
- package/dist/runtime/index.cjs +5 -1
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +3 -1
- package/dist/runtime/riddle-client.cjs +5 -1
- package/dist/runtime/riddle-client.d.cts +1 -1
- package/dist/runtime/riddle-client.d.ts +1 -1
- package/dist/runtime/riddle-client.js +3 -1
- package/package.json +7 -2
- package/runtime/lib/ship.py +60 -0
- package/runtime/tests/ship_artifact_publication.py +55 -0
|
@@ -138,12 +138,27 @@ def main():
|
|
|
138
138
|
"proof_summary": "All assertions passed.",
|
|
139
139
|
"proof_assessment_source": "supervising_agent",
|
|
140
140
|
"proof_assessment": {
|
|
141
|
+
"assessment_id": "assessment_ship_artifact_test",
|
|
141
142
|
"source": "supervising_agent",
|
|
142
143
|
"decision": "ready_to_ship",
|
|
143
144
|
"summary": "Evidence is strong enough to ship.",
|
|
144
145
|
},
|
|
146
|
+
"checkpoint_summary": {
|
|
147
|
+
"latest_packet_id": "rppkt_ship_artifact_test",
|
|
148
|
+
"latest_response_packet_id": "rppkt_ship_artifact_test",
|
|
149
|
+
},
|
|
150
|
+
"proof_session": {
|
|
151
|
+
"session_id": "session_ship_artifact_test",
|
|
152
|
+
"fingerprint": "fingerprint_ship_artifact_test",
|
|
153
|
+
},
|
|
154
|
+
"proof_session_fingerprint": "fingerprint_ship_artifact_test",
|
|
145
155
|
"evidence_bundle": {
|
|
156
|
+
"id": "bundle_ship_artifact_test",
|
|
146
157
|
"verification_mode": "proof",
|
|
158
|
+
"proof_session": {
|
|
159
|
+
"session_id": "session_ship_artifact_test",
|
|
160
|
+
"fingerprint": "fingerprint_ship_artifact_test",
|
|
161
|
+
},
|
|
147
162
|
"after": {
|
|
148
163
|
"observation": {"valid": True, "reason": "ok", "telemetry_ready": True},
|
|
149
164
|
"supporting_artifacts": {
|
|
@@ -204,6 +219,46 @@ def main():
|
|
|
204
219
|
"ship gate should expose proof decision"
|
|
205
220
|
)
|
|
206
221
|
assert gate_evidence.get("hard_blockers") == [], "ship gate should expose hard blockers"
|
|
222
|
+
provenance = ship_report.get("proof_provenance") or {}
|
|
223
|
+
assert provenance.get("version") == "riddle-proof.provenance.v1", (
|
|
224
|
+
"ship report should expose proof provenance version"
|
|
225
|
+
)
|
|
226
|
+
assert provenance.get("run_id") == "rp_ship_artifact_test", (
|
|
227
|
+
"ship report provenance should expose the run id"
|
|
228
|
+
)
|
|
229
|
+
assert provenance.get("checkpoint_packet_id") == "rppkt_ship_artifact_test", (
|
|
230
|
+
"ship report provenance should expose the checkpoint packet id"
|
|
231
|
+
)
|
|
232
|
+
assert provenance.get("checkpoint_response_packet_id") == "rppkt_ship_artifact_test", (
|
|
233
|
+
"ship report provenance should expose the checkpoint response packet id"
|
|
234
|
+
)
|
|
235
|
+
assert provenance.get("evidence_bundle_id") == "bundle_ship_artifact_test", (
|
|
236
|
+
"ship report provenance should expose the evidence bundle id"
|
|
237
|
+
)
|
|
238
|
+
assert provenance.get("proof_session_id") == "session_ship_artifact_test", (
|
|
239
|
+
"ship report provenance should expose the proof session id"
|
|
240
|
+
)
|
|
241
|
+
assert provenance.get("proof_session_fingerprint") == "fingerprint_ship_artifact_test", (
|
|
242
|
+
"ship report provenance should expose the proof session fingerprint"
|
|
243
|
+
)
|
|
244
|
+
assert provenance.get("proof_assessment_id") == "assessment_ship_artifact_test", (
|
|
245
|
+
"ship report provenance should expose the proof assessment id"
|
|
246
|
+
)
|
|
247
|
+
assert provenance.get("proof_assessment_source") == "supervising_agent", (
|
|
248
|
+
"ship report provenance should expose the proof assessment source"
|
|
249
|
+
)
|
|
250
|
+
assert provenance.get("proof_assessment_decision") == "ready_to_ship", (
|
|
251
|
+
"ship report provenance should expose the proof assessment decision"
|
|
252
|
+
)
|
|
253
|
+
assert provenance.get("artifact_publication_commit") == publication.get("commit"), (
|
|
254
|
+
"ship report provenance should expose the artifact publication commit"
|
|
255
|
+
)
|
|
256
|
+
assert provenance.get("artifact_manifest_url") == ship_report.get("proof_artifacts_manifest_url"), (
|
|
257
|
+
"ship report provenance should expose the artifact manifest URL"
|
|
258
|
+
)
|
|
259
|
+
assert provenance.get("artifact_source_fingerprint") == publication.get("source_fingerprint"), (
|
|
260
|
+
"ship report provenance should expose the artifact source fingerprint"
|
|
261
|
+
)
|
|
207
262
|
|
|
208
263
|
comment = comment_body_path.read_text(encoding="utf-8")
|
|
209
264
|
assert "file://" not in comment, "PR proof comment must not expose local file URLs"
|