@consiliency/contract 0.6.4 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +50 -2
  2. package/conformance/registries/authority-key-registry.test.json +48 -0
  3. package/conformance/vectors/authority-algorithm-confusion.json +1 -1
  4. package/conformance/vectors/authority-bad-signature.json +1 -1
  5. package/conformance/vectors/authority-cert-digest-mismatch.json +1 -1
  6. package/conformance/vectors/authority-chain-appended-still-verifies.json +1 -1
  7. package/conformance/vectors/authority-core-validity-expired.json +1 -1
  8. package/conformance/vectors/authority-forged-self-minted.json +1 -1
  9. package/conformance/vectors/authority-key-expired.json +1 -1
  10. package/conformance/vectors/authority-key-revoked.json +1 -1
  11. package/conformance/vectors/authority-missing-signature.json +1 -1
  12. package/conformance/vectors/authority-signer-approver-mismatch.json +1 -1
  13. package/conformance/vectors/authority-unknown-key-id.json +1 -1
  14. package/conformance/vectors/authority-valid.json +1 -1
  15. package/conformance/vectors/authority-wrong-key-valid-id.json +1 -1
  16. package/core/authority-canon/provenance.json +1 -1
  17. package/core/contract.json +24 -4
  18. package/core/registries/authority-key-registry.json +3 -3
  19. package/core/registries/protected-source-categories.json +86 -0
  20. package/core/schemas/git-discipline-protocol.schema.json +1 -1
  21. package/core/schemas/protected-source-category.schema.json +29 -0
  22. package/core/schemas/version-skew-protocol.schema.json +3 -3
  23. package/core/supervised-run/admitted-launch-envelope.schema.json +226 -0
  24. package/core/supervised-run/admitted-launch-envelope.v2.schema.json +880 -0
  25. package/core/supervised-run/conformance/README.md +55 -0
  26. package/core/supervised-run/conformance/README.v2.md +297 -0
  27. package/core/supervised-run/conformance/SHA256SUMS +10 -0
  28. package/core/supervised-run/conformance/envelope.v2.apply.vectors.json +1938 -0
  29. package/core/supervised-run/conformance/envelope.v2.canonical.vectors.json +2088 -0
  30. package/core/supervised-run/conformance/envelope.v2.vectors.json +16359 -0
  31. package/core/supervised-run/conformance/envelope.vectors.json +557 -0
  32. package/core/supervised-run/conformance/run-status.vectors.json +2150 -0
  33. package/core/supervised-run/provenance.json +116 -0
  34. package/core/supervised-run/run-status.schema.json +768 -0
  35. package/package.json +1 -1
  36. package/src/index.d.ts +3 -1
  37. package/src/index.js +8 -1
