Initialize repository snapshot

This commit is contained in:
Vault Sovereign
2025-12-27 00:10:32 +00:00
commit 110d644e10
281 changed files with 40331 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
# Corruption Drill: Truncated receipts.jsonl (Sentinel v1 testvector)
Expected result: FAIL with E_SCHEMA_INVALID (malformed JSONL).
Verify:
python3 ../../tools/vm_verify_sentinel_bundle.py --bundle . --strict

View File

@@ -0,0 +1 @@
{"files":[{"digest":"sha256:9ba07babfb5c19611b323c89a456b8968a1572f868b881b93f43da1dfb7deaaa","path":"README.md","size_bytes":214},{"digest":"sha256:964bfec3a37f7b0616a8eb919e3c34daeba665f68222743a075f24f90ec59764","path":"receipts.jsonl","size_bytes":3700},{"digest":"sha256:9683545f7c23da977fc54f7901c41459d012217aecb60c5544a35caf71238436","path":"roots.txt","size_bytes":460},{"digest":"sha256:2f29bb00c6da0ad7e967ea6ab0c7632fbe148ab222744647bf01dea5a94fc9f4","path":"seal.json","size_bytes":740},{"digest":"sha256:b68082e3fab021062c9084802c2438b74e8d3198caa8676e29af0b10be2baabd","path":"verifier_manifest.json","size_bytes":239}],"format":"vm-sentinel-integrity-v1","hash_algo":"sha256"}

View File

