@peasant-labs/schema 0.32.0 → 0.33.0

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.
@@ -3130,6 +3130,18 @@ export const canonicalSessionGraphFixtures = {
3130
3130
  "local-search-member-identity-mismatch",
3131
3131
  "village-collective-member-mirrors",
3132
3132
  "village-collective-member-count-mismatch",
3133
+ "village-collective-owner-mismatch",
3134
+ "village-anonymous-owner-mirrored",
3135
+ "anonymous-owner-with-remote",
3136
+ "anonymous-owner-with-project-hash",
3137
+ "anonymous-collective-arm-with-label",
3138
+ "pending-owner-mismatch",
3139
+ "collective-parent-transcript-id-mismatch",
3140
+ "pending-parent-transcript-id-mismatch",
3141
+ "my-share-owner-mismatch",
3142
+ "parent-transcript-id-mismatch",
3143
+ "parent-transcript-id-without-parent-session",
3144
+ "parent-transcript-id-resolved",
3133
3145
  "village-pending-member-mirrors",
3134
3146
  "village-pending-member-identity-mismatch",
3135
3147
  "village-my-share-member-mirrors",
@@ -3205,9 +3217,15 @@ export const canonicalSessionGraphFixtures = {
3205
3217
  {
3206
3218
  "kind": "transcript",
3207
3219
  "transcript": {
3220
+ "owner": {
3221
+ "kind": "profile",
3222
+ "id": "123e4567-e89b-12d3-a456-426614174001",
3223
+ "username": "owner",
3224
+ "display_name": null,
3225
+ "avatar_url": null
3226
+ },
3208
3227
  "session": {
3209
3228
  "id": "123e4567-e89b-12d3-a456-426614174003",
3210
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3211
3229
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3212
3230
  "title": null,
3213
3231
  "description": null,
@@ -3224,6 +3242,7 @@ export const canonicalSessionGraphFixtures = {
3224
3242
  "published_at": "2026-09-08T00:00:00Z",
3225
3243
  "updated_at": "2026-09-08T00:00:00Z",
3226
3244
  "parent_session_id": null,
3245
+ "parent_transcript_id": null,
3227
3246
  "ingested_at": null,
3228
3247
  "source_format": null,
3229
3248
  "git_branch": null,
@@ -3348,9 +3367,15 @@ export const canonicalSessionGraphFixtures = {
3348
3367
  {
3349
3368
  "kind": "transcript",
3350
3369
  "transcript": {
3370
+ "owner": {
3371
+ "kind": "profile",
3372
+ "id": "123e4567-e89b-12d3-a456-426614174001",
3373
+ "username": "owner",
3374
+ "display_name": null,
3375
+ "avatar_url": null
3376
+ },
3351
3377
  "session": {
3352
3378
  "id": "123e4567-e89b-12d3-a456-426614174004",
3353
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3354
3379
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3355
3380
  "title": null,
3356
3381
  "description": null,
@@ -3367,6 +3392,7 @@ export const canonicalSessionGraphFixtures = {
3367
3392
  "published_at": "2026-09-08T00:00:00Z",
3368
3393
  "updated_at": "2026-09-08T00:00:00Z",
3369
3394
  "parent_session_id": null,
3395
+ "parent_transcript_id": null,
3370
3396
  "ingested_at": null,
3371
3397
  "source_format": null,
3372
3398
  "git_branch": null,
@@ -3557,9 +3583,15 @@ export const canonicalSessionGraphFixtures = {
3557
3583
  {
3558
3584
  "kind": "transcript",
3559
3585
  "transcript": {
3586
+ "owner": {
3587
+ "kind": "profile",
3588
+ "id": "123e4567-e89b-12d3-a456-426614174001",
3589
+ "username": "owner",
3590
+ "display_name": null,
3591
+ "avatar_url": null
3592
+ },
3560
3593
  "session": {
3561
3594
  "id": "123e4567-e89b-12d3-a456-426614174003",
3562
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3563
3595
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3564
3596
  "title": null,
3565
3597
  "description": null,
@@ -3576,6 +3608,7 @@ export const canonicalSessionGraphFixtures = {
3576
3608
  "published_at": "2026-09-08T00:00:00Z",
3577
3609
  "updated_at": "2026-09-08T00:00:00Z",
3578
3610
  "parent_session_id": null,
3611
+ "parent_transcript_id": null,
3579
3612
  "ingested_at": null,
3580
3613
  "source_format": null,
3581
3614
  "git_branch": null,
@@ -3735,9 +3768,15 @@ export const canonicalSessionGraphFixtures = {
3735
3768
  {
3736
3769
  "kind": "transcript",
3737
3770
  "transcript": {
3771
+ "owner": {
3772
+ "kind": "profile",
3773
+ "id": "123e4567-e89b-12d3-a456-426614174001",
3774
+ "username": "owner",
3775
+ "display_name": null,
3776
+ "avatar_url": null
3777
+ },
3738
3778
  "session": {
3739
3779
  "id": "123e4567-e89b-12d3-a456-426614174003",
3740
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3741
3780
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3742
3781
  "title": null,
3743
3782
  "description": null,
@@ -3754,6 +3793,7 @@ export const canonicalSessionGraphFixtures = {
3754
3793
  "published_at": "2026-09-08T00:00:00Z",
3755
3794
  "updated_at": "2026-09-08T00:00:00Z",
3756
3795
  "parent_session_id": null,
3796
+ "parent_transcript_id": null,
3757
3797
  "ingested_at": null,
3758
3798
  "source_format": null,
3759
3799
  "git_branch": null,
@@ -3815,9 +3855,15 @@ export const canonicalSessionGraphFixtures = {
3815
3855
  {
3816
3856
  "kind": "transcript",
3817
3857
  "transcript": {
3858
+ "owner": {
3859
+ "kind": "profile",
3860
+ "id": "123e4567-e89b-12d3-a456-426614174001",
3861
+ "username": "owner",
3862
+ "display_name": null,
3863
+ "avatar_url": null
3864
+ },
3818
3865
  "session": {
3819
3866
  "id": "123e4567-e89b-12d3-a456-426614174003",
3820
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3821
3867
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3822
3868
  "title": null,
3823
3869
  "description": null,
@@ -3834,6 +3880,7 @@ export const canonicalSessionGraphFixtures = {
3834
3880
  "published_at": "2026-09-08T00:00:00Z",
3835
3881
  "updated_at": "2026-09-08T00:00:00Z",
3836
3882
  "parent_session_id": null,
3883
+ "parent_transcript_id": null,
3837
3884
  "ingested_at": null,
3838
3885
  "source_format": null,
3839
3886
  "git_branch": null,
@@ -3972,9 +4019,15 @@ export const canonicalSessionGraphFixtures = {
3972
4019
  {
3973
4020
  "kind": "transcript",
3974
4021
  "transcript": {
4022
+ "owner": {
4023
+ "kind": "profile",
4024
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4025
+ "username": "owner",
4026
+ "display_name": null,
4027
+ "avatar_url": null
4028
+ },
3975
4029
  "session": {
3976
4030
  "id": "123e4567-e89b-12d3-a456-426614174003",
3977
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
3978
4031
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
3979
4032
  "title": null,
3980
4033
  "description": null,
@@ -3991,6 +4044,7 @@ export const canonicalSessionGraphFixtures = {
3991
4044
  "published_at": "2026-09-08T00:00:00Z",
3992
4045
  "updated_at": "2026-09-08T00:00:00Z",
3993
4046
  "parent_session_id": null,
4047
+ "parent_transcript_id": null,
3994
4048
  "ingested_at": null,
3995
4049
  "source_format": null,
3996
4050
  "git_branch": null,
@@ -4267,9 +4321,15 @@ export const canonicalSessionGraphFixtures = {
4267
4321
  {
4268
4322
  "kind": "transcript",
4269
4323
  "transcript": {
4324
+ "owner": {
4325
+ "kind": "profile",
4326
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4327
+ "username": "owner",
4328
+ "display_name": null,
4329
+ "avatar_url": null
4330
+ },
4270
4331
  "session": {
4271
4332
  "id": "123e4567-e89b-12d3-a456-426614174003",
4272
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4273
4333
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4274
4334
  "title": null,
4275
4335
  "description": null,
@@ -4286,6 +4346,7 @@ export const canonicalSessionGraphFixtures = {
4286
4346
  "published_at": "2026-09-08T00:00:00Z",
4287
4347
  "updated_at": "2026-09-08T00:00:00Z",
4288
4348
  "parent_session_id": null,
4349
+ "parent_transcript_id": null,
4289
4350
  "ingested_at": null,
4290
4351
  "source_format": null,
4291
4352
  "git_branch": null,
@@ -4433,9 +4494,15 @@ export const canonicalSessionGraphFixtures = {
4433
4494
  {
4434
4495
  "kind": "transcript",
4435
4496
  "transcript": {
4497
+ "owner": {
4498
+ "kind": "profile",
4499
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4500
+ "username": "owner",
4501
+ "display_name": null,
4502
+ "avatar_url": null
4503
+ },
4436
4504
  "session": {
4437
4505
  "id": "123e4567-e89b-12d3-a456-426614174003",
4438
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4439
4506
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4440
4507
  "title": null,
4441
4508
  "description": null,
@@ -4452,6 +4519,7 @@ export const canonicalSessionGraphFixtures = {
4452
4519
  "published_at": "2026-09-08T00:00:00Z",
4453
4520
  "updated_at": "2026-09-08T00:00:00Z",
4454
4521
  "parent_session_id": null,
4522
+ "parent_transcript_id": null,
4455
4523
  "ingested_at": null,
4456
4524
  "source_format": null,
4457
4525
  "git_branch": null,
@@ -4513,9 +4581,15 @@ export const canonicalSessionGraphFixtures = {
4513
4581
  {
4514
4582
  "kind": "transcript",
4515
4583
  "transcript": {
4584
+ "owner": {
4585
+ "kind": "profile",
4586
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4587
+ "username": "owner",
4588
+ "display_name": null,
4589
+ "avatar_url": null
4590
+ },
4516
4591
  "session": {
4517
4592
  "id": "123e4567-e89b-12d3-a456-426614174004",
4518
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4519
4593
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4520
4594
  "title": null,
4521
4595
  "description": null,
@@ -4532,6 +4606,7 @@ export const canonicalSessionGraphFixtures = {
4532
4606
  "published_at": "2026-09-08T00:00:00Z",
4533
4607
  "updated_at": "2026-09-08T00:00:00Z",
4534
4608
  "parent_session_id": null,
4609
+ "parent_transcript_id": null,
4535
4610
  "ingested_at": null,
4536
4611
  "source_format": null,
4537
4612
  "git_branch": null,
@@ -4656,9 +4731,15 @@ export const canonicalSessionGraphFixtures = {
4656
4731
  {
4657
4732
  "kind": "transcript",
4658
4733
  "transcript": {
4734
+ "owner": {
4735
+ "kind": "profile",
4736
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4737
+ "username": "owner",
4738
+ "display_name": null,
4739
+ "avatar_url": null
4740
+ },
4659
4741
  "session": {
4660
4742
  "id": "123e4567-e89b-12d3-a456-426614174003",
4661
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4662
4743
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4663
4744
  "title": null,
4664
4745
  "description": null,
@@ -4675,6 +4756,7 @@ export const canonicalSessionGraphFixtures = {
4675
4756
  "published_at": "2026-09-08T00:00:00Z",
4676
4757
  "updated_at": "2026-09-08T00:00:00Z",
4677
4758
  "parent_session_id": null,
4759
+ "parent_transcript_id": null,
4678
4760
  "ingested_at": null,
4679
4761
  "source_format": null,
4680
4762
  "git_branch": null,
@@ -4808,9 +4890,15 @@ export const canonicalSessionGraphFixtures = {
4808
4890
  {
4809
4891
  "kind": "transcript",
4810
4892
  "transcript": {
4893
+ "owner": {
4894
+ "kind": "profile",
4895
+ "id": "123e4567-e89b-12d3-a456-426614174001",
4896
+ "username": "owner",
4897
+ "display_name": null,
4898
+ "avatar_url": null
4899
+ },
4811
4900
  "session": {
4812
4901
  "id": "123e4567-e89b-12d3-a456-426614174003",
4813
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4814
4902
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4815
4903
  "title": null,
4816
4904
  "description": null,
@@ -4827,6 +4915,7 @@ export const canonicalSessionGraphFixtures = {
4827
4915
  "published_at": "2026-09-08T00:00:00Z",
4828
4916
  "updated_at": "2026-09-08T00:00:00Z",
4829
4917
  "parent_session_id": null,
4918
+ "parent_transcript_id": null,
4830
4919
  "ingested_at": null,
4831
4920
  "source_format": null,
4832
4921
  "git_branch": null,
@@ -4951,9 +5040,15 @@ export const canonicalSessionGraphFixtures = {
4951
5040
  {
4952
5041
  "kind": "transcript",
4953
5042
  "transcript": {
5043
+ "owner": {
5044
+ "kind": "profile",
5045
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5046
+ "username": "owner",
5047
+ "display_name": null,
5048
+ "avatar_url": null
5049
+ },
4954
5050
  "session": {
4955
5051
  "id": "123e4567-e89b-12d3-a456-426614174003",
4956
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
4957
5052
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
4958
5053
  "title": null,
4959
5054
  "description": null,
@@ -4970,6 +5065,7 @@ export const canonicalSessionGraphFixtures = {
4970
5065
  "published_at": "2026-09-08T00:00:00Z",
4971
5066
  "updated_at": "2026-09-08T00:00:00Z",
4972
5067
  "parent_session_id": null,
5068
+ "parent_transcript_id": null,
4973
5069
  "ingested_at": null,
4974
5070
  "source_format": null,
4975
5071
  "git_branch": null,
@@ -5102,9 +5198,15 @@ export const canonicalSessionGraphFixtures = {
5102
5198
  {
5103
5199
  "kind": "transcript",
5104
5200
  "transcript": {
5201
+ "owner": {
5202
+ "kind": "profile",
5203
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5204
+ "username": "owner",
5205
+ "display_name": null,
5206
+ "avatar_url": null
5207
+ },
5105
5208
  "session": {
5106
5209
  "id": "123e4567-e89b-12d3-a456-426614174003",
5107
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
5108
5210
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
5109
5211
  "title": null,
5110
5212
  "description": null,
@@ -5121,6 +5223,7 @@ export const canonicalSessionGraphFixtures = {
5121
5223
  "published_at": "2026-09-08T00:00:00Z",
5122
5224
  "updated_at": "2026-09-08T00:00:00Z",
5123
5225
  "parent_session_id": null,
5226
+ "parent_transcript_id": null,
5124
5227
  "ingested_at": null,
5125
5228
  "source_format": null,
5126
5229
  "git_branch": null,
@@ -5259,7 +5362,13 @@ export const canonicalSessionGraphFixtures = {
5259
5362
  "id": "123e4567-e89b-12d3-a456-426614174001",
5260
5363
  "name": "collective",
5261
5364
  "description": null,
5262
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5365
+ "creator": {
5366
+ "kind": "profile",
5367
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5368
+ "username": "owner",
5369
+ "display_name": null,
5370
+ "avatar_url": null
5371
+ },
5263
5372
  "created_at": "2026-09-08T00:00:00Z",
5264
5373
  "updated_at": "2026-09-08T00:00:00Z",
5265
5374
  "acceptance_mode": "open",
@@ -5289,7 +5398,13 @@ export const canonicalSessionGraphFixtures = {
5289
5398
  "id": "123e4567-e89b-12d3-a456-426614174001",
5290
5399
  "name": "collective",
5291
5400
  "description": null,
5292
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5401
+ "creator": {
5402
+ "kind": "profile",
5403
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5404
+ "username": "owner",
5405
+ "display_name": null,
5406
+ "avatar_url": null
5407
+ },
5293
5408
  "created_at": "2026-09-08T00:00:00Z",
5294
5409
  "updated_at": "2026-09-08T00:00:00Z",
5295
5410
  "acceptance_mode": "open",
@@ -5321,7 +5436,13 @@ export const canonicalSessionGraphFixtures = {
5321
5436
  "id": "123e4567-e89b-12d3-a456-426614174001",
5322
5437
  "name": "collective",
5323
5438
  "description": null,
5324
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5439
+ "creator": {
5440
+ "kind": "profile",
5441
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5442
+ "username": "owner",
5443
+ "display_name": null,
5444
+ "avatar_url": null
5445
+ },
5325
5446
  "created_at": "2026-09-08T00:00:00Z",
5326
5447
  "updated_at": "2026-09-08T00:00:00Z",
5327
5448
  "acceptance_mode": "open",
@@ -5353,7 +5474,13 @@ export const canonicalSessionGraphFixtures = {
5353
5474
  "id": "123e4567-e89b-12d3-a456-426614174001",
5354
5475
  "name": "collective",
5355
5476
  "description": null,
5356
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5477
+ "creator": {
5478
+ "kind": "profile",
5479
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5480
+ "username": "owner",
5481
+ "display_name": null,
5482
+ "avatar_url": null
5483
+ },
5357
5484
  "created_at": "2026-09-08T00:00:00Z",
5358
5485
  "updated_at": "2026-09-08T00:00:00Z",
5359
5486
  "acceptance_mode": "open",
@@ -5384,7 +5511,13 @@ export const canonicalSessionGraphFixtures = {
5384
5511
  "id": "123e4567-e89b-12d3-a456-426614174001",
5385
5512
  "name": "collective",
5386
5513
  "description": null,
5387
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5514
+ "creator": {
5515
+ "kind": "profile",
5516
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5517
+ "username": "owner",
5518
+ "display_name": null,
5519
+ "avatar_url": null
5520
+ },
5388
5521
  "created_at": "2026-09-08T00:00:00Z",
5389
5522
  "updated_at": "2026-09-08T00:00:00Z",
5390
5523
  "acceptance_mode": "open",
@@ -5414,7 +5547,13 @@ export const canonicalSessionGraphFixtures = {
5414
5547
  "id": "123e4567-e89b-12d3-a456-426614174001",
5415
5548
  "name": "collective",
5416
5549
  "description": null,
5417
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
5550
+ "creator": {
5551
+ "kind": "profile",
5552
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5553
+ "username": "owner",
5554
+ "display_name": null,
5555
+ "avatar_url": null
5556
+ },
5418
5557
  "created_at": "2026-09-08T00:00:00Z",
5419
5558
  "updated_at": "2026-09-08T00:00:00Z",
5420
5559
  "acceptance_mode": "open",
@@ -5562,9 +5701,15 @@ export const canonicalSessionGraphFixtures = {
5562
5701
  {
5563
5702
  "kind": "transcript",
5564
5703
  "transcript": {
5704
+ "owner": {
5705
+ "kind": "profile",
5706
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5707
+ "username": "owner",
5708
+ "display_name": null,
5709
+ "avatar_url": null
5710
+ },
5565
5711
  "session": {
5566
5712
  "id": "123e4567-e89b-12d3-a456-426614174005",
5567
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
5568
5713
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
5569
5714
  "title": null,
5570
5715
  "description": null,
@@ -5581,6 +5726,7 @@ export const canonicalSessionGraphFixtures = {
5581
5726
  "published_at": "2026-09-08T00:00:00Z",
5582
5727
  "updated_at": "2026-09-08T00:00:00Z",
5583
5728
  "parent_session_id": null,
5729
+ "parent_transcript_id": null,
5584
5730
  "ingested_at": null,
5585
5731
  "source_format": null,
5586
5732
  "git_branch": null,
@@ -5668,9 +5814,15 @@ export const canonicalSessionGraphFixtures = {
5668
5814
  {
5669
5815
  "kind": "transcript",
5670
5816
  "transcript": {
5817
+ "owner": {
5818
+ "kind": "profile",
5819
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5820
+ "username": "owner",
5821
+ "display_name": null,
5822
+ "avatar_url": null
5823
+ },
5671
5824
  "session": {
5672
5825
  "id": "123e4567-e89b-12d3-a456-426614174006",
5673
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
5674
5826
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
5675
5827
  "title": null,
5676
5828
  "description": null,
@@ -5687,6 +5839,7 @@ export const canonicalSessionGraphFixtures = {
5687
5839
  "published_at": "2026-09-08T00:00:00Z",
5688
5840
  "updated_at": "2026-09-08T00:00:00Z",
5689
5841
  "parent_session_id": null,
5842
+ "parent_transcript_id": null,
5690
5843
  "ingested_at": null,
5691
5844
  "source_format": null,
5692
5845
  "git_branch": null,
@@ -5773,9 +5926,15 @@ export const canonicalSessionGraphFixtures = {
5773
5926
  {
5774
5927
  "kind": "transcript",
5775
5928
  "transcript": {
5929
+ "owner": {
5930
+ "kind": "profile",
5931
+ "id": "123e4567-e89b-12d3-a456-426614174001",
5932
+ "username": "owner",
5933
+ "display_name": null,
5934
+ "avatar_url": null
5935
+ },
5776
5936
  "session": {
5777
5937
  "id": "123e4567-e89b-12d3-a456-426614174007",
5778
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
5779
5938
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
5780
5939
  "title": null,
5781
5940
  "description": null,
@@ -5792,6 +5951,7 @@ export const canonicalSessionGraphFixtures = {
5792
5951
  "published_at": "2026-09-08T00:00:00Z",
5793
5952
  "updated_at": "2026-09-08T00:00:00Z",
5794
5953
  "parent_session_id": null,
5954
+ "parent_transcript_id": null,
5795
5955
  "ingested_at": null,
5796
5956
  "source_format": null,
5797
5957
  "git_branch": null,
@@ -5920,9 +6080,15 @@ export const canonicalSessionGraphFixtures = {
5920
6080
  {
5921
6081
  "kind": "transcript",
5922
6082
  "transcript": {
6083
+ "owner": {
6084
+ "kind": "profile",
6085
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6086
+ "username": "owner",
6087
+ "display_name": null,
6088
+ "avatar_url": null
6089
+ },
5923
6090
  "session": {
5924
6091
  "id": "123e4567-e89b-12d3-a456-426614174003",
5925
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
5926
6092
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
5927
6093
  "title": null,
5928
6094
  "description": null,
@@ -5939,6 +6105,7 @@ export const canonicalSessionGraphFixtures = {
5939
6105
  "published_at": "2026-09-08T00:00:00Z",
5940
6106
  "updated_at": "2026-09-08T00:00:00Z",
5941
6107
  "parent_session_id": null,
6108
+ "parent_transcript_id": null,
5942
6109
  "ingested_at": null,
5943
6110
  "source_format": null,
5944
6111
  "git_branch": null,
@@ -6025,7 +6192,13 @@ export const canonicalSessionGraphFixtures = {
6025
6192
  "id": "123e4567-e89b-12d3-a456-426614174001",
6026
6193
  "name": "collective",
6027
6194
  "description": null,
6028
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
6195
+ "creator": {
6196
+ "kind": "profile",
6197
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6198
+ "username": "owner",
6199
+ "display_name": null,
6200
+ "avatar_url": null
6201
+ },
6029
6202
  "created_at": "2026-09-08T00:00:00Z",
6030
6203
  "updated_at": "2026-09-08T00:00:00Z",
6031
6204
  "acceptance_mode": "open",
@@ -6072,7 +6245,13 @@ export const canonicalSessionGraphFixtures = {
6072
6245
  "id": "123e4567-e89b-12d3-a456-426614174001",
6073
6246
  "name": "collective",
6074
6247
  "description": null,
6075
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
6248
+ "creator": {
6249
+ "kind": "profile",
6250
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6251
+ "username": "owner",
6252
+ "display_name": null,
6253
+ "avatar_url": null
6254
+ },
6076
6255
  "created_at": "2026-09-08T00:00:00Z",
6077
6256
  "updated_at": "2026-09-08T00:00:00Z",
6078
6257
  "acceptance_mode": "open",
@@ -6126,7 +6305,13 @@ export const canonicalSessionGraphFixtures = {
6126
6305
  "id": "123e4567-e89b-12d3-a456-426614174001",
6127
6306
  "name": "collective",
6128
6307
  "description": null,
6129
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
6308
+ "creator": {
6309
+ "kind": "profile",
6310
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6311
+ "username": "owner",
6312
+ "display_name": null,
6313
+ "avatar_url": null
6314
+ },
6130
6315
  "created_at": "2026-09-08T00:00:00Z",
6131
6316
  "updated_at": "2026-09-08T00:00:00Z",
6132
6317
  "acceptance_mode": "open",
@@ -6175,7 +6360,13 @@ export const canonicalSessionGraphFixtures = {
6175
6360
  "id": "123e4567-e89b-12d3-a456-426614174001",
6176
6361
  "name": "collective",
6177
6362
  "description": null,
6178
- "created_by": "123e4567-e89b-12d3-a456-426614174001",
6363
+ "creator": {
6364
+ "kind": "profile",
6365
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6366
+ "username": "owner",
6367
+ "display_name": null,
6368
+ "avatar_url": null
6369
+ },
6179
6370
  "created_at": "2026-09-08T00:00:00Z",
6180
6371
  "updated_at": "2026-09-08T00:00:00Z",
6181
6372
  "acceptance_mode": "open",
@@ -6270,9 +6461,15 @@ export const canonicalSessionGraphFixtures = {
6270
6461
  {
6271
6462
  "kind": "transcript",
6272
6463
  "transcript": {
6464
+ "owner": {
6465
+ "kind": "profile",
6466
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6467
+ "username": "owner",
6468
+ "display_name": null,
6469
+ "avatar_url": null
6470
+ },
6273
6471
  "session": {
6274
6472
  "id": "123e4567-e89b-12d3-a456-426614174003",
6275
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
6276
6473
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
6277
6474
  "title": null,
6278
6475
  "description": null,
@@ -6289,6 +6486,7 @@ export const canonicalSessionGraphFixtures = {
6289
6486
  "published_at": "2026-09-08T00:00:00Z",
6290
6487
  "updated_at": "2026-09-08T00:00:00Z",
6291
6488
  "parent_session_id": null,
6489
+ "parent_transcript_id": null,
6292
6490
  "ingested_at": null,
6293
6491
  "source_format": null,
6294
6492
  "git_branch": null,
@@ -6485,9 +6683,15 @@ export const canonicalSessionGraphFixtures = {
6485
6683
  {
6486
6684
  "kind": "transcript",
6487
6685
  "transcript": {
6686
+ "owner": {
6687
+ "kind": "profile",
6688
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6689
+ "username": "owner",
6690
+ "display_name": null,
6691
+ "avatar_url": null
6692
+ },
6488
6693
  "session": {
6489
6694
  "id": "123e4567-e89b-12d3-a456-426614174003",
6490
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
6491
6695
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
6492
6696
  "title": null,
6493
6697
  "description": null,
@@ -6504,6 +6708,7 @@ export const canonicalSessionGraphFixtures = {
6504
6708
  "published_at": "2026-09-08T00:00:00Z",
6505
6709
  "updated_at": "2026-09-08T00:00:00Z",
6506
6710
  "parent_session_id": null,
6711
+ "parent_transcript_id": null,
6507
6712
  "ingested_at": null,
6508
6713
  "source_format": null,
6509
6714
  "git_branch": null,
@@ -6565,9 +6770,15 @@ export const canonicalSessionGraphFixtures = {
6565
6770
  {
6566
6771
  "kind": "transcript",
6567
6772
  "transcript": {
6773
+ "owner": {
6774
+ "kind": "profile",
6775
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6776
+ "username": "owner",
6777
+ "display_name": null,
6778
+ "avatar_url": null
6779
+ },
6568
6780
  "session": {
6569
6781
  "id": "123e4567-e89b-12d3-a456-426614174004",
6570
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
6571
6782
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
6572
6783
  "title": null,
6573
6784
  "description": null,
@@ -6584,6 +6795,7 @@ export const canonicalSessionGraphFixtures = {
6584
6795
  "published_at": "2026-09-08T00:00:00Z",
6585
6796
  "updated_at": "2026-09-08T00:00:00Z",
6586
6797
  "parent_session_id": null,
6798
+ "parent_transcript_id": null,
6587
6799
  "ingested_at": null,
6588
6800
  "source_format": null,
6589
6801
  "git_branch": null,
@@ -6716,9 +6928,15 @@ export const canonicalSessionGraphFixtures = {
6716
6928
  {
6717
6929
  "kind": "transcript",
6718
6930
  "transcript": {
6931
+ "owner": {
6932
+ "kind": "profile",
6933
+ "id": "123e4567-e89b-12d3-a456-426614174001",
6934
+ "username": "owner",
6935
+ "display_name": null,
6936
+ "avatar_url": null
6937
+ },
6719
6938
  "session": {
6720
6939
  "id": "123e4567-e89b-12d3-a456-426614174003",
6721
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
6722
6940
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
6723
6941
  "title": null,
6724
6942
  "description": null,
@@ -6735,6 +6953,7 @@ export const canonicalSessionGraphFixtures = {
6735
6953
  "published_at": "2026-09-08T00:00:00Z",
6736
6954
  "updated_at": "2026-09-08T00:00:00Z",
6737
6955
  "parent_session_id": null,
6956
+ "parent_transcript_id": null,
6738
6957
  "ingested_at": null,
6739
6958
  "source_format": null,
6740
6959
  "git_branch": null,
@@ -6867,9 +7086,15 @@ export const canonicalSessionGraphFixtures = {
6867
7086
  {
6868
7087
  "kind": "transcript",
6869
7088
  "transcript": {
7089
+ "owner": {
7090
+ "kind": "profile",
7091
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7092
+ "username": "owner",
7093
+ "display_name": null,
7094
+ "avatar_url": null
7095
+ },
6870
7096
  "session": {
6871
7097
  "id": "123e4567-e89b-12d3-a456-426614174003",
6872
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
6873
7098
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
6874
7099
  "title": null,
6875
7100
  "description": null,
@@ -6886,6 +7111,7 @@ export const canonicalSessionGraphFixtures = {
6886
7111
  "published_at": "2026-09-08T00:00:00Z",
6887
7112
  "updated_at": "2026-09-08T00:00:00Z",
6888
7113
  "parent_session_id": null,
7114
+ "parent_transcript_id": null,
6889
7115
  "ingested_at": null,
6890
7116
  "source_format": null,
6891
7117
  "git_branch": null,
@@ -7213,9 +7439,15 @@ export const canonicalSessionGraphFixtures = {
7213
7439
  {
7214
7440
  "kind": "transcript",
7215
7441
  "transcript": {
7442
+ "owner": {
7443
+ "kind": "profile",
7444
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7445
+ "username": "owner",
7446
+ "display_name": null,
7447
+ "avatar_url": null
7448
+ },
7216
7449
  "session": {
7217
7450
  "id": "123e4567-e89b-12d3-a456-426614174003",
7218
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7219
7451
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7220
7452
  "title": null,
7221
7453
  "description": null,
@@ -7232,6 +7464,7 @@ export const canonicalSessionGraphFixtures = {
7232
7464
  "published_at": "2026-09-08T00:00:00Z",
7233
7465
  "updated_at": "2026-09-08T00:00:00Z",
7234
7466
  "parent_session_id": null,
7467
+ "parent_transcript_id": null,
7235
7468
  "ingested_at": null,
7236
7469
  "source_format": null,
7237
7470
  "git_branch": null,
@@ -7282,7 +7515,6 @@ export const canonicalSessionGraphFixtures = {
7282
7515
  },
7283
7516
  "collective": {
7284
7517
  "id": "123e4567-e89b-12d3-a456-426614174003",
7285
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7286
7518
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7287
7519
  "title": null,
7288
7520
  "description": null,
@@ -7299,6 +7531,7 @@ export const canonicalSessionGraphFixtures = {
7299
7531
  "published_at": "2026-09-08T00:00:00Z",
7300
7532
  "updated_at": "2026-09-08T00:00:00Z",
7301
7533
  "parent_session_id": null,
7534
+ "parent_transcript_id": null,
7302
7535
  "ingested_at": null,
7303
7536
  "source_format": null,
7304
7537
  "git_branch": null,
@@ -7346,9 +7579,13 @@ export const canonicalSessionGraphFixtures = {
7346
7579
  "content_hash": null,
7347
7580
  "license_id": null,
7348
7581
  "session_origin": "agent",
7349
- "owner_username": "owner",
7350
- "owner_avatar_url": null,
7351
- "owner_is_discoverable": true,
7582
+ "owner": {
7583
+ "kind": "profile",
7584
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7585
+ "username": "owner",
7586
+ "display_name": null,
7587
+ "avatar_url": null
7588
+ },
7352
7589
  "pull_requests": {
7353
7590
  "count": 0,
7354
7591
  "recent": []
@@ -7391,9 +7628,15 @@ export const canonicalSessionGraphFixtures = {
7391
7628
  {
7392
7629
  "kind": "transcript",
7393
7630
  "transcript": {
7631
+ "owner": {
7632
+ "kind": "profile",
7633
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7634
+ "username": "owner",
7635
+ "display_name": null,
7636
+ "avatar_url": null
7637
+ },
7394
7638
  "session": {
7395
7639
  "id": "123e4567-e89b-12d3-a456-426614174003",
7396
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7397
7640
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7398
7641
  "title": null,
7399
7642
  "description": null,
@@ -7410,6 +7653,7 @@ export const canonicalSessionGraphFixtures = {
7410
7653
  "published_at": "2026-09-08T00:00:00Z",
7411
7654
  "updated_at": "2026-09-08T00:00:00Z",
7412
7655
  "parent_session_id": null,
7656
+ "parent_transcript_id": null,
7413
7657
  "ingested_at": null,
7414
7658
  "source_format": null,
7415
7659
  "git_branch": null,
@@ -7460,7 +7704,6 @@ export const canonicalSessionGraphFixtures = {
7460
7704
  },
7461
7705
  "collective": {
7462
7706
  "id": "123e4567-e89b-12d3-a456-426614174003",
7463
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7464
7707
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7465
7708
  "title": null,
7466
7709
  "description": null,
@@ -7477,6 +7720,7 @@ export const canonicalSessionGraphFixtures = {
7477
7720
  "published_at": "2026-09-08T00:00:00Z",
7478
7721
  "updated_at": "2026-09-08T00:00:00Z",
7479
7722
  "parent_session_id": null,
7723
+ "parent_transcript_id": null,
7480
7724
  "ingested_at": null,
7481
7725
  "source_format": null,
7482
7726
  "git_branch": null,
@@ -7524,9 +7768,13 @@ export const canonicalSessionGraphFixtures = {
7524
7768
  "content_hash": null,
7525
7769
  "license_id": null,
7526
7770
  "session_origin": "agent",
7527
- "owner_username": "owner",
7528
- "owner_avatar_url": null,
7529
- "owner_is_discoverable": true,
7771
+ "owner": {
7772
+ "kind": "profile",
7773
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7774
+ "username": "owner",
7775
+ "display_name": null,
7776
+ "avatar_url": null
7777
+ },
7530
7778
  "pull_requests": {
7531
7779
  "count": 0,
7532
7780
  "recent": []
@@ -7554,14 +7802,14 @@ export const canonicalSessionGraphFixtures = {
7554
7802
  }
7555
7803
  },
7556
7804
  {
7557
- "name": "village-pending-member-mirrors",
7558
- "classification": "must-pass",
7805
+ "name": "village-collective-owner-mismatch",
7806
+ "classification": "must-fail",
7559
7807
  "provenance": {
7560
7808
  "source": "requirement",
7561
- "ref": "immediate-owner grouped read contract"
7809
+ "ref": "the owner is resolved once per viewer and mirrored into the route arm"
7562
7810
  },
7563
7811
  "mutation": {
7564
- "description": "pending route uses transcript_id and branch aliases without losing member context"
7812
+ "description": "collective arm shows a profile while the row shows the owner anonymous; every repository field is withheld, so only the owner mirror refuses it"
7565
7813
  },
7566
7814
  "input": {
7567
7815
  "schema": "VillageHelperMembersPayload",
@@ -7570,9 +7818,18 @@ export const canonicalSessionGraphFixtures = {
7570
7818
  {
7571
7819
  "kind": "transcript",
7572
7820
  "transcript": {
7821
+ "owner": {
7822
+ "kind": "anonymous"
7823
+ },
7573
7824
  "session": {
7825
+ "git_branch": null,
7826
+ "git_remote": null,
7827
+ "project_hash": null,
7828
+ "project_name": null,
7829
+ "project_display_name": null,
7830
+ "project_name_source": null,
7831
+ "project_remote_label": null,
7574
7832
  "id": "123e4567-e89b-12d3-a456-426614174003",
7575
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7576
7833
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7577
7834
  "title": null,
7578
7835
  "description": null,
@@ -7589,15 +7846,9 @@ export const canonicalSessionGraphFixtures = {
7589
7846
  "published_at": "2026-09-08T00:00:00Z",
7590
7847
  "updated_at": "2026-09-08T00:00:00Z",
7591
7848
  "parent_session_id": null,
7849
+ "parent_transcript_id": null,
7592
7850
  "ingested_at": null,
7593
7851
  "source_format": null,
7594
- "git_branch": null,
7595
- "git_remote": null,
7596
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7597
- "project_name": null,
7598
- "project_display_name": "example",
7599
- "project_name_source": "privacy",
7600
- "project_remote_label": "",
7601
7852
  "tool_call_count": null,
7602
7853
  "subagent_count": null,
7603
7854
  "duration_ms": null,
@@ -7637,60 +7888,15 @@ export const canonicalSessionGraphFixtures = {
7637
7888
  "license_id": null,
7638
7889
  "session_origin": "agent"
7639
7890
  },
7640
- "pending": {
7641
- "transcript_id": "123e4567-e89b-12d3-a456-426614174003",
7642
- "title": null,
7643
- "model_provider": "codex",
7644
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7645
- "local_id": "123e4567-e89b-12d3-a456-426614174002",
7646
- "parent_session_id": null,
7647
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7891
+ "collective": {
7892
+ "git_branch": null,
7893
+ "git_remote": null,
7894
+ "project_hash": null,
7648
7895
  "project_name": null,
7649
- "branch": null,
7650
- "owner_username": "owner",
7651
- "owner_is_discoverable": true,
7652
- "shared_at": "2026-09-08T00:00:00Z"
7653
- }
7654
- },
7655
- "helperGroups": [
7656
- {
7657
- "groupId": "hg_g1",
7658
- "purpose": "helper_review",
7659
- "helperThreadCount": 1,
7660
- "memberScope": "scope_g1"
7661
- }
7662
- ]
7663
- }
7664
- ],
7665
- "page": 1,
7666
- "limit": 1,
7667
- "total": 1
7668
- }
7669
- },
7670
- "expected": {
7671
- "valid": true
7672
- }
7673
- },
7674
- {
7675
- "name": "village-pending-member-identity-mismatch",
7676
- "classification": "must-fail",
7677
- "provenance": {
7678
- "source": "requirement",
7679
- "ref": "immediate-owner grouped read contract"
7680
- },
7681
- "mutation": {
7682
- "description": "pending alias cannot target another public transcript"
7683
- },
7684
- "input": {
7685
- "schema": "VillageHelperMembersPayload",
7686
- "payload": {
7687
- "members": [
7688
- {
7689
- "kind": "transcript",
7690
- "transcript": {
7691
- "session": {
7896
+ "project_display_name": null,
7897
+ "project_name_source": null,
7898
+ "project_remote_label": null,
7692
7899
  "id": "123e4567-e89b-12d3-a456-426614174003",
7693
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7694
7900
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7695
7901
  "title": null,
7696
7902
  "description": null,
@@ -7707,15 +7913,9 @@ export const canonicalSessionGraphFixtures = {
7707
7913
  "published_at": "2026-09-08T00:00:00Z",
7708
7914
  "updated_at": "2026-09-08T00:00:00Z",
7709
7915
  "parent_session_id": null,
7916
+ "parent_transcript_id": null,
7710
7917
  "ingested_at": null,
7711
7918
  "source_format": null,
7712
- "git_branch": null,
7713
- "git_remote": null,
7714
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7715
- "project_name": null,
7716
- "project_display_name": "example",
7717
- "project_name_source": "privacy",
7718
- "project_remote_label": "",
7719
7919
  "tool_call_count": null,
7720
7920
  "subagent_count": null,
7721
7921
  "duration_ms": null,
@@ -7753,21 +7953,18 @@ export const canonicalSessionGraphFixtures = {
7753
7953
  "compute_version": null,
7754
7954
  "content_hash": null,
7755
7955
  "license_id": null,
7756
- "session_origin": "agent"
7757
- },
7758
- "pending": {
7759
- "transcript_id": "123e4567-e89b-12d3-a456-426614174004",
7760
- "title": null,
7761
- "model_provider": "codex",
7762
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7763
- "local_id": "123e4567-e89b-12d3-a456-426614174002",
7764
- "parent_session_id": null,
7765
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7766
- "project_name": null,
7767
- "branch": null,
7768
- "owner_username": "owner",
7769
- "owner_is_discoverable": true,
7770
- "shared_at": "2026-09-08T00:00:00Z"
7956
+ "session_origin": "agent",
7957
+ "owner": {
7958
+ "kind": "profile",
7959
+ "id": "123e4567-e89b-12d3-a456-426614174001",
7960
+ "username": "owner",
7961
+ "display_name": null,
7962
+ "avatar_url": null
7963
+ },
7964
+ "pull_requests": {
7965
+ "count": 0,
7966
+ "recent": []
7967
+ }
7771
7968
  }
7772
7969
  },
7773
7970
  "helperGroups": [
@@ -7790,14 +7987,14 @@ export const canonicalSessionGraphFixtures = {
7790
7987
  }
7791
7988
  },
7792
7989
  {
7793
- "name": "village-my-share-member-mirrors",
7990
+ "name": "village-anonymous-owner-mirrored",
7794
7991
  "classification": "must-pass",
7795
7992
  "provenance": {
7796
7993
  "source": "requirement",
7797
- "ref": "immediate-owner grouped read contract"
7994
+ "ref": "the owner is resolved once per viewer and mirrored into the route arm"
7798
7995
  },
7799
7996
  "mutation": {
7800
- "description": "my-shares helper keeps individual review status and usage mirrors"
7997
+ "description": "an anonymous owner on the row and the collective arm carries no identity, no repository, and still mirrors"
7801
7998
  },
7802
7999
  "input": {
7803
8000
  "schema": "VillageHelperMembersPayload",
@@ -7806,9 +8003,18 @@ export const canonicalSessionGraphFixtures = {
7806
8003
  {
7807
8004
  "kind": "transcript",
7808
8005
  "transcript": {
8006
+ "owner": {
8007
+ "kind": "anonymous"
8008
+ },
7809
8009
  "session": {
8010
+ "git_branch": null,
8011
+ "git_remote": null,
8012
+ "project_hash": null,
8013
+ "project_name": null,
8014
+ "project_display_name": null,
8015
+ "project_name_source": null,
8016
+ "project_remote_label": null,
7810
8017
  "id": "123e4567-e89b-12d3-a456-426614174003",
7811
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7812
8018
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7813
8019
  "title": null,
7814
8020
  "description": null,
@@ -7825,15 +8031,9 @@ export const canonicalSessionGraphFixtures = {
7825
8031
  "published_at": "2026-09-08T00:00:00Z",
7826
8032
  "updated_at": "2026-09-08T00:00:00Z",
7827
8033
  "parent_session_id": null,
8034
+ "parent_transcript_id": null,
7828
8035
  "ingested_at": null,
7829
8036
  "source_format": null,
7830
- "git_branch": null,
7831
- "git_remote": null,
7832
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7833
- "project_name": null,
7834
- "project_display_name": "example",
7835
- "project_name_source": "privacy",
7836
- "project_remote_label": "",
7837
8037
  "tool_call_count": null,
7838
8038
  "subagent_count": null,
7839
8039
  "duration_ms": null,
@@ -7873,21 +8073,79 @@ export const canonicalSessionGraphFixtures = {
7873
8073
  "license_id": null,
7874
8074
  "session_origin": "agent"
7875
8075
  },
7876
- "myShare": {
8076
+ "collective": {
8077
+ "git_branch": null,
8078
+ "git_remote": null,
8079
+ "project_hash": null,
8080
+ "project_name": null,
8081
+ "project_display_name": null,
8082
+ "project_name_source": null,
8083
+ "project_remote_label": null,
7877
8084
  "id": "123e4567-e89b-12d3-a456-426614174003",
8085
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
7878
8086
  "title": null,
8087
+ "description": null,
8088
+ "visibility": "public",
7879
8089
  "model_provider": "codex",
7880
8090
  "model_name": null,
7881
- "visibility": "public",
7882
- "published_at": "2026-09-08T00:00:00Z",
8091
+ "harness_version": null,
8092
+ "session_start": null,
8093
+ "session_end": null,
7883
8094
  "turn_count": 5,
8095
+ "token_count": 13,
8096
+ "blob_size_bytes": null,
8097
+ "schema_version": "11",
8098
+ "published_at": "2026-09-08T00:00:00Z",
8099
+ "updated_at": "2026-09-08T00:00:00Z",
8100
+ "parent_session_id": null,
8101
+ "parent_transcript_id": null,
8102
+ "ingested_at": null,
8103
+ "source_format": null,
8104
+ "tool_call_count": null,
8105
+ "subagent_count": null,
8106
+ "duration_ms": null,
8107
+ "subagents": null,
8108
+ "diagnostics_warnings": null,
8109
+ "diagnostics_partial": null,
7884
8110
  "tokens_in": null,
7885
8111
  "tokens_out": null,
7886
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7887
- "local_id": "123e4567-e89b-12d3-a456-426614174002",
7888
- "parent_session_id": null,
7889
- "status": "approved",
7890
- "shared_at": "2026-09-08T00:00:00Z"
8112
+ "title_generated": null,
8113
+ "outcome": null,
8114
+ "files_touched": null,
8115
+ "lines_changed": null,
8116
+ "retry_loops": null,
8117
+ "retry_tokens_wasted": null,
8118
+ "within_session_reverts": null,
8119
+ "signal_density": null,
8120
+ "spec_quality_score": null,
8121
+ "exploration_ratio": null,
8122
+ "scope_breadth": null,
8123
+ "discovery_turns": null,
8124
+ "m2_token_outcome_ratio": null,
8125
+ "m3_unique_tool_count": null,
8126
+ "m4_error_recovery_count": null,
8127
+ "m4_consecutive_error_max": null,
8128
+ "m5_context_utilization_pct": null,
8129
+ "m5_peak_context_tokens": null,
8130
+ "m5_avg_message_tokens": null,
8131
+ "m6_output_survival_pct": null,
8132
+ "m6_lines_survived": null,
8133
+ "m6_lines_total": null,
8134
+ "m7_spec_word_count": null,
8135
+ "m7_spec_has_examples": null,
8136
+ "m7_spec_has_constraints": null,
8137
+ "computed_at": null,
8138
+ "compute_version": null,
8139
+ "content_hash": null,
8140
+ "license_id": null,
8141
+ "session_origin": "agent",
8142
+ "owner": {
8143
+ "kind": "anonymous"
8144
+ },
8145
+ "pull_requests": {
8146
+ "count": 0,
8147
+ "recent": []
8148
+ }
7891
8149
  }
7892
8150
  },
7893
8151
  "helperGroups": [
@@ -7910,14 +8168,14 @@ export const canonicalSessionGraphFixtures = {
7910
8168
  }
7911
8169
  },
7912
8170
  {
7913
- "name": "village-my-share-member-count-mismatch",
8171
+ "name": "anonymous-owner-with-remote",
7914
8172
  "classification": "must-fail",
7915
8173
  "provenance": {
7916
8174
  "source": "requirement",
7917
- "ref": "immediate-owner grouped read contract"
8175
+ "ref": "an anonymous owner carries no repository identity"
7918
8176
  },
7919
8177
  "mutation": {
7920
- "description": "my-shares turn count cannot replace the stored member total"
8178
+ "description": "keeps the git remote beside an anonymous row owner"
7921
8179
  },
7922
8180
  "input": {
7923
8181
  "schema": "VillageHelperMembersPayload",
@@ -7926,9 +8184,18 @@ export const canonicalSessionGraphFixtures = {
7926
8184
  {
7927
8185
  "kind": "transcript",
7928
8186
  "transcript": {
8187
+ "owner": {
8188
+ "kind": "anonymous"
8189
+ },
7929
8190
  "session": {
8191
+ "git_branch": null,
8192
+ "git_remote": "https://github.com/alice/project.git",
8193
+ "project_hash": null,
8194
+ "project_name": null,
8195
+ "project_display_name": null,
8196
+ "project_name_source": null,
8197
+ "project_remote_label": null,
7930
8198
  "id": "123e4567-e89b-12d3-a456-426614174003",
7931
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
7932
8199
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
7933
8200
  "title": null,
7934
8201
  "description": null,
@@ -7945,15 +8212,9 @@ export const canonicalSessionGraphFixtures = {
7945
8212
  "published_at": "2026-09-08T00:00:00Z",
7946
8213
  "updated_at": "2026-09-08T00:00:00Z",
7947
8214
  "parent_session_id": null,
8215
+ "parent_transcript_id": null,
7948
8216
  "ingested_at": null,
7949
8217
  "source_format": null,
7950
- "git_branch": null,
7951
- "git_remote": null,
7952
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
7953
- "project_name": null,
7954
- "project_display_name": "example",
7955
- "project_name_source": "privacy",
7956
- "project_remote_label": "",
7957
8218
  "tool_call_count": null,
7958
8219
  "subagent_count": null,
7959
8220
  "duration_ms": null,
@@ -7992,22 +8253,6 @@ export const canonicalSessionGraphFixtures = {
7992
8253
  "content_hash": null,
7993
8254
  "license_id": null,
7994
8255
  "session_origin": "agent"
7995
- },
7996
- "myShare": {
7997
- "id": "123e4567-e89b-12d3-a456-426614174003",
7998
- "title": null,
7999
- "model_provider": "codex",
8000
- "model_name": null,
8001
- "visibility": "public",
8002
- "published_at": "2026-09-08T00:00:00Z",
8003
- "turn_count": 1,
8004
- "tokens_in": null,
8005
- "tokens_out": null,
8006
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
8007
- "local_id": "123e4567-e89b-12d3-a456-426614174002",
8008
- "parent_session_id": null,
8009
- "status": "approved",
8010
- "shared_at": "2026-09-08T00:00:00Z"
8011
8256
  }
8012
8257
  },
8013
8258
  "helperGroups": [
@@ -8030,14 +8275,14 @@ export const canonicalSessionGraphFixtures = {
8030
8275
  }
8031
8276
  },
8032
8277
  {
8033
- "name": "village-contributable-member-mirrors",
8034
- "classification": "must-pass",
8278
+ "name": "anonymous-owner-with-project-hash",
8279
+ "classification": "must-fail",
8035
8280
  "provenance": {
8036
8281
  "source": "requirement",
8037
- "ref": "immediate-owner grouped read contract"
8282
+ "ref": "an anonymous owner carries no repository identity"
8038
8283
  },
8039
8284
  "mutation": {
8040
- "description": "contribution expansion preserves individual eligibility and project context"
8285
+ "description": "keeps the correlatable project hash beside an anonymous row owner"
8041
8286
  },
8042
8287
  "input": {
8043
8288
  "schema": "VillageHelperMembersPayload",
@@ -8046,9 +8291,18 @@ export const canonicalSessionGraphFixtures = {
8046
8291
  {
8047
8292
  "kind": "transcript",
8048
8293
  "transcript": {
8294
+ "owner": {
8295
+ "kind": "anonymous"
8296
+ },
8049
8297
  "session": {
8298
+ "git_branch": null,
8299
+ "git_remote": null,
8300
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8301
+ "project_name": null,
8302
+ "project_display_name": null,
8303
+ "project_name_source": null,
8304
+ "project_remote_label": null,
8050
8305
  "id": "123e4567-e89b-12d3-a456-426614174003",
8051
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
8052
8306
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
8053
8307
  "title": null,
8054
8308
  "description": null,
@@ -8065,12 +8319,1780 @@ export const canonicalSessionGraphFixtures = {
8065
8319
  "published_at": "2026-09-08T00:00:00Z",
8066
8320
  "updated_at": "2026-09-08T00:00:00Z",
8067
8321
  "parent_session_id": null,
8322
+ "parent_transcript_id": null,
8068
8323
  "ingested_at": null,
8069
8324
  "source_format": null,
8070
- "git_branch": null,
8071
- "git_remote": null,
8072
- "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8073
- "project_name": null,
8325
+ "tool_call_count": null,
8326
+ "subagent_count": null,
8327
+ "duration_ms": null,
8328
+ "subagents": null,
8329
+ "diagnostics_warnings": null,
8330
+ "diagnostics_partial": null,
8331
+ "tokens_in": null,
8332
+ "tokens_out": null,
8333
+ "title_generated": null,
8334
+ "outcome": null,
8335
+ "files_touched": null,
8336
+ "lines_changed": null,
8337
+ "retry_loops": null,
8338
+ "retry_tokens_wasted": null,
8339
+ "within_session_reverts": null,
8340
+ "signal_density": null,
8341
+ "spec_quality_score": null,
8342
+ "exploration_ratio": null,
8343
+ "scope_breadth": null,
8344
+ "discovery_turns": null,
8345
+ "m2_token_outcome_ratio": null,
8346
+ "m3_unique_tool_count": null,
8347
+ "m4_error_recovery_count": null,
8348
+ "m4_consecutive_error_max": null,
8349
+ "m5_context_utilization_pct": null,
8350
+ "m5_peak_context_tokens": null,
8351
+ "m5_avg_message_tokens": null,
8352
+ "m6_output_survival_pct": null,
8353
+ "m6_lines_survived": null,
8354
+ "m6_lines_total": null,
8355
+ "m7_spec_word_count": null,
8356
+ "m7_spec_has_examples": null,
8357
+ "m7_spec_has_constraints": null,
8358
+ "computed_at": null,
8359
+ "compute_version": null,
8360
+ "content_hash": null,
8361
+ "license_id": null,
8362
+ "session_origin": "agent"
8363
+ }
8364
+ },
8365
+ "helperGroups": [
8366
+ {
8367
+ "groupId": "hg_g1",
8368
+ "purpose": "helper_review",
8369
+ "helperThreadCount": 1,
8370
+ "memberScope": "scope_g1"
8371
+ }
8372
+ ]
8373
+ }
8374
+ ],
8375
+ "page": 1,
8376
+ "limit": 1,
8377
+ "total": 1
8378
+ }
8379
+ },
8380
+ "expected": {
8381
+ "valid": false
8382
+ }
8383
+ },
8384
+ {
8385
+ "name": "anonymous-collective-arm-with-label",
8386
+ "classification": "must-fail",
8387
+ "provenance": {
8388
+ "source": "requirement",
8389
+ "ref": "an anonymous owner carries no repository identity"
8390
+ },
8391
+ "mutation": {
8392
+ "description": "keeps the remote label on the collective arm of an anonymous owner"
8393
+ },
8394
+ "input": {
8395
+ "schema": "VillageHelperMembersPayload",
8396
+ "payload": {
8397
+ "members": [
8398
+ {
8399
+ "kind": "transcript",
8400
+ "transcript": {
8401
+ "owner": {
8402
+ "kind": "anonymous"
8403
+ },
8404
+ "session": {
8405
+ "git_branch": null,
8406
+ "git_remote": null,
8407
+ "project_hash": null,
8408
+ "project_name": null,
8409
+ "project_display_name": null,
8410
+ "project_name_source": null,
8411
+ "project_remote_label": null,
8412
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8413
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8414
+ "title": null,
8415
+ "description": null,
8416
+ "visibility": "public",
8417
+ "model_provider": "codex",
8418
+ "model_name": null,
8419
+ "harness_version": null,
8420
+ "session_start": null,
8421
+ "session_end": null,
8422
+ "turn_count": 5,
8423
+ "token_count": 13,
8424
+ "blob_size_bytes": null,
8425
+ "schema_version": "11",
8426
+ "published_at": "2026-09-08T00:00:00Z",
8427
+ "updated_at": "2026-09-08T00:00:00Z",
8428
+ "parent_session_id": null,
8429
+ "parent_transcript_id": null,
8430
+ "ingested_at": null,
8431
+ "source_format": null,
8432
+ "tool_call_count": null,
8433
+ "subagent_count": null,
8434
+ "duration_ms": null,
8435
+ "subagents": null,
8436
+ "diagnostics_warnings": null,
8437
+ "diagnostics_partial": null,
8438
+ "tokens_in": null,
8439
+ "tokens_out": null,
8440
+ "title_generated": null,
8441
+ "outcome": null,
8442
+ "files_touched": null,
8443
+ "lines_changed": null,
8444
+ "retry_loops": null,
8445
+ "retry_tokens_wasted": null,
8446
+ "within_session_reverts": null,
8447
+ "signal_density": null,
8448
+ "spec_quality_score": null,
8449
+ "exploration_ratio": null,
8450
+ "scope_breadth": null,
8451
+ "discovery_turns": null,
8452
+ "m2_token_outcome_ratio": null,
8453
+ "m3_unique_tool_count": null,
8454
+ "m4_error_recovery_count": null,
8455
+ "m4_consecutive_error_max": null,
8456
+ "m5_context_utilization_pct": null,
8457
+ "m5_peak_context_tokens": null,
8458
+ "m5_avg_message_tokens": null,
8459
+ "m6_output_survival_pct": null,
8460
+ "m6_lines_survived": null,
8461
+ "m6_lines_total": null,
8462
+ "m7_spec_word_count": null,
8463
+ "m7_spec_has_examples": null,
8464
+ "m7_spec_has_constraints": null,
8465
+ "computed_at": null,
8466
+ "compute_version": null,
8467
+ "content_hash": null,
8468
+ "license_id": null,
8469
+ "session_origin": "agent"
8470
+ },
8471
+ "collective": {
8472
+ "git_branch": null,
8473
+ "git_remote": null,
8474
+ "project_hash": null,
8475
+ "project_name": null,
8476
+ "project_display_name": null,
8477
+ "project_name_source": null,
8478
+ "project_remote_label": "github.com:alice/project",
8479
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8480
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8481
+ "title": null,
8482
+ "description": null,
8483
+ "visibility": "public",
8484
+ "model_provider": "codex",
8485
+ "model_name": null,
8486
+ "harness_version": null,
8487
+ "session_start": null,
8488
+ "session_end": null,
8489
+ "turn_count": 5,
8490
+ "token_count": 13,
8491
+ "blob_size_bytes": null,
8492
+ "schema_version": "11",
8493
+ "published_at": "2026-09-08T00:00:00Z",
8494
+ "updated_at": "2026-09-08T00:00:00Z",
8495
+ "parent_session_id": null,
8496
+ "parent_transcript_id": null,
8497
+ "ingested_at": null,
8498
+ "source_format": null,
8499
+ "tool_call_count": null,
8500
+ "subagent_count": null,
8501
+ "duration_ms": null,
8502
+ "subagents": null,
8503
+ "diagnostics_warnings": null,
8504
+ "diagnostics_partial": null,
8505
+ "tokens_in": null,
8506
+ "tokens_out": null,
8507
+ "title_generated": null,
8508
+ "outcome": null,
8509
+ "files_touched": null,
8510
+ "lines_changed": null,
8511
+ "retry_loops": null,
8512
+ "retry_tokens_wasted": null,
8513
+ "within_session_reverts": null,
8514
+ "signal_density": null,
8515
+ "spec_quality_score": null,
8516
+ "exploration_ratio": null,
8517
+ "scope_breadth": null,
8518
+ "discovery_turns": null,
8519
+ "m2_token_outcome_ratio": null,
8520
+ "m3_unique_tool_count": null,
8521
+ "m4_error_recovery_count": null,
8522
+ "m4_consecutive_error_max": null,
8523
+ "m5_context_utilization_pct": null,
8524
+ "m5_peak_context_tokens": null,
8525
+ "m5_avg_message_tokens": null,
8526
+ "m6_output_survival_pct": null,
8527
+ "m6_lines_survived": null,
8528
+ "m6_lines_total": null,
8529
+ "m7_spec_word_count": null,
8530
+ "m7_spec_has_examples": null,
8531
+ "m7_spec_has_constraints": null,
8532
+ "computed_at": null,
8533
+ "compute_version": null,
8534
+ "content_hash": null,
8535
+ "license_id": null,
8536
+ "session_origin": "agent",
8537
+ "owner": {
8538
+ "kind": "anonymous"
8539
+ },
8540
+ "pull_requests": {
8541
+ "count": 0,
8542
+ "recent": []
8543
+ }
8544
+ }
8545
+ },
8546
+ "helperGroups": [
8547
+ {
8548
+ "groupId": "hg_g1",
8549
+ "purpose": "helper_review",
8550
+ "helperThreadCount": 1,
8551
+ "memberScope": "scope_g1"
8552
+ }
8553
+ ]
8554
+ }
8555
+ ],
8556
+ "page": 1,
8557
+ "limit": 1,
8558
+ "total": 1
8559
+ }
8560
+ },
8561
+ "expected": {
8562
+ "valid": false
8563
+ }
8564
+ },
8565
+ {
8566
+ "name": "village-pending-member-mirrors",
8567
+ "classification": "must-pass",
8568
+ "provenance": {
8569
+ "source": "requirement",
8570
+ "ref": "immediate-owner grouped read contract"
8571
+ },
8572
+ "mutation": {
8573
+ "description": "pending route uses transcript_id and branch aliases without losing member context"
8574
+ },
8575
+ "input": {
8576
+ "schema": "VillageHelperMembersPayload",
8577
+ "payload": {
8578
+ "members": [
8579
+ {
8580
+ "kind": "transcript",
8581
+ "transcript": {
8582
+ "owner": {
8583
+ "kind": "profile",
8584
+ "id": "123e4567-e89b-12d3-a456-426614174001",
8585
+ "username": "owner",
8586
+ "display_name": null,
8587
+ "avatar_url": null
8588
+ },
8589
+ "session": {
8590
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8591
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8592
+ "title": null,
8593
+ "description": null,
8594
+ "visibility": "public",
8595
+ "model_provider": "codex",
8596
+ "model_name": null,
8597
+ "harness_version": null,
8598
+ "session_start": null,
8599
+ "session_end": null,
8600
+ "turn_count": 5,
8601
+ "token_count": 13,
8602
+ "blob_size_bytes": null,
8603
+ "schema_version": "11",
8604
+ "published_at": "2026-09-08T00:00:00Z",
8605
+ "updated_at": "2026-09-08T00:00:00Z",
8606
+ "parent_session_id": null,
8607
+ "parent_transcript_id": null,
8608
+ "ingested_at": null,
8609
+ "source_format": null,
8610
+ "git_branch": null,
8611
+ "git_remote": null,
8612
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8613
+ "project_name": null,
8614
+ "project_display_name": "example",
8615
+ "project_name_source": "privacy",
8616
+ "project_remote_label": "",
8617
+ "tool_call_count": null,
8618
+ "subagent_count": null,
8619
+ "duration_ms": null,
8620
+ "subagents": null,
8621
+ "diagnostics_warnings": null,
8622
+ "diagnostics_partial": null,
8623
+ "tokens_in": null,
8624
+ "tokens_out": null,
8625
+ "title_generated": null,
8626
+ "outcome": null,
8627
+ "files_touched": null,
8628
+ "lines_changed": null,
8629
+ "retry_loops": null,
8630
+ "retry_tokens_wasted": null,
8631
+ "within_session_reverts": null,
8632
+ "signal_density": null,
8633
+ "spec_quality_score": null,
8634
+ "exploration_ratio": null,
8635
+ "scope_breadth": null,
8636
+ "discovery_turns": null,
8637
+ "m2_token_outcome_ratio": null,
8638
+ "m3_unique_tool_count": null,
8639
+ "m4_error_recovery_count": null,
8640
+ "m4_consecutive_error_max": null,
8641
+ "m5_context_utilization_pct": null,
8642
+ "m5_peak_context_tokens": null,
8643
+ "m5_avg_message_tokens": null,
8644
+ "m6_output_survival_pct": null,
8645
+ "m6_lines_survived": null,
8646
+ "m6_lines_total": null,
8647
+ "m7_spec_word_count": null,
8648
+ "m7_spec_has_examples": null,
8649
+ "m7_spec_has_constraints": null,
8650
+ "computed_at": null,
8651
+ "compute_version": null,
8652
+ "content_hash": null,
8653
+ "license_id": null,
8654
+ "session_origin": "agent"
8655
+ },
8656
+ "pending": {
8657
+ "transcript_id": "123e4567-e89b-12d3-a456-426614174003",
8658
+ "title": null,
8659
+ "model_provider": "codex",
8660
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8661
+ "parent_session_id": null,
8662
+ "parent_transcript_id": null,
8663
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8664
+ "project_name": null,
8665
+ "branch": null,
8666
+ "owner": {
8667
+ "kind": "profile",
8668
+ "id": "123e4567-e89b-12d3-a456-426614174001",
8669
+ "username": "owner",
8670
+ "display_name": null,
8671
+ "avatar_url": null
8672
+ },
8673
+ "shared_at": "2026-09-08T00:00:00Z"
8674
+ }
8675
+ },
8676
+ "helperGroups": [
8677
+ {
8678
+ "groupId": "hg_g1",
8679
+ "purpose": "helper_review",
8680
+ "helperThreadCount": 1,
8681
+ "memberScope": "scope_g1"
8682
+ }
8683
+ ]
8684
+ }
8685
+ ],
8686
+ "page": 1,
8687
+ "limit": 1,
8688
+ "total": 1
8689
+ }
8690
+ },
8691
+ "expected": {
8692
+ "valid": true
8693
+ }
8694
+ },
8695
+ {
8696
+ "name": "pending-owner-mismatch",
8697
+ "classification": "must-fail",
8698
+ "provenance": {
8699
+ "source": "requirement",
8700
+ "ref": "the owner is resolved once per viewer and mirrored into the route arm"
8701
+ },
8702
+ "mutation": {
8703
+ "description": "pending arm shows a profile while the row shows the submitter anonymous; every repository field is withheld, so only the owner mirror refuses it"
8704
+ },
8705
+ "input": {
8706
+ "schema": "VillageHelperMembersPayload",
8707
+ "payload": {
8708
+ "members": [
8709
+ {
8710
+ "kind": "transcript",
8711
+ "transcript": {
8712
+ "owner": {
8713
+ "kind": "anonymous"
8714
+ },
8715
+ "session": {
8716
+ "git_branch": null,
8717
+ "git_remote": null,
8718
+ "project_hash": null,
8719
+ "project_name": null,
8720
+ "project_display_name": null,
8721
+ "project_name_source": null,
8722
+ "project_remote_label": null,
8723
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8724
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8725
+ "title": null,
8726
+ "description": null,
8727
+ "visibility": "public",
8728
+ "model_provider": "codex",
8729
+ "model_name": null,
8730
+ "harness_version": null,
8731
+ "session_start": null,
8732
+ "session_end": null,
8733
+ "turn_count": 5,
8734
+ "token_count": 13,
8735
+ "blob_size_bytes": null,
8736
+ "schema_version": "11",
8737
+ "published_at": "2026-09-08T00:00:00Z",
8738
+ "updated_at": "2026-09-08T00:00:00Z",
8739
+ "parent_session_id": null,
8740
+ "parent_transcript_id": null,
8741
+ "ingested_at": null,
8742
+ "source_format": null,
8743
+ "tool_call_count": null,
8744
+ "subagent_count": null,
8745
+ "duration_ms": null,
8746
+ "subagents": null,
8747
+ "diagnostics_warnings": null,
8748
+ "diagnostics_partial": null,
8749
+ "tokens_in": null,
8750
+ "tokens_out": null,
8751
+ "title_generated": null,
8752
+ "outcome": null,
8753
+ "files_touched": null,
8754
+ "lines_changed": null,
8755
+ "retry_loops": null,
8756
+ "retry_tokens_wasted": null,
8757
+ "within_session_reverts": null,
8758
+ "signal_density": null,
8759
+ "spec_quality_score": null,
8760
+ "exploration_ratio": null,
8761
+ "scope_breadth": null,
8762
+ "discovery_turns": null,
8763
+ "m2_token_outcome_ratio": null,
8764
+ "m3_unique_tool_count": null,
8765
+ "m4_error_recovery_count": null,
8766
+ "m4_consecutive_error_max": null,
8767
+ "m5_context_utilization_pct": null,
8768
+ "m5_peak_context_tokens": null,
8769
+ "m5_avg_message_tokens": null,
8770
+ "m6_output_survival_pct": null,
8771
+ "m6_lines_survived": null,
8772
+ "m6_lines_total": null,
8773
+ "m7_spec_word_count": null,
8774
+ "m7_spec_has_examples": null,
8775
+ "m7_spec_has_constraints": null,
8776
+ "computed_at": null,
8777
+ "compute_version": null,
8778
+ "content_hash": null,
8779
+ "license_id": null,
8780
+ "session_origin": "agent"
8781
+ },
8782
+ "pending": {
8783
+ "project_hash": null,
8784
+ "project_name": null,
8785
+ "branch": null,
8786
+ "transcript_id": "123e4567-e89b-12d3-a456-426614174003",
8787
+ "title": null,
8788
+ "model_provider": "codex",
8789
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8790
+ "parent_session_id": null,
8791
+ "parent_transcript_id": null,
8792
+ "owner": {
8793
+ "kind": "profile",
8794
+ "id": "123e4567-e89b-12d3-a456-426614174001",
8795
+ "username": "owner",
8796
+ "display_name": null,
8797
+ "avatar_url": null
8798
+ },
8799
+ "shared_at": "2026-09-08T00:00:00Z"
8800
+ }
8801
+ },
8802
+ "helperGroups": [
8803
+ {
8804
+ "groupId": "hg_g1",
8805
+ "purpose": "helper_review",
8806
+ "helperThreadCount": 1,
8807
+ "memberScope": "scope_g1"
8808
+ }
8809
+ ]
8810
+ }
8811
+ ],
8812
+ "page": 1,
8813
+ "limit": 1,
8814
+ "total": 1
8815
+ }
8816
+ },
8817
+ "expected": {
8818
+ "valid": false
8819
+ }
8820
+ },
8821
+ {
8822
+ "name": "collective-parent-transcript-id-mismatch",
8823
+ "classification": "must-fail",
8824
+ "provenance": {
8825
+ "source": "requirement",
8826
+ "ref": "the parent transcript is resolved once per viewer and mirrored into the route arm"
8827
+ },
8828
+ "mutation": {
8829
+ "description": "collective arm names a parent transcript the session row does not"
8830
+ },
8831
+ "input": {
8832
+ "schema": "VillageHelperMembersPayload",
8833
+ "payload": {
8834
+ "members": [
8835
+ {
8836
+ "kind": "transcript",
8837
+ "transcript": {
8838
+ "owner": {
8839
+ "kind": "profile",
8840
+ "id": "123e4567-e89b-12d3-a456-426614174001",
8841
+ "username": "owner",
8842
+ "display_name": null,
8843
+ "avatar_url": null
8844
+ },
8845
+ "session": {
8846
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8847
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8848
+ "title": null,
8849
+ "description": null,
8850
+ "visibility": "public",
8851
+ "model_provider": "codex",
8852
+ "model_name": null,
8853
+ "harness_version": null,
8854
+ "session_start": null,
8855
+ "session_end": null,
8856
+ "turn_count": 5,
8857
+ "token_count": 13,
8858
+ "blob_size_bytes": null,
8859
+ "schema_version": "11",
8860
+ "published_at": "2026-09-08T00:00:00Z",
8861
+ "updated_at": "2026-09-08T00:00:00Z",
8862
+ "parent_session_id": null,
8863
+ "parent_transcript_id": null,
8864
+ "ingested_at": null,
8865
+ "source_format": null,
8866
+ "git_branch": null,
8867
+ "git_remote": null,
8868
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8869
+ "project_name": null,
8870
+ "project_display_name": "example",
8871
+ "project_name_source": "privacy",
8872
+ "project_remote_label": "",
8873
+ "tool_call_count": null,
8874
+ "subagent_count": null,
8875
+ "duration_ms": null,
8876
+ "subagents": null,
8877
+ "diagnostics_warnings": null,
8878
+ "diagnostics_partial": null,
8879
+ "tokens_in": null,
8880
+ "tokens_out": null,
8881
+ "title_generated": null,
8882
+ "outcome": null,
8883
+ "files_touched": null,
8884
+ "lines_changed": null,
8885
+ "retry_loops": null,
8886
+ "retry_tokens_wasted": null,
8887
+ "within_session_reverts": null,
8888
+ "signal_density": null,
8889
+ "spec_quality_score": null,
8890
+ "exploration_ratio": null,
8891
+ "scope_breadth": null,
8892
+ "discovery_turns": null,
8893
+ "m2_token_outcome_ratio": null,
8894
+ "m3_unique_tool_count": null,
8895
+ "m4_error_recovery_count": null,
8896
+ "m4_consecutive_error_max": null,
8897
+ "m5_context_utilization_pct": null,
8898
+ "m5_peak_context_tokens": null,
8899
+ "m5_avg_message_tokens": null,
8900
+ "m6_output_survival_pct": null,
8901
+ "m6_lines_survived": null,
8902
+ "m6_lines_total": null,
8903
+ "m7_spec_word_count": null,
8904
+ "m7_spec_has_examples": null,
8905
+ "m7_spec_has_constraints": null,
8906
+ "computed_at": null,
8907
+ "compute_version": null,
8908
+ "content_hash": null,
8909
+ "license_id": null,
8910
+ "session_origin": "agent"
8911
+ },
8912
+ "collective": {
8913
+ "id": "123e4567-e89b-12d3-a456-426614174003",
8914
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
8915
+ "title": null,
8916
+ "description": null,
8917
+ "visibility": "public",
8918
+ "model_provider": "codex",
8919
+ "model_name": null,
8920
+ "harness_version": null,
8921
+ "session_start": null,
8922
+ "session_end": null,
8923
+ "turn_count": 5,
8924
+ "token_count": 13,
8925
+ "blob_size_bytes": null,
8926
+ "schema_version": "11",
8927
+ "published_at": "2026-09-08T00:00:00Z",
8928
+ "updated_at": "2026-09-08T00:00:00Z",
8929
+ "parent_session_id": null,
8930
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
8931
+ "ingested_at": null,
8932
+ "source_format": null,
8933
+ "git_branch": null,
8934
+ "git_remote": null,
8935
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
8936
+ "project_name": null,
8937
+ "project_display_name": "example",
8938
+ "project_name_source": "privacy",
8939
+ "project_remote_label": "",
8940
+ "tool_call_count": null,
8941
+ "subagent_count": null,
8942
+ "duration_ms": null,
8943
+ "subagents": null,
8944
+ "diagnostics_warnings": null,
8945
+ "diagnostics_partial": null,
8946
+ "tokens_in": null,
8947
+ "tokens_out": null,
8948
+ "title_generated": null,
8949
+ "outcome": null,
8950
+ "files_touched": null,
8951
+ "lines_changed": null,
8952
+ "retry_loops": null,
8953
+ "retry_tokens_wasted": null,
8954
+ "within_session_reverts": null,
8955
+ "signal_density": null,
8956
+ "spec_quality_score": null,
8957
+ "exploration_ratio": null,
8958
+ "scope_breadth": null,
8959
+ "discovery_turns": null,
8960
+ "m2_token_outcome_ratio": null,
8961
+ "m3_unique_tool_count": null,
8962
+ "m4_error_recovery_count": null,
8963
+ "m4_consecutive_error_max": null,
8964
+ "m5_context_utilization_pct": null,
8965
+ "m5_peak_context_tokens": null,
8966
+ "m5_avg_message_tokens": null,
8967
+ "m6_output_survival_pct": null,
8968
+ "m6_lines_survived": null,
8969
+ "m6_lines_total": null,
8970
+ "m7_spec_word_count": null,
8971
+ "m7_spec_has_examples": null,
8972
+ "m7_spec_has_constraints": null,
8973
+ "computed_at": null,
8974
+ "compute_version": null,
8975
+ "content_hash": null,
8976
+ "license_id": null,
8977
+ "session_origin": "agent",
8978
+ "owner": {
8979
+ "kind": "profile",
8980
+ "id": "123e4567-e89b-12d3-a456-426614174001",
8981
+ "username": "owner",
8982
+ "display_name": null,
8983
+ "avatar_url": null
8984
+ },
8985
+ "pull_requests": {
8986
+ "count": 0,
8987
+ "recent": []
8988
+ }
8989
+ }
8990
+ },
8991
+ "helperGroups": [
8992
+ {
8993
+ "groupId": "hg_g1",
8994
+ "purpose": "helper_review",
8995
+ "helperThreadCount": 1,
8996
+ "memberScope": "scope_g1"
8997
+ }
8998
+ ]
8999
+ }
9000
+ ],
9001
+ "page": 1,
9002
+ "limit": 1,
9003
+ "total": 1
9004
+ }
9005
+ },
9006
+ "expected": {
9007
+ "valid": false
9008
+ }
9009
+ },
9010
+ {
9011
+ "name": "pending-parent-transcript-id-mismatch",
9012
+ "classification": "must-fail",
9013
+ "provenance": {
9014
+ "source": "requirement",
9015
+ "ref": "the parent transcript is resolved once per viewer and mirrored into the route arm"
9016
+ },
9017
+ "mutation": {
9018
+ "description": "pending arm names a parent transcript the session row does not"
9019
+ },
9020
+ "input": {
9021
+ "schema": "VillageHelperMembersPayload",
9022
+ "payload": {
9023
+ "members": [
9024
+ {
9025
+ "kind": "transcript",
9026
+ "transcript": {
9027
+ "owner": {
9028
+ "kind": "profile",
9029
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9030
+ "username": "owner",
9031
+ "display_name": null,
9032
+ "avatar_url": null
9033
+ },
9034
+ "session": {
9035
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9036
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9037
+ "title": null,
9038
+ "description": null,
9039
+ "visibility": "public",
9040
+ "model_provider": "codex",
9041
+ "model_name": null,
9042
+ "harness_version": null,
9043
+ "session_start": null,
9044
+ "session_end": null,
9045
+ "turn_count": 5,
9046
+ "token_count": 13,
9047
+ "blob_size_bytes": null,
9048
+ "schema_version": "11",
9049
+ "published_at": "2026-09-08T00:00:00Z",
9050
+ "updated_at": "2026-09-08T00:00:00Z",
9051
+ "parent_session_id": null,
9052
+ "parent_transcript_id": null,
9053
+ "ingested_at": null,
9054
+ "source_format": null,
9055
+ "git_branch": null,
9056
+ "git_remote": null,
9057
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9058
+ "project_name": null,
9059
+ "project_display_name": "example",
9060
+ "project_name_source": "privacy",
9061
+ "project_remote_label": "",
9062
+ "tool_call_count": null,
9063
+ "subagent_count": null,
9064
+ "duration_ms": null,
9065
+ "subagents": null,
9066
+ "diagnostics_warnings": null,
9067
+ "diagnostics_partial": null,
9068
+ "tokens_in": null,
9069
+ "tokens_out": null,
9070
+ "title_generated": null,
9071
+ "outcome": null,
9072
+ "files_touched": null,
9073
+ "lines_changed": null,
9074
+ "retry_loops": null,
9075
+ "retry_tokens_wasted": null,
9076
+ "within_session_reverts": null,
9077
+ "signal_density": null,
9078
+ "spec_quality_score": null,
9079
+ "exploration_ratio": null,
9080
+ "scope_breadth": null,
9081
+ "discovery_turns": null,
9082
+ "m2_token_outcome_ratio": null,
9083
+ "m3_unique_tool_count": null,
9084
+ "m4_error_recovery_count": null,
9085
+ "m4_consecutive_error_max": null,
9086
+ "m5_context_utilization_pct": null,
9087
+ "m5_peak_context_tokens": null,
9088
+ "m5_avg_message_tokens": null,
9089
+ "m6_output_survival_pct": null,
9090
+ "m6_lines_survived": null,
9091
+ "m6_lines_total": null,
9092
+ "m7_spec_word_count": null,
9093
+ "m7_spec_has_examples": null,
9094
+ "m7_spec_has_constraints": null,
9095
+ "computed_at": null,
9096
+ "compute_version": null,
9097
+ "content_hash": null,
9098
+ "license_id": null,
9099
+ "session_origin": "agent"
9100
+ },
9101
+ "pending": {
9102
+ "transcript_id": "123e4567-e89b-12d3-a456-426614174003",
9103
+ "title": null,
9104
+ "model_provider": "codex",
9105
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9106
+ "parent_session_id": null,
9107
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
9108
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9109
+ "project_name": null,
9110
+ "branch": null,
9111
+ "owner": {
9112
+ "kind": "profile",
9113
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9114
+ "username": "owner",
9115
+ "display_name": null,
9116
+ "avatar_url": null
9117
+ },
9118
+ "shared_at": "2026-09-08T00:00:00Z"
9119
+ }
9120
+ },
9121
+ "helperGroups": [
9122
+ {
9123
+ "groupId": "hg_g1",
9124
+ "purpose": "helper_review",
9125
+ "helperThreadCount": 1,
9126
+ "memberScope": "scope_g1"
9127
+ }
9128
+ ]
9129
+ }
9130
+ ],
9131
+ "page": 1,
9132
+ "limit": 1,
9133
+ "total": 1
9134
+ }
9135
+ },
9136
+ "expected": {
9137
+ "valid": false
9138
+ }
9139
+ },
9140
+ {
9141
+ "name": "village-pending-member-identity-mismatch",
9142
+ "classification": "must-fail",
9143
+ "provenance": {
9144
+ "source": "requirement",
9145
+ "ref": "immediate-owner grouped read contract"
9146
+ },
9147
+ "mutation": {
9148
+ "description": "pending alias cannot target another public transcript"
9149
+ },
9150
+ "input": {
9151
+ "schema": "VillageHelperMembersPayload",
9152
+ "payload": {
9153
+ "members": [
9154
+ {
9155
+ "kind": "transcript",
9156
+ "transcript": {
9157
+ "owner": {
9158
+ "kind": "profile",
9159
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9160
+ "username": "owner",
9161
+ "display_name": null,
9162
+ "avatar_url": null
9163
+ },
9164
+ "session": {
9165
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9166
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9167
+ "title": null,
9168
+ "description": null,
9169
+ "visibility": "public",
9170
+ "model_provider": "codex",
9171
+ "model_name": null,
9172
+ "harness_version": null,
9173
+ "session_start": null,
9174
+ "session_end": null,
9175
+ "turn_count": 5,
9176
+ "token_count": 13,
9177
+ "blob_size_bytes": null,
9178
+ "schema_version": "11",
9179
+ "published_at": "2026-09-08T00:00:00Z",
9180
+ "updated_at": "2026-09-08T00:00:00Z",
9181
+ "parent_session_id": null,
9182
+ "parent_transcript_id": null,
9183
+ "ingested_at": null,
9184
+ "source_format": null,
9185
+ "git_branch": null,
9186
+ "git_remote": null,
9187
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9188
+ "project_name": null,
9189
+ "project_display_name": "example",
9190
+ "project_name_source": "privacy",
9191
+ "project_remote_label": "",
9192
+ "tool_call_count": null,
9193
+ "subagent_count": null,
9194
+ "duration_ms": null,
9195
+ "subagents": null,
9196
+ "diagnostics_warnings": null,
9197
+ "diagnostics_partial": null,
9198
+ "tokens_in": null,
9199
+ "tokens_out": null,
9200
+ "title_generated": null,
9201
+ "outcome": null,
9202
+ "files_touched": null,
9203
+ "lines_changed": null,
9204
+ "retry_loops": null,
9205
+ "retry_tokens_wasted": null,
9206
+ "within_session_reverts": null,
9207
+ "signal_density": null,
9208
+ "spec_quality_score": null,
9209
+ "exploration_ratio": null,
9210
+ "scope_breadth": null,
9211
+ "discovery_turns": null,
9212
+ "m2_token_outcome_ratio": null,
9213
+ "m3_unique_tool_count": null,
9214
+ "m4_error_recovery_count": null,
9215
+ "m4_consecutive_error_max": null,
9216
+ "m5_context_utilization_pct": null,
9217
+ "m5_peak_context_tokens": null,
9218
+ "m5_avg_message_tokens": null,
9219
+ "m6_output_survival_pct": null,
9220
+ "m6_lines_survived": null,
9221
+ "m6_lines_total": null,
9222
+ "m7_spec_word_count": null,
9223
+ "m7_spec_has_examples": null,
9224
+ "m7_spec_has_constraints": null,
9225
+ "computed_at": null,
9226
+ "compute_version": null,
9227
+ "content_hash": null,
9228
+ "license_id": null,
9229
+ "session_origin": "agent"
9230
+ },
9231
+ "pending": {
9232
+ "transcript_id": "123e4567-e89b-12d3-a456-426614174004",
9233
+ "title": null,
9234
+ "model_provider": "codex",
9235
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9236
+ "parent_session_id": null,
9237
+ "parent_transcript_id": null,
9238
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9239
+ "project_name": null,
9240
+ "branch": null,
9241
+ "owner": {
9242
+ "kind": "profile",
9243
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9244
+ "username": "owner",
9245
+ "display_name": null,
9246
+ "avatar_url": null
9247
+ },
9248
+ "shared_at": "2026-09-08T00:00:00Z"
9249
+ }
9250
+ },
9251
+ "helperGroups": [
9252
+ {
9253
+ "groupId": "hg_g1",
9254
+ "purpose": "helper_review",
9255
+ "helperThreadCount": 1,
9256
+ "memberScope": "scope_g1"
9257
+ }
9258
+ ]
9259
+ }
9260
+ ],
9261
+ "page": 1,
9262
+ "limit": 1,
9263
+ "total": 1
9264
+ }
9265
+ },
9266
+ "expected": {
9267
+ "valid": false
9268
+ }
9269
+ },
9270
+ {
9271
+ "name": "village-my-share-member-mirrors",
9272
+ "classification": "must-pass",
9273
+ "provenance": {
9274
+ "source": "requirement",
9275
+ "ref": "immediate-owner grouped read contract"
9276
+ },
9277
+ "mutation": {
9278
+ "description": "my-shares helper keeps individual review status and usage mirrors"
9279
+ },
9280
+ "input": {
9281
+ "schema": "VillageHelperMembersPayload",
9282
+ "payload": {
9283
+ "members": [
9284
+ {
9285
+ "kind": "transcript",
9286
+ "transcript": {
9287
+ "owner": {
9288
+ "kind": "profile",
9289
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9290
+ "username": "owner",
9291
+ "display_name": null,
9292
+ "avatar_url": null
9293
+ },
9294
+ "session": {
9295
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9296
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9297
+ "title": null,
9298
+ "description": null,
9299
+ "visibility": "public",
9300
+ "model_provider": "codex",
9301
+ "model_name": null,
9302
+ "harness_version": null,
9303
+ "session_start": null,
9304
+ "session_end": null,
9305
+ "turn_count": 5,
9306
+ "token_count": 13,
9307
+ "blob_size_bytes": null,
9308
+ "schema_version": "11",
9309
+ "published_at": "2026-09-08T00:00:00Z",
9310
+ "updated_at": "2026-09-08T00:00:00Z",
9311
+ "parent_session_id": null,
9312
+ "parent_transcript_id": null,
9313
+ "ingested_at": null,
9314
+ "source_format": null,
9315
+ "git_branch": null,
9316
+ "git_remote": null,
9317
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9318
+ "project_name": null,
9319
+ "project_display_name": "example",
9320
+ "project_name_source": "privacy",
9321
+ "project_remote_label": "",
9322
+ "tool_call_count": null,
9323
+ "subagent_count": null,
9324
+ "duration_ms": null,
9325
+ "subagents": null,
9326
+ "diagnostics_warnings": null,
9327
+ "diagnostics_partial": null,
9328
+ "tokens_in": null,
9329
+ "tokens_out": null,
9330
+ "title_generated": null,
9331
+ "outcome": null,
9332
+ "files_touched": null,
9333
+ "lines_changed": null,
9334
+ "retry_loops": null,
9335
+ "retry_tokens_wasted": null,
9336
+ "within_session_reverts": null,
9337
+ "signal_density": null,
9338
+ "spec_quality_score": null,
9339
+ "exploration_ratio": null,
9340
+ "scope_breadth": null,
9341
+ "discovery_turns": null,
9342
+ "m2_token_outcome_ratio": null,
9343
+ "m3_unique_tool_count": null,
9344
+ "m4_error_recovery_count": null,
9345
+ "m4_consecutive_error_max": null,
9346
+ "m5_context_utilization_pct": null,
9347
+ "m5_peak_context_tokens": null,
9348
+ "m5_avg_message_tokens": null,
9349
+ "m6_output_survival_pct": null,
9350
+ "m6_lines_survived": null,
9351
+ "m6_lines_total": null,
9352
+ "m7_spec_word_count": null,
9353
+ "m7_spec_has_examples": null,
9354
+ "m7_spec_has_constraints": null,
9355
+ "computed_at": null,
9356
+ "compute_version": null,
9357
+ "content_hash": null,
9358
+ "license_id": null,
9359
+ "session_origin": "agent"
9360
+ },
9361
+ "myShare": {
9362
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9363
+ "title": null,
9364
+ "model_provider": "codex",
9365
+ "model_name": null,
9366
+ "visibility": "public",
9367
+ "published_at": "2026-09-08T00:00:00Z",
9368
+ "turn_count": 5,
9369
+ "tokens_in": null,
9370
+ "tokens_out": null,
9371
+ "owner": {
9372
+ "kind": "profile",
9373
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9374
+ "username": "owner",
9375
+ "display_name": null,
9376
+ "avatar_url": null
9377
+ },
9378
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9379
+ "parent_session_id": null,
9380
+ "parent_transcript_id": null,
9381
+ "status": "approved",
9382
+ "shared_at": "2026-09-08T00:00:00Z"
9383
+ }
9384
+ },
9385
+ "helperGroups": [
9386
+ {
9387
+ "groupId": "hg_g1",
9388
+ "purpose": "helper_review",
9389
+ "helperThreadCount": 1,
9390
+ "memberScope": "scope_g1"
9391
+ }
9392
+ ]
9393
+ }
9394
+ ],
9395
+ "page": 1,
9396
+ "limit": 1,
9397
+ "total": 1
9398
+ }
9399
+ },
9400
+ "expected": {
9401
+ "valid": true
9402
+ }
9403
+ },
9404
+ {
9405
+ "name": "my-share-owner-mismatch",
9406
+ "classification": "must-fail",
9407
+ "provenance": {
9408
+ "source": "requirement",
9409
+ "ref": "the owner is resolved once per viewer and mirrored into the route arm"
9410
+ },
9411
+ "mutation": {
9412
+ "description": "own-share arm shows the owner anonymous while the row shows the profile"
9413
+ },
9414
+ "input": {
9415
+ "schema": "VillageHelperMembersPayload",
9416
+ "payload": {
9417
+ "members": [
9418
+ {
9419
+ "kind": "transcript",
9420
+ "transcript": {
9421
+ "owner": {
9422
+ "kind": "profile",
9423
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9424
+ "username": "owner",
9425
+ "display_name": null,
9426
+ "avatar_url": null
9427
+ },
9428
+ "session": {
9429
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9430
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9431
+ "title": null,
9432
+ "description": null,
9433
+ "visibility": "public",
9434
+ "model_provider": "codex",
9435
+ "model_name": null,
9436
+ "harness_version": null,
9437
+ "session_start": null,
9438
+ "session_end": null,
9439
+ "turn_count": 5,
9440
+ "token_count": 13,
9441
+ "blob_size_bytes": null,
9442
+ "schema_version": "11",
9443
+ "published_at": "2026-09-08T00:00:00Z",
9444
+ "updated_at": "2026-09-08T00:00:00Z",
9445
+ "parent_session_id": null,
9446
+ "parent_transcript_id": null,
9447
+ "ingested_at": null,
9448
+ "source_format": null,
9449
+ "git_branch": null,
9450
+ "git_remote": null,
9451
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9452
+ "project_name": null,
9453
+ "project_display_name": "example",
9454
+ "project_name_source": "privacy",
9455
+ "project_remote_label": "",
9456
+ "tool_call_count": null,
9457
+ "subagent_count": null,
9458
+ "duration_ms": null,
9459
+ "subagents": null,
9460
+ "diagnostics_warnings": null,
9461
+ "diagnostics_partial": null,
9462
+ "tokens_in": null,
9463
+ "tokens_out": null,
9464
+ "title_generated": null,
9465
+ "outcome": null,
9466
+ "files_touched": null,
9467
+ "lines_changed": null,
9468
+ "retry_loops": null,
9469
+ "retry_tokens_wasted": null,
9470
+ "within_session_reverts": null,
9471
+ "signal_density": null,
9472
+ "spec_quality_score": null,
9473
+ "exploration_ratio": null,
9474
+ "scope_breadth": null,
9475
+ "discovery_turns": null,
9476
+ "m2_token_outcome_ratio": null,
9477
+ "m3_unique_tool_count": null,
9478
+ "m4_error_recovery_count": null,
9479
+ "m4_consecutive_error_max": null,
9480
+ "m5_context_utilization_pct": null,
9481
+ "m5_peak_context_tokens": null,
9482
+ "m5_avg_message_tokens": null,
9483
+ "m6_output_survival_pct": null,
9484
+ "m6_lines_survived": null,
9485
+ "m6_lines_total": null,
9486
+ "m7_spec_word_count": null,
9487
+ "m7_spec_has_examples": null,
9488
+ "m7_spec_has_constraints": null,
9489
+ "computed_at": null,
9490
+ "compute_version": null,
9491
+ "content_hash": null,
9492
+ "license_id": null,
9493
+ "session_origin": "agent"
9494
+ },
9495
+ "myShare": {
9496
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9497
+ "title": null,
9498
+ "model_provider": "codex",
9499
+ "model_name": null,
9500
+ "visibility": "public",
9501
+ "published_at": "2026-09-08T00:00:00Z",
9502
+ "turn_count": 5,
9503
+ "tokens_in": null,
9504
+ "tokens_out": null,
9505
+ "owner": {
9506
+ "kind": "anonymous"
9507
+ },
9508
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9509
+ "parent_session_id": null,
9510
+ "parent_transcript_id": null,
9511
+ "status": "approved",
9512
+ "shared_at": "2026-09-08T00:00:00Z"
9513
+ }
9514
+ },
9515
+ "helperGroups": [
9516
+ {
9517
+ "groupId": "hg_g1",
9518
+ "purpose": "helper_review",
9519
+ "helperThreadCount": 1,
9520
+ "memberScope": "scope_g1"
9521
+ }
9522
+ ]
9523
+ }
9524
+ ],
9525
+ "page": 1,
9526
+ "limit": 1,
9527
+ "total": 1
9528
+ }
9529
+ },
9530
+ "expected": {
9531
+ "valid": false
9532
+ }
9533
+ },
9534
+ {
9535
+ "name": "parent-transcript-id-mismatch",
9536
+ "classification": "must-fail",
9537
+ "provenance": {
9538
+ "source": "requirement",
9539
+ "ref": "the parent transcript is resolved once per viewer and mirrored into the route arm"
9540
+ },
9541
+ "mutation": {
9542
+ "description": "own-share arm names a parent transcript the session row does not"
9543
+ },
9544
+ "input": {
9545
+ "schema": "VillageHelperMembersPayload",
9546
+ "payload": {
9547
+ "members": [
9548
+ {
9549
+ "kind": "transcript",
9550
+ "transcript": {
9551
+ "owner": {
9552
+ "kind": "profile",
9553
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9554
+ "username": "owner",
9555
+ "display_name": null,
9556
+ "avatar_url": null
9557
+ },
9558
+ "session": {
9559
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9560
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9561
+ "title": null,
9562
+ "description": null,
9563
+ "visibility": "public",
9564
+ "model_provider": "codex",
9565
+ "model_name": null,
9566
+ "harness_version": null,
9567
+ "session_start": null,
9568
+ "session_end": null,
9569
+ "turn_count": 5,
9570
+ "token_count": 13,
9571
+ "blob_size_bytes": null,
9572
+ "schema_version": "11",
9573
+ "published_at": "2026-09-08T00:00:00Z",
9574
+ "updated_at": "2026-09-08T00:00:00Z",
9575
+ "parent_session_id": null,
9576
+ "parent_transcript_id": null,
9577
+ "ingested_at": null,
9578
+ "source_format": null,
9579
+ "git_branch": null,
9580
+ "git_remote": null,
9581
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9582
+ "project_name": null,
9583
+ "project_display_name": "example",
9584
+ "project_name_source": "privacy",
9585
+ "project_remote_label": "",
9586
+ "tool_call_count": null,
9587
+ "subagent_count": null,
9588
+ "duration_ms": null,
9589
+ "subagents": null,
9590
+ "diagnostics_warnings": null,
9591
+ "diagnostics_partial": null,
9592
+ "tokens_in": null,
9593
+ "tokens_out": null,
9594
+ "title_generated": null,
9595
+ "outcome": null,
9596
+ "files_touched": null,
9597
+ "lines_changed": null,
9598
+ "retry_loops": null,
9599
+ "retry_tokens_wasted": null,
9600
+ "within_session_reverts": null,
9601
+ "signal_density": null,
9602
+ "spec_quality_score": null,
9603
+ "exploration_ratio": null,
9604
+ "scope_breadth": null,
9605
+ "discovery_turns": null,
9606
+ "m2_token_outcome_ratio": null,
9607
+ "m3_unique_tool_count": null,
9608
+ "m4_error_recovery_count": null,
9609
+ "m4_consecutive_error_max": null,
9610
+ "m5_context_utilization_pct": null,
9611
+ "m5_peak_context_tokens": null,
9612
+ "m5_avg_message_tokens": null,
9613
+ "m6_output_survival_pct": null,
9614
+ "m6_lines_survived": null,
9615
+ "m6_lines_total": null,
9616
+ "m7_spec_word_count": null,
9617
+ "m7_spec_has_examples": null,
9618
+ "m7_spec_has_constraints": null,
9619
+ "computed_at": null,
9620
+ "compute_version": null,
9621
+ "content_hash": null,
9622
+ "license_id": null,
9623
+ "session_origin": "agent"
9624
+ },
9625
+ "myShare": {
9626
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9627
+ "title": null,
9628
+ "model_provider": "codex",
9629
+ "model_name": null,
9630
+ "visibility": "public",
9631
+ "published_at": "2026-09-08T00:00:00Z",
9632
+ "turn_count": 5,
9633
+ "tokens_in": null,
9634
+ "tokens_out": null,
9635
+ "owner": {
9636
+ "kind": "profile",
9637
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9638
+ "username": "owner",
9639
+ "display_name": null,
9640
+ "avatar_url": null
9641
+ },
9642
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9643
+ "parent_session_id": null,
9644
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
9645
+ "status": "approved",
9646
+ "shared_at": "2026-09-08T00:00:00Z"
9647
+ }
9648
+ },
9649
+ "helperGroups": [
9650
+ {
9651
+ "groupId": "hg_g1",
9652
+ "purpose": "helper_review",
9653
+ "helperThreadCount": 1,
9654
+ "memberScope": "scope_g1"
9655
+ }
9656
+ ]
9657
+ }
9658
+ ],
9659
+ "page": 1,
9660
+ "limit": 1,
9661
+ "total": 1
9662
+ }
9663
+ },
9664
+ "expected": {
9665
+ "valid": false
9666
+ }
9667
+ },
9668
+ {
9669
+ "name": "parent-transcript-id-without-parent-session",
9670
+ "classification": "must-fail",
9671
+ "provenance": {
9672
+ "source": "requirement",
9673
+ "ref": "a parent transcript is resolved from the named parent session"
9674
+ },
9675
+ "mutation": {
9676
+ "description": "names a parent transcript on a session that names no parent session"
9677
+ },
9678
+ "input": {
9679
+ "schema": "VillageHelperMembersPayload",
9680
+ "payload": {
9681
+ "members": [
9682
+ {
9683
+ "kind": "transcript",
9684
+ "transcript": {
9685
+ "owner": {
9686
+ "kind": "profile",
9687
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9688
+ "username": "owner",
9689
+ "display_name": null,
9690
+ "avatar_url": null
9691
+ },
9692
+ "session": {
9693
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9694
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9695
+ "title": null,
9696
+ "description": null,
9697
+ "visibility": "public",
9698
+ "model_provider": "codex",
9699
+ "model_name": null,
9700
+ "harness_version": null,
9701
+ "session_start": null,
9702
+ "session_end": null,
9703
+ "turn_count": 5,
9704
+ "token_count": 13,
9705
+ "blob_size_bytes": null,
9706
+ "schema_version": "11",
9707
+ "published_at": "2026-09-08T00:00:00Z",
9708
+ "updated_at": "2026-09-08T00:00:00Z",
9709
+ "parent_session_id": null,
9710
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
9711
+ "ingested_at": null,
9712
+ "source_format": null,
9713
+ "git_branch": null,
9714
+ "git_remote": null,
9715
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9716
+ "project_name": null,
9717
+ "project_display_name": "example",
9718
+ "project_name_source": "privacy",
9719
+ "project_remote_label": "",
9720
+ "tool_call_count": null,
9721
+ "subagent_count": null,
9722
+ "duration_ms": null,
9723
+ "subagents": null,
9724
+ "diagnostics_warnings": null,
9725
+ "diagnostics_partial": null,
9726
+ "tokens_in": null,
9727
+ "tokens_out": null,
9728
+ "title_generated": null,
9729
+ "outcome": null,
9730
+ "files_touched": null,
9731
+ "lines_changed": null,
9732
+ "retry_loops": null,
9733
+ "retry_tokens_wasted": null,
9734
+ "within_session_reverts": null,
9735
+ "signal_density": null,
9736
+ "spec_quality_score": null,
9737
+ "exploration_ratio": null,
9738
+ "scope_breadth": null,
9739
+ "discovery_turns": null,
9740
+ "m2_token_outcome_ratio": null,
9741
+ "m3_unique_tool_count": null,
9742
+ "m4_error_recovery_count": null,
9743
+ "m4_consecutive_error_max": null,
9744
+ "m5_context_utilization_pct": null,
9745
+ "m5_peak_context_tokens": null,
9746
+ "m5_avg_message_tokens": null,
9747
+ "m6_output_survival_pct": null,
9748
+ "m6_lines_survived": null,
9749
+ "m6_lines_total": null,
9750
+ "m7_spec_word_count": null,
9751
+ "m7_spec_has_examples": null,
9752
+ "m7_spec_has_constraints": null,
9753
+ "computed_at": null,
9754
+ "compute_version": null,
9755
+ "content_hash": null,
9756
+ "license_id": null,
9757
+ "session_origin": "agent"
9758
+ }
9759
+ },
9760
+ "helperGroups": [
9761
+ {
9762
+ "groupId": "hg_g1",
9763
+ "purpose": "helper_review",
9764
+ "helperThreadCount": 1,
9765
+ "memberScope": "scope_g1"
9766
+ }
9767
+ ]
9768
+ }
9769
+ ],
9770
+ "page": 1,
9771
+ "limit": 1,
9772
+ "total": 1
9773
+ }
9774
+ },
9775
+ "expected": {
9776
+ "valid": false
9777
+ }
9778
+ },
9779
+ {
9780
+ "name": "parent-transcript-id-resolved",
9781
+ "classification": "must-pass",
9782
+ "provenance": {
9783
+ "source": "requirement",
9784
+ "ref": "a parent transcript is resolved from the named parent session"
9785
+ },
9786
+ "mutation": {
9787
+ "description": "names the resolved parent transcript beside its parent session on the row and the own-share arm"
9788
+ },
9789
+ "input": {
9790
+ "schema": "VillageHelperMembersPayload",
9791
+ "payload": {
9792
+ "members": [
9793
+ {
9794
+ "kind": "transcript",
9795
+ "transcript": {
9796
+ "owner": {
9797
+ "kind": "profile",
9798
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9799
+ "username": "owner",
9800
+ "display_name": null,
9801
+ "avatar_url": null
9802
+ },
9803
+ "session": {
9804
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9805
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9806
+ "title": null,
9807
+ "description": null,
9808
+ "visibility": "public",
9809
+ "model_provider": "codex",
9810
+ "model_name": null,
9811
+ "harness_version": null,
9812
+ "session_start": null,
9813
+ "session_end": null,
9814
+ "turn_count": 5,
9815
+ "token_count": 13,
9816
+ "blob_size_bytes": null,
9817
+ "schema_version": "11",
9818
+ "published_at": "2026-09-08T00:00:00Z",
9819
+ "updated_at": "2026-09-08T00:00:00Z",
9820
+ "parent_session_id": "123e4567-e89b-12d3-a456-426614174008",
9821
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
9822
+ "ingested_at": null,
9823
+ "source_format": null,
9824
+ "git_branch": null,
9825
+ "git_remote": null,
9826
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9827
+ "project_name": null,
9828
+ "project_display_name": "example",
9829
+ "project_name_source": "privacy",
9830
+ "project_remote_label": "",
9831
+ "tool_call_count": null,
9832
+ "subagent_count": null,
9833
+ "duration_ms": null,
9834
+ "subagents": null,
9835
+ "diagnostics_warnings": null,
9836
+ "diagnostics_partial": null,
9837
+ "tokens_in": null,
9838
+ "tokens_out": null,
9839
+ "title_generated": null,
9840
+ "outcome": null,
9841
+ "files_touched": null,
9842
+ "lines_changed": null,
9843
+ "retry_loops": null,
9844
+ "retry_tokens_wasted": null,
9845
+ "within_session_reverts": null,
9846
+ "signal_density": null,
9847
+ "spec_quality_score": null,
9848
+ "exploration_ratio": null,
9849
+ "scope_breadth": null,
9850
+ "discovery_turns": null,
9851
+ "m2_token_outcome_ratio": null,
9852
+ "m3_unique_tool_count": null,
9853
+ "m4_error_recovery_count": null,
9854
+ "m4_consecutive_error_max": null,
9855
+ "m5_context_utilization_pct": null,
9856
+ "m5_peak_context_tokens": null,
9857
+ "m5_avg_message_tokens": null,
9858
+ "m6_output_survival_pct": null,
9859
+ "m6_lines_survived": null,
9860
+ "m6_lines_total": null,
9861
+ "m7_spec_word_count": null,
9862
+ "m7_spec_has_examples": null,
9863
+ "m7_spec_has_constraints": null,
9864
+ "computed_at": null,
9865
+ "compute_version": null,
9866
+ "content_hash": null,
9867
+ "license_id": null,
9868
+ "session_origin": "agent"
9869
+ },
9870
+ "myShare": {
9871
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9872
+ "title": null,
9873
+ "model_provider": "codex",
9874
+ "model_name": null,
9875
+ "visibility": "public",
9876
+ "published_at": "2026-09-08T00:00:00Z",
9877
+ "turn_count": 5,
9878
+ "tokens_in": null,
9879
+ "tokens_out": null,
9880
+ "owner": {
9881
+ "kind": "profile",
9882
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9883
+ "username": "owner",
9884
+ "display_name": null,
9885
+ "avatar_url": null
9886
+ },
9887
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9888
+ "parent_session_id": "123e4567-e89b-12d3-a456-426614174008",
9889
+ "parent_transcript_id": "123e4567-e89b-12d3-a456-426614174009",
9890
+ "status": "approved",
9891
+ "shared_at": "2026-09-08T00:00:00Z"
9892
+ }
9893
+ },
9894
+ "helperGroups": [
9895
+ {
9896
+ "groupId": "hg_g1",
9897
+ "purpose": "helper_review",
9898
+ "helperThreadCount": 1,
9899
+ "memberScope": "scope_g1"
9900
+ }
9901
+ ]
9902
+ }
9903
+ ],
9904
+ "page": 1,
9905
+ "limit": 1,
9906
+ "total": 1
9907
+ }
9908
+ },
9909
+ "expected": {
9910
+ "valid": true
9911
+ }
9912
+ },
9913
+ {
9914
+ "name": "village-my-share-member-count-mismatch",
9915
+ "classification": "must-fail",
9916
+ "provenance": {
9917
+ "source": "requirement",
9918
+ "ref": "immediate-owner grouped read contract"
9919
+ },
9920
+ "mutation": {
9921
+ "description": "my-shares turn count cannot replace the stored member total"
9922
+ },
9923
+ "input": {
9924
+ "schema": "VillageHelperMembersPayload",
9925
+ "payload": {
9926
+ "members": [
9927
+ {
9928
+ "kind": "transcript",
9929
+ "transcript": {
9930
+ "owner": {
9931
+ "kind": "profile",
9932
+ "id": "123e4567-e89b-12d3-a456-426614174001",
9933
+ "username": "owner",
9934
+ "display_name": null,
9935
+ "avatar_url": null
9936
+ },
9937
+ "session": {
9938
+ "id": "123e4567-e89b-12d3-a456-426614174003",
9939
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
9940
+ "title": null,
9941
+ "description": null,
9942
+ "visibility": "public",
9943
+ "model_provider": "codex",
9944
+ "model_name": null,
9945
+ "harness_version": null,
9946
+ "session_start": null,
9947
+ "session_end": null,
9948
+ "turn_count": 5,
9949
+ "token_count": 13,
9950
+ "blob_size_bytes": null,
9951
+ "schema_version": "11",
9952
+ "published_at": "2026-09-08T00:00:00Z",
9953
+ "updated_at": "2026-09-08T00:00:00Z",
9954
+ "parent_session_id": null,
9955
+ "parent_transcript_id": null,
9956
+ "ingested_at": null,
9957
+ "source_format": null,
9958
+ "git_branch": null,
9959
+ "git_remote": null,
9960
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
9961
+ "project_name": null,
9962
+ "project_display_name": "example",
9963
+ "project_name_source": "privacy",
9964
+ "project_remote_label": "",
9965
+ "tool_call_count": null,
9966
+ "subagent_count": null,
9967
+ "duration_ms": null,
9968
+ "subagents": null,
9969
+ "diagnostics_warnings": null,
9970
+ "diagnostics_partial": null,
9971
+ "tokens_in": null,
9972
+ "tokens_out": null,
9973
+ "title_generated": null,
9974
+ "outcome": null,
9975
+ "files_touched": null,
9976
+ "lines_changed": null,
9977
+ "retry_loops": null,
9978
+ "retry_tokens_wasted": null,
9979
+ "within_session_reverts": null,
9980
+ "signal_density": null,
9981
+ "spec_quality_score": null,
9982
+ "exploration_ratio": null,
9983
+ "scope_breadth": null,
9984
+ "discovery_turns": null,
9985
+ "m2_token_outcome_ratio": null,
9986
+ "m3_unique_tool_count": null,
9987
+ "m4_error_recovery_count": null,
9988
+ "m4_consecutive_error_max": null,
9989
+ "m5_context_utilization_pct": null,
9990
+ "m5_peak_context_tokens": null,
9991
+ "m5_avg_message_tokens": null,
9992
+ "m6_output_survival_pct": null,
9993
+ "m6_lines_survived": null,
9994
+ "m6_lines_total": null,
9995
+ "m7_spec_word_count": null,
9996
+ "m7_spec_has_examples": null,
9997
+ "m7_spec_has_constraints": null,
9998
+ "computed_at": null,
9999
+ "compute_version": null,
10000
+ "content_hash": null,
10001
+ "license_id": null,
10002
+ "session_origin": "agent"
10003
+ },
10004
+ "myShare": {
10005
+ "id": "123e4567-e89b-12d3-a456-426614174003",
10006
+ "title": null,
10007
+ "model_provider": "codex",
10008
+ "model_name": null,
10009
+ "visibility": "public",
10010
+ "published_at": "2026-09-08T00:00:00Z",
10011
+ "turn_count": 1,
10012
+ "tokens_in": null,
10013
+ "tokens_out": null,
10014
+ "owner": {
10015
+ "kind": "profile",
10016
+ "id": "123e4567-e89b-12d3-a456-426614174001",
10017
+ "username": "owner",
10018
+ "display_name": null,
10019
+ "avatar_url": null
10020
+ },
10021
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
10022
+ "parent_session_id": null,
10023
+ "parent_transcript_id": null,
10024
+ "status": "approved",
10025
+ "shared_at": "2026-09-08T00:00:00Z"
10026
+ }
10027
+ },
10028
+ "helperGroups": [
10029
+ {
10030
+ "groupId": "hg_g1",
10031
+ "purpose": "helper_review",
10032
+ "helperThreadCount": 1,
10033
+ "memberScope": "scope_g1"
10034
+ }
10035
+ ]
10036
+ }
10037
+ ],
10038
+ "page": 1,
10039
+ "limit": 1,
10040
+ "total": 1
10041
+ }
10042
+ },
10043
+ "expected": {
10044
+ "valid": false
10045
+ }
10046
+ },
10047
+ {
10048
+ "name": "village-contributable-member-mirrors",
10049
+ "classification": "must-pass",
10050
+ "provenance": {
10051
+ "source": "requirement",
10052
+ "ref": "immediate-owner grouped read contract"
10053
+ },
10054
+ "mutation": {
10055
+ "description": "contribution expansion preserves individual eligibility and project context"
10056
+ },
10057
+ "input": {
10058
+ "schema": "VillageHelperMembersPayload",
10059
+ "payload": {
10060
+ "members": [
10061
+ {
10062
+ "kind": "transcript",
10063
+ "transcript": {
10064
+ "owner": {
10065
+ "kind": "profile",
10066
+ "id": "123e4567-e89b-12d3-a456-426614174001",
10067
+ "username": "owner",
10068
+ "display_name": null,
10069
+ "avatar_url": null
10070
+ },
10071
+ "session": {
10072
+ "id": "123e4567-e89b-12d3-a456-426614174003",
10073
+ "local_id": "123e4567-e89b-12d3-a456-426614174002",
10074
+ "title": null,
10075
+ "description": null,
10076
+ "visibility": "public",
10077
+ "model_provider": "codex",
10078
+ "model_name": null,
10079
+ "harness_version": null,
10080
+ "session_start": null,
10081
+ "session_end": null,
10082
+ "turn_count": 5,
10083
+ "token_count": 13,
10084
+ "blob_size_bytes": null,
10085
+ "schema_version": "11",
10086
+ "published_at": "2026-09-08T00:00:00Z",
10087
+ "updated_at": "2026-09-08T00:00:00Z",
10088
+ "parent_session_id": null,
10089
+ "parent_transcript_id": null,
10090
+ "ingested_at": null,
10091
+ "source_format": null,
10092
+ "git_branch": null,
10093
+ "git_remote": null,
10094
+ "project_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
10095
+ "project_name": null,
8074
10096
  "project_display_name": "example",
8075
10097
  "project_name_source": "privacy",
8076
10098
  "project_remote_label": "",
@@ -8165,9 +10187,15 @@ export const canonicalSessionGraphFixtures = {
8165
10187
  {
8166
10188
  "kind": "transcript",
8167
10189
  "transcript": {
10190
+ "owner": {
10191
+ "kind": "profile",
10192
+ "id": "123e4567-e89b-12d3-a456-426614174001",
10193
+ "username": "owner",
10194
+ "display_name": null,
10195
+ "avatar_url": null
10196
+ },
8168
10197
  "session": {
8169
10198
  "id": "123e4567-e89b-12d3-a456-426614174003",
8170
- "owner_id": "123e4567-e89b-12d3-a456-426614174001",
8171
10199
  "local_id": "123e4567-e89b-12d3-a456-426614174002",
8172
10200
  "title": null,
8173
10201
  "description": null,
@@ -8184,6 +10212,7 @@ export const canonicalSessionGraphFixtures = {
8184
10212
  "published_at": "2026-09-08T00:00:00Z",
8185
10213
  "updated_at": "2026-09-08T00:00:00Z",
8186
10214
  "parent_session_id": null,
10215
+ "parent_transcript_id": null,
8187
10216
  "ingested_at": null,
8188
10217
  "source_format": null,
8189
10218
  "git_branch": null,