Repository navigation
Expand file tree
/
Copy pathexecuted-composition-reader.html
More file actions
140 lines (140 loc) · 49.2 KB
/
Copy pathexecuted-composition-reader.html
File metadata and controls
140 lines (140 loc) · 49.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!doctype html>
<html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'sha256-zfag2Nmk3hPngeIWVNMrQ7b0cHu7OQmcjVhIlU6g4Io='; style-src 'unsafe-inline'; connect-src 'none'; base-uri 'none'; form-action 'none'">
<title>Executed composition — Legitimacy</title>
<style>
:root{font-family:system-ui,sans-serif;color:#172334;background:#f6f5f0;font-size:16px;line-height:1.55}*{box-sizing:border-box}body{margin:0}main{max-width:1180px;margin:auto;padding:48px 28px}h1{font-size:clamp(2.3rem,5vw,4.2rem);line-height:1.06;letter-spacing:-.055em;max-width:850px;margin:20px 0}h2{font-size:1.35rem;letter-spacing:-.02em}h3{font-size:1rem}p{max-width:850px}.eyebrow{color:#456078;font-size:.8rem;letter-spacing:.15em;text-transform:uppercase;font-weight:700}.lead{font-size:1.18rem;color:#47566a;max-width:760px}header{padding-bottom:28px;border-bottom:2px solid #172334}.contract{background:#e8edf1;border-left:4px solid #386582;padding:18px 24px;margin:26px 0}.contract code{overflow-wrap:anywhere}#integrity,.note{font-size:.84rem;color:#536477}#runs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}button,select{font:inherit;border:1px solid #b8c2ca;border-radius:5px;padding:9px 13px;background:#fff;color:#172334;cursor:pointer}button[aria-pressed=true]{background:#203d55;color:#fff;border-color:#203d55}button:focus-visible,select:focus-visible{outline:3px solid #ad6916;outline-offset:2px}.panel{background:white;border:1px solid #d4d9dc;border-radius:8px;padding:24px;margin:16px 0}.status{display:flex;gap:35px;flex-wrap:wrap}.label{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:#536477}.verdict,#governance{font-size:2rem;font-weight:700}.violated,.invalid{color:#a33326}.safe{color:#216648}.inconclusive{color:#8a6017}#run-id{overflow-wrap:anywhere;font-family:monospace;color:#536477}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:.87rem}th{text-align:left;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:#536477}td,th{padding:12px 10px;border-bottom:1px solid #e3e7e9;vertical-align:top}td:last-child{font-family:monospace;overflow-wrap:anywhere;min-width:140px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f5f6;padding:15px;font-size:.83rem}footer{margin-top:35px;padding-top:22px;border-top:1px solid #b8c2ca;font-size:.86rem;color:#536477}@media(max-width:700px){main{padding:25px 14px}.panel{padding:16px}.two{grid-template-columns:1fr}button{font-size:.8rem}}
</style>
<main><header><div class="eyebrow">Legitimacy · executed composition · offline artifact</div>
<h1>Two approvals.<br>One collective effect.</h1>
<p class="lead">Two supplied principals deliver harmless synthetic fragments. Local authorization permits each action. Their public deliveries can still compose into a forbidden result. Inspect the execution, then test a useful repair.</p></header>
<div class="contract"><strong>One fixed property throughout</strong><br>Both distinct synthetic fragments must never reach the public channel.<br><code>Legitimacy.boolJointForbiddenList</code><br><span class="note">A public exposure maps to A=true; B public exposure maps to B=false. Lean proves this principal-dependent encoding matches the existing conjunctive property.</span></div>
<p id="integrity" role="status">Checking pinned fixture bytes…</p><noscript>This reader needs JavaScript. The supplied offline CLI independently checks the artifact.</noscript>
<div id="reader"><nav id="runs" aria-label="Controlled executions"></nav>
<section class="panel"><div id="mode" class="eyebrow"></div><p id="run-id"></p><div class="status"><div><div class="label">Monitor knowledge</div><div id="knowledge" class="verdict"></div></div><div><div class="label">Governance decision</div><div id="governance"></div></div><div><div class="label">Per-call baseline</div><div id="local-baseline"></div></div><div><div class="label">Full-context baseline</div><div id="full-baseline"></div></div></div><p id="reason"></p><p id="witness"></p></section>
<section class="panel"><h2>What the host actually delivered</h2><p class="note">Event order is supplied by the sequential host. Actions come from its instrumented delivery boundary, never inferred from model prose.</p><div class="scroll"><table><thead><tr><th>Event</th><th>Principal</th><th>Payload</th><th>Channel</th><th>Local</th><th>Executed gate</th><th>Recorded effect</th></tr></thead><tbody id="events"></tbody></table></div><div class="two"><div><h3>Public sink readback</h3><pre id="public-sink"></pre></div><div><h3>Vault sink readback</h3><pre id="vault-sink"></pre></div></div></section>
<section class="panel"><h2>Challenge the evidence</h2><label for="controls">Apply a local semantic control </label><select id="controls"><option value="original">Original evidence</option><option value="authority">Remove scoped authority</option><option value="effect">Invent a recorded effect</option><option value="property">Substitute the forbidden property</option><option value="rename">Rename an incidental identifier</option></select><p id="control-note" class="note"></p></section></div>
<section class="two"><div><h2>The missing obligation</h2><p>Tracking the cross-agent conjunction is already present. The useful addition is to require each authorized delivery to preserve exclusion of the original collective property in the current exposure state.</p><p>Vault delivery and a public summary remain permitted. The same B fragment request is permitted before A's public release and denied afterward.</p></div><div><h2>What the proof adds</h2><p>Lean proves the executed-action refinement, safety for every finite guarded request list, and concrete useful alternatives. A full-context conventional checker reaches the same decisions. The contribution is the checked connection and repair, not superior detection.</p><p>Without scoped delegation, two observation-identical modeled requests require different decisions. Authentication alone cannot resolve that missing fact.</p></div></section>
<section class="panel"><h2>How much context must survive observation?</h2><p>For exact next-request decisions, the monitor must distinguish these three reachable safe states. Lean proves one exposure-state bit cannot suffice; the two exposure bits are sufficient for every modeled request. A deny-all monitor is outside this selectivity requirement.</p><table><thead><tr><th>Prior public exposure</th><th>Next A public fragment</th><th>Next B public fragment</th></tr></thead><tbody><tr><td>Neither</td><td>Permit</td><td>Permit</td></tr><tr><td>A only</td><td>Permit</td><td>Deny</td></tr><tr><td>B only</td><td>Deny</td><td>Permit</td></tr></tbody></table><p class="note">These answers assume authenticated, delegated requests. This finite bound concerns retained exposure context, not model capability or Shannon capacity.</p></section>
<section class="panel"><h2>Reproduce and inspect</h2><pre>./reproduce.sh
# Or: ./legitimacy-executed-composition check capture/bundle.json \
# --trust capture/trust-policy.json</pre><p>The CLI reuses the existing typed Ed25519 replay authority boundary and checks concrete effects independently of this page. The browser checks pinned fixture bytes and recomputes finite semantics; it does not verify the signed replay receipt.</p><p class="note">Trusted: the supplied host, principal slots, declared channels, host completion, action-to-effect implementation, and published public trust root. This is a sequential synthetic experiment. It proves no model alignment, production incident prevention, hidden-intent recovery, or unmodeled-channel discovery.</p></section>
<footer>Spera's conjunctive-capability non-composition result is prior work. PCAS supplies a strong history/provenance policy baseline; AgentSpec supplies runtime constraints. Legitimacy adds a checked executed-action connection and a useful same-property repair in this finite model. Paper 03 remains independently citable; spectral results retain their modeled-carrier assumptions.</footer>
</main><script id="artifact-data" type="application/json">{"bundle":[{"run":{"format":"legitimacy.executed-composition.run.v1","id":"locally-approved-joint-release","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":false,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-BETA"}],"public_sink":["SYNTHETIC-ALPHA","SYNTHETIC-BETA"],"vault_sink":[]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:c7740e678cfaa892ebd1e3fba41a7b5f097001836441bb24106e654237c0387b","genesis_head":"sha256:19d7c4cc4ee300590666e01eff3fc31e186b7d1909832e91f879527bd03d60d7","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:7367a74fa2322a614d921a071a13ce99e466c397437d55632f6a3b41020b512b","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:0e6e1dbdffae05638f53bd89f99a9354de1a161b4a188ca72d85deb4bb051e1d","event_id":"host-experiment","previous_head":"sha256:19d7c4cc4ee300590666e01eff3fc31e186b7d1909832e91f879527bd03d60d7","raw_record_digest":"sha256:218250c24e34844a76f30e5095283f6ae1c042a8fc34b65048e5c5f78a502a88","resulting_head":"sha256:c7740e678cfaa892ebd1e3fba41a7b5f097001836441bb24106e654237c0387b","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:71f9b7ea9530185088fe294c2aeb71609c136a10e708bc14946c82a487d61b0e"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:c7740e678cfaa892ebd1e3fba41a7b5f097001836441bb24106e654237c0387b","genesis_head":"sha256:19d7c4cc4ee300590666e01eff3fc31e186b7d1909832e91f879527bd03d60d7","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:7367a74fa2322a614d921a071a13ce99e466c397437d55632f6a3b41020b512b","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:71f9b7ea9530185088fe294c2aeb71609c136a10e708bc14946c82a487d61b0e"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:3b8fafab4fd37c641a2144ab55d698aa81c46f1240389bb9145beaabec0247ff3bd627f493c56a76f1e471e11142072df1d79e85bc69a23576eeeab28ab54508"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"equal-length-action-control","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":false,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"vault","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-BETA"}],"public_sink":["SYNTHETIC-ALPHA"],"vault_sink":["SYNTHETIC-BETA"]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:859efad39974956636ac38edb23e5ea68a11f82fe290425133e309d933c167b6","genesis_head":"sha256:5482caeee7f234e896d4abe1a1ed126bee99ce40d2672a4b34ec1efafe779725","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:5aafb57844c932bbea3ce3718d817d8fbff1800e60c73299c577b34c1b2a5fa4","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:b2f15444f671f76eece3ba943dfba4a8f5e933e2056c4b4dbf7d1382a7dde3c9","event_id":"host-experiment","previous_head":"sha256:5482caeee7f234e896d4abe1a1ed126bee99ce40d2672a4b34ec1efafe779725","raw_record_digest":"sha256:c5d7c9695088d606d5362373ca7a5ab666108eb36bf48b0b30ab1e9daad0dff6","resulting_head":"sha256:859efad39974956636ac38edb23e5ea68a11f82fe290425133e309d933c167b6","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:af50a49bf64729412f1db6286f0ab86b24cc0ae8a4897a57b67cfeebb2b9c3ff"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:859efad39974956636ac38edb23e5ea68a11f82fe290425133e309d933c167b6","genesis_head":"sha256:5482caeee7f234e896d4abe1a1ed126bee99ce40d2672a4b34ec1efafe779725","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:5aafb57844c932bbea3ce3718d817d8fbff1800e60c73299c577b34c1b2a5fa4","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:af50a49bf64729412f1db6286f0ab86b24cc0ae8a4897a57b67cfeebb2b9c3ff"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:c75b31e37f0407628e3d1d2ce362a7518d572012700fad4b405f74b525dd4473e2868ea5c23416e3cc8fa3faebd18c1d3790cc3f810baf799f209617f0fae50c"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"guard-blocks-joint-release","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":true,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Deny","effect":""}],"public_sink":["SYNTHETIC-ALPHA"],"vault_sink":[]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:4cb3e541ca372e5c81d98fd1509bfaa71addeaa17875720c7c600f14cf1c97a0","genesis_head":"sha256:4f7b9260a61575d1a3de08db4d0fd47b189539e8b9fa34cd0dc58840cb8687ec","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:36273802d656024aac7a6096e2a2b8b428d61ec9f571fa1b798e93546535020d","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:f091cdc685d68abce8b1f35d01ab02552324c333dd678c946dceed3b318074cd","event_id":"host-experiment","previous_head":"sha256:4f7b9260a61575d1a3de08db4d0fd47b189539e8b9fa34cd0dc58840cb8687ec","raw_record_digest":"sha256:3b5b74da041649ebb6c61b05d1bb05eb4944147de4b3782833ebba7e00b512f1","resulting_head":"sha256:4cb3e541ca372e5c81d98fd1509bfaa71addeaa17875720c7c600f14cf1c97a0","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:1fd825897a129d8c04e6bcb39479cb82893a4cc2b6eca6fc8d4a559fa9e1bde2"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:4cb3e541ca372e5c81d98fd1509bfaa71addeaa17875720c7c600f14cf1c97a0","genesis_head":"sha256:4f7b9260a61575d1a3de08db4d0fd47b189539e8b9fa34cd0dc58840cb8687ec","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:36273802d656024aac7a6096e2a2b8b428d61ec9f571fa1b798e93546535020d","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:1fd825897a129d8c04e6bcb39479cb82893a4cc2b6eca6fc8d4a559fa9e1bde2"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:ced30641fcbd6d86455c1025661675b8cbec510ae384ba3a5f00fea512f7437ad720741a7468322e82ee02ee6e4d92b04eef889a2d65dba2802754d66e9e910e"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"useful-vault-repair","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":true,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"vault","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-BETA"}],"public_sink":["SYNTHETIC-ALPHA"],"vault_sink":["SYNTHETIC-BETA"]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:9f769a17ee916a823010596e9cbd3738e9bebb97f639c0b3be1380f93e7b4101","genesis_head":"sha256:decd8fc3aa3d8ea9cb5c9d328a21ced45b232e43e337bf77abc0b59cf13ac36f","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:1e1ec9a60ecda687de67094f1ed08bf9b1097d9fa5e801fd01c722cf833ebdb3","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:ff3569b5aa3e9b67b91a6e99ce870001846c3a182fb198e1450b166a2e4c2e91","event_id":"host-experiment","previous_head":"sha256:decd8fc3aa3d8ea9cb5c9d328a21ced45b232e43e337bf77abc0b59cf13ac36f","raw_record_digest":"sha256:f9d76c829eee52defc02e7eb335e29b88680d62847a7bfc2018690374a97656f","resulting_head":"sha256:9f769a17ee916a823010596e9cbd3738e9bebb97f639c0b3be1380f93e7b4101","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:5694c04a9547edcb5c7a36b4ce2e3f96ed4498adf082d796faac0606682b996f"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:9f769a17ee916a823010596e9cbd3738e9bebb97f639c0b3be1380f93e7b4101","genesis_head":"sha256:decd8fc3aa3d8ea9cb5c9d328a21ced45b232e43e337bf77abc0b59cf13ac36f","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:1e1ec9a60ecda687de67094f1ed08bf9b1097d9fa5e801fd01c722cf833ebdb3","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:5694c04a9547edcb5c7a36b4ce2e3f96ed4498adf082d796faac0606682b996f"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:a7a768ff0f653dda285611e43f74766b64c9b68ca8f2f679b7595c0761be30586f632019c25c78e8fa301ab80cd6efeb1d91dd9e3af5dba411bae35feca0d806"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"useful-summary-repair","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":true,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-B","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"public","payload":"summary","authenticated":true,"local":"Permit","decision":"Permit","effect":"SUMMARY: one synthetic fragment processed"}],"public_sink":["SYNTHETIC-ALPHA","SUMMARY: one synthetic fragment processed"],"vault_sink":[]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:701db34ccd9629370edf36a17e818a39bf3090c6f84bc8313d8c33cf5d642ff5","genesis_head":"sha256:7989d98d684130d7b96849a7608af66fab8282a3c8f58eb8d16b8634b3a0a87c","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:8080adecf06a3be1250d30a0940a7e40f2f4097c913d65c295894ed63c884e20","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:9ec1b17cfddbe8590f7ee47522eb5780570689f75addccd5f30b0bb47b784ded","event_id":"host-experiment","previous_head":"sha256:7989d98d684130d7b96849a7608af66fab8282a3c8f58eb8d16b8634b3a0a87c","raw_record_digest":"sha256:9621021892b4329846d20046f288efb09d1419b928f1bc7d716a57bb4f62934d","resulting_head":"sha256:701db34ccd9629370edf36a17e818a39bf3090c6f84bc8313d8c33cf5d642ff5","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:d594d2f0a62e8aeaaa4efd26902c56fa6f5dfe44e17039940abc00758a366866"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:701db34ccd9629370edf36a17e818a39bf3090c6f84bc8313d8c33cf5d642ff5","genesis_head":"sha256:7989d98d684130d7b96849a7608af66fab8282a3c8f58eb8d16b8634b3a0a87c","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:8080adecf06a3be1250d30a0940a7e40f2f4097c913d65c295894ed63c884e20","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:d594d2f0a62e8aeaaa4efd26902c56fa6f5dfe44e17039940abc00758a366866"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:95b0d88347cb6e5c239a370b419588d540c50eba958f05a650beb89f740c6b9bd623badab518c7565be928b2633358f0a1ef74714d2fb3c73c01be07a2589507"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"authenticated-without-delegation","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":true,"complete":true,"principals":["principal-A","principal-B"],"grants":[{"principal":"principal-A","channel":"public","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"public","payload":"summary","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"fragment","task":"synthetic-release"},{"principal":"principal-A","channel":"vault","payload":"summary","task":"synthetic-release"}],"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"vault","payload":"fragment","authenticated":true,"local":"Deny","decision":"Deny","effect":""}],"public_sink":["SYNTHETIC-ALPHA"],"vault_sink":[]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:b7d9199bc2ef6b772368c1c4fba65458cf14b6503dc683105268485ed267de2e","genesis_head":"sha256:0d186105eafd9f4fc95f1b5601c80aa73c7e35f20933090c251c15d2e9bb1766","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:38c76eb57ee325c3ea682ca0a73d3b0dbf719db4a0efed7381419e01894a8f97","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:764a9b601da7b5f939f8e493d205523638e91ca21455ed45ed990b60c9c14e46","event_id":"host-experiment","previous_head":"sha256:0d186105eafd9f4fc95f1b5601c80aa73c7e35f20933090c251c15d2e9bb1766","raw_record_digest":"sha256:e7e754be4c514daad35e96308598499e93905043d95d5f48498dfee333dacd32","resulting_head":"sha256:b7d9199bc2ef6b772368c1c4fba65458cf14b6503dc683105268485ed267de2e","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:f2b78f8000d445cf43b25416cfa8c61b1a7dc6bb66139edf667b780b1e340b9f"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:b7d9199bc2ef6b772368c1c4fba65458cf14b6503dc683105268485ed267de2e","genesis_head":"sha256:0d186105eafd9f4fc95f1b5601c80aa73c7e35f20933090c251c15d2e9bb1766","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:38c76eb57ee325c3ea682ca0a73d3b0dbf719db4a0efed7381419e01894a8f97","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:f2b78f8000d445cf43b25416cfa8c61b1a7dc6bb66139edf667b780b1e340b9f"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:56c6a516085b510dd8697bb18d2807b9dd55841e680c332cc50c615bae3d7c8dbb41b192c548e8423b52884c2f4303cee8a880e653b08cdb7ccdcb762bffe60a"}},{"run":{"format":"legitimacy.executed-composition.run.v1","id":"missing-authority-evidence","policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","guarded":true,"complete":true,"principals":["principal-A","principal-B"],"grants":null,"events":[{"index":0,"principal":"principal-A","channel":"public","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-ALPHA"},{"index":1,"principal":"principal-B","channel":"vault","payload":"fragment","authenticated":true,"local":"Permit","decision":"Permit","effect":"SYNTHETIC-BETA"}],"public_sink":["SYNTHETIC-ALPHA"],"vault_sink":["SYNTHETIC-BETA"]},"replay":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"final_head":"sha256:4cc4e7659585624ab3292eb8fd8cc71c395ee364e374f345bdb1261685a9dca5","genesis_head":"sha256:8604e99a7d03752d95ae316dc434027986b025fcd9deb721057cf31e366a457b","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:dd4c9056d787f3d2539edb7d86adf585c19dcf8b6f34aaa3f9d497a3343a03aa","record_count":1},"record_count":1,"records":[{"canonical_event_digest":"sha256:7bd518d024949bce9ef4b54ff02c9612a2065e6d5669944637a9edf15ba9da40","event_id":"host-experiment","previous_head":"sha256:8604e99a7d03752d95ae316dc434027986b025fcd9deb721057cf31e366a457b","raw_record_digest":"sha256:62ea3ffc5d0e458ea877fef85d1dae7c3f480418c6bd19995058c15c9f0342eb","resulting_head":"sha256:4cc4e7659585624ab3292eb8fd8cc71c395ee364e374f345bdb1261685a9dca5","sequence_index":0}],"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:8b119101d76faa62bbb2b7d99e3855c17fb1c25ba8bd95688638ab20a35625e7"},"receipt":{"algorithm":"ed25519","anchor":{"adapter":{"hash":"sha256:facad64100495598277c7f5210a09cf6e0650f0b0ed3879a55aaae40efbea7c8","identity":"adapter.executed-composition.host","version":"1"},"anchor_format":"legitimacy.trajectory.replay-authority-anchor","anchor_version":"0","expected_final_head":"sha256:4cc4e7659585624ab3292eb8fd8cc71c395ee364e374f345bdb1261685a9dca5","genesis_head":"sha256:8604e99a7d03752d95ae316dc434027986b025fcd9deb721057cf31e366a457b","policy":{"hash":"sha256:5f2c54fa373436f6afa979a5c6afc14b6b322ce7ddef7e9eb08fe77930850e48","identity":"legitimacy.controlled-release.v1","version":"1"},"raw_capture":{"digest":"sha256:dd4c9056d787f3d2539edb7d86adf585c19dcf8b6f34aaa3f9d497a3343a03aa","record_count":1},"record_count":1,"replay_format":"legitimacy.trajectory.replay","replay_version":"0","schema":{"hash":"sha256:8f5fe4d99ac420ef108f1c126ff3a9ce13d68ffb591433b3134f997e29a9eec9","identity":"legitimacy.trajectory.trace","version":"0"},"trajectory_digest":"sha256:8b119101d76faa62bbb2b7d99e3855c17fb1c25ba8bd95688638ab20a35625e7"},"authority_epoch":1,"issuer":"controlled-release-host","key_id":"ephemeral-capture-key","receipt_format":"legitimacy.trajectory.replay-authority-receipt","receipt_version":"0","signature":"ed25519:48ff8c13800309b24e4f07ebaa1c643b7bf7ba8be749acd68742c7f78a45515ef1303e1c2e41b9a3bcd7d05921232226d4bcd4863bc913cc8a1cbe66a962830d"}}],"table":{"format":"legitimacy.executed-composition.table.v1","property":"Legitimacy.boolJointForbiddenList","rows":[[0,0,0,0,0],[1,0,0,0,0],[2,0,0,0,0],[3,1,1,0,0],[4,0,0,0,0],[5,0,0,0,0],[6,0,0,0,0],[7,1,1,0,0],[8,0,0,0,0],[9,0,0,0,0],[10,0,0,0,0],[11,1,1,0,0],[12,0,0,0,0],[13,0,0,0,0],[14,0,0,0,0],[15,1,1,2,2],[16,0,0,0,0],[17,0,0,0,0],[18,0,0,0,0],[19,1,1,0,0],[20,0,0,0,0],[21,0,0,0,0],[22,0,0,0,0],[23,1,1,0,0],[24,0,0,0,0],[25,0,0,0,0],[26,0,0,0,0],[27,1,1,0,0],[28,0,0,0,0],[29,0,0,0,0],[30,0,0,0,0],[31,1,1,1,1],[32,0,0,1,1],[33,0,0,1,1],[34,0,0,1,1],[35,1,1,1,1],[36,0,0,1,1],[37,0,0,1,1],[38,0,0,1,1],[39,1,1,1,1],[40,0,0,1,1],[41,0,0,1,1],[42,0,0,1,1],[43,1,1,1,1],[44,0,0,1,1],[45,0,0,1,1],[46,0,0,1,1],[47,1,0,3,1],[48,0,0,1,1],[49,0,0,1,1],[50,0,0,1,1],[51,1,1,1,1],[52,0,0,1,1],[53,0,0,1,1],[54,0,0,1,1],[55,1,1,1,1],[56,0,0,1,1],[57,0,0,1,1],[58,0,0,1,1],[59,1,1,1,1],[60,0,0,1,1],[61,0,0,1,1],[62,0,0,1,1],[63,1,1,1,1],[64,0,0,2,2],[65,0,0,2,2],[66,0,0,2,2],[67,1,1,2,2],[68,0,0,2,2],[69,0,0,2,2],[70,0,0,2,2],[71,1,1,2,2],[72,0,0,2,2],[73,0,0,2,2],[74,0,0,2,2],[75,1,1,2,2],[76,0,0,2,2],[77,0,0,2,2],[78,0,0,2,2],[79,1,1,2,2],[80,0,0,2,2],[81,0,0,2,2],[82,0,0,2,2],[83,1,1,2,2],[84,0,0,2,2],[85,0,0,2,2],[86,0,0,2,2],[87,1,1,2,2],[88,0,0,2,2],[89,0,0,2,2],[90,0,0,2,2],[91,1,1,2,2],[92,0,0,2,2],[93,0,0,2,2],[94,0,0,2,2],[95,1,0,3,2],[96,0,0,3,3],[97,0,0,3,3],[98,0,0,3,3],[99,1,0,3,3],[100,0,0,3,3],[101,0,0,3,3],[102,0,0,3,3],[103,1,0,3,3],[104,0,0,3,3],[105,0,0,3,3],[106,0,0,3,3],[107,1,0,3,3],[108,0,0,3,3],[109,0,0,3,3],[110,0,0,3,3],[111,1,0,3,3],[112,0,0,3,3],[113,0,0,3,3],[114,0,0,3,3],[115,1,0,3,3],[116,0,0,3,3],[117,0,0,3,3],[118,0,0,3,3],[119,1,0,3,3],[120,0,0,3,3],[121,0,0,3,3],[122,0,0,3,3],[123,1,0,3,3],[124,0,0,3,3],[125,0,0,3,3],[126,0,0,3,3],[127,1,0,3,3]]},"policy":"{\"identity\":\"legitimacy.controlled-release.v1\",\"forbidden\":\"Legitimacy.boolJointForbiddenList\",\"effect\":\"both distinct synthetic fragments delivered to public\",\"scope\":\"principal,channel,payload,task\",\"task\":\"synthetic-release\",\"channels\":[\"public\",\"vault\"],\"principals\":2,\"order\":\"host-sequential\",\"guard\":\"local authorization AND preserve original forbidden-property exclusion\"}\n","bundle_sha256":"9730d6076facf597982b004f164b413f0bcec28a9006db7967f5139cb7866a65"}</script><script>/* Offline reader: generated Lean table, explicit evidence checks, inert fields.
* The CLI verifies signatures; this reader pins fixture bytes and recomputes
* semantics. Mutations are unsigned modeled controls, never authenticated runs. */
"use strict";
// Match the Rust serde boundary before interpreting evidence or Boolean values.
// Optional facts may be absent/null; a supplied value of the wrong type is invalid.
function admittedRun(run) {
const object=x=>x!==null && typeof x==="object" && !Array.isArray(x);
const shape=(x,keys)=>object(x) && Object.keys(x).every(k=>keys.includes(k));
const string=x=>typeof x==="string", boolean=x=>typeof x==="boolean";
const optional=(x,p)=>x===undefined || x===null || p(x);
const channel=x=>["public","vault"].includes(x);
const payload=x=>["fragment","summary"].includes(x);
const decision=x=>["Permit","Deny","Review"].includes(x);
const strings=x=>Array.isArray(x) && x.every(string);
const grant=g=>shape(g,["principal","channel","payload","task"]) &&
string(g.principal) && channel(g.channel) && payload(g.payload) && string(g.task);
const event=e=>shape(e,["index","principal","channel","payload","authenticated","local","decision","effect"]) &&
Number.isSafeInteger(e.index) && e.index>=0 && decision(e.local) && decision(e.decision) &&
optional(e.principal,string) && optional(e.channel,channel) &&
optional(e.payload,payload) && optional(e.authenticated,boolean) && optional(e.effect,string);
return shape(run,["format","id","policy","guarded","complete","principals","grants","events","public_sink","vault_sink"]) &&
string(run.format) && string(run.id) && string(run.policy) &&
boolean(run.guarded) && boolean(run.complete) &&
optional(run.principals,x=>strings(x) && x.length===2) &&
optional(run.grants,x=>Array.isArray(x) && x.every(grant)) &&
Array.isArray(run.events) && run.events.every(event) &&
optional(run.public_sink,strings) && optional(run.vault_sink,strings);
}
function evaluate(run, table, policy) {
const base = {knowledge:"Invalid", governance:"Review", reason:"Malformed evidence", state:null, witness:[]};
const result = (knowledge, reason) => ({...base, knowledge, reason});
if (!admittedRun(run)) return result("Invalid", "The record does not satisfy the typed evidence schema.");
if (run.events.length>256 || new TextEncoder().encode(run.id).length>512)
return result("Invalid", "The bounded experiment limits were exceeded.");
if (run.policy !== policy || run.format !== "legitimacy.executed-composition.run.v1")
return result("Invalid", "The fixed policy/property was substituted.");
if (!run.complete || !run.events.length || !run.grants || !run.principals || !run.public_sink || !run.vault_sink)
return result("Inconclusive", "Identity, scoped authority, completion, or sink evidence is missing.");
if (run.principals.some(p=>p.length===0) || new Set(run.principals).size !== 2 ||
run.grants.length>32 || run.grants.some(g=>!run.principals.includes(g.principal)))
return result("Invalid", "The declared principal set or event sequence is invalid.");
if (run.events.some(e => [e.principal,e.channel,e.payload,e.authenticated,e.effect].some(v => v === null || v === undefined)))
return result("Inconclusive", "A load-bearing event fact is missing; safety cannot be certified.");
let state=0, all=true, localAll=true, fullAll=true, first=null, witnesses=[null,null], sinks=[[],[]];
for (const [i,e] of run.events.entries()) {
const actor=run.principals.indexOf(e.principal);
if (actor<0 || e.index!==i || !["public","vault"].includes(e.channel) || !["fragment","summary"].includes(e.payload))
return result("Invalid", "Identity, channel, payload, or host order is invalid.");
const scoped=run.grants.some(g=>g.principal===e.principal && g.channel===e.channel && g.payload===e.payload && g.task==="synthetic-release");
const row=table.rows[state*32+actor*16+(e.payload==="fragment"?8:0)+(e.channel==="public"?4:0)+(e.authenticated?2:0)+(scoped?1:0)];
const allowed=row[run.guarded?2:1]===1;
const bytes=allowed?(e.payload==="fragment"?["SYNTHETIC-ALPHA","SYNTHETIC-BETA"][actor]:"SUMMARY: one synthetic fragment processed"):"";
if (e.local!==(row[1]?"Permit":"Deny") || e.decision!==(allowed?"Permit":"Deny") || e.effect!==bytes)
return result("Invalid", "Recorded decision/effect disagrees with the Lean transition and scoped request.");
fullAll=fullAll&&row[2]===1;
all=all&&allowed; localAll=localAll&&row[1]===1;
if (allowed) {
sinks[e.channel==="public"?0:1].push(bytes);
if(e.channel==="public" && e.payload==="fragment" && witnesses[actor]===null) witnesses[actor]=i;
}
state=row[run.guarded?4:3];
if(state!==((witnesses[0]===null?0:2)+(witnesses[1]===null?0:1))) return result("Invalid","Effect abstraction mismatch.");
if(state===3 && first===null) first=i;
}
if(JSON.stringify(sinks)!==JSON.stringify([run.public_sink,run.vault_sink])) return result("Invalid","Sink readback does not match deliveries.");
return {knowledge:first===null?"Safe":"Violated", governance:first!==null||!all?"Deny":"Permit", state,
local:localAll?"Permit":"Deny", full:fullAll?"Permit":"Deny", first, witness:first===null?[]:witnesses,
reason:first!==null?"The realized public fragment deliveries passed local authorization and expose both fragments.":
all?"Useful authorized deliveries completed under the identical forbidden property.":"The guard denied a requested action; the recorded effects remain safe."};
}
if (typeof module !== "undefined") module.exports={evaluate};
if (typeof document !== "undefined") {
const data=JSON.parse(document.getElementById("artifact-data").textContent);
const byId=id=>document.getElementById(id);
const node=(tag,text,cls)=>{const n=document.createElement(tag);n.textContent=text;if(cls)n.className=cls;return n;};
let selected=0, mutation="original";
const names=["Local approvals → collective harm","Equal length, vault action","Guard blocks joint release","Useful vault repair","Useful summary repair","Authentication without delegation","Missing authority evidence"];
function draw(){
const run=structuredClone(data.bundle[selected].run);
if(mutation==="authority")run.grants=null;
if(mutation==="effect")run.events[0].effect="invented effect";
if(mutation==="property")run.policy=run.policy.replace("boolJointForbiddenList","boolTrackedSafeForbiddenList");
if(mutation==="rename")run.id="\u003cscript>untrusted presentation text\u003c/script>";
const verdict=evaluate(run,data.table,data.policy);
byId("run-id").textContent=run.id;
byId("mode").textContent=run.guarded?"Composition guard enabled":"Per-call authorization only";
byId("knowledge").textContent=verdict.knowledge;
byId("knowledge").className="verdict "+verdict.knowledge.toLowerCase();
byId("governance").textContent=verdict.governance;
byId("reason").textContent=verdict.reason;
byId("control-note").textContent=mutation==="original"?"Original captured record. CLI authentication is checked separately.":"Unsigned semantic mutation. The original signature does not authenticate these edited bytes.";
byId("events").replaceChildren();
for(const event of run.events){
const tr=document.createElement("tr");
for(const v of [event.index+1,event.principal,event.payload,event.channel,event.local,event.decision,event.effect||"No delivery"])
tr.append(node("td",v??"Missing evidence"));
byId("events").append(tr);
}
byId("public-sink").textContent=JSON.stringify(run.public_sink,null,2);
byId("vault-sink").textContent=JSON.stringify(run.vault_sink,null,2);
byId("witness").textContent=verdict.witness.length?"Events "+verdict.witness.map(x=>x+1).join(" + ")+". First forbidden prefix ends at event "+(verdict.first+1)+".":"No collective witness certified in this view.";
byId("local-baseline").textContent=verdict.local??"Review";
byId("full-baseline").textContent=verdict.full??"Review";
}
names.forEach((name,i)=>{const b=node("button",name);b.type="button";b.onclick=()=>{selected=i;mutation="original";byId("controls").value=mutation;draw();for(const x of byId("runs").children)x.setAttribute("aria-pressed",String(x===b));};b.setAttribute("aria-pressed",String(i===0));byId("runs").append(b);});
byId("controls").onchange=e=>{mutation=e.target.value;draw();};
const encoded=new TextEncoder().encode(JSON.stringify(data.bundle));
if(globalThis.crypto?.subtle){
crypto.subtle.digest("SHA-256",encoded).then(hash=>{
const actual=[...new Uint8Array(hash)].map(b=>b.toString(16).padStart(2,"0")).join("");
if(actual!==data.bundle_sha256)throw new Error("Pinned fixture bytes changed");
byId("integrity").textContent="Pinned fixture bytes match · semantics recomputed locally · no network or uploads";
draw();
}).catch(()=>{byId("integrity").textContent="INVALID: fixture integrity check failed";byId("reader").hidden=true;});
}else{byId("integrity").textContent="Browser hashing unavailable. Use the offline CLI before relying on this view.";draw();}
}
</script></html>