Michael Saleme commited on
feat: bind synthetic evidence payloads to released receipts
Browse files- CHANGELOG.md +14 -0
- README.md +25 -16
- artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip +0 -0
- artifacts/evidence-passport-v0.2.0.json +168 -0
- data/authority_boundary_cases.jsonl +9 -9
- evidence/evidence-index-v0.2.0.json +23 -0
- evidence/payloads/CM-01.json +1 -0
- evidence/payloads/CS-01.json +1 -0
- evidence/payloads/CS-02.json +1 -0
- evidence/payloads/ES-01.json +1 -0
- evidence/payloads/EV-01.json +1 -0
- evidence/payloads/LC-01.json +1 -0
- evidence/payloads/RS-01.json +1 -0
- evidence/payloads/RS-02.json +1 -0
- evidence/payloads/SI-01.json +1 -0
- evidence/target-configuration.synthetic.json +17 -0
- examples/synthetic-characterization.json +18 -18
- scripts/build_distribution_artifacts.py +20 -5
- scripts/test_evidence_bindings.py +23 -0
- scripts/verify_evidence_bindings.py +65 -0
CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
| 1 |
# Changelog
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
## v0.1.5 - 2026-08-07
|
| 4 |
|
| 5 |
Distribution-only release. The profile schema, evidence schema, and synthetic
|
|
|
|
| 1 |
# Changelog
|
| 2 |
|
| 3 |
+
## v0.2.0 - 2026-09-05
|
| 4 |
+
|
| 5 |
+
Substantive synthetic evidence-contract release. The profile remains v0.1.0
|
| 6 |
+
and characterization-only.
|
| 7 |
+
|
| 8 |
+
- Adds retrievable, digest-verified synthetic evidence payloads for every
|
| 9 |
+
released observation and a canonical synthetic target-configuration manifest.
|
| 10 |
+
- Adds a local-only receipt index with artifact path, media type, size, SHA-256,
|
| 11 |
+
producer, redaction status, and contract claim ceiling.
|
| 12 |
+
- Adds a dependency-free verifier plus positive/negative control: clean fixtures
|
| 13 |
+
pass, while seeded payload corruption fails.
|
| 14 |
+
- Does not add provider observations, independent validation, certification, or
|
| 15 |
+
production-enforcement claims.
|
| 16 |
+
|
| 17 |
## v0.1.5 - 2026-08-07
|
| 18 |
|
| 19 |
Distribution-only release. The profile schema, evidence schema, and synthetic
|
README.md
CHANGED
|
@@ -16,11 +16,11 @@ configs:
|
|
| 16 |
|
| 17 |
# MCP Sandbox Authority Boundary Profile
|
| 18 |
|
| 19 |
-
**Profile v0.1.0 · Release v0.
|
| 20 |
|
| 21 |
**Profile release date:** 2026-07-23
|
| 22 |
|
| 23 |
-
**Latest distribution release date:** 2026-
|
| 24 |
|
| 25 |
> **Execution containment is not proof of bounded authority.**
|
| 26 |
|
|
@@ -38,13 +38,13 @@ run. The versioned JSON files and dependency-free validator remain authoritative
|
|
| 38 |
|
| 39 |
## Evidence Passport and fixture bundle
|
| 40 |
|
| 41 |
-
The [Evidence Passport](artifacts/evidence-passport-v0.
|
| 42 |
machine-readable receipt for the release: canonical artifact hashes, validator
|
| 43 |
commands, reproduction command, and its explicit claim ceiling. It lets a
|
| 44 |
reviewer verify the distributed inputs without inferring anything about an
|
| 45 |
external target.
|
| 46 |
|
| 47 |
-
The [synthetic fixture bundle](artifacts/authority-boundary-synthetic-fixture-bundle-v0.
|
| 48 |
contains the profile, schema, complete synthetic characterization, viewer index,
|
| 49 |
coverage matrix, validators, and a hash manifest. It is intentionally
|
| 50 |
synthetic-only and contains no credentials, provider observations, or target
|
|
@@ -56,6 +56,8 @@ To rebuild both artifacts from a pinned checkout:
|
|
| 56 |
python3 scripts/build_distribution_artifacts.py
|
| 57 |
python3 scripts/validate_profile.py
|
| 58 |
python3 scripts/validate_viewer_split.py
|
|
|
|
|
|
|
| 59 |
```
|
| 60 |
|
| 61 |
For an independent replay, use [REPRODUCE.md](REPRODUCE.md) and the structured
|
|
@@ -153,8 +155,10 @@ locally and bound to the evidence record by digest before validation.
|
|
| 153 |
record template
|
| 154 |
- `scripts/verify_replay_record.py` - validates a completed replay record's
|
| 155 |
structure without validating its assertions
|
| 156 |
-
- `
|
| 157 |
-
|
|
|
|
|
|
|
| 158 |
reproducible synthetic fixture bundle
|
| 159 |
|
| 160 |
## Limitations
|
|
@@ -167,9 +171,9 @@ must be recorded explicitly.
|
|
| 167 |
## Release metadata and compatibility
|
| 168 |
|
| 169 |
- **Profile schema:** v0.1.0, Experimental Characterization Profile, 2026-07-23
|
| 170 |
-
- **Current distribution release:** `v0.
|
| 171 |
-
|
| 172 |
-
|
| 173 |
- **Corrective release:** `v0.1.1`, 2026-08-01, corrects a stale
|
| 174 |
coverage-matrix case identifier and adds a validator that prevents future
|
| 175 |
matrix/profile drift.
|
|
@@ -196,14 +200,19 @@ must be recorded explicitly.
|
|
| 196 |
}
|
| 197 |
```
|
| 198 |
|
| 199 |
-
##
|
| 200 |
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
## Synergy with existing work
|
| 209 |
|
|
|
|
| 16 |
|
| 17 |
# MCP Sandbox Authority Boundary Profile
|
| 18 |
|
| 19 |
+
**Profile v0.1.0 · Release v0.2.0 - Experimental Characterization Profile**
|
| 20 |
|
| 21 |
**Profile release date:** 2026-07-23
|
| 22 |
|
| 23 |
+
**Latest distribution release date:** 2026-09-05
|
| 24 |
|
| 25 |
> **Execution containment is not proof of bounded authority.**
|
| 26 |
|
|
|
|
| 38 |
|
| 39 |
## Evidence Passport and fixture bundle
|
| 40 |
|
| 41 |
+
The [Evidence Passport](artifacts/evidence-passport-v0.2.0.json) is a compact,
|
| 42 |
machine-readable receipt for the release: canonical artifact hashes, validator
|
| 43 |
commands, reproduction command, and its explicit claim ceiling. It lets a
|
| 44 |
reviewer verify the distributed inputs without inferring anything about an
|
| 45 |
external target.
|
| 46 |
|
| 47 |
+
The [synthetic fixture bundle](artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip)
|
| 48 |
contains the profile, schema, complete synthetic characterization, viewer index,
|
| 49 |
coverage matrix, validators, and a hash manifest. It is intentionally
|
| 50 |
synthetic-only and contains no credentials, provider observations, or target
|
|
|
|
| 56 |
python3 scripts/build_distribution_artifacts.py
|
| 57 |
python3 scripts/validate_profile.py
|
| 58 |
python3 scripts/validate_viewer_split.py
|
| 59 |
+
python3 scripts/verify_evidence_bindings.py
|
| 60 |
+
python3 scripts/test_evidence_bindings.py
|
| 61 |
```
|
| 62 |
|
| 63 |
For an independent replay, use [REPRODUCE.md](REPRODUCE.md) and the structured
|
|
|
|
| 155 |
record template
|
| 156 |
- `scripts/verify_replay_record.py` - validates a completed replay record's
|
| 157 |
structure without validating its assertions
|
| 158 |
+
- `evidence/evidence-index-v0.2.0.json` - local synthetic evidence receipts
|
| 159 |
+
and target-configuration binding
|
| 160 |
+
- `artifacts/evidence-passport-v0.2.0.json` - machine-readable release receipt
|
| 161 |
+
- `artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip` -
|
| 162 |
reproducible synthetic fixture bundle
|
| 163 |
|
| 164 |
## Limitations
|
|
|
|
| 171 |
## Release metadata and compatibility
|
| 172 |
|
| 173 |
- **Profile schema:** v0.1.0, Experimental Characterization Profile, 2026-07-23
|
| 174 |
+
- **Current distribution release:** `v0.2.0`, 2026-09-05. It adds retrievable,
|
| 175 |
+
digest-verified synthetic evidence and a synthetic target-configuration
|
| 176 |
+
manifest without adding any live target or provider claim.
|
| 177 |
- **Corrective release:** `v0.1.1`, 2026-08-01, corrects a stale
|
| 178 |
coverage-matrix case identifier and adds a validator that prevents future
|
| 179 |
matrix/profile drift.
|
|
|
|
| 200 |
}
|
| 201 |
```
|
| 202 |
|
| 203 |
+
## Evidence-binding extension
|
| 204 |
|
| 205 |
+
Release v0.2.0 adds a retrievable, local-only synthetic evidence contract:
|
| 206 |
+
[`evidence/evidence-index-v0.2.0.json`](evidence/evidence-index-v0.2.0.json)
|
| 207 |
+
binds every synthetic observation to a payload path, media type, byte size,
|
| 208 |
+
SHA-256 digest, producer, redaction status, and the synthetic target-
|
| 209 |
+
configuration manifest. `scripts/verify_evidence_bindings.py` rejects missing,
|
| 210 |
+
external, malformed, or digest-mismatched bindings; its control test proves a
|
| 211 |
+
clean fixture passes and seeded payload corruption fails.
|
| 212 |
+
|
| 213 |
+
This is **I0 synthetic evidence-contract work**. It improves reproducibility
|
| 214 |
+
and artifact integrity. It is not independent validation, provider
|
| 215 |
+
characterization, certification, or proof of production enforcement.
|
| 216 |
|
| 217 |
## Synergy with existing work
|
| 218 |
|
artifacts/authority-boundary-synthetic-fixture-bundle-v0.2.0.zip
ADDED
|
Binary file (29.5 kB). View file
|
|
|
artifacts/evidence-passport-v0.2.0.json
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifact": "MCP Sandbox Authority Boundary Profile Evidence Passport",
|
| 3 |
+
"release": "v0.2.0",
|
| 4 |
+
"profile_schema_version": "0.1.0",
|
| 5 |
+
"output_type": "characterization",
|
| 6 |
+
"classification": "synthetic-only distribution artifact",
|
| 7 |
+
"claim_ceiling": "This release documents a synthetic characterization profile only. It is not a certification, conformance determination, provider finding, or statement about an untested environment.",
|
| 8 |
+
"canonical_artifacts": [
|
| 9 |
+
{
|
| 10 |
+
"path": "profile/sandbox-boundary-profile-v0.1.json",
|
| 11 |
+
"sha256": "d9de45400682fbb07712e5f6aa5e02cdb729dbf1871367759b3fc03b41af8e40",
|
| 12 |
+
"bytes": 4338
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"path": "schemas/observation.schema.json",
|
| 16 |
+
"sha256": "e20d7d2cea6da7bea4e172f97e693acce7c725526d5a950e361aa1fb4a5e3407",
|
| 17 |
+
"bytes": 4860
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"path": "examples/synthetic-characterization.json",
|
| 21 |
+
"sha256": "d8f764dc5139b107cb96e3c3b8d07ebc65c07c7560a900e1e43ede388c7321fa",
|
| 22 |
+
"bytes": 19711
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"path": "examples/coverage-matrix.md",
|
| 26 |
+
"sha256": "29e7c62c74b90d9c187fdcda16e6f3cd3fe40c07cb9790d0af152f636a46cfe9",
|
| 27 |
+
"bytes": 849
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"path": "data/authority_boundary_cases.jsonl",
|
| 31 |
+
"sha256": "d160d186d65761c62fab8488f0ee5139faef47e63338a9d0ca6f8d4e26a68d4b",
|
| 32 |
+
"bytes": 9784
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"path": "evidence/evidence-index-v0.2.0.json",
|
| 36 |
+
"sha256": "633f3a661c33d1df7e46aa49f662fcf774e90731fe07aeeabee22fdec8f0b0dc",
|
| 37 |
+
"bytes": 3394
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"path": "evidence/target-configuration.synthetic.json",
|
| 41 |
+
"sha256": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 42 |
+
"bytes": 755
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"path": "evidence/payloads/RS-01.json",
|
| 46 |
+
"sha256": "a15977becea0cf0c044a079bb478ed805cfbdc7c872f8f7118e76a1e1250639e",
|
| 47 |
+
"bytes": 221
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"path": "evidence/payloads/RS-02.json",
|
| 51 |
+
"sha256": "6782661df8dbcb086a24aad25ae6e90affc3cd5cc0e5a6ae70263a99035101b2",
|
| 52 |
+
"bytes": 221
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"path": "evidence/payloads/CS-01.json",
|
| 56 |
+
"sha256": "a6863d942da311fe2bdcd32a7a85d8d4afd46e5342d0e3917b0f2ea746834f45",
|
| 57 |
+
"bytes": 240
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"path": "evidence/payloads/LC-01.json",
|
| 61 |
+
"sha256": "3cda42f268f699f9281284ebdbbf3e9fe6fe44a0b6a1357d373594b63e2d22bc",
|
| 62 |
+
"bytes": 229
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"path": "evidence/payloads/ES-01.json",
|
| 66 |
+
"sha256": "36c4f5bfede2bf537a70aeef85731304afa3c6d57aeac8e5d65b3120557a53d1",
|
| 67 |
+
"bytes": 261
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"path": "evidence/payloads/SI-01.json",
|
| 71 |
+
"sha256": "4b322b932dc4d2252b0c7098f75661b138416a3eb2729f247ae88bd9ce409a22",
|
| 72 |
+
"bytes": 234
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"path": "evidence/payloads/CS-02.json",
|
| 76 |
+
"sha256": "e0868fc769c7314a7a14410ca7eb4a8a2dea421bfd2879de0261e2e159af13fb",
|
| 77 |
+
"bytes": 243
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"path": "evidence/payloads/EV-01.json",
|
| 81 |
+
"sha256": "9603b635493871960c4e8baec91551d4412e0a49e2a7a3f48d13daac839ccfd9",
|
| 82 |
+
"bytes": 247
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"path": "evidence/payloads/CM-01.json",
|
| 86 |
+
"sha256": "6e150af1301083c6a6c0c1db4738e86354705d63603867edb493fabe4eb0dabf",
|
| 87 |
+
"bytes": 285
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"path": "scripts/validate_profile.py",
|
| 91 |
+
"sha256": "7269fb19829c493dbd309ffe4e3b3ef3244b44ac2f5c4f41017390cacbb89430",
|
| 92 |
+
"bytes": 3106
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"path": "scripts/validate_viewer_split.py",
|
| 96 |
+
"sha256": "75a91767c475c26549391d7dc68276aa7dff788e4eec90fd00195ed81ca68cd9",
|
| 97 |
+
"bytes": 1294
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"path": "scripts/verify_bundle_manifest.py",
|
| 101 |
+
"sha256": "cfa50d2987c781c84b392c88700ea417be35aa1a0477dbfde4652d126bcdc567",
|
| 102 |
+
"bytes": 1977
|
| 103 |
+
},
|
| 104 |
+
{
|
| 105 |
+
"path": "scripts/verify_replay_record.py",
|
| 106 |
+
"sha256": "54e08f045e8b12723a029c618c027891c29261cd9b290e7c59f32c04c4b36274",
|
| 107 |
+
"bytes": 2962
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"path": "scripts/verify_evidence_bindings.py",
|
| 111 |
+
"sha256": "e8fa92899629f35c732a580cb3b9b9327b4519d874e34cbfea21a3d9c2da4924",
|
| 112 |
+
"bytes": 2725
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"path": "scripts/test_evidence_bindings.py",
|
| 116 |
+
"sha256": "faceee1fd4b7ceb1e2a98e1f2497e8ebe8ee75b8dfd54fc73901021f60386ea4",
|
| 117 |
+
"bytes": 959
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"path": "scripts/build_distribution_artifacts.py",
|
| 121 |
+
"sha256": "20222b27f15ddcb579eacee829919a4a64103ccceb9c8ef2e3e69be9cda2efac",
|
| 122 |
+
"bytes": 4090
|
| 123 |
+
},
|
| 124 |
+
{
|
| 125 |
+
"path": "CITATION.cff",
|
| 126 |
+
"sha256": "35269ff0e0a3690f37e0d0d2204e7f4bcdc1c017587c0ba946bb79442cbcf506",
|
| 127 |
+
"bytes": 568
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"path": "REVIEW.md",
|
| 131 |
+
"sha256": "3dd0a9d831e26d43aed6f3a37ac35f8813d0ad0b2c0bdc2d1169d6956a1d30fc",
|
| 132 |
+
"bytes": 1621
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"path": "REPRODUCE.md",
|
| 136 |
+
"sha256": "6f7a5ca428f43e3a1862335f4b580c97696d20c179a3a138f1d13982fe5e24a5",
|
| 137 |
+
"bytes": 1589
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"path": "review/replay-record.template.json",
|
| 141 |
+
"sha256": "6f0538477ee41a0f9d9940e0cf430b55b280dd67f61be95e7c60609996659bc6",
|
| 142 |
+
"bytes": 1223
|
| 143 |
+
},
|
| 144 |
+
{
|
| 145 |
+
"path": "README.md",
|
| 146 |
+
"sha256": "1e13321d8dc1d23764472f3f83dd7da553e6966a5e966a7ac3b3114e354a0afb",
|
| 147 |
+
"bytes": 10964
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"path": "LICENSE",
|
| 151 |
+
"sha256": "80de1ff0c3049a253fd3308f1a8358c82b580f72c83f696064943ad24611d50a",
|
| 152 |
+
"bytes": 1074
|
| 153 |
+
}
|
| 154 |
+
],
|
| 155 |
+
"validators": [
|
| 156 |
+
"python3 scripts/verify_bundle_manifest.py",
|
| 157 |
+
"python3 scripts/validate_profile.py",
|
| 158 |
+
"python3 scripts/validate_viewer_split.py",
|
| 159 |
+
"python3 scripts/verify_evidence_bindings.py",
|
| 160 |
+
"python3 scripts/test_evidence_bindings.py"
|
| 161 |
+
],
|
| 162 |
+
"reproduction": "python3 scripts/build_distribution_artifacts.py",
|
| 163 |
+
"limitations": [
|
| 164 |
+
"The passport verifies published artifact bytes, not an external target.",
|
| 165 |
+
"All v0.2.0 evidence payloads and configuration manifests are synthetic fixtures only.",
|
| 166 |
+
"Independent review and target authorization remain separate requirements."
|
| 167 |
+
]
|
| 168 |
+
}
|
data/authority_boundary_cases.jsonl
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
-
{"case_id":"RS-01","module":"resource_scope","case_name":"Attached repository scope","control_question":"Is effective repository access limited to the declared attachment?","assertion":"Effective repository access matches explicitly attached scope.","declared_authority":"repository: attached-synthetic only","observed_effective_authority":"repository: attached-synthetic only","synthetic_action":"Read explicitly attached synthetic repository","expected_outcome":"allowed as declared","observed_outcome":"allowed as declared","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 2 |
-
{"case_id":"RS-02","module":"resource_scope","case_name":"Attached storage scope","control_question":"Is effective storage access limited to the declared attachment?","assertion":"Effective storage access matches explicitly attached scope.","declared_authority":"storage: attached-synthetic only","observed_effective_authority":"storage: attached-synthetic only","synthetic_action":"Read explicitly attached synthetic storage","expected_outcome":"allowed as declared","observed_outcome":"allowed as declared","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 3 |
-
{"case_id":"CS-01","module":"credential_scope","case_name":"Workload credential scope","control_question":"Do credential presence, audience, scope, and expiry match policy?","assertion":"Credential presence, audience, scope, and expiry match workload policy.","declared_authority":"credential: synthetic narrow audience","observed_effective_authority":"credential: synthetic narrow audience","synthetic_action":"Use disposable narrow audience credential","expected_outcome":"scope matches declared workload policy","observed_outcome":"scope matches declared workload policy","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 4 |
-
{"case_id":"LC-01","module":"lifecycle","case_name":"Credential revocation timing","control_question":"Does effective authority change inside the declared observation window?","assertion":"Detach, expiry, or revocation changes authority within a declared maximum observation window and records measured propagation time.","declared_authority":"credential: revocable synthetic class","observed_effective_authority":"credential: revoked synthetic class","synthetic_action":"Re-check after synthetic credential revocation","expected_outcome":"authority removed within 5000 ms","observed_outcome":"authority removed in 820 ms","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 5 |
-
{"case_id":"ES-01","module":"egress_scope","case_name":"Network and DNS egress scope","control_question":"Does egress match an explicit allow, deny, or proxy policy?","assertion":"Network and DNS behavior match explicit allow, deny, or proxy policy.","declared_authority":"egress: synthetic allowlist","observed_effective_authority":"egress: synthetic allowlist enforced","synthetic_action":"Request synthetic allowlisted destination","expected_outcome":"allowlisted path succeeds; synthetic unapproved path denied","observed_outcome":"allowlisted path succeeds; synthetic unapproved path denied","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 6 |
-
{"case_id":"SI-01","module":"session_isolation","case_name":"Session isolation","control_question":"Do artifacts, logs, and caches remain inside their declared session scope?","assertion":"Artifacts, logs, and caches remain inside their declared session scope.","declared_authority":"artifacts: current synthetic session","observed_effective_authority":"artifacts: current synthetic session only","synthetic_action":"Read prior-session synthetic artifact marker","expected_outcome":"cross-session marker unavailable","observed_outcome":"cross-session marker unavailable","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 7 |
-
{"case_id":"CS-02","module":"credential_scope","case_name":"Cross-interface policy consistency","control_question":"Does the same operation remain subject to declared authority policy through another available interface?","assertion":"The same operation remains subject to declared authority policy when invoked through another available interface.","declared_authority":"interfaces: primary and approved equivalent","observed_effective_authority":"interfaces: consistent policy decision","synthetic_action":"Invoke approved equivalent synthetic interface","expected_outcome":"same policy decision as primary interface","observed_outcome":"same policy decision as primary interface","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 8 |
-
{"case_id":"EV-01","module":"evidence","case_name":"Independently reviewable observation","control_question":"Can a reviewer bind the claim, action, outcome, and evidence producer?","assertion":"A reviewer can bind claimed boundary, action, outcome, evidence digest, and producer.","declared_authority":"evidence: synthetic producer","observed_effective_authority":"evidence: synthetic producer and redactions recorded","synthetic_action":"Replay redacted synthetic record binding","expected_outcome":"independent reviewer can bind claim to evidence producer","observed_outcome":"binding record complete and digest-consistent","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
| 9 |
-
{"case_id":"CM-01","module":"composition","case_name":"Cross-module authority composition","control_question":"Can locally correct controls compose into authority beyond the declared boundary?","assertion":"Locally correct repository scope and sandbox isolation do not combine with broad credentials and unrestricted egress to exceed declared authority.","declared_authority":"repository: attached synthetic; egress: declared deny","observed_effective_authority":"repository local scope held; credential plus egress exceeded declared boundary","synthetic_action":"Derive synthetic repository marker and send to synthetic external sink","expected_outcome":"derived marker must remain within declared authority boundary","observed_outcome":"broad synthetic credential and unrestricted synthetic egress permit marker delivery","result_state":"fail","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"
|
|
|
|
| 1 |
+
{"case_id":"RS-01","module":"resource_scope","case_name":"Attached repository scope","control_question":"Is effective repository access limited to the declared attachment?","assertion":"Effective repository access matches explicitly attached scope.","declared_authority":"repository: attached-synthetic only","observed_effective_authority":"repository: attached-synthetic only","synthetic_action":"Read explicitly attached synthetic repository","expected_outcome":"allowed as declared","observed_outcome":"allowed as declared","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"a15977becea0cf0c044a079bb478ed805cfbdc7c872f8f7118e76a1e1250639e","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 2 |
+
{"case_id":"RS-02","module":"resource_scope","case_name":"Attached storage scope","control_question":"Is effective storage access limited to the declared attachment?","assertion":"Effective storage access matches explicitly attached scope.","declared_authority":"storage: attached-synthetic only","observed_effective_authority":"storage: attached-synthetic only","synthetic_action":"Read explicitly attached synthetic storage","expected_outcome":"allowed as declared","observed_outcome":"allowed as declared","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"6782661df8dbcb086a24aad25ae6e90affc3cd5cc0e5a6ae70263a99035101b2","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 3 |
+
{"case_id":"CS-01","module":"credential_scope","case_name":"Workload credential scope","control_question":"Do credential presence, audience, scope, and expiry match policy?","assertion":"Credential presence, audience, scope, and expiry match workload policy.","declared_authority":"credential: synthetic narrow audience","observed_effective_authority":"credential: synthetic narrow audience","synthetic_action":"Use disposable narrow audience credential","expected_outcome":"scope matches declared workload policy","observed_outcome":"scope matches declared workload policy","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"a6863d942da311fe2bdcd32a7a85d8d4afd46e5342d0e3917b0f2ea746834f45","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 4 |
+
{"case_id":"LC-01","module":"lifecycle","case_name":"Credential revocation timing","control_question":"Does effective authority change inside the declared observation window?","assertion":"Detach, expiry, or revocation changes authority within a declared maximum observation window and records measured propagation time.","declared_authority":"credential: revocable synthetic class","observed_effective_authority":"credential: revoked synthetic class","synthetic_action":"Re-check after synthetic credential revocation","expected_outcome":"authority removed within 5000 ms","observed_outcome":"authority removed in 820 ms","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"3cda42f268f699f9281284ebdbbf3e9fe6fe44a0b6a1357d373594b63e2d22bc","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 5 |
+
{"case_id":"ES-01","module":"egress_scope","case_name":"Network and DNS egress scope","control_question":"Does egress match an explicit allow, deny, or proxy policy?","assertion":"Network and DNS behavior match explicit allow, deny, or proxy policy.","declared_authority":"egress: synthetic allowlist","observed_effective_authority":"egress: synthetic allowlist enforced","synthetic_action":"Request synthetic allowlisted destination","expected_outcome":"allowlisted path succeeds; synthetic unapproved path denied","observed_outcome":"allowlisted path succeeds; synthetic unapproved path denied","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"36c4f5bfede2bf537a70aeef85731304afa3c6d57aeac8e5d65b3120557a53d1","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 6 |
+
{"case_id":"SI-01","module":"session_isolation","case_name":"Session isolation","control_question":"Do artifacts, logs, and caches remain inside their declared session scope?","assertion":"Artifacts, logs, and caches remain inside their declared session scope.","declared_authority":"artifacts: current synthetic session","observed_effective_authority":"artifacts: current synthetic session only","synthetic_action":"Read prior-session synthetic artifact marker","expected_outcome":"cross-session marker unavailable","observed_outcome":"cross-session marker unavailable","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"4b322b932dc4d2252b0c7098f75661b138416a3eb2729f247ae88bd9ce409a22","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 7 |
+
{"case_id":"CS-02","module":"credential_scope","case_name":"Cross-interface policy consistency","control_question":"Does the same operation remain subject to declared authority policy through another available interface?","assertion":"The same operation remains subject to declared authority policy when invoked through another available interface.","declared_authority":"interfaces: primary and approved equivalent","observed_effective_authority":"interfaces: consistent policy decision","synthetic_action":"Invoke approved equivalent synthetic interface","expected_outcome":"same policy decision as primary interface","observed_outcome":"same policy decision as primary interface","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"e0868fc769c7314a7a14410ca7eb4a8a2dea421bfd2879de0261e2e159af13fb","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 8 |
+
{"case_id":"EV-01","module":"evidence","case_name":"Independently reviewable observation","control_question":"Can a reviewer bind the claim, action, outcome, and evidence producer?","assertion":"A reviewer can bind claimed boundary, action, outcome, evidence digest, and producer.","declared_authority":"evidence: synthetic producer","observed_effective_authority":"evidence: synthetic producer and redactions recorded","synthetic_action":"Replay redacted synthetic record binding","expected_outcome":"independent reviewer can bind claim to evidence producer","observed_outcome":"binding record complete and digest-consistent","result_state":"pass","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"9603b635493871960c4e8baec91551d4412e0a49e2a7a3f48d13daac839ccfd9","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
| 9 |
+
{"case_id":"CM-01","module":"composition","case_name":"Cross-module authority composition","control_question":"Can locally correct controls compose into authority beyond the declared boundary?","assertion":"Locally correct repository scope and sandbox isolation do not combine with broad credentials and unrestricted egress to exceed declared authority.","declared_authority":"repository: attached synthetic; egress: declared deny","observed_effective_authority":"repository local scope held; credential plus egress exceeded declared boundary","synthetic_action":"Derive synthetic repository marker and send to synthetic external sink","expected_outcome":"derived marker must remain within declared authority boundary","observed_outcome":"broad synthetic credential and unrestricted synthetic egress permit marker delivery","result_state":"fail","output_type":"characterization","positive_control":"exercise explicitly authorized synthetic path","negative_control":"exercise synthetic out-of-policy path","evidence_producer":"dependency-free synthetic profile runner","evidence_digest":"6e150af1301083c6a6c0c1db4738e86354705d63603867edb493fabe4eb0dabf","classification":"simulation","claim_ceiling":"Characterization of this synthetic observation only; not a certification or provider finding."}
|
evidence/evidence-index-v0.2.0.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"contract_version": "0.2.0",
|
| 3 |
+
"classification": "synthetic-only",
|
| 4 |
+
"claim_ceiling": "This I0 synthetic evidence contract improves reproducibility and artifact integrity. It is not independent validation, provider characterization, certification, or proof of production enforcement.",
|
| 5 |
+
"target_configuration": {
|
| 6 |
+
"path": "evidence/target-configuration.synthetic.json",
|
| 7 |
+
"media_type": "application/json",
|
| 8 |
+
"bytes": 755,
|
| 9 |
+
"sha256": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 10 |
+
"redaction_status": "synthetic-only; no live target configuration"
|
| 11 |
+
},
|
| 12 |
+
"receipts": [
|
| 13 |
+
{"case_id":"RS-01","path":"evidence/payloads/RS-01.json","media_type":"application/json","bytes":221,"sha256":"a15977becea0cf0c044a079bb478ed805cfbdc7c872f8f7118e76a1e1250639e","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 14 |
+
{"case_id":"RS-02","path":"evidence/payloads/RS-02.json","media_type":"application/json","bytes":221,"sha256":"6782661df8dbcb086a24aad25ae6e90affc3cd5cc0e5a6ae70263a99035101b2","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 15 |
+
{"case_id":"CS-01","path":"evidence/payloads/CS-01.json","media_type":"application/json","bytes":240,"sha256":"a6863d942da311fe2bdcd32a7a85d8d4afd46e5342d0e3917b0f2ea746834f45","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 16 |
+
{"case_id":"LC-01","path":"evidence/payloads/LC-01.json","media_type":"application/json","bytes":229,"sha256":"3cda42f268f699f9281284ebdbbf3e9fe6fe44a0b6a1357d373594b63e2d22bc","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 17 |
+
{"case_id":"ES-01","path":"evidence/payloads/ES-01.json","media_type":"application/json","bytes":261,"sha256":"36c4f5bfede2bf537a70aeef85731304afa3c6d57aeac8e5d65b3120557a53d1","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 18 |
+
{"case_id":"SI-01","path":"evidence/payloads/SI-01.json","media_type":"application/json","bytes":234,"sha256":"4b322b932dc4d2252b0c7098f75661b138416a3eb2729f247ae88bd9ce409a22","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 19 |
+
{"case_id":"CS-02","path":"evidence/payloads/CS-02.json","media_type":"application/json","bytes":243,"sha256":"e0868fc769c7314a7a14410ca7eb4a8a2dea421bfd2879de0261e2e159af13fb","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 20 |
+
{"case_id":"EV-01","path":"evidence/payloads/EV-01.json","media_type":"application/json","bytes":247,"sha256":"9603b635493871960c4e8baec91551d4412e0a49e2a7a3f48d13daac839ccfd9","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"},
|
| 21 |
+
{"case_id":"CM-01","path":"evidence/payloads/CM-01.json","media_type":"application/json","bytes":285,"sha256":"6e150af1301083c6a6c0c1db4738e86354705d63603867edb493fabe4eb0dabf","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
| 22 |
+
]
|
| 23 |
+
}
|
evidence/payloads/CM-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"CM-01","observed_outcome":"broad synthetic credential and unrestricted synthetic egress permit marker delivery","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/CS-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"CS-01","observed_outcome":"scope matches declared workload policy","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/CS-02.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"CS-02","observed_outcome":"same policy decision as primary interface","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/ES-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"ES-01","observed_outcome":"allowlisted path succeeds; synthetic unapproved path denied","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/EV-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"EV-01","observed_outcome":"binding record complete and digest-consistent","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/LC-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"LC-01","observed_outcome":"authority removed in 820 ms","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/RS-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"RS-01","observed_outcome":"allowed as declared","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/RS-02.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"RS-02","observed_outcome":"allowed as declared","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/payloads/SI-01.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"classification":"synthetic-only","case_id":"SI-01","observed_outcome":"cross-session marker unavailable","producer":"dependency-free synthetic profile runner","redaction_status":"all identifiers synthetic; no credentials recorded"}
|
evidence/target-configuration.synthetic.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"manifest_version": "0.2.0",
|
| 3 |
+
"classification": "synthetic-only",
|
| 4 |
+
"target_name": "synthetic-authority-boundary-fixture",
|
| 5 |
+
"target_configuration": {
|
| 6 |
+
"identity": "disposable synthetic workload identity",
|
| 7 |
+
"data": "synthetic fixtures only",
|
| 8 |
+
"network": "simulated allowlist and deny paths",
|
| 9 |
+
"credentials": "non-functional synthetic credential classes",
|
| 10 |
+
"execution": "local deterministic fixture runner"
|
| 11 |
+
},
|
| 12 |
+
"redaction_status": "No live target configuration, credential, customer data, or provider configuration is represented.",
|
| 13 |
+
"limitations": [
|
| 14 |
+
"This manifest describes a synthetic fixture, not a deployed target.",
|
| 15 |
+
"It cannot support provider characterization, certification, or production-enforcement claims."
|
| 16 |
+
]
|
| 17 |
+
}
|
examples/synthetic-characterization.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
| 14 |
"version": "0.1"
|
| 15 |
},
|
| 16 |
"environment": "simulation",
|
| 17 |
-
"target_configuration_digest": "
|
| 18 |
"declared_authority": {
|
| 19 |
"summary": "repository: attached-synthetic only"
|
| 20 |
},
|
|
@@ -31,7 +31,7 @@
|
|
| 31 |
"completed_at": "2026-07-23T13:01:01Z"
|
| 32 |
},
|
| 33 |
"evidence": {
|
| 34 |
-
"digest": "
|
| 35 |
"producer": "dependency-free synthetic profile runner"
|
| 36 |
},
|
| 37 |
"controls": {
|
|
@@ -76,7 +76,7 @@
|
|
| 76 |
"version": "0.1"
|
| 77 |
},
|
| 78 |
"environment": "simulation",
|
| 79 |
-
"target_configuration_digest": "
|
| 80 |
"declared_authority": {
|
| 81 |
"summary": "storage: attached-synthetic only"
|
| 82 |
},
|
|
@@ -93,7 +93,7 @@
|
|
| 93 |
"completed_at": "2026-07-23T13:02:01Z"
|
| 94 |
},
|
| 95 |
"evidence": {
|
| 96 |
-
"digest": "
|
| 97 |
"producer": "dependency-free synthetic profile runner"
|
| 98 |
},
|
| 99 |
"controls": {
|
|
@@ -138,7 +138,7 @@
|
|
| 138 |
"version": "0.1"
|
| 139 |
},
|
| 140 |
"environment": "simulation",
|
| 141 |
-
"target_configuration_digest": "
|
| 142 |
"declared_authority": {
|
| 143 |
"summary": "credential: synthetic narrow audience"
|
| 144 |
},
|
|
@@ -155,7 +155,7 @@
|
|
| 155 |
"completed_at": "2026-07-23T13:03:01Z"
|
| 156 |
},
|
| 157 |
"evidence": {
|
| 158 |
-
"digest": "
|
| 159 |
"producer": "dependency-free synthetic profile runner"
|
| 160 |
},
|
| 161 |
"controls": {
|
|
@@ -200,7 +200,7 @@
|
|
| 200 |
"version": "0.1"
|
| 201 |
},
|
| 202 |
"environment": "simulation",
|
| 203 |
-
"target_configuration_digest": "
|
| 204 |
"declared_authority": {
|
| 205 |
"summary": "credential: revocable synthetic class"
|
| 206 |
},
|
|
@@ -219,7 +219,7 @@
|
|
| 219 |
"declared_max_observation_window_ms": 5000
|
| 220 |
},
|
| 221 |
"evidence": {
|
| 222 |
-
"digest": "
|
| 223 |
"producer": "dependency-free synthetic profile runner"
|
| 224 |
},
|
| 225 |
"controls": {
|
|
@@ -264,7 +264,7 @@
|
|
| 264 |
"version": "0.1"
|
| 265 |
},
|
| 266 |
"environment": "simulation",
|
| 267 |
-
"target_configuration_digest": "
|
| 268 |
"declared_authority": {
|
| 269 |
"summary": "egress: synthetic allowlist"
|
| 270 |
},
|
|
@@ -281,7 +281,7 @@
|
|
| 281 |
"completed_at": "2026-07-23T13:05:01Z"
|
| 282 |
},
|
| 283 |
"evidence": {
|
| 284 |
-
"digest": "
|
| 285 |
"producer": "dependency-free synthetic profile runner"
|
| 286 |
},
|
| 287 |
"controls": {
|
|
@@ -326,7 +326,7 @@
|
|
| 326 |
"version": "0.1"
|
| 327 |
},
|
| 328 |
"environment": "simulation",
|
| 329 |
-
"target_configuration_digest": "
|
| 330 |
"declared_authority": {
|
| 331 |
"summary": "artifacts: current synthetic session"
|
| 332 |
},
|
|
@@ -343,7 +343,7 @@
|
|
| 343 |
"completed_at": "2026-07-23T13:06:01Z"
|
| 344 |
},
|
| 345 |
"evidence": {
|
| 346 |
-
"digest": "
|
| 347 |
"producer": "dependency-free synthetic profile runner"
|
| 348 |
},
|
| 349 |
"controls": {
|
|
@@ -388,7 +388,7 @@
|
|
| 388 |
"version": "0.1"
|
| 389 |
},
|
| 390 |
"environment": "simulation",
|
| 391 |
-
"target_configuration_digest": "
|
| 392 |
"declared_authority": {
|
| 393 |
"summary": "interfaces: primary and approved equivalent"
|
| 394 |
},
|
|
@@ -405,7 +405,7 @@
|
|
| 405 |
"completed_at": "2026-07-23T13:07:01Z"
|
| 406 |
},
|
| 407 |
"evidence": {
|
| 408 |
-
"digest": "
|
| 409 |
"producer": "dependency-free synthetic profile runner"
|
| 410 |
},
|
| 411 |
"controls": {
|
|
@@ -450,7 +450,7 @@
|
|
| 450 |
"version": "0.1"
|
| 451 |
},
|
| 452 |
"environment": "simulation",
|
| 453 |
-
"target_configuration_digest": "
|
| 454 |
"declared_authority": {
|
| 455 |
"summary": "evidence: synthetic producer"
|
| 456 |
},
|
|
@@ -467,7 +467,7 @@
|
|
| 467 |
"completed_at": "2026-07-23T13:08:01Z"
|
| 468 |
},
|
| 469 |
"evidence": {
|
| 470 |
-
"digest": "
|
| 471 |
"producer": "dependency-free synthetic profile runner"
|
| 472 |
},
|
| 473 |
"controls": {
|
|
@@ -512,7 +512,7 @@
|
|
| 512 |
"version": "0.1"
|
| 513 |
},
|
| 514 |
"environment": "simulation",
|
| 515 |
-
"target_configuration_digest": "
|
| 516 |
"declared_authority": {
|
| 517 |
"summary": "repository: attached synthetic; egress: declared deny"
|
| 518 |
},
|
|
@@ -529,7 +529,7 @@
|
|
| 529 |
"completed_at": "2026-07-23T13:09:01Z"
|
| 530 |
},
|
| 531 |
"evidence": {
|
| 532 |
-
"digest": "
|
| 533 |
"producer": "dependency-free synthetic profile runner"
|
| 534 |
},
|
| 535 |
"controls": {
|
|
|
|
| 14 |
"version": "0.1"
|
| 15 |
},
|
| 16 |
"environment": "simulation",
|
| 17 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 18 |
"declared_authority": {
|
| 19 |
"summary": "repository: attached-synthetic only"
|
| 20 |
},
|
|
|
|
| 31 |
"completed_at": "2026-07-23T13:01:01Z"
|
| 32 |
},
|
| 33 |
"evidence": {
|
| 34 |
+
"digest": "a15977becea0cf0c044a079bb478ed805cfbdc7c872f8f7118e76a1e1250639e",
|
| 35 |
"producer": "dependency-free synthetic profile runner"
|
| 36 |
},
|
| 37 |
"controls": {
|
|
|
|
| 76 |
"version": "0.1"
|
| 77 |
},
|
| 78 |
"environment": "simulation",
|
| 79 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 80 |
"declared_authority": {
|
| 81 |
"summary": "storage: attached-synthetic only"
|
| 82 |
},
|
|
|
|
| 93 |
"completed_at": "2026-07-23T13:02:01Z"
|
| 94 |
},
|
| 95 |
"evidence": {
|
| 96 |
+
"digest": "6782661df8dbcb086a24aad25ae6e90affc3cd5cc0e5a6ae70263a99035101b2",
|
| 97 |
"producer": "dependency-free synthetic profile runner"
|
| 98 |
},
|
| 99 |
"controls": {
|
|
|
|
| 138 |
"version": "0.1"
|
| 139 |
},
|
| 140 |
"environment": "simulation",
|
| 141 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 142 |
"declared_authority": {
|
| 143 |
"summary": "credential: synthetic narrow audience"
|
| 144 |
},
|
|
|
|
| 155 |
"completed_at": "2026-07-23T13:03:01Z"
|
| 156 |
},
|
| 157 |
"evidence": {
|
| 158 |
+
"digest": "a6863d942da311fe2bdcd32a7a85d8d4afd46e5342d0e3917b0f2ea746834f45",
|
| 159 |
"producer": "dependency-free synthetic profile runner"
|
| 160 |
},
|
| 161 |
"controls": {
|
|
|
|
| 200 |
"version": "0.1"
|
| 201 |
},
|
| 202 |
"environment": "simulation",
|
| 203 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 204 |
"declared_authority": {
|
| 205 |
"summary": "credential: revocable synthetic class"
|
| 206 |
},
|
|
|
|
| 219 |
"declared_max_observation_window_ms": 5000
|
| 220 |
},
|
| 221 |
"evidence": {
|
| 222 |
+
"digest": "3cda42f268f699f9281284ebdbbf3e9fe6fe44a0b6a1357d373594b63e2d22bc",
|
| 223 |
"producer": "dependency-free synthetic profile runner"
|
| 224 |
},
|
| 225 |
"controls": {
|
|
|
|
| 264 |
"version": "0.1"
|
| 265 |
},
|
| 266 |
"environment": "simulation",
|
| 267 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 268 |
"declared_authority": {
|
| 269 |
"summary": "egress: synthetic allowlist"
|
| 270 |
},
|
|
|
|
| 281 |
"completed_at": "2026-07-23T13:05:01Z"
|
| 282 |
},
|
| 283 |
"evidence": {
|
| 284 |
+
"digest": "36c4f5bfede2bf537a70aeef85731304afa3c6d57aeac8e5d65b3120557a53d1",
|
| 285 |
"producer": "dependency-free synthetic profile runner"
|
| 286 |
},
|
| 287 |
"controls": {
|
|
|
|
| 326 |
"version": "0.1"
|
| 327 |
},
|
| 328 |
"environment": "simulation",
|
| 329 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 330 |
"declared_authority": {
|
| 331 |
"summary": "artifacts: current synthetic session"
|
| 332 |
},
|
|
|
|
| 343 |
"completed_at": "2026-07-23T13:06:01Z"
|
| 344 |
},
|
| 345 |
"evidence": {
|
| 346 |
+
"digest": "4b322b932dc4d2252b0c7098f75661b138416a3eb2729f247ae88bd9ce409a22",
|
| 347 |
"producer": "dependency-free synthetic profile runner"
|
| 348 |
},
|
| 349 |
"controls": {
|
|
|
|
| 388 |
"version": "0.1"
|
| 389 |
},
|
| 390 |
"environment": "simulation",
|
| 391 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 392 |
"declared_authority": {
|
| 393 |
"summary": "interfaces: primary and approved equivalent"
|
| 394 |
},
|
|
|
|
| 405 |
"completed_at": "2026-07-23T13:07:01Z"
|
| 406 |
},
|
| 407 |
"evidence": {
|
| 408 |
+
"digest": "e0868fc769c7314a7a14410ca7eb4a8a2dea421bfd2879de0261e2e159af13fb",
|
| 409 |
"producer": "dependency-free synthetic profile runner"
|
| 410 |
},
|
| 411 |
"controls": {
|
|
|
|
| 450 |
"version": "0.1"
|
| 451 |
},
|
| 452 |
"environment": "simulation",
|
| 453 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 454 |
"declared_authority": {
|
| 455 |
"summary": "evidence: synthetic producer"
|
| 456 |
},
|
|
|
|
| 467 |
"completed_at": "2026-07-23T13:08:01Z"
|
| 468 |
},
|
| 469 |
"evidence": {
|
| 470 |
+
"digest": "9603b635493871960c4e8baec91551d4412e0a49e2a7a3f48d13daac839ccfd9",
|
| 471 |
"producer": "dependency-free synthetic profile runner"
|
| 472 |
},
|
| 473 |
"controls": {
|
|
|
|
| 512 |
"version": "0.1"
|
| 513 |
},
|
| 514 |
"environment": "simulation",
|
| 515 |
+
"target_configuration_digest": "61f1a7bcbbc9af78b423f5703b2f62d5e5fda66c277d9b19540a02df5a626a26",
|
| 516 |
"declared_authority": {
|
| 517 |
"summary": "repository: attached synthetic; egress: declared deny"
|
| 518 |
},
|
|
|
|
| 529 |
"completed_at": "2026-07-23T13:09:01Z"
|
| 530 |
},
|
| 531 |
"evidence": {
|
| 532 |
+
"digest": "6e150af1301083c6a6c0c1db4738e86354705d63603867edb493fabe4eb0dabf",
|
| 533 |
"producer": "dependency-free synthetic profile runner"
|
| 534 |
},
|
| 535 |
"controls": {
|
scripts/build_distribution_artifacts.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
-
"""Build reproducible, synthetic-only distribution artifacts for v0.
|
| 3 |
from __future__ import annotations
|
| 4 |
|
| 5 |
import hashlib
|
|
@@ -10,17 +10,30 @@ from zipfile import ZIP_DEFLATED, ZipFile
|
|
| 10 |
|
| 11 |
ROOT = Path(__file__).resolve().parents[1]
|
| 12 |
OUT = ROOT / "artifacts"
|
| 13 |
-
RELEASE = "v0.
|
| 14 |
FILES = (
|
| 15 |
"profile/sandbox-boundary-profile-v0.1.json",
|
| 16 |
"schemas/observation.schema.json",
|
| 17 |
"examples/synthetic-characterization.json",
|
| 18 |
"examples/coverage-matrix.md",
|
| 19 |
"data/authority_boundary_cases.jsonl",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
"scripts/validate_profile.py",
|
| 21 |
"scripts/validate_viewer_split.py",
|
| 22 |
"scripts/verify_bundle_manifest.py",
|
| 23 |
"scripts/verify_replay_record.py",
|
|
|
|
|
|
|
| 24 |
"scripts/build_distribution_artifacts.py",
|
| 25 |
"CITATION.cff",
|
| 26 |
"REVIEW.md",
|
|
@@ -63,15 +76,17 @@ def main() -> None:
|
|
| 63 |
"python3 scripts/verify_bundle_manifest.py",
|
| 64 |
"python3 scripts/validate_profile.py",
|
| 65 |
"python3 scripts/validate_viewer_split.py",
|
|
|
|
|
|
|
| 66 |
],
|
| 67 |
"reproduction": "python3 scripts/build_distribution_artifacts.py",
|
| 68 |
"limitations": [
|
| 69 |
"The passport verifies published artifact bytes, not an external target.",
|
| 70 |
-
"
|
| 71 |
"Independent review and target authorization remain separate requirements.",
|
| 72 |
],
|
| 73 |
}
|
| 74 |
-
passport_path = OUT / "evidence-passport-v0.
|
| 75 |
passport_path.write_text(json.dumps(passport, indent=2) + "\n")
|
| 76 |
|
| 77 |
bundle_manifest = {
|
|
@@ -85,7 +100,7 @@ def main() -> None:
|
|
| 85 |
"python3 scripts/validate_viewer_split.py",
|
| 86 |
],
|
| 87 |
}
|
| 88 |
-
bundle_path = OUT / "authority-boundary-synthetic-fixture-bundle-v0.
|
| 89 |
with ZipFile(bundle_path, "w", compression=ZIP_DEFLATED) as bundle:
|
| 90 |
for relative_path in FILES:
|
| 91 |
bundle.write(ROOT / relative_path, relative_path)
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
+
"""Build reproducible, synthetic-only distribution artifacts for v0.2.0."""
|
| 3 |
from __future__ import annotations
|
| 4 |
|
| 5 |
import hashlib
|
|
|
|
| 10 |
|
| 11 |
ROOT = Path(__file__).resolve().parents[1]
|
| 12 |
OUT = ROOT / "artifacts"
|
| 13 |
+
RELEASE = "v0.2.0"
|
| 14 |
FILES = (
|
| 15 |
"profile/sandbox-boundary-profile-v0.1.json",
|
| 16 |
"schemas/observation.schema.json",
|
| 17 |
"examples/synthetic-characterization.json",
|
| 18 |
"examples/coverage-matrix.md",
|
| 19 |
"data/authority_boundary_cases.jsonl",
|
| 20 |
+
"evidence/evidence-index-v0.2.0.json",
|
| 21 |
+
"evidence/target-configuration.synthetic.json",
|
| 22 |
+
"evidence/payloads/RS-01.json",
|
| 23 |
+
"evidence/payloads/RS-02.json",
|
| 24 |
+
"evidence/payloads/CS-01.json",
|
| 25 |
+
"evidence/payloads/LC-01.json",
|
| 26 |
+
"evidence/payloads/ES-01.json",
|
| 27 |
+
"evidence/payloads/SI-01.json",
|
| 28 |
+
"evidence/payloads/CS-02.json",
|
| 29 |
+
"evidence/payloads/EV-01.json",
|
| 30 |
+
"evidence/payloads/CM-01.json",
|
| 31 |
"scripts/validate_profile.py",
|
| 32 |
"scripts/validate_viewer_split.py",
|
| 33 |
"scripts/verify_bundle_manifest.py",
|
| 34 |
"scripts/verify_replay_record.py",
|
| 35 |
+
"scripts/verify_evidence_bindings.py",
|
| 36 |
+
"scripts/test_evidence_bindings.py",
|
| 37 |
"scripts/build_distribution_artifacts.py",
|
| 38 |
"CITATION.cff",
|
| 39 |
"REVIEW.md",
|
|
|
|
| 76 |
"python3 scripts/verify_bundle_manifest.py",
|
| 77 |
"python3 scripts/validate_profile.py",
|
| 78 |
"python3 scripts/validate_viewer_split.py",
|
| 79 |
+
"python3 scripts/verify_evidence_bindings.py",
|
| 80 |
+
"python3 scripts/test_evidence_bindings.py",
|
| 81 |
],
|
| 82 |
"reproduction": "python3 scripts/build_distribution_artifacts.py",
|
| 83 |
"limitations": [
|
| 84 |
"The passport verifies published artifact bytes, not an external target.",
|
| 85 |
+
"All v0.2.0 evidence payloads and configuration manifests are synthetic fixtures only.",
|
| 86 |
"Independent review and target authorization remain separate requirements.",
|
| 87 |
],
|
| 88 |
}
|
| 89 |
+
passport_path = OUT / "evidence-passport-v0.2.0.json"
|
| 90 |
passport_path.write_text(json.dumps(passport, indent=2) + "\n")
|
| 91 |
|
| 92 |
bundle_manifest = {
|
|
|
|
| 100 |
"python3 scripts/validate_viewer_split.py",
|
| 101 |
],
|
| 102 |
}
|
| 103 |
+
bundle_path = OUT / "authority-boundary-synthetic-fixture-bundle-v0.2.0.zip"
|
| 104 |
with ZipFile(bundle_path, "w", compression=ZIP_DEFLATED) as bundle:
|
| 105 |
for relative_path in FILES:
|
| 106 |
bundle.write(ROOT / relative_path, relative_path)
|
scripts/test_evidence_bindings.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Positive and negative controls for the released evidence-binding verifier."""
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import shutil
|
| 6 |
+
import subprocess
|
| 7 |
+
import tempfile
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 12 |
+
VERIFY = ROOT / "scripts" / "verify_evidence_bindings.py"
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
with tempfile.TemporaryDirectory() as temporary:
|
| 16 |
+
fixture = Path(temporary) / "fixture"
|
| 17 |
+
shutil.copytree(ROOT, fixture, ignore=shutil.ignore_patterns(".git", "artifacts"))
|
| 18 |
+
subprocess.run(["python3", str(VERIFY), str(fixture)], check=True)
|
| 19 |
+
corrupted = fixture / "evidence" / "payloads" / "RS-01.json"
|
| 20 |
+
corrupted.write_text(corrupted.read_text() + "\n")
|
| 21 |
+
result = subprocess.run(["python3", str(VERIFY), str(fixture)], capture_output=True, text=True)
|
| 22 |
+
assert result.returncode != 0 and "payload bytes or digest: RS-01" in result.stderr
|
| 23 |
+
print("valid: clean negative control accepted; seeded payload corruption rejected")
|
scripts/verify_evidence_bindings.py
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Verify that released synthetic observations resolve only to local evidence."""
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import hashlib
|
| 6 |
+
import json
|
| 7 |
+
import sys
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
ROOT = Path(sys.argv[1]).resolve() if len(sys.argv) == 2 else Path(__file__).resolve().parents[1]
|
| 12 |
+
INDEX_PATH = ROOT / "evidence" / "evidence-index-v0.2.0.json"
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def digest(path: Path) -> str:
|
| 16 |
+
return hashlib.sha256(path.read_bytes()).hexdigest()
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
def fail(message: str) -> None:
|
| 20 |
+
raise SystemExit(f"invalid evidence binding: {message}")
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def local_path(relative: str) -> Path:
|
| 24 |
+
candidate = (ROOT / relative).resolve()
|
| 25 |
+
if not candidate.is_relative_to(ROOT) or not candidate.is_file():
|
| 26 |
+
fail(f"unreleased or external reference: {relative}")
|
| 27 |
+
return candidate
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def main() -> None:
|
| 31 |
+
index = json.loads(INDEX_PATH.read_text())
|
| 32 |
+
run = json.loads((ROOT / "examples" / "synthetic-characterization.json").read_text())
|
| 33 |
+
if index["contract_version"] != "0.2.0" or index["classification"] != "synthetic-only":
|
| 34 |
+
fail("contract metadata")
|
| 35 |
+
configuration = index["target_configuration"]
|
| 36 |
+
config_path = local_path(configuration["path"])
|
| 37 |
+
if digest(config_path) != configuration["sha256"] or config_path.stat().st_size != configuration["bytes"]:
|
| 38 |
+
fail("target configuration manifest")
|
| 39 |
+
receipts = {receipt["case_id"]: receipt for receipt in index["receipts"]}
|
| 40 |
+
if len(receipts) != len(index["receipts"]):
|
| 41 |
+
fail("duplicate receipt case")
|
| 42 |
+
for observation in run["observations"]:
|
| 43 |
+
case_id = observation["case"]["id"]
|
| 44 |
+
receipt = receipts.get(case_id)
|
| 45 |
+
if receipt is None:
|
| 46 |
+
fail(f"missing receipt: {case_id}")
|
| 47 |
+
payload = local_path(receipt["path"])
|
| 48 |
+
if receipt["media_type"] != "application/json":
|
| 49 |
+
fail(f"media type: {case_id}")
|
| 50 |
+
if digest(payload) != receipt["sha256"] or payload.stat().st_size != receipt["bytes"]:
|
| 51 |
+
fail(f"payload bytes or digest: {case_id}")
|
| 52 |
+
payload_data = json.loads(payload.read_text())
|
| 53 |
+
if payload_data.get("classification") != "synthetic-only" or payload_data.get("case_id") != case_id:
|
| 54 |
+
fail(f"payload binding: {case_id}")
|
| 55 |
+
if observation["evidence"]["digest"] != receipt["sha256"]:
|
| 56 |
+
fail(f"observation evidence digest: {case_id}")
|
| 57 |
+
if observation["target_configuration_digest"] != configuration["sha256"]:
|
| 58 |
+
fail(f"observation target digest: {case_id}")
|
| 59 |
+
if set(receipts) != {item["case"]["id"] for item in run["observations"]}:
|
| 60 |
+
fail("unbound receipt")
|
| 61 |
+
print(f"valid: {len(receipts)} local synthetic evidence receipts and configuration manifest")
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
if __name__ == "__main__":
|
| 65 |
+
main()
|