@@ -0,0 +1,2150 @@
1
+ {
2
+ "contract": "supervised_run_status.v1",
3
+ "status": "provisional",
4
+ "note": "Golden valid and negative conformance vectors. Each negative is a JSON Patch (RFC 6902 add/remove/replace) applied to its paired valid control; when rehash is true, envelope_digest is recomputed afterwards, so the authority self-verifies. Expected diagnostics are exact sets. Journal segments list their lines; an object line is serialized with RFC 8785 (JCS) and a string line is the exact raw line text.",
5
+ "cases": [
6
+ {
7
+ "id": "V-two-attempts",
8
+ "kind": "journal",
9
+ "role": "control",
10
+ "input": {
11
+ "journal": {
12
+ "attempts": [
13
+ {
14
+ "segments": [
15
+ {
16
+ "lines": [
17
+ {
18
+ "schema": "supervised_run_status.v1",
19
+ "version": "1",
20
+ "line_kind": "header",
21
+ "seq": 0,
22
+ "attempt": {
23
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
24
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
25
+ "run_id": "run-1",
26
+ "attempt_id": "attempt-1"
27
+ },
28
+ "units": {
29
+ "target_unit_ids": [
30
+ "unit:target"
31
+ ],
32
+ "readonly_neighbor_unit_ids": [
33
+ "unit:neighbor"
34
+ ],
35
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
36
+ },
37
+ "writer": {
38
+ "harness_id": "example-harness",
39
+ "harness_version": "1.0.0",
40
+ "writer_instance_id": "writer-1",
41
+ "owner_pid": 4242,
42
+ "process_start_time": "2026-11-04T10:00:00Z"
43
+ },
44
+ "observed_at": "2026-11-04T10:00:00Z",
45
+ "redaction_posture": "digests_and_repo_relative_locators_only",
46
+ "body": {
47
+ "segment_index": 0,
48
+ "previous_segment_sha256": null,
49
+ "previous_last_seq": null,
50
+ "body_kind": "header"
51
+ }
52
+ },
53
+ {
54
+ "schema": "supervised_run_status.v1",
55
+ "version": "1",
56
+ "line_kind": "state",
57
+ "seq": 1,
58
+ "attempt": {
59
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
60
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
61
+ "run_id": "run-1",
62
+ "attempt_id": "attempt-1"
63
+ },
64
+ "units": {
65
+ "target_unit_ids": [
66
+ "unit:target"
67
+ ],
68
+ "readonly_neighbor_unit_ids": [
69
+ "unit:neighbor"
70
+ ],
71
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
72
+ },
73
+ "writer": {
74
+ "harness_id": "example-harness",
75
+ "harness_version": "1.0.0",
76
+ "writer_instance_id": "writer-1",
77
+ "owner_pid": 4242,
78
+ "process_start_time": "2026-11-04T10:00:00Z"
79
+ },
80
+ "observed_at": "2026-11-04T10:01:00Z",
81
+ "redaction_posture": "digests_and_repo_relative_locators_only",
82
+ "body": {
83
+ "state": "queued",
84
+ "worker_invocations": 0,
85
+ "body_kind": "state"
86
+ }
87
+ },
88
+ {
89
+ "schema": "supervised_run_status.v1",
90
+ "version": "1",
91
+ "line_kind": "state",
92
+ "seq": 2,
93
+ "attempt": {
94
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
95
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
96
+ "run_id": "run-1",
97
+ "attempt_id": "attempt-1"
98
+ },
99
+ "units": {
100
+ "target_unit_ids": [
101
+ "unit:target"
102
+ ],
103
+ "readonly_neighbor_unit_ids": [
104
+ "unit:neighbor"
105
+ ],
106
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
107
+ },
108
+ "writer": {
109
+ "harness_id": "example-harness",
110
+ "harness_version": "1.0.0",
111
+ "writer_instance_id": "writer-1",
112
+ "owner_pid": 4242,
113
+ "process_start_time": "2026-11-04T10:00:00Z"
114
+ },
115
+ "observed_at": "2026-11-04T10:02:00Z",
116
+ "redaction_posture": "digests_and_repo_relative_locators_only",
117
+ "body": {
118
+ "state": "running",
119
+ "worker_invocations": 1,
120
+ "body_kind": "state"
121
+ }
122
+ }
123
+ ],
124
+ "final_newline": true
125
+ },
126
+ {
127
+ "lines": [
128
+ {
129
+ "schema": "supervised_run_status.v1",
130
+ "version": "1",
131
+ "line_kind": "header",
132
+ "seq": 3,
133
+ "attempt": {
134
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
135
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
136
+ "run_id": "run-1",
137
+ "attempt_id": "attempt-1"
138
+ },
139
+ "units": {
140
+ "target_unit_ids": [
141
+ "unit:target"
142
+ ],
143
+ "readonly_neighbor_unit_ids": [
144
+ "unit:neighbor"
145
+ ],
146
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
147
+ },
148
+ "writer": {
149
+ "harness_id": "example-harness",
150
+ "harness_version": "1.0.0",
151
+ "writer_instance_id": "writer-1",
152
+ "owner_pid": 4242,
153
+ "process_start_time": "2026-11-04T10:00:00Z"
154
+ },
155
+ "observed_at": "2026-11-04T10:03:00Z",
156
+ "redaction_posture": "digests_and_repo_relative_locators_only",
157
+ "body": {
158
+ "segment_index": 1,
159
+ "previous_segment_sha256": "182db99649b7ee4c223bcf91e90572fa38e9efe89b5f2ee98f71c0ee02d7d839",
160
+ "previous_last_seq": 2,
161
+ "body_kind": "header"
162
+ }
163
+ },
164
+ {
165
+ "schema": "supervised_run_status.v1",
166
+ "version": "1",
167
+ "line_kind": "event",
168
+ "seq": 4,
169
+ "attempt": {
170
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
171
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
172
+ "run_id": "run-1",
173
+ "attempt_id": "attempt-1"
174
+ },
175
+ "units": {
176
+ "target_unit_ids": [
177
+ "unit:target"
178
+ ],
179
+ "readonly_neighbor_unit_ids": [
180
+ "unit:neighbor"
181
+ ],
182
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
183
+ },
184
+ "writer": {
185
+ "harness_id": "example-harness",
186
+ "harness_version": "1.0.0",
187
+ "writer_instance_id": "writer-1",
188
+ "owner_pid": 4242,
189
+ "process_start_time": "2026-11-04T10:00:00Z"
190
+ },
191
+ "observed_at": "2026-11-04T10:04:00Z",
192
+ "redaction_posture": "digests_and_repo_relative_locators_only",
193
+ "body": {
194
+ "message": {
195
+ "label": "untrusted_display_text",
196
+ "text": "worker returned a proposal"
197
+ },
198
+ "refs": [
199
+ {
200
+ "kind": "proposal_bytes",
201
+ "sha256": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
202
+ "locator": null
203
+ },
204
+ {
205
+ "kind": "stdout",
206
+ "sha256": "f5a027b46c91cfc563f3f94f4227f3f9d032209c0acd537e9759afd8bb5fe451",
207
+ "locator": null
208
+ }
209
+ ],
210
+ "body_kind": "event"
211
+ }
212
+ },
213
+ {
214
+ "schema": "supervised_run_status.v1",
215
+ "version": "1",
216
+ "line_kind": "terminal",
217
+ "seq": 5,
218
+ "attempt": {
219
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
220
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
221
+ "run_id": "run-1",
222
+ "attempt_id": "attempt-1"
223
+ },
224
+ "units": {
225
+ "target_unit_ids": [
226
+ "unit:target"
227
+ ],
228
+ "readonly_neighbor_unit_ids": [
229
+ "unit:neighbor"
230
+ ],
231
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
232
+ },
233
+ "writer": {
234
+ "harness_id": "example-harness",
235
+ "harness_version": "1.0.0",
236
+ "writer_instance_id": "writer-1",
237
+ "owner_pid": 4242,
238
+ "process_start_time": "2026-11-04T10:00:00Z"
239
+ },
240
+ "observed_at": "2026-11-04T10:05:00Z",
241
+ "redaction_posture": "digests_and_repo_relative_locators_only",
242
+ "body": {
243
+ "state": "finished",
244
+ "worker_invocations": 1,
245
+ "termination": {
246
+ "reason": "completed",
247
+ "signal": null,
248
+ "by": "worker"
249
+ },
250
+ "refusal": null,
251
+ "result_binding": {
252
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
253
+ "run_id": "run-1",
254
+ "attempt_id": "attempt-1",
255
+ "proposal_bytes_digest": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
256
+ "evidence_envelope_digest": "3118818d25a4475c6c0d4f397a7e050038734606e69a75a8cf5814f44afa2f7a"
257
+ },
258
+ "body_kind": "terminal"
259
+ }
260
+ }
261
+ ],
262
+ "final_newline": true
263
+ }
264
+ ]
265
+ },
266
+ {
267
+ "segments": [
268
+ {
269
+ "lines": [
270
+ {
271
+ "schema": "supervised_run_status.v1",
272
+ "version": "1",
273
+ "line_kind": "header",
274
+ "seq": 0,
275
+ "attempt": {
276
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
277
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
278
+ "run_id": "run-2",
279
+ "attempt_id": "attempt-2"
280
+ },
281
+ "units": {
282
+ "target_unit_ids": [
283
+ "unit:target"
284
+ ],
285
+ "readonly_neighbor_unit_ids": [
286
+ "unit:neighbor"
287
+ ],
288
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
289
+ },
290
+ "writer": {
291
+ "harness_id": "example-harness",
292
+ "harness_version": "1.0.0",
293
+ "writer_instance_id": "writer-1",
294
+ "owner_pid": 4242,
295
+ "process_start_time": "2026-11-04T10:00:00Z"
296
+ },
297
+ "observed_at": "2026-11-04T10:00:00Z",
298
+ "redaction_posture": "digests_and_repo_relative_locators_only",
299
+ "body": {
300
+ "segment_index": 0,
301
+ "previous_segment_sha256": null,
302
+ "previous_last_seq": null,
303
+ "body_kind": "header"
304
+ }
305
+ },
306
+ {
307
+ "schema": "supervised_run_status.v1",
308
+ "version": "1",
309
+ "line_kind": "state",
310
+ "seq": 1,
311
+ "attempt": {
312
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
313
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
314
+ "run_id": "run-2",
315
+ "attempt_id": "attempt-2"
316
+ },
317
+ "units": {
318
+ "target_unit_ids": [
319
+ "unit:target"
320
+ ],
321
+ "readonly_neighbor_unit_ids": [
322
+ "unit:neighbor"
323
+ ],
324
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
325
+ },
326
+ "writer": {
327
+ "harness_id": "example-harness",
328
+ "harness_version": "1.0.0",
329
+ "writer_instance_id": "writer-1",
330
+ "owner_pid": 4242,
331
+ "process_start_time": "2026-11-04T10:00:00Z"
332
+ },
333
+ "observed_at": "2026-11-04T10:01:00Z",
334
+ "redaction_posture": "digests_and_repo_relative_locators_only",
335
+ "body": {
336
+ "state": "queued",
337
+ "worker_invocations": 0,
338
+ "body_kind": "state"
339
+ }
340
+ },
341
+ {
342
+ "schema": "supervised_run_status.v1",
343
+ "version": "1",
344
+ "line_kind": "state",
345
+ "seq": 2,
346
+ "attempt": {
347
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
348
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
349
+ "run_id": "run-2",
350
+ "attempt_id": "attempt-2"
351
+ },
352
+ "units": {
353
+ "target_unit_ids": [
354
+ "unit:target"
355
+ ],
356
+ "readonly_neighbor_unit_ids": [
357
+ "unit:neighbor"
358
+ ],
359
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
360
+ },
361
+ "writer": {
362
+ "harness_id": "example-harness",
363
+ "harness_version": "1.0.0",
364
+ "writer_instance_id": "writer-1",
365
+ "owner_pid": 4242,
366
+ "process_start_time": "2026-11-04T10:00:00Z"
367
+ },
368
+ "observed_at": "2026-11-04T10:02:00Z",
369
+ "redaction_posture": "digests_and_repo_relative_locators_only",
370
+ "body": {
371
+ "state": "running",
372
+ "worker_invocations": 1,
373
+ "body_kind": "state"
374
+ }
375
+ },
376
+ {
377
+ "schema": "supervised_run_status.v1",
378
+ "version": "1",
379
+ "line_kind": "event",
380
+ "seq": 3,
381
+ "attempt": {
382
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
383
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
384
+ "run_id": "run-2",
385
+ "attempt_id": "attempt-2"
386
+ },
387
+ "units": {
388
+ "target_unit_ids": [
389
+ "unit:target"
390
+ ],
391
+ "readonly_neighbor_unit_ids": [
392
+ "unit:neighbor"
393
+ ],
394
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
395
+ },
396
+ "writer": {
397
+ "harness_id": "example-harness",
398
+ "harness_version": "1.0.0",
399
+ "writer_instance_id": "writer-1",
400
+ "owner_pid": 4242,
401
+ "process_start_time": "2026-11-04T10:00:00Z"
402
+ },
403
+ "observed_at": "2026-11-04T10:03:00Z",
404
+ "redaction_posture": "digests_and_repo_relative_locators_only",
405
+ "body": {
406
+ "message": {
407
+ "label": "untrusted_display_text",
408
+ "text": "retry attempt returned an identical proposal"
409
+ },
410
+ "refs": [
411
+ {
412
+ "kind": "proposal_bytes",
413
+ "sha256": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
414
+ "locator": "src/module/target.ts"
415
+ }
416
+ ],
417
+ "body_kind": "event"
418
+ }
419
+ },
420
+ {
421
+ "schema": "supervised_run_status.v1",
422
+ "version": "1",
423
+ "line_kind": "terminal",
424
+ "seq": 4,
425
+ "attempt": {
426
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
427
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
428
+ "run_id": "run-2",
429
+ "attempt_id": "attempt-2"
430
+ },
431
+ "units": {
432
+ "target_unit_ids": [
433
+ "unit:target"
434
+ ],
435
+ "readonly_neighbor_unit_ids": [
436
+ "unit:neighbor"
437
+ ],
438
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
439
+ },
440
+ "writer": {
441
+ "harness_id": "example-harness",
442
+ "harness_version": "1.0.0",
443
+ "writer_instance_id": "writer-1",
444
+ "owner_pid": 4242,
445
+ "process_start_time": "2026-11-04T10:00:00Z"
446
+ },
447
+ "observed_at": "2026-11-04T10:04:00Z",
448
+ "redaction_posture": "digests_and_repo_relative_locators_only",
449
+ "body": {
450
+ "state": "finished",
451
+ "worker_invocations": 1,
452
+ "termination": {
453
+ "reason": "completed",
454
+ "signal": null,
455
+ "by": "worker"
456
+ },
457
+ "refusal": null,
458
+ "result_binding": {
459
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
460
+ "run_id": "run-2",
461
+ "attempt_id": "attempt-2",
462
+ "proposal_bytes_digest": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
463
+ "evidence_envelope_digest": "1782d82683b439b5683138c44cc6b510e86b915f12137261289f75ddc3289b37"
464
+ },
465
+ "body_kind": "terminal"
466
+ }
467
+ }
468
+ ],
469
+ "final_newline": true
470
+ }
471
+ ]
472
+ }
473
+ ]
474
+ }
475
+ },
476
+ "expected": [],
477
+ "expected_effect": {
478
+ "display": [
479
+ "finished",
480
+ "finished"
481
+ ]
482
+ }
483
+ },
484
+ {
485
+ "id": "V-running",
486
+ "kind": "journal",
487
+ "role": "control",
488
+ "input": {
489
+ "journal": {
490
+ "attempts": [
491
+ {
492
+ "segments": [
493
+ {
494
+ "lines": [
495
+ {
496
+ "schema": "supervised_run_status.v1",
497
+ "version": "1",
498
+ "line_kind": "header",
499
+ "seq": 0,
500
+ "attempt": {
501
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
502
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
503
+ "run_id": "run-1",
504
+ "attempt_id": "attempt-1"
505
+ },
506
+ "units": {
507
+ "target_unit_ids": [
508
+ "unit:target"
509
+ ],
510
+ "readonly_neighbor_unit_ids": [
511
+ "unit:neighbor"
512
+ ],
513
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
514
+ },
515
+ "writer": {
516
+ "harness_id": "example-harness",
517
+ "harness_version": "1.0.0",
518
+ "writer_instance_id": "writer-1",
519
+ "owner_pid": 4242,
520
+ "process_start_time": "2026-11-04T10:00:00Z"
521
+ },
522
+ "observed_at": "2026-11-04T10:00:00Z",
523
+ "redaction_posture": "digests_and_repo_relative_locators_only",
524
+ "body": {
525
+ "segment_index": 0,
526
+ "previous_segment_sha256": null,
527
+ "previous_last_seq": null,
528
+ "body_kind": "header"
529
+ }
530
+ },
531
+ {
532
+ "schema": "supervised_run_status.v1",
533
+ "version": "1",
534
+ "line_kind": "state",
535
+ "seq": 1,
536
+ "attempt": {
537
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
538
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
539
+ "run_id": "run-1",
540
+ "attempt_id": "attempt-1"
541
+ },
542
+ "units": {
543
+ "target_unit_ids": [
544
+ "unit:target"
545
+ ],
546
+ "readonly_neighbor_unit_ids": [
547
+ "unit:neighbor"
548
+ ],
549
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
550
+ },
551
+ "writer": {
552
+ "harness_id": "example-harness",
553
+ "harness_version": "1.0.0",
554
+ "writer_instance_id": "writer-1",
555
+ "owner_pid": 4242,
556
+ "process_start_time": "2026-11-04T10:00:00Z"
557
+ },
558
+ "observed_at": "2026-11-04T10:01:00Z",
559
+ "redaction_posture": "digests_and_repo_relative_locators_only",
560
+ "body": {
561
+ "state": "queued",
562
+ "worker_invocations": 0,
563
+ "body_kind": "state"
564
+ }
565
+ },
566
+ {
567
+ "schema": "supervised_run_status.v1",
568
+ "version": "1",
569
+ "line_kind": "state",
570
+ "seq": 2,
571
+ "attempt": {
572
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
573
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
574
+ "run_id": "run-1",
575
+ "attempt_id": "attempt-1"
576
+ },
577
+ "units": {
578
+ "target_unit_ids": [
579
+ "unit:target"
580
+ ],
581
+ "readonly_neighbor_unit_ids": [
582
+ "unit:neighbor"
583
+ ],
584
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
585
+ },
586
+ "writer": {
587
+ "harness_id": "example-harness",
588
+ "harness_version": "1.0.0",
589
+ "writer_instance_id": "writer-1",
590
+ "owner_pid": 4242,
591
+ "process_start_time": "2026-11-04T10:00:00Z"
592
+ },
593
+ "observed_at": "2026-11-04T10:02:00Z",
594
+ "redaction_posture": "digests_and_repo_relative_locators_only",
595
+ "body": {
596
+ "state": "running",
597
+ "worker_invocations": 1,
598
+ "body_kind": "state"
599
+ }
600
+ },
601
+ {
602
+ "schema": "supervised_run_status.v1",
603
+ "version": "1",
604
+ "line_kind": "event",
605
+ "seq": 3,
606
+ "attempt": {
607
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
608
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
609
+ "run_id": "run-1",
610
+ "attempt_id": "attempt-1"
611
+ },
612
+ "units": {
613
+ "target_unit_ids": [
614
+ "unit:target"
615
+ ],
616
+ "readonly_neighbor_unit_ids": [
617
+ "unit:neighbor"
618
+ ],
619
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
620
+ },
621
+ "writer": {
622
+ "harness_id": "example-harness",
623
+ "harness_version": "1.0.0",
624
+ "writer_instance_id": "writer-1",
625
+ "owner_pid": 4242,
626
+ "process_start_time": "2026-11-04T10:00:00Z"
627
+ },
628
+ "observed_at": "2026-11-04T10:03:00Z",
629
+ "redaction_posture": "digests_and_repo_relative_locators_only",
630
+ "body": {
631
+ "message": {
632
+ "label": "untrusted_display_text",
633
+ "text": "editing the granted unit"
634
+ },
635
+ "refs": [],
636
+ "body_kind": "event"
637
+ }
638
+ }
639
+ ],
640
+ "final_newline": true
641
+ }
642
+ ]
643
+ }
644
+ ]
645
+ }
646
+ },
647
+ "expected": [],
648
+ "expected_effect": {
649
+ "display": [
650
+ "running"
651
+ ]
652
+ }
653
+ },
654
+ {
655
+ "id": "V-refused-before-launch",
656
+ "kind": "journal",
657
+ "role": "control",
658
+ "input": {
659
+ "journal": {
660
+ "attempts": [
661
+ {
662
+ "segments": [
663
+ {
664
+ "lines": [
665
+ {
666
+ "schema": "supervised_run_status.v1",
667
+ "version": "1",
668
+ "line_kind": "header",
669
+ "seq": 0,
670
+ "attempt": {
671
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
672
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
673
+ "run_id": "run-1",
674
+ "attempt_id": "attempt-1"
675
+ },
676
+ "units": {
677
+ "target_unit_ids": [
678
+ "unit:target"
679
+ ],
680
+ "readonly_neighbor_unit_ids": [
681
+ "unit:neighbor"
682
+ ],
683
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
684
+ },
685
+ "writer": {
686
+ "harness_id": "example-harness",
687
+ "harness_version": "1.0.0",
688
+ "writer_instance_id": "writer-1",
689
+ "owner_pid": 4242,
690
+ "process_start_time": "2026-11-04T10:00:00Z"
691
+ },
692
+ "observed_at": "2026-11-04T10:00:00Z",
693
+ "redaction_posture": "digests_and_repo_relative_locators_only",
694
+ "body": {
695
+ "segment_index": 0,
696
+ "previous_segment_sha256": null,
697
+ "previous_last_seq": null,
698
+ "body_kind": "header"
699
+ }
700
+ },
701
+ {
702
+ "schema": "supervised_run_status.v1",
703
+ "version": "1",
704
+ "line_kind": "state",
705
+ "seq": 1,
706
+ "attempt": {
707
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
708
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
709
+ "run_id": "run-1",
710
+ "attempt_id": "attempt-1"
711
+ },
712
+ "units": {
713
+ "target_unit_ids": [
714
+ "unit:target"
715
+ ],
716
+ "readonly_neighbor_unit_ids": [
717
+ "unit:neighbor"
718
+ ],
719
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
720
+ },
721
+ "writer": {
722
+ "harness_id": "example-harness",
723
+ "harness_version": "1.0.0",
724
+ "writer_instance_id": "writer-1",
725
+ "owner_pid": 4242,
726
+ "process_start_time": "2026-11-04T10:00:00Z"
727
+ },
728
+ "observed_at": "2026-11-04T10:01:00Z",
729
+ "redaction_posture": "digests_and_repo_relative_locators_only",
730
+ "body": {
731
+ "state": "queued",
732
+ "worker_invocations": 0,
733
+ "body_kind": "state"
734
+ }
735
+ },
736
+ {
737
+ "schema": "supervised_run_status.v1",
738
+ "version": "1",
739
+ "line_kind": "terminal",
740
+ "seq": 2,
741
+ "attempt": {
742
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
743
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
744
+ "run_id": "run-1",
745
+ "attempt_id": "attempt-1"
746
+ },
747
+ "units": {
748
+ "target_unit_ids": [
749
+ "unit:target"
750
+ ],
751
+ "readonly_neighbor_unit_ids": [
752
+ "unit:neighbor"
753
+ ],
754
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
755
+ },
756
+ "writer": {
757
+ "harness_id": "example-harness",
758
+ "harness_version": "1.0.0",
759
+ "writer_instance_id": "writer-1",
760
+ "owner_pid": 4242,
761
+ "process_start_time": "2026-11-04T10:00:00Z"
762
+ },
763
+ "observed_at": "2026-11-04T10:02:00Z",
764
+ "redaction_posture": "digests_and_repo_relative_locators_only",
765
+ "body": {
766
+ "state": "refused",
767
+ "worker_invocations": 0,
768
+ "termination": null,
769
+ "refusal": {
770
+ "reason": "constraint_unsupported",
771
+ "constraint": "network_denial",
772
+ "tier": "provider_readonly_patch_return_audit"
773
+ },
774
+ "result_binding": null,
775
+ "body_kind": "terminal"
776
+ }
777
+ }
778
+ ],
779
+ "final_newline": true
780
+ }
781
+ ]
782
+ }
783
+ ]
784
+ }
785
+ },
786
+ "expected": [],
787
+ "expected_effect": {
788
+ "display": [
789
+ "refused"
790
+ ]
791
+ }
792
+ },
793
+ {
794
+ "id": "N04a-seq-skip",
795
+ "kind": "journal",
796
+ "role": "negative",
797
+ "control": "V-two-attempts",
798
+ "patch": [
799
+ {
800
+ "op": "replace",
801
+ "path": "/journal/attempts/1/segments/0/lines/4/seq",
802
+ "value": 5
803
+ }
804
+ ],
805
+ "expected": [
806
+ "attempt_overwritten"
807
+ ]
808
+ },
809
+ {
810
+ "id": "N04a-seq-regress",
811
+ "kind": "journal",
812
+ "role": "negative",
813
+ "control": "V-two-attempts",
814
+ "patch": [
815
+ {
816
+ "op": "replace",
817
+ "path": "/journal/attempts/1/segments/0/lines/3/seq",
818
+ "value": 2
819
+ },
820
+ {
821
+ "op": "replace",
822
+ "path": "/journal/attempts/1/segments/0/lines/4/seq",
823
+ "value": 3
824
+ }
825
+ ],
826
+ "expected": [
827
+ "attempt_overwritten"
828
+ ]
829
+ },
830
+ {
831
+ "id": "N04a-replaced-in-place",
832
+ "kind": "journal",
833
+ "role": "negative",
834
+ "control": "V-two-attempts",
835
+ "patch": [
836
+ {
837
+ "op": "replace",
838
+ "path": "/journal/attempts/0/segments/0/lines/2/observed_at",
839
+ "value": "2026-11-04T11:59:00Z"
840
+ }
841
+ ],
842
+ "expected": [
843
+ "attempt_overwritten"
844
+ ]
845
+ },
846
+ {
847
+ "id": "N04b-foreign-binding",
848
+ "kind": "journal",
849
+ "role": "negative",
850
+ "control": "V-two-attempts",
851
+ "patch": [
852
+ {
853
+ "op": "replace",
854
+ "path": "/journal/attempts/1/segments/0/lines/4/body/result_binding/envelope_digest",
855
+ "value": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef"
856
+ },
857
+ {
858
+ "op": "replace",
859
+ "path": "/journal/attempts/1/segments/0/lines/4/body/result_binding/run_id",
860
+ "value": "run-1"
861
+ }
862
+ ],
863
+ "expected": [
864
+ "attempt_provenance_mismatch"
865
+ ]
866
+ },
867
+ {
868
+ "id": "S-evidence-copied",
869
+ "kind": "journal",
870
+ "role": "negative",
871
+ "control": "V-two-attempts",
872
+ "patch": [
873
+ {
874
+ "op": "replace",
875
+ "path": "/journal/attempts/1/segments/0/lines/4/body/result_binding/evidence_envelope_digest",
876
+ "value": "3118818d25a4475c6c0d4f397a7e050038734606e69a75a8cf5814f44afa2f7a"
877
+ }
878
+ ],
879
+ "expected": [
880
+ "attempt_evidence_copied"
881
+ ]
882
+ },
883
+ {
884
+ "id": "N15-torn-line",
885
+ "kind": "journal",
886
+ "role": "negative",
887
+ "control": "V-running",
888
+ "patch": [
889
+ {
890
+ "op": "replace",
891
+ "path": "/journal/attempts/0/segments/0/lines/3",
892
+ "value": "{\"attempt\":{\"assignment_digest\":\"4db7751"
893
+ },
894
+ {
895
+ "op": "replace",
896
+ "path": "/journal/attempts/0/segments/0/final_newline",
897
+ "value": false
898
+ }
899
+ ],
900
+ "expected": [
901
+ "journal_torn_line"
902
+ ],
903
+ "expected_effect": {
904
+ "display": [
905
+ "unknown"
906
+ ]
907
+ }
908
+ },
909
+ {
910
+ "id": "N15-no-final-newline",
911
+ "kind": "journal",
912
+ "role": "negative",
913
+ "control": "V-running",
914
+ "patch": [
915
+ {
916
+ "op": "replace",
917
+ "path": "/journal/attempts/0/segments/0/final_newline",
918
+ "value": false
919
+ }
920
+ ],
921
+ "expected": [
922
+ "journal_torn_line"
923
+ ],
924
+ "expected_effect": {
925
+ "display": [
926
+ "unknown"
927
+ ]
928
+ }
929
+ },
930
+ {
931
+ "id": "N15-unknown-version",
932
+ "kind": "journal",
933
+ "role": "negative",
934
+ "control": "V-running",
935
+ "patch": [
936
+ {
937
+ "op": "replace",
938
+ "path": "/journal/attempts/0/segments/0/lines/3/version",
939
+ "value": "2"
940
+ }
941
+ ],
942
+ "expected": [
943
+ "journal_unknown_version"
944
+ ],
945
+ "expected_effect": {
946
+ "display": [
947
+ "unknown"
948
+ ]
949
+ }
950
+ },
951
+ {
952
+ "id": "N15-foreign-writer",
953
+ "kind": "journal",
954
+ "role": "negative",
955
+ "control": "V-running",
956
+ "patch": [
957
+ {
958
+ "op": "replace",
959
+ "path": "/journal/attempts/0/segments/0/lines/3/writer/writer_instance_id",
960
+ "value": "writer-2"
961
+ }
962
+ ],
963
+ "expected": [
964
+ "journal_foreign_writer"
965
+ ],
966
+ "expected_effect": {
967
+ "display": [
968
+ "unknown"
969
+ ]
970
+ }
971
+ },
972
+ {
973
+ "id": "N19-refused-after-start",
974
+ "kind": "journal",
975
+ "role": "negative",
976
+ "control": "V-refused-before-launch",
977
+ "patch": [
978
+ {
979
+ "op": "replace",
980
+ "path": "/journal/attempts/0/segments/0/lines/2/body/worker_invocations",
981
+ "value": 1
982
+ }
983
+ ],
984
+ "expected": [
985
+ "refused_after_launch"
986
+ ]
987
+ },
988
+ {
989
+ "id": "N19-refused-after-running",
990
+ "kind": "journal",
991
+ "role": "negative",
992
+ "control": "V-refused-before-launch",
993
+ "patch": [
994
+ {
995
+ "op": "add",
996
+ "path": "/journal/attempts/0/segments/0/lines/2",
997
+ "value": {
998
+ "schema": "supervised_run_status.v1",
999
+ "version": "1",
1000
+ "line_kind": "state",
1001
+ "seq": 2,
1002
+ "attempt": {
1003
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1004
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1005
+ "run_id": "run-1",
1006
+ "attempt_id": "attempt-1"
1007
+ },
1008
+ "units": {
1009
+ "target_unit_ids": [
1010
+ "unit:target"
1011
+ ],
1012
+ "readonly_neighbor_unit_ids": [
1013
+ "unit:neighbor"
1014
+ ],
1015
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1016
+ },
1017
+ "writer": {
1018
+ "harness_id": "example-harness",
1019
+ "harness_version": "1.0.0",
1020
+ "writer_instance_id": "writer-1",
1021
+ "owner_pid": 4242,
1022
+ "process_start_time": "2026-11-04T10:00:00Z"
1023
+ },
1024
+ "observed_at": "2026-11-04T10:02:00Z",
1025
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1026
+ "body": {
1027
+ "state": "running",
1028
+ "worker_invocations": 1,
1029
+ "body_kind": "state"
1030
+ }
1031
+ }
1032
+ },
1033
+ {
1034
+ "op": "replace",
1035
+ "path": "/journal/attempts/0/segments/0/lines/3/seq",
1036
+ "value": 3
1037
+ }
1038
+ ],
1039
+ "expected": [
1040
+ "refused_after_launch"
1041
+ ]
1042
+ },
1043
+ {
1044
+ "id": "S-finished-without-termination",
1045
+ "kind": "journal",
1046
+ "role": "negative",
1047
+ "control": "V-two-attempts",
1048
+ "patch": [
1049
+ {
1050
+ "op": "replace",
1051
+ "path": "/journal/attempts/1/segments/0/lines/4/body/termination",
1052
+ "value": null
1053
+ }
1054
+ ],
1055
+ "expected": [
1056
+ "lifecycle_invalid"
1057
+ ]
1058
+ },
1059
+ {
1060
+ "id": "N20-raw-stdout-ref",
1061
+ "kind": "journal",
1062
+ "role": "negative",
1063
+ "control": "V-two-attempts",
1064
+ "patch": [
1065
+ {
1066
+ "op": "replace",
1067
+ "path": "/journal/attempts/0/segments/1/lines/1/body/refs/1/sha256",
1068
+ "value": "hello from the worker"
1069
+ }
1070
+ ],
1071
+ "expected": [
1072
+ "raw_output_in_record"
1073
+ ]
1074
+ },
1075
+ {
1076
+ "id": "N20-raw-message",
1077
+ "kind": "journal",
1078
+ "role": "negative",
1079
+ "control": "V-running",
1080
+ "patch": [
1081
+ {
1082
+ "op": "replace",
1083
+ "path": "/journal/attempts/0/segments/0/lines/3/body/message/text",
1084
+ "value": "Traceback (most recent call last):\n File \"x\", line 1"
1085
+ }
1086
+ ],
1087
+ "expected": [
1088
+ "raw_output_in_record"
1089
+ ]
1090
+ },
1091
+ {
1092
+ "id": "N20-absolute-locator",
1093
+ "kind": "journal",
1094
+ "role": "negative",
1095
+ "control": "V-two-attempts",
1096
+ "patch": [
1097
+ {
1098
+ "op": "replace",
1099
+ "path": "/journal/attempts/1/segments/0/lines/3/body/refs/0/locator",
1100
+ "value": "/x"
1101
+ }
1102
+ ],
1103
+ "expected": [
1104
+ "locator_not_repo_relative"
1105
+ ]
1106
+ },
1107
+ {
1108
+ "id": "N20-parent-locator",
1109
+ "kind": "journal",
1110
+ "role": "negative",
1111
+ "control": "V-two-attempts",
1112
+ "patch": [
1113
+ {
1114
+ "op": "replace",
1115
+ "path": "/journal/attempts/1/segments/0/lines/3/body/refs/0/locator",
1116
+ "value": "../outside.txt"
1117
+ }
1118
+ ],
1119
+ "expected": [
1120
+ "locator_not_repo_relative"
1121
+ ]
1122
+ },
1123
+ {
1124
+ "id": "V-projection-at-tail",
1125
+ "kind": "projection",
1126
+ "role": "control",
1127
+ "input": {
1128
+ "journal": {
1129
+ "attempts": [
1130
+ {
1131
+ "segments": [
1132
+ {
1133
+ "lines": [
1134
+ {
1135
+ "schema": "supervised_run_status.v1",
1136
+ "version": "1",
1137
+ "line_kind": "header",
1138
+ "seq": 0,
1139
+ "attempt": {
1140
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1141
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1142
+ "run_id": "run-1",
1143
+ "attempt_id": "attempt-1"
1144
+ },
1145
+ "units": {
1146
+ "target_unit_ids": [
1147
+ "unit:target"
1148
+ ],
1149
+ "readonly_neighbor_unit_ids": [
1150
+ "unit:neighbor"
1151
+ ],
1152
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1153
+ },
1154
+ "writer": {
1155
+ "harness_id": "example-harness",
1156
+ "harness_version": "1.0.0",
1157
+ "writer_instance_id": "writer-1",
1158
+ "owner_pid": 4242,
1159
+ "process_start_time": "2026-11-04T10:00:00Z"
1160
+ },
1161
+ "observed_at": "2026-11-04T10:00:00Z",
1162
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1163
+ "body": {
1164
+ "segment_index": 0,
1165
+ "previous_segment_sha256": null,
1166
+ "previous_last_seq": null,
1167
+ "body_kind": "header"
1168
+ }
1169
+ },
1170
+ {
1171
+ "schema": "supervised_run_status.v1",
1172
+ "version": "1",
1173
+ "line_kind": "state",
1174
+ "seq": 1,
1175
+ "attempt": {
1176
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1177
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1178
+ "run_id": "run-1",
1179
+ "attempt_id": "attempt-1"
1180
+ },
1181
+ "units": {
1182
+ "target_unit_ids": [
1183
+ "unit:target"
1184
+ ],
1185
+ "readonly_neighbor_unit_ids": [
1186
+ "unit:neighbor"
1187
+ ],
1188
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1189
+ },
1190
+ "writer": {
1191
+ "harness_id": "example-harness",
1192
+ "harness_version": "1.0.0",
1193
+ "writer_instance_id": "writer-1",
1194
+ "owner_pid": 4242,
1195
+ "process_start_time": "2026-11-04T10:00:00Z"
1196
+ },
1197
+ "observed_at": "2026-11-04T10:01:00Z",
1198
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1199
+ "body": {
1200
+ "state": "queued",
1201
+ "worker_invocations": 0,
1202
+ "body_kind": "state"
1203
+ }
1204
+ },
1205
+ {
1206
+ "schema": "supervised_run_status.v1",
1207
+ "version": "1",
1208
+ "line_kind": "state",
1209
+ "seq": 2,
1210
+ "attempt": {
1211
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1212
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1213
+ "run_id": "run-1",
1214
+ "attempt_id": "attempt-1"
1215
+ },
1216
+ "units": {
1217
+ "target_unit_ids": [
1218
+ "unit:target"
1219
+ ],
1220
+ "readonly_neighbor_unit_ids": [
1221
+ "unit:neighbor"
1222
+ ],
1223
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1224
+ },
1225
+ "writer": {
1226
+ "harness_id": "example-harness",
1227
+ "harness_version": "1.0.0",
1228
+ "writer_instance_id": "writer-1",
1229
+ "owner_pid": 4242,
1230
+ "process_start_time": "2026-11-04T10:00:00Z"
1231
+ },
1232
+ "observed_at": "2026-11-04T10:02:00Z",
1233
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1234
+ "body": {
1235
+ "state": "running",
1236
+ "worker_invocations": 1,
1237
+ "body_kind": "state"
1238
+ }
1239
+ }
1240
+ ],
1241
+ "final_newline": true
1242
+ },
1243
+ {
1244
+ "lines": [
1245
+ {
1246
+ "schema": "supervised_run_status.v1",
1247
+ "version": "1",
1248
+ "line_kind": "header",
1249
+ "seq": 3,
1250
+ "attempt": {
1251
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1252
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1253
+ "run_id": "run-1",
1254
+ "attempt_id": "attempt-1"
1255
+ },
1256
+ "units": {
1257
+ "target_unit_ids": [
1258
+ "unit:target"
1259
+ ],
1260
+ "readonly_neighbor_unit_ids": [
1261
+ "unit:neighbor"
1262
+ ],
1263
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1264
+ },
1265
+ "writer": {
1266
+ "harness_id": "example-harness",
1267
+ "harness_version": "1.0.0",
1268
+ "writer_instance_id": "writer-1",
1269
+ "owner_pid": 4242,
1270
+ "process_start_time": "2026-11-04T10:00:00Z"
1271
+ },
1272
+ "observed_at": "2026-11-04T10:03:00Z",
1273
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1274
+ "body": {
1275
+ "segment_index": 1,
1276
+ "previous_segment_sha256": "182db99649b7ee4c223bcf91e90572fa38e9efe89b5f2ee98f71c0ee02d7d839",
1277
+ "previous_last_seq": 2,
1278
+ "body_kind": "header"
1279
+ }
1280
+ },
1281
+ {
1282
+ "schema": "supervised_run_status.v1",
1283
+ "version": "1",
1284
+ "line_kind": "event",
1285
+ "seq": 4,
1286
+ "attempt": {
1287
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1288
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1289
+ "run_id": "run-1",
1290
+ "attempt_id": "attempt-1"
1291
+ },
1292
+ "units": {
1293
+ "target_unit_ids": [
1294
+ "unit:target"
1295
+ ],
1296
+ "readonly_neighbor_unit_ids": [
1297
+ "unit:neighbor"
1298
+ ],
1299
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1300
+ },
1301
+ "writer": {
1302
+ "harness_id": "example-harness",
1303
+ "harness_version": "1.0.0",
1304
+ "writer_instance_id": "writer-1",
1305
+ "owner_pid": 4242,
1306
+ "process_start_time": "2026-11-04T10:00:00Z"
1307
+ },
1308
+ "observed_at": "2026-11-04T10:04:00Z",
1309
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1310
+ "body": {
1311
+ "message": {
1312
+ "label": "untrusted_display_text",
1313
+ "text": "worker returned a proposal"
1314
+ },
1315
+ "refs": [
1316
+ {
1317
+ "kind": "proposal_bytes",
1318
+ "sha256": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
1319
+ "locator": null
1320
+ },
1321
+ {
1322
+ "kind": "stdout",
1323
+ "sha256": "f5a027b46c91cfc563f3f94f4227f3f9d032209c0acd537e9759afd8bb5fe451",
1324
+ "locator": null
1325
+ }
1326
+ ],
1327
+ "body_kind": "event"
1328
+ }
1329
+ },
1330
+ {
1331
+ "schema": "supervised_run_status.v1",
1332
+ "version": "1",
1333
+ "line_kind": "terminal",
1334
+ "seq": 5,
1335
+ "attempt": {
1336
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1337
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1338
+ "run_id": "run-1",
1339
+ "attempt_id": "attempt-1"
1340
+ },
1341
+ "units": {
1342
+ "target_unit_ids": [
1343
+ "unit:target"
1344
+ ],
1345
+ "readonly_neighbor_unit_ids": [
1346
+ "unit:neighbor"
1347
+ ],
1348
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1349
+ },
1350
+ "writer": {
1351
+ "harness_id": "example-harness",
1352
+ "harness_version": "1.0.0",
1353
+ "writer_instance_id": "writer-1",
1354
+ "owner_pid": 4242,
1355
+ "process_start_time": "2026-11-04T10:00:00Z"
1356
+ },
1357
+ "observed_at": "2026-11-04T10:05:00Z",
1358
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1359
+ "body": {
1360
+ "state": "finished",
1361
+ "worker_invocations": 1,
1362
+ "termination": {
1363
+ "reason": "completed",
1364
+ "signal": null,
1365
+ "by": "worker"
1366
+ },
1367
+ "refusal": null,
1368
+ "result_binding": {
1369
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1370
+ "run_id": "run-1",
1371
+ "attempt_id": "attempt-1",
1372
+ "proposal_bytes_digest": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
1373
+ "evidence_envelope_digest": "3118818d25a4475c6c0d4f397a7e050038734606e69a75a8cf5814f44afa2f7a"
1374
+ },
1375
+ "body_kind": "terminal"
1376
+ }
1377
+ }
1378
+ ],
1379
+ "final_newline": true
1380
+ }
1381
+ ]
1382
+ },
1383
+ {
1384
+ "segments": [
1385
+ {
1386
+ "lines": [
1387
+ {
1388
+ "schema": "supervised_run_status.v1",
1389
+ "version": "1",
1390
+ "line_kind": "header",
1391
+ "seq": 0,
1392
+ "attempt": {
1393
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1394
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1395
+ "run_id": "run-2",
1396
+ "attempt_id": "attempt-2"
1397
+ },
1398
+ "units": {
1399
+ "target_unit_ids": [
1400
+ "unit:target"
1401
+ ],
1402
+ "readonly_neighbor_unit_ids": [
1403
+ "unit:neighbor"
1404
+ ],
1405
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1406
+ },
1407
+ "writer": {
1408
+ "harness_id": "example-harness",
1409
+ "harness_version": "1.0.0",
1410
+ "writer_instance_id": "writer-1",
1411
+ "owner_pid": 4242,
1412
+ "process_start_time": "2026-11-04T10:00:00Z"
1413
+ },
1414
+ "observed_at": "2026-11-04T10:00:00Z",
1415
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1416
+ "body": {
1417
+ "segment_index": 0,
1418
+ "previous_segment_sha256": null,
1419
+ "previous_last_seq": null,
1420
+ "body_kind": "header"
1421
+ }
1422
+ },
1423
+ {
1424
+ "schema": "supervised_run_status.v1",
1425
+ "version": "1",
1426
+ "line_kind": "state",
1427
+ "seq": 1,
1428
+ "attempt": {
1429
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1430
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1431
+ "run_id": "run-2",
1432
+ "attempt_id": "attempt-2"
1433
+ },
1434
+ "units": {
1435
+ "target_unit_ids": [
1436
+ "unit:target"
1437
+ ],
1438
+ "readonly_neighbor_unit_ids": [
1439
+ "unit:neighbor"
1440
+ ],
1441
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1442
+ },
1443
+ "writer": {
1444
+ "harness_id": "example-harness",
1445
+ "harness_version": "1.0.0",
1446
+ "writer_instance_id": "writer-1",
1447
+ "owner_pid": 4242,
1448
+ "process_start_time": "2026-11-04T10:00:00Z"
1449
+ },
1450
+ "observed_at": "2026-11-04T10:01:00Z",
1451
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1452
+ "body": {
1453
+ "state": "queued",
1454
+ "worker_invocations": 0,
1455
+ "body_kind": "state"
1456
+ }
1457
+ },
1458
+ {
1459
+ "schema": "supervised_run_status.v1",
1460
+ "version": "1",
1461
+ "line_kind": "state",
1462
+ "seq": 2,
1463
+ "attempt": {
1464
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1465
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1466
+ "run_id": "run-2",
1467
+ "attempt_id": "attempt-2"
1468
+ },
1469
+ "units": {
1470
+ "target_unit_ids": [
1471
+ "unit:target"
1472
+ ],
1473
+ "readonly_neighbor_unit_ids": [
1474
+ "unit:neighbor"
1475
+ ],
1476
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1477
+ },
1478
+ "writer": {
1479
+ "harness_id": "example-harness",
1480
+ "harness_version": "1.0.0",
1481
+ "writer_instance_id": "writer-1",
1482
+ "owner_pid": 4242,
1483
+ "process_start_time": "2026-11-04T10:00:00Z"
1484
+ },
1485
+ "observed_at": "2026-11-04T10:02:00Z",
1486
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1487
+ "body": {
1488
+ "state": "running",
1489
+ "worker_invocations": 1,
1490
+ "body_kind": "state"
1491
+ }
1492
+ },
1493
+ {
1494
+ "schema": "supervised_run_status.v1",
1495
+ "version": "1",
1496
+ "line_kind": "event",
1497
+ "seq": 3,
1498
+ "attempt": {
1499
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1500
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1501
+ "run_id": "run-2",
1502
+ "attempt_id": "attempt-2"
1503
+ },
1504
+ "units": {
1505
+ "target_unit_ids": [
1506
+ "unit:target"
1507
+ ],
1508
+ "readonly_neighbor_unit_ids": [
1509
+ "unit:neighbor"
1510
+ ],
1511
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1512
+ },
1513
+ "writer": {
1514
+ "harness_id": "example-harness",
1515
+ "harness_version": "1.0.0",
1516
+ "writer_instance_id": "writer-1",
1517
+ "owner_pid": 4242,
1518
+ "process_start_time": "2026-11-04T10:00:00Z"
1519
+ },
1520
+ "observed_at": "2026-11-04T10:03:00Z",
1521
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1522
+ "body": {
1523
+ "message": {
1524
+ "label": "untrusted_display_text",
1525
+ "text": "retry attempt returned an identical proposal"
1526
+ },
1527
+ "refs": [
1528
+ {
1529
+ "kind": "proposal_bytes",
1530
+ "sha256": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
1531
+ "locator": "src/module/target.ts"
1532
+ }
1533
+ ],
1534
+ "body_kind": "event"
1535
+ }
1536
+ },
1537
+ {
1538
+ "schema": "supervised_run_status.v1",
1539
+ "version": "1",
1540
+ "line_kind": "terminal",
1541
+ "seq": 4,
1542
+ "attempt": {
1543
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1544
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1545
+ "run_id": "run-2",
1546
+ "attempt_id": "attempt-2"
1547
+ },
1548
+ "units": {
1549
+ "target_unit_ids": [
1550
+ "unit:target"
1551
+ ],
1552
+ "readonly_neighbor_unit_ids": [
1553
+ "unit:neighbor"
1554
+ ],
1555
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1556
+ },
1557
+ "writer": {
1558
+ "harness_id": "example-harness",
1559
+ "harness_version": "1.0.0",
1560
+ "writer_instance_id": "writer-1",
1561
+ "owner_pid": 4242,
1562
+ "process_start_time": "2026-11-04T10:00:00Z"
1563
+ },
1564
+ "observed_at": "2026-11-04T10:04:00Z",
1565
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1566
+ "body": {
1567
+ "state": "finished",
1568
+ "worker_invocations": 1,
1569
+ "termination": {
1570
+ "reason": "completed",
1571
+ "signal": null,
1572
+ "by": "worker"
1573
+ },
1574
+ "refusal": null,
1575
+ "result_binding": {
1576
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1577
+ "run_id": "run-2",
1578
+ "attempt_id": "attempt-2",
1579
+ "proposal_bytes_digest": "08fdd411380077b926551c5e4838c86e00b637a9cb433c0e1c35f7d5d72c90b6",
1580
+ "evidence_envelope_digest": "1782d82683b439b5683138c44cc6b510e86b915f12137261289f75ddc3289b37"
1581
+ },
1582
+ "body_kind": "terminal"
1583
+ }
1584
+ }
1585
+ ],
1586
+ "final_newline": true
1587
+ }
1588
+ ]
1589
+ }
1590
+ ]
1591
+ },
1592
+ "projection": {
1593
+ "schema": "supervised_run_status.v1/projection",
1594
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1595
+ "attempts": [
1596
+ {
1597
+ "attempt": {
1598
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1599
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1600
+ "run_id": "run-1",
1601
+ "attempt_id": "attempt-1"
1602
+ },
1603
+ "state": "finished",
1604
+ "journal_seq": 5,
1605
+ "segment_index": 1,
1606
+ "segment_sha256": "86c6c627053713391e444350d94115b3641ba9ee658ffd0883b4a5bbc9b6e559"
1607
+ },
1608
+ {
1609
+ "attempt": {
1610
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1611
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1612
+ "run_id": "run-2",
1613
+ "attempt_id": "attempt-2"
1614
+ },
1615
+ "state": "finished",
1616
+ "journal_seq": 4,
1617
+ "segment_index": 0,
1618
+ "segment_sha256": "78203b93a71564dd3e6b6b05003968720aa31c8f549e86683a79fde27dcfe336"
1619
+ }
1620
+ ]
1621
+ }
1622
+ },
1623
+ "expected": [],
1624
+ "expected_effect": {
1625
+ "display": "current"
1626
+ }
1627
+ },
1628
+ {
1629
+ "id": "N16-projection-behind",
1630
+ "kind": "projection",
1631
+ "role": "negative",
1632
+ "control": "V-projection-at-tail",
1633
+ "patch": [
1634
+ {
1635
+ "op": "replace",
1636
+ "path": "/projection/attempts/0/journal_seq",
1637
+ "value": 4
1638
+ }
1639
+ ],
1640
+ "expected": [
1641
+ "projection_behind_journal"
1642
+ ],
1643
+ "expected_effect": {
1644
+ "display": "stale"
1645
+ }
1646
+ },
1647
+ {
1648
+ "id": "N16-attempt-missing",
1649
+ "kind": "projection",
1650
+ "role": "negative",
1651
+ "control": "V-projection-at-tail",
1652
+ "patch": [
1653
+ {
1654
+ "op": "remove",
1655
+ "path": "/projection/attempts/1"
1656
+ }
1657
+ ],
1658
+ "expected": [
1659
+ "projection_behind_journal"
1660
+ ],
1661
+ "expected_effect": {
1662
+ "display": "stale"
1663
+ }
1664
+ },
1665
+ {
1666
+ "id": "S-projection-ahead",
1667
+ "kind": "projection",
1668
+ "role": "negative",
1669
+ "control": "V-projection-at-tail",
1670
+ "patch": [
1671
+ {
1672
+ "op": "replace",
1673
+ "path": "/projection/attempts/1/journal_seq",
1674
+ "value": 9
1675
+ }
1676
+ ],
1677
+ "expected": [
1678
+ "projection_not_from_journal"
1679
+ ]
1680
+ },
1681
+ {
1682
+ "id": "V-owner-live",
1683
+ "kind": "liveness",
1684
+ "role": "control",
1685
+ "input": {
1686
+ "journal": {
1687
+ "attempts": [
1688
+ {
1689
+ "segments": [
1690
+ {
1691
+ "lines": [
1692
+ {
1693
+ "schema": "supervised_run_status.v1",
1694
+ "version": "1",
1695
+ "line_kind": "header",
1696
+ "seq": 0,
1697
+ "attempt": {
1698
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1699
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1700
+ "run_id": "run-1",
1701
+ "attempt_id": "attempt-1"
1702
+ },
1703
+ "units": {
1704
+ "target_unit_ids": [
1705
+ "unit:target"
1706
+ ],
1707
+ "readonly_neighbor_unit_ids": [
1708
+ "unit:neighbor"
1709
+ ],
1710
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1711
+ },
1712
+ "writer": {
1713
+ "harness_id": "example-harness",
1714
+ "harness_version": "1.0.0",
1715
+ "writer_instance_id": "writer-1",
1716
+ "owner_pid": 4242,
1717
+ "process_start_time": "2026-11-04T10:00:00Z"
1718
+ },
1719
+ "observed_at": "2026-11-04T10:00:00Z",
1720
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1721
+ "body": {
1722
+ "segment_index": 0,
1723
+ "previous_segment_sha256": null,
1724
+ "previous_last_seq": null,
1725
+ "body_kind": "header"
1726
+ }
1727
+ },
1728
+ {
1729
+ "schema": "supervised_run_status.v1",
1730
+ "version": "1",
1731
+ "line_kind": "state",
1732
+ "seq": 1,
1733
+ "attempt": {
1734
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1735
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1736
+ "run_id": "run-1",
1737
+ "attempt_id": "attempt-1"
1738
+ },
1739
+ "units": {
1740
+ "target_unit_ids": [
1741
+ "unit:target"
1742
+ ],
1743
+ "readonly_neighbor_unit_ids": [
1744
+ "unit:neighbor"
1745
+ ],
1746
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1747
+ },
1748
+ "writer": {
1749
+ "harness_id": "example-harness",
1750
+ "harness_version": "1.0.0",
1751
+ "writer_instance_id": "writer-1",
1752
+ "owner_pid": 4242,
1753
+ "process_start_time": "2026-11-04T10:00:00Z"
1754
+ },
1755
+ "observed_at": "2026-11-04T10:01:00Z",
1756
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1757
+ "body": {
1758
+ "state": "queued",
1759
+ "worker_invocations": 0,
1760
+ "body_kind": "state"
1761
+ }
1762
+ },
1763
+ {
1764
+ "schema": "supervised_run_status.v1",
1765
+ "version": "1",
1766
+ "line_kind": "state",
1767
+ "seq": 2,
1768
+ "attempt": {
1769
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1770
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1771
+ "run_id": "run-1",
1772
+ "attempt_id": "attempt-1"
1773
+ },
1774
+ "units": {
1775
+ "target_unit_ids": [
1776
+ "unit:target"
1777
+ ],
1778
+ "readonly_neighbor_unit_ids": [
1779
+ "unit:neighbor"
1780
+ ],
1781
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1782
+ },
1783
+ "writer": {
1784
+ "harness_id": "example-harness",
1785
+ "harness_version": "1.0.0",
1786
+ "writer_instance_id": "writer-1",
1787
+ "owner_pid": 4242,
1788
+ "process_start_time": "2026-11-04T10:00:00Z"
1789
+ },
1790
+ "observed_at": "2026-11-04T10:02:00Z",
1791
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1792
+ "body": {
1793
+ "state": "running",
1794
+ "worker_invocations": 1,
1795
+ "body_kind": "state"
1796
+ }
1797
+ },
1798
+ {
1799
+ "schema": "supervised_run_status.v1",
1800
+ "version": "1",
1801
+ "line_kind": "event",
1802
+ "seq": 3,
1803
+ "attempt": {
1804
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1805
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
1806
+ "run_id": "run-1",
1807
+ "attempt_id": "attempt-1"
1808
+ },
1809
+ "units": {
1810
+ "target_unit_ids": [
1811
+ "unit:target"
1812
+ ],
1813
+ "readonly_neighbor_unit_ids": [
1814
+ "unit:neighbor"
1815
+ ],
1816
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1817
+ },
1818
+ "writer": {
1819
+ "harness_id": "example-harness",
1820
+ "harness_version": "1.0.0",
1821
+ "writer_instance_id": "writer-1",
1822
+ "owner_pid": 4242,
1823
+ "process_start_time": "2026-11-04T10:00:00Z"
1824
+ },
1825
+ "observed_at": "2026-11-04T10:03:00Z",
1826
+ "redaction_posture": "digests_and_repo_relative_locators_only",
1827
+ "body": {
1828
+ "message": {
1829
+ "label": "untrusted_display_text",
1830
+ "text": "editing the granted unit"
1831
+ },
1832
+ "refs": [],
1833
+ "body_kind": "event"
1834
+ }
1835
+ }
1836
+ ],
1837
+ "final_newline": true
1838
+ }
1839
+ ]
1840
+ }
1841
+ ]
1842
+ },
1843
+ "liveness": {
1844
+ "observed_live": true,
1845
+ "observed_start_time": "2026-11-04T10:00:00Z"
1846
+ }
1847
+ },
1848
+ "expected": [],
1849
+ "expected_effect": {
1850
+ "display": [
1851
+ "running"
1852
+ ]
1853
+ }
1854
+ },
1855
+ {
1856
+ "id": "N17-owner-not-live",
1857
+ "kind": "liveness",
1858
+ "role": "negative",
1859
+ "control": "V-owner-live",
1860
+ "patch": [
1861
+ {
1862
+ "op": "replace",
1863
+ "path": "/liveness/observed_live",
1864
+ "value": false
1865
+ }
1866
+ ],
1867
+ "expected": [
1868
+ "owner_not_live"
1869
+ ],
1870
+ "expected_effect": {
1871
+ "display": [
1872
+ "stale_unknown"
1873
+ ]
1874
+ }
1875
+ },
1876
+ {
1877
+ "id": "N17-pid-reused",
1878
+ "kind": "liveness",
1879
+ "role": "negative",
1880
+ "control": "V-owner-live",
1881
+ "patch": [
1882
+ {
1883
+ "op": "replace",
1884
+ "path": "/liveness/observed_start_time",
1885
+ "value": "2026-11-04T12:00:00Z"
1886
+ }
1887
+ ],
1888
+ "expected": [
1889
+ "owner_not_live"
1890
+ ],
1891
+ "expected_effect": {
1892
+ "display": [
1893
+ "stale_unknown"
1894
+ ]
1895
+ }
1896
+ },
1897
+ {
1898
+ "id": "V-reader-view",
1899
+ "kind": "reader_view",
1900
+ "role": "control",
1901
+ "input": {
1902
+ "row": {
1903
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1904
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1905
+ },
1906
+ "run_record": {
1907
+ "attempt": {
1908
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
1909
+ "envelope_digest": "484a253ed1d843c7529b4a0d8f2bbdf92475783d601386d374c7072c635ee4d6",
1910
+ "run_id": "run-2",
1911
+ "attempt_id": "attempt-2"
1912
+ },
1913
+ "units": {
1914
+ "target_unit_ids": [
1915
+ "unit:target"
1916
+ ],
1917
+ "readonly_neighbor_unit_ids": [
1918
+ "unit:neighbor"
1919
+ ],
1920
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
1921
+ },
1922
+ "state": "finished",
1923
+ "termination_reason": "completed"
1924
+ },
1925
+ "display": {
1926
+ "runtime_state": "finished (completed)",
1927
+ "work_outcome": {
1928
+ "value": "outcome-token-from-reducer",
1929
+ "source": "work_result_reducer",
1930
+ "ref": "01319158a17d2f3560849d2991105e58ba366390e9db51060958903186d19c8e"
1931
+ },
1932
+ "evidence": {
1933
+ "source": "requirement_admission",
1934
+ "ref": "347ef5b96a73e1405ce5ade946aa537c5cc5f1d86a1c96140ee57547a24fdf8e"
1935
+ }
1936
+ }
1937
+ },
1938
+ "expected": []
1939
+ },
1940
+ {
1941
+ "id": "N18-completed-as-outcome",
1942
+ "kind": "reader_view",
1943
+ "role": "negative",
1944
+ "control": "V-reader-view",
1945
+ "patch": [
1946
+ {
1947
+ "op": "replace",
1948
+ "path": "/display/work_outcome",
1949
+ "value": {
1950
+ "value": "completed",
1951
+ "source": "run_status",
1952
+ "ref": null
1953
+ }
1954
+ }
1955
+ ],
1956
+ "expected": [
1957
+ "runtime_not_work_outcome"
1958
+ ]
1959
+ },
1960
+ {
1961
+ "id": "N18-run-status-as-evidence",
1962
+ "kind": "reader_view",
1963
+ "role": "negative",
1964
+ "control": "V-reader-view",
1965
+ "patch": [
1966
+ {
1967
+ "op": "replace",
1968
+ "path": "/display/evidence/source",
1969
+ "value": "run_status"
1970
+ }
1971
+ ],
1972
+ "expected": [
1973
+ "runtime_not_work_outcome"
1974
+ ]
1975
+ },
1976
+ {
1977
+ "id": "RC24-foreign-assignment",
1978
+ "kind": "reader_view",
1979
+ "role": "negative",
1980
+ "control": "V-reader-view",
1981
+ "patch": [
1982
+ {
1983
+ "op": "replace",
1984
+ "path": "/row/assignment_digest",
1985
+ "value": "32f42004db693afc078375b4a2929076489abda36a76b7625fa52d31cf2db0b5"
1986
+ }
1987
+ ],
1988
+ "expected": [
1989
+ "run_record_foreign"
1990
+ ]
1991
+ },
1992
+ {
1993
+ "id": "RC24-foreign-snapshot",
1994
+ "kind": "reader_view",
1995
+ "role": "negative",
1996
+ "control": "V-reader-view",
1997
+ "patch": [
1998
+ {
1999
+ "op": "replace",
2000
+ "path": "/row/snapshot_ref",
2001
+ "value": "24dfea30df7d6af1e60c5aec671e0b60997121102feab1353e69633ae81f1834"
2002
+ }
2003
+ ],
2004
+ "expected": [
2005
+ "run_record_foreign"
2006
+ ]
2007
+ },
2008
+ {
2009
+ "id": "V-page",
2010
+ "kind": "page",
2011
+ "role": "control",
2012
+ "input": {
2013
+ "request": {
2014
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
2015
+ "page_size": 2,
2016
+ "cursor": null
2017
+ },
2018
+ "page": {
2019
+ "events": [
2020
+ {
2021
+ "schema": "supervised_run_status.v1",
2022
+ "version": "1",
2023
+ "line_kind": "state",
2024
+ "seq": 1,
2025
+ "attempt": {
2026
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
2027
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
2028
+ "run_id": "run-1",
2029
+ "attempt_id": "attempt-1"
2030
+ },
2031
+ "units": {
2032
+ "target_unit_ids": [
2033
+ "unit:target"
2034
+ ],
2035
+ "readonly_neighbor_unit_ids": [
2036
+ "unit:neighbor"
2037
+ ],
2038
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
2039
+ },
2040
+ "writer": {
2041
+ "harness_id": "example-harness",
2042
+ "harness_version": "1.0.0",
2043
+ "writer_instance_id": "writer-1",
2044
+ "owner_pid": 4242,
2045
+ "process_start_time": "2026-11-04T10:00:00Z"
2046
+ },
2047
+ "observed_at": "2026-11-04T10:01:00Z",
2048
+ "redaction_posture": "digests_and_repo_relative_locators_only",
2049
+ "body": {
2050
+ "state": "queued",
2051
+ "worker_invocations": 0,
2052
+ "body_kind": "state"
2053
+ }
2054
+ },
2055
+ {
2056
+ "schema": "supervised_run_status.v1",
2057
+ "version": "1",
2058
+ "line_kind": "state",
2059
+ "seq": 2,
2060
+ "attempt": {
2061
+ "assignment_digest": "4db77511ca854b659c5886fdb3638130b0fa0cb44ac8cde9d2dfdf119ba820ff",
2062
+ "envelope_digest": "81b4a9b6bc1b5619ed98a22dc857209fa2d28e9ac1b382eec0560322a8ee86ef",
2063
+ "run_id": "run-1",
2064
+ "attempt_id": "attempt-1"
2065
+ },
2066
+ "units": {
2067
+ "target_unit_ids": [
2068
+ "unit:target"
2069
+ ],
2070
+ "readonly_neighbor_unit_ids": [
2071
+ "unit:neighbor"
2072
+ ],
2073
+ "snapshot_ref": "34e6443f11e4328e716685e41d0182403df44a76f53d9b94f6dba4fe158a6b44"
2074
+ },
2075
+ "writer": {
2076
+ "harness_id": "example-harness",
2077
+ "harness_version": "1.0.0",
2078
+ "writer_instance_id": "writer-1",
2079
+ "owner_pid": 4242,
2080
+ "process_start_time": "2026-11-04T10:00:00Z"
2081
+ },
2082
+ "observed_at": "2026-11-04T10:02:00Z",
2083
+ "redaction_posture": "digests_and_repo_relative_locators_only",
2084
+ "body": {
2085
+ "state": "running",
2086
+ "worker_invocations": 1,
2087
+ "body_kind": "state"
2088
+ }
2089
+ }
2090
+ ],
2091
+ "has_more": true,
2092
+ "omitted": {
2093
+ "before": 1,
2094
+ "after": 3,
2095
+ "retention_dropped": 0
2096
+ }
2097
+ }
2098
+ },
2099
+ "expected": []
2100
+ },
2101
+ {
2102
+ "id": "RC25-no-page-size",
2103
+ "kind": "page",
2104
+ "role": "negative",
2105
+ "control": "V-page",
2106
+ "patch": [
2107
+ {
2108
+ "op": "replace",
2109
+ "path": "/request/page_size",
2110
+ "value": null
2111
+ }
2112
+ ],
2113
+ "expected": [
2114
+ "read_unbounded"
2115
+ ]
2116
+ },
2117
+ {
2118
+ "id": "RC25-no-omitted",
2119
+ "kind": "page",
2120
+ "role": "negative",
2121
+ "control": "V-page",
2122
+ "patch": [
2123
+ {
2124
+ "op": "replace",
2125
+ "path": "/page/omitted",
2126
+ "value": null
2127
+ }
2128
+ ],
2129
+ "expected": [
2130
+ "read_unbounded"
2131
+ ]
2132
+ },
2133
+ {
2134
+ "id": "RC25-over-bound",
2135
+ "kind": "page",
2136
+ "role": "negative",
2137
+ "control": "V-page",
2138
+ "patch": [
2139
+ {
2140
+ "op": "replace",
2141
+ "path": "/request/page_size",
2142
+ "value": 101
2143
+ }
2144
+ ],
2145
+ "expected": [
2146
+ "read_unbounded"
2147
+ ]
2148
+ }
2149
+ ]
2150
+ }