@@ -0,0 +1,5 @@
{"actor":"did:vm:sentinel:demo","cap_hash":"none","event_hash":"sha256:521abeea9c029b319e4753fe28aa3900e2be0bad6609548bb33c742f3d1aeb76","event_id":"00000000-0000-4000-8000-000000000201","event_type":"boot_event","op":"sentinel.boot_event.v1","op_digest":"sha256:d5b3a96e7033a4d0dcf2b452826cbe950f80f354ee5166487312fba6fde10758","payload":{"params":{"canonicalization_version":"sentinel-event-jcs-v1","hash_algo":"sha256","schema_version":"1.0.0","sentinel_version":"0.1.0"}},"prev_event_hash":"0","result":"ok","seq":0,"trace_id":"eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee","ts":"2025-03-17T03:17:40Z"}
{"actor":"did:vm:actor:cloudflare:ops","cap_hash":"none","event_hash":"sha256:99beb8c6cf0d90550f9bfbc63b49b497d906a4ba967a6c214feaa2abaa36f22e","event_id":"00000000-0000-4000-8000-000000000202","event_type":"action_intent","op":"cloudflare.waf.apply_rule.v1","op_digest":"sha256:2e6864e10c30e74398dd04b48322d13a21e535b9a1f1ab93425fa7cd4b04e000","payload":{"params":{"action":"block","notes":"corruption truncated jsonl vector","rule_id":"vm-demo-corruption","target":"api.example.com"}},"prev_event_hash":"sha256:521abeea9c029b319e4753fe28aa3900e2be0bad6609548bb33c742f3d1aeb76","result":"ok","seq":1,"trace_id":"ffffffff-ffff-4fff-8fff-ffffffffffff","ts":"2025-03-17T03:17:42Z"}
{"actor":"did:vm:sentinel:demo","cap_hash":"none","event_hash":"sha256:97545c07d685e6c41c52a11ca3b4ba4cba38f137c943f145e23678c1bdaac5a2","event_id":"00000000-0000-4000-8000-000000000203","event_type":"shadow_receipt","op":"cloudflare.waf.apply_rule.v1","op_digest":"sha256:2e6864e10c30e74398dd04b48322d13a21e535b9a1f1ab93425fa7cd4b04e000","payload":{"constraints_applied":{"mode":"DEGRADED"},"context_snapshot_hash":"sha256:5b1bb1b57322632ca395d30566fc58c31d96ff9a8ca5b353eee66921f3dafcd1","params":{"action":"block","notes":"corruption truncated jsonl vector","rule_id":"vm-demo-corruption","target":"api.example.com"},"reason_code":"integrity_degraded","reason_text":"corruption drill (expected truncation)","side_effects":"none","would_have_done":{"op":"cloudflare.waf.apply_rule.v1","op_digest":"sha256:2e6864e10c30e74398dd04b48322d13a21e535b9a1f1ab93425fa7cd4b04e000"}},"prev_event_hash":"sha256:99beb8c6cf0d90550f9bfbc63b49b497d906a4ba967a6c214feaa2abaa36f22e","result":"deny","seq":2,"trace_id":"ffffffff-ffff-4fff-8fff-ffffffffffff","ts":"2025-03-17T03:17:43Z"}
{"actor":"did:vm:sentinel:demo","cap_hash":"none","event_hash":"sha256:35195a1c29a356e4284d8b112d1751b68d7cf284486d570cd0f8154b31971155","event_id":"00000000-0000-4000-8000-000000000204","event_type":"root_published","op":"sentinel.root_published.v1","op_digest":"sha256:188abbdb94b993cf8e542d6dca2e760abe421698ebeda6bbac0c655cd6e21dda","payload":{"params":{"coverage_seq":2},"root_hex":"sha256:95d9228665adf0eec74481ef926a477ac163324cbbd374fd579aeb69b1222264"},"prev_event_hash":"sha256:97545c07d685e6c41c52a11ca3b4ba4cba38f137c943f145e23678c1bdaac5a2","result":"ok","seq":3,"trace_id":"99999999-9999-4999-8999-999999999999","ts":"2025-03-17T03:17:44Z"}
{"actor":"did:vm:sentinel:demo","cap_hash":"none","event_hash":"sha256:65d7cc94c55941060e631ab53afe9d9b41239f4b069c88d1276f8436100816f8","event_id":"00000000-0000-4000-8000-000000000205","event_type":"seal_created","op":"sentinel.seal_created.v1","op_digest":"sha256:4a48d5d29aa855839b0d1ff9747f7602d03b01ebdaa1fbcf491be59cbeaf1548","payload":{"params":{"canonicalization_version":"sentinel-event-jcs-v1","hash_algo":"sha256","seal_id":"ouroboros_seal_20250317_031742Z_corruption_truncated_jsonl","since_seq":0,"until_seq":4}},"prev_event_hash":"sha256:35195a1c29a356e4284d8b112d1751b68d7cf284486d570cd0f8154b31971155","result":"ok","seq":4,"trace_id":"88888888-8888-4888-8888-888888888888","ts"

View File

@@ -0,0 +1,6 @@
# Sentinel root history (seq -> merkle root)
seq=0 root=sha256:521abeea9c029b319e4753fe28aa3900e2be0bad6609548bb33c742f3d1aeb76
seq=1 root=sha256:6da5f7f245313afb796712809339e325f2c8b91512fdce9b9f8e80c4b597cbd6
seq=2 root=sha256:95d9228665adf0eec74481ef926a477ac163324cbbd374fd579aeb69b1222264
seq=3 root=sha256:6485a940d63970bd1bba392d3260c7e6a46d67a5d8299e36f0d4691fdfdcde29
seq=4 root=sha256:2859d129262ea2417678da4c21dde5c564ca2c0ae8124b55912a71eb45320a23

View File

@@ -0,0 +1 @@
{"canonicalization_version":"sentinel-event-jcs-v1","created_at":"2025-03-17T03:17:42Z","files":{"integrity":"integrity.json","receipts":"receipts.jsonl","roots":"roots.txt","verifier_manifest":"verifier_manifest.json"},"format":"vm-sentinel-seal-v1","hash_algo":"sha256","instance_id":"did:vm:sentinel:demo","ledger_type":"jsonl","range":{"since_seq":0,"since_ts":"2025-03-17T03:17:40Z","until_seq":4,"until_ts":"2025-03-17T03:17:45Z"},"root":{"end":"sha256:2859d129262ea2417678da4c21dde5c564ca2c0ae8124b55912a71eb45320a23","seq":4,"start":"sha256:2e1cfa82b035c26cbbbdae632cea070514eb8b773f616aaeaf668e2f0be8f10d"},"schema_version":"1.0.0","seal_id":"ouroboros_seal_20250317_031742Z_corruption_truncated_jsonl","sentinel_version":"0.1.0"}

View File

@@ -0,0 +1 @@
{"canonicalization_version":"sentinel-event-jcs-v1","format":"vm-sentinel-verifier-manifest-v1","hash_algo":"sha256","schema_version":"1.0.0","sentinel_version":"0.1.0","verifier":{"name":"vm_verify_sentinel_bundle.py","version":"0.1.0"}}