@peasant-labs/schema 0.49.0 → 0.51.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.
- package/dist/conversation-turn.d.ts +6 -0
- package/dist/conversation-turn.js +18 -0
- package/dist/fixtures/session-graph.d.ts +767 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11 -4
- package/dist/internal/generated/contract/zod.gen.d.ts +198 -0
- package/dist/internal/generated/contract/zod.gen.js +66 -3
- package/dist/internal/generated/enums.gen.d.ts +35 -0
- package/dist/internal/generated/enums.gen.js +36 -0
- package/dist/internal/generated/kickstart-limits.gen.d.ts +1 -0
- package/dist/internal/generated/kickstart-limits.gen.js +2 -0
- package/dist/internal/generated/local-api.d.ts +327 -56
- package/dist/internal/generated/public-contract.gen.d.ts +2 -2
- package/dist/internal/generated/public-contract.gen.js +1 -1
- package/dist/internal/generated/session-graph-fixtures.gen.d.ts +767 -2
- package/dist/internal/generated/session-graph-fixtures.gen.js +858 -12
- package/dist/internal/generated/versions.gen.d.ts +3 -3
- package/dist/internal/generated/versions.gen.js +3 -3
- package/dist/internal/generated/village-api.d.ts +251 -0
- package/dist/internal/generated/wire-alias-shapes.gen.d.ts +1 -0
- package/dist/internal/generated/wire-alias-shapes.gen.js +1 -0
- package/dist/local-api.d.ts +1 -1
- package/dist/local-api.js +1 -1
- package/package.json +1 -1
|
@@ -2396,17 +2396,152 @@ export const canonicalSessionGraphFixtures = {
|
|
|
2396
2396
|
],
|
|
2397
2397
|
"typescriptConstraints": {
|
|
2398
2398
|
"countCarriers": [
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2399
|
+
{
|
|
2400
|
+
"component": "AuthoritativeSessionStats",
|
|
2401
|
+
"field": "inputSubmissionCount"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"component": "LocalSyncSummary",
|
|
2405
|
+
"field": "inputSubmissionCount"
|
|
2406
|
+
},
|
|
2407
|
+
{
|
|
2408
|
+
"component": "SessionStats",
|
|
2409
|
+
"field": "inputSubmissionCount"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"component": "SessionSummary",
|
|
2413
|
+
"field": "inputSubmissionCount"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
"component": "SessionDetailHeader",
|
|
2417
|
+
"field": "inputSubmissionCount"
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"component": "SessionDetailHeaderPayload",
|
|
2421
|
+
"field": "inputSubmissionCount"
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"component": "SessionDetailPayload",
|
|
2425
|
+
"field": "inputSubmissionCount"
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"component": "SessionDetailReadPayload",
|
|
2429
|
+
"field": "inputSubmissionCount"
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"component": "AuthoritativeSessionStats",
|
|
2433
|
+
"field": "conversationTurnCount"
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"component": "LocalSyncSummary",
|
|
2437
|
+
"field": "conversationTurnCount"
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"component": "SessionStats",
|
|
2441
|
+
"field": "conversationTurnCount"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"component": "SessionSummary",
|
|
2445
|
+
"field": "conversationTurnCount"
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"component": "SessionDetailHeader",
|
|
2449
|
+
"field": "conversationTurnCount"
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"component": "SessionDetailHeaderPayload",
|
|
2453
|
+
"field": "conversationTurnCount"
|
|
2454
|
+
},
|
|
2455
|
+
{
|
|
2456
|
+
"component": "SessionDetailPayload",
|
|
2457
|
+
"field": "conversationTurnCount"
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"component": "SessionDetailReadPayload",
|
|
2461
|
+
"field": "conversationTurnCount"
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"component": "QualitySession",
|
|
2465
|
+
"field": "conversationTurnCount"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"component": "VillageContributableTranscript",
|
|
2469
|
+
"field": "input_submission_count"
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"component": "VillageCollectiveTranscript",
|
|
2473
|
+
"field": "input_submission_count"
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"component": "VillagePendingShare",
|
|
2477
|
+
"field": "input_submission_count"
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"component": "VillageTranscript",
|
|
2481
|
+
"field": "input_submission_count"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"component": "VillageUserCollectiveShare",
|
|
2485
|
+
"field": "input_submission_count"
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
"component": "VillageCollectiveTranscript",
|
|
2489
|
+
"field": "conversation_turn_count",
|
|
2490
|
+
"nullable": true
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"component": "VillageCollectiveTranscript",
|
|
2494
|
+
"field": "displayed_turn_count",
|
|
2495
|
+
"nullable": true
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"component": "VillageTranscript",
|
|
2499
|
+
"field": "conversation_turn_count",
|
|
2500
|
+
"nullable": true
|
|
2501
|
+
},
|
|
2502
|
+
{
|
|
2503
|
+
"component": "VillageTranscript",
|
|
2504
|
+
"field": "displayed_turn_count",
|
|
2505
|
+
"nullable": true
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"component": "VillageUserCollectiveShare",
|
|
2509
|
+
"field": "conversation_turn_count",
|
|
2510
|
+
"nullable": true
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"component": "VillageUserCollectiveShare",
|
|
2514
|
+
"field": "displayed_turn_count",
|
|
2515
|
+
"nullable": true
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
"component": "VillageGroupTranscript",
|
|
2519
|
+
"field": "input_submission_count"
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
"component": "VillageGroupTranscript",
|
|
2523
|
+
"field": "conversation_turn_count",
|
|
2524
|
+
"nullable": true
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"component": "VillageGroupTranscript",
|
|
2528
|
+
"field": "displayed_turn_count",
|
|
2529
|
+
"nullable": true
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"component": "VillageUserGroupShare",
|
|
2533
|
+
"field": "input_submission_count"
|
|
2534
|
+
},
|
|
2535
|
+
{
|
|
2536
|
+
"component": "VillageUserGroupShare",
|
|
2537
|
+
"field": "conversation_turn_count",
|
|
2538
|
+
"nullable": true
|
|
2539
|
+
},
|
|
2540
|
+
{
|
|
2541
|
+
"component": "VillageUserGroupShare",
|
|
2542
|
+
"field": "displayed_turn_count",
|
|
2543
|
+
"nullable": true
|
|
2544
|
+
}
|
|
2410
2545
|
],
|
|
2411
2546
|
"strictObjects": {
|
|
2412
2547
|
"PublicSourceAnchor": {
|
|
@@ -2564,6 +2699,59 @@ export const canonicalSessionGraphFixtures = {
|
|
|
2564
2699
|
"mutation": {
|
|
2565
2700
|
"description": "exact JS-safe upper bound"
|
|
2566
2701
|
}
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "conversation-count-absent",
|
|
2705
|
+
"input": {
|
|
2706
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_absent\",\"harness\":\"claude-code\",\"turnCount\":0,\"turns\":[]}"
|
|
2707
|
+
},
|
|
2708
|
+
"expected": {
|
|
2709
|
+
"present": false
|
|
2710
|
+
},
|
|
2711
|
+
"classification": "must-pass",
|
|
2712
|
+
"provenance": {
|
|
2713
|
+
"source": "requirement",
|
|
2714
|
+
"ref": "conversation-count-absent-zero-positive"
|
|
2715
|
+
},
|
|
2716
|
+
"mutation": {
|
|
2717
|
+
"description": "historical conversation count is omitted"
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "conversation-count-zero",
|
|
2722
|
+
"input": {
|
|
2723
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_zero\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":0,\"turns\":[]}"
|
|
2724
|
+
},
|
|
2725
|
+
"expected": {
|
|
2726
|
+
"present": true,
|
|
2727
|
+
"value": 0
|
|
2728
|
+
},
|
|
2729
|
+
"classification": "must-pass",
|
|
2730
|
+
"provenance": {
|
|
2731
|
+
"source": "requirement",
|
|
2732
|
+
"ref": "conversation-count-absent-zero-positive"
|
|
2733
|
+
},
|
|
2734
|
+
"mutation": {
|
|
2735
|
+
"description": "measured zero conversation count is present"
|
|
2736
|
+
}
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"name": "conversation-count-safe-max",
|
|
2740
|
+
"input": {
|
|
2741
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_max\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":9007199254740991,\"turns\":[]}"
|
|
2742
|
+
},
|
|
2743
|
+
"expected": {
|
|
2744
|
+
"present": true,
|
|
2745
|
+
"value": 9007199254740991
|
|
2746
|
+
},
|
|
2747
|
+
"classification": "must-pass",
|
|
2748
|
+
"provenance": {
|
|
2749
|
+
"source": "boundary",
|
|
2750
|
+
"ref": "conversation-count-invalid"
|
|
2751
|
+
},
|
|
2752
|
+
"mutation": {
|
|
2753
|
+
"description": "exact JS-safe upper bound for conversation count"
|
|
2754
|
+
}
|
|
2567
2755
|
}
|
|
2568
2756
|
]
|
|
2569
2757
|
},
|
|
@@ -2704,6 +2892,108 @@ export const canonicalSessionGraphFixtures = {
|
|
|
2704
2892
|
"mutation": {
|
|
2705
2893
|
"description": "count is object"
|
|
2706
2894
|
}
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"name": "conversation-count-null",
|
|
2898
|
+
"input": {
|
|
2899
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":null,\"turns\":[]}"
|
|
2900
|
+
},
|
|
2901
|
+
"expected": {
|
|
2902
|
+
"errorContains": "conversationTurnCount"
|
|
2903
|
+
},
|
|
2904
|
+
"classification": "must-fail",
|
|
2905
|
+
"provenance": {
|
|
2906
|
+
"source": "requirement",
|
|
2907
|
+
"ref": "conversation-count-invalid"
|
|
2908
|
+
},
|
|
2909
|
+
"mutation": {
|
|
2910
|
+
"description": "null replaces omission for conversation count"
|
|
2911
|
+
}
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"name": "conversation-count-string",
|
|
2915
|
+
"input": {
|
|
2916
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":\"1\",\"turns\":[]}"
|
|
2917
|
+
},
|
|
2918
|
+
"expected": {
|
|
2919
|
+
"errorContains": "conversationTurnCount"
|
|
2920
|
+
},
|
|
2921
|
+
"classification": "must-fail",
|
|
2922
|
+
"provenance": {
|
|
2923
|
+
"source": "requirement",
|
|
2924
|
+
"ref": "conversation-count-invalid"
|
|
2925
|
+
},
|
|
2926
|
+
"mutation": {
|
|
2927
|
+
"description": "conversation count is a string"
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"name": "conversation-count-fraction",
|
|
2932
|
+
"input": {
|
|
2933
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":1.5,\"turns\":[]}"
|
|
2934
|
+
},
|
|
2935
|
+
"expected": {
|
|
2936
|
+
"errorContains": "conversationTurnCount"
|
|
2937
|
+
},
|
|
2938
|
+
"classification": "must-fail",
|
|
2939
|
+
"provenance": {
|
|
2940
|
+
"source": "boundary",
|
|
2941
|
+
"ref": "conversation-count-invalid"
|
|
2942
|
+
},
|
|
2943
|
+
"mutation": {
|
|
2944
|
+
"description": "conversation count is fractional"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"name": "conversation-count-bool",
|
|
2949
|
+
"input": {
|
|
2950
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":true,\"turns\":[]}"
|
|
2951
|
+
},
|
|
2952
|
+
"expected": {
|
|
2953
|
+
"errorContains": "conversationTurnCount"
|
|
2954
|
+
},
|
|
2955
|
+
"classification": "must-fail",
|
|
2956
|
+
"provenance": {
|
|
2957
|
+
"source": "boundary",
|
|
2958
|
+
"ref": "conversation-count-invalid"
|
|
2959
|
+
},
|
|
2960
|
+
"mutation": {
|
|
2961
|
+
"description": "conversation count is boolean"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"name": "conversation-count-negative",
|
|
2966
|
+
"input": {
|
|
2967
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":-1,\"turns\":[]}"
|
|
2968
|
+
},
|
|
2969
|
+
"expected": {
|
|
2970
|
+
"errorContains": "conversationTurnCount"
|
|
2971
|
+
},
|
|
2972
|
+
"classification": "must-fail",
|
|
2973
|
+
"provenance": {
|
|
2974
|
+
"source": "boundary",
|
|
2975
|
+
"ref": "conversation-count-invalid"
|
|
2976
|
+
},
|
|
2977
|
+
"mutation": {
|
|
2978
|
+
"description": "conversation count is negative"
|
|
2979
|
+
}
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"name": "conversation-count-above-safe-max",
|
|
2983
|
+
"input": {
|
|
2984
|
+
"json": "{\"startTime\":\"2020-01-01T00:00:00Z\",\"endTime\":\"2020-01-01T00:00:00Z\",\"durationMins\":0,\"totalTokens\":0,\"tokensIn\":0,\"tokensOut\":0,\"toolCallCount\":0,\"id\":\"ses_bad\",\"harness\":\"claude-code\",\"turnCount\":0,\"conversationTurnCount\":9007199254740992,\"turns\":[]}"
|
|
2985
|
+
},
|
|
2986
|
+
"expected": {
|
|
2987
|
+
"errorContains": "conversationTurnCount"
|
|
2988
|
+
},
|
|
2989
|
+
"classification": "must-fail",
|
|
2990
|
+
"provenance": {
|
|
2991
|
+
"source": "boundary",
|
|
2992
|
+
"ref": "conversation-count-invalid"
|
|
2993
|
+
},
|
|
2994
|
+
"mutation": {
|
|
2995
|
+
"description": "conversation count exceeds JS-safe range"
|
|
2996
|
+
}
|
|
2707
2997
|
}
|
|
2708
2998
|
]
|
|
2709
2999
|
},
|
|
@@ -2967,6 +3257,337 @@ export const canonicalSessionGraphFixtures = {
|
|
|
2967
3257
|
"mutation": {
|
|
2968
3258
|
"description": "legacy parent differs from durable graph"
|
|
2969
3259
|
}
|
|
3260
|
+
},
|
|
3261
|
+
{
|
|
3262
|
+
"name": "authoritative-conversation-count-match",
|
|
3263
|
+
"input": {
|
|
3264
|
+
"detail_count": 1,
|
|
3265
|
+
"metadata_count": 1,
|
|
3266
|
+
"parent": "ses_parent",
|
|
3267
|
+
"graph_parent": "ses_parent",
|
|
3268
|
+
"projected_main_count": true,
|
|
3269
|
+
"detail_turn_count": 5,
|
|
3270
|
+
"metadata_turn_count": 5,
|
|
3271
|
+
"detail_conversation_count": 3,
|
|
3272
|
+
"metadata_conversation_count": 3
|
|
3273
|
+
},
|
|
3274
|
+
"expected": {
|
|
3275
|
+
"accept": true
|
|
3276
|
+
},
|
|
3277
|
+
"classification": "must-pass",
|
|
3278
|
+
"provenance": {
|
|
3279
|
+
"source": "requirement",
|
|
3280
|
+
"ref": "conversation-count-mirror"
|
|
3281
|
+
},
|
|
3282
|
+
"mutation": {
|
|
3283
|
+
"description": "equal conversation counts beside a different turn count are accepted"
|
|
3284
|
+
}
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"name": "authoritative-conversation-count-disagreement",
|
|
3288
|
+
"input": {
|
|
3289
|
+
"detail_count": 1,
|
|
3290
|
+
"metadata_count": 1,
|
|
3291
|
+
"parent": "ses_parent",
|
|
3292
|
+
"graph_parent": "ses_parent",
|
|
3293
|
+
"projected_main_count": true,
|
|
3294
|
+
"detail_turn_count": 5,
|
|
3295
|
+
"metadata_turn_count": 5,
|
|
3296
|
+
"detail_conversation_count": 3,
|
|
3297
|
+
"metadata_conversation_count": 2
|
|
3298
|
+
},
|
|
3299
|
+
"expected": {
|
|
3300
|
+
"accept": false,
|
|
3301
|
+
"errorContains": "mirrors disagree"
|
|
3302
|
+
},
|
|
3303
|
+
"classification": "must-fail",
|
|
3304
|
+
"provenance": {
|
|
3305
|
+
"source": "requirement",
|
|
3306
|
+
"ref": "conversation-count-mirror"
|
|
3307
|
+
},
|
|
3308
|
+
"mutation": {
|
|
3309
|
+
"description": "metadata conversation count differs"
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"name": "authoritative-conversation-count-detail-absent",
|
|
3314
|
+
"input": {
|
|
3315
|
+
"detail_count": 1,
|
|
3316
|
+
"metadata_count": 1,
|
|
3317
|
+
"parent": "ses_parent",
|
|
3318
|
+
"graph_parent": "ses_parent",
|
|
3319
|
+
"projected_main_count": true,
|
|
3320
|
+
"detail_turn_count": 5,
|
|
3321
|
+
"metadata_turn_count": 5,
|
|
3322
|
+
"metadata_conversation_count": 3
|
|
3323
|
+
},
|
|
3324
|
+
"expected": {
|
|
3325
|
+
"accept": false,
|
|
3326
|
+
"errorContains": "mirrors disagree"
|
|
3327
|
+
},
|
|
3328
|
+
"classification": "must-fail",
|
|
3329
|
+
"provenance": {
|
|
3330
|
+
"source": "requirement",
|
|
3331
|
+
"ref": "conversation-count-mirror"
|
|
3332
|
+
},
|
|
3333
|
+
"mutation": {
|
|
3334
|
+
"description": "detail conversation count presence differs"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"name": "authoritative-conversation-count-metadata-absent",
|
|
3339
|
+
"input": {
|
|
3340
|
+
"detail_count": 1,
|
|
3341
|
+
"metadata_count": 1,
|
|
3342
|
+
"parent": "ses_parent",
|
|
3343
|
+
"graph_parent": "ses_parent",
|
|
3344
|
+
"projected_main_count": true,
|
|
3345
|
+
"detail_turn_count": 5,
|
|
3346
|
+
"metadata_turn_count": 5,
|
|
3347
|
+
"detail_conversation_count": 3
|
|
3348
|
+
},
|
|
3349
|
+
"expected": {
|
|
3350
|
+
"accept": false,
|
|
3351
|
+
"errorContains": "mirrors disagree"
|
|
3352
|
+
},
|
|
3353
|
+
"classification": "must-fail",
|
|
3354
|
+
"provenance": {
|
|
3355
|
+
"source": "requirement",
|
|
3356
|
+
"ref": "conversation-count-mirror"
|
|
3357
|
+
},
|
|
3358
|
+
"mutation": {
|
|
3359
|
+
"description": "metadata conversation count presence differs"
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
{
|
|
3363
|
+
"name": "local-row-conversation-count-match",
|
|
3364
|
+
"input": {
|
|
3365
|
+
"surface": "local_row",
|
|
3366
|
+
"detail_conversation_count": 1,
|
|
3367
|
+
"metadata_conversation_count": 1
|
|
3368
|
+
},
|
|
3369
|
+
"expected": {
|
|
3370
|
+
"accept": true
|
|
3371
|
+
},
|
|
3372
|
+
"classification": "must-pass",
|
|
3373
|
+
"provenance": {
|
|
3374
|
+
"source": "requirement",
|
|
3375
|
+
"ref": "conversation-count-mirror"
|
|
3376
|
+
},
|
|
3377
|
+
"mutation": {
|
|
3378
|
+
"description": "session and sync copies carry one conversation count"
|
|
3379
|
+
}
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"name": "local-row-conversation-count-disagreement",
|
|
3383
|
+
"input": {
|
|
3384
|
+
"surface": "local_row",
|
|
3385
|
+
"detail_conversation_count": 1,
|
|
3386
|
+
"metadata_conversation_count": 2
|
|
3387
|
+
},
|
|
3388
|
+
"expected": {
|
|
3389
|
+
"accept": false,
|
|
3390
|
+
"errorContains": "count mirrors disagree"
|
|
3391
|
+
},
|
|
3392
|
+
"classification": "must-fail",
|
|
3393
|
+
"provenance": {
|
|
3394
|
+
"source": "requirement",
|
|
3395
|
+
"ref": "conversation-count-mirror"
|
|
3396
|
+
},
|
|
3397
|
+
"mutation": {
|
|
3398
|
+
"description": "sync copy carries another conversation count"
|
|
3399
|
+
}
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"name": "local-row-conversation-count-sync-absent",
|
|
3403
|
+
"input": {
|
|
3404
|
+
"surface": "local_row",
|
|
3405
|
+
"detail_conversation_count": 1
|
|
3406
|
+
},
|
|
3407
|
+
"expected": {
|
|
3408
|
+
"accept": false,
|
|
3409
|
+
"errorContains": "count mirrors disagree"
|
|
3410
|
+
},
|
|
3411
|
+
"classification": "must-fail",
|
|
3412
|
+
"provenance": {
|
|
3413
|
+
"source": "requirement",
|
|
3414
|
+
"ref": "conversation-count-mirror"
|
|
3415
|
+
},
|
|
3416
|
+
"mutation": {
|
|
3417
|
+
"description": "sync copy omits the conversation count"
|
|
3418
|
+
}
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"name": "village-collective-turn-counts-match",
|
|
3422
|
+
"input": {
|
|
3423
|
+
"surface": "village_collective",
|
|
3424
|
+
"detail_conversation_count": 3,
|
|
3425
|
+
"metadata_conversation_count": 3,
|
|
3426
|
+
"detail_displayed_count": 3,
|
|
3427
|
+
"metadata_displayed_count": 3
|
|
3428
|
+
},
|
|
3429
|
+
"expected": {
|
|
3430
|
+
"accept": true
|
|
3431
|
+
},
|
|
3432
|
+
"classification": "must-pass",
|
|
3433
|
+
"provenance": {
|
|
3434
|
+
"source": "requirement",
|
|
3435
|
+
"ref": "conversation-count-mirror"
|
|
3436
|
+
},
|
|
3437
|
+
"mutation": {
|
|
3438
|
+
"description": "session and route copies carry one conversation count and one displayed count"
|
|
3439
|
+
}
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "village-collective-conversation-count-disagreement",
|
|
3443
|
+
"input": {
|
|
3444
|
+
"surface": "village_collective",
|
|
3445
|
+
"detail_conversation_count": 3,
|
|
3446
|
+
"metadata_conversation_count": 2,
|
|
3447
|
+
"detail_displayed_count": 3,
|
|
3448
|
+
"metadata_displayed_count": 3
|
|
3449
|
+
},
|
|
3450
|
+
"expected": {
|
|
3451
|
+
"accept": false,
|
|
3452
|
+
"errorContains": "collective conversation_turn_count differs"
|
|
3453
|
+
},
|
|
3454
|
+
"classification": "must-fail",
|
|
3455
|
+
"provenance": {
|
|
3456
|
+
"source": "requirement",
|
|
3457
|
+
"ref": "conversation-count-mirror"
|
|
3458
|
+
},
|
|
3459
|
+
"mutation": {
|
|
3460
|
+
"description": "route copy carries another conversation count beside an equal displayed count"
|
|
3461
|
+
}
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"name": "village-collective-displayed-count-disagreement",
|
|
3465
|
+
"input": {
|
|
3466
|
+
"surface": "village_collective",
|
|
3467
|
+
"detail_conversation_count": 3,
|
|
3468
|
+
"metadata_conversation_count": 3,
|
|
3469
|
+
"detail_displayed_count": 3,
|
|
3470
|
+
"metadata_displayed_count": 5
|
|
3471
|
+
},
|
|
3472
|
+
"expected": {
|
|
3473
|
+
"accept": false,
|
|
3474
|
+
"errorContains": "collective displayed_turn_count differs"
|
|
3475
|
+
},
|
|
3476
|
+
"classification": "must-fail",
|
|
3477
|
+
"provenance": {
|
|
3478
|
+
"source": "requirement",
|
|
3479
|
+
"ref": "conversation-count-mirror"
|
|
3480
|
+
},
|
|
3481
|
+
"mutation": {
|
|
3482
|
+
"description": "route copy carries another displayed count beside an equal conversation count"
|
|
3483
|
+
}
|
|
3484
|
+
},
|
|
3485
|
+
{
|
|
3486
|
+
"name": "village-collective-displayed-count-unmeasured",
|
|
3487
|
+
"input": {
|
|
3488
|
+
"surface": "village_collective",
|
|
3489
|
+
"detail_conversation_count": 3,
|
|
3490
|
+
"metadata_conversation_count": 3,
|
|
3491
|
+
"detail_displayed_count": 3
|
|
3492
|
+
},
|
|
3493
|
+
"expected": {
|
|
3494
|
+
"accept": false,
|
|
3495
|
+
"errorContains": "collective displayed_turn_count differs"
|
|
3496
|
+
},
|
|
3497
|
+
"classification": "must-fail",
|
|
3498
|
+
"provenance": {
|
|
3499
|
+
"source": "requirement",
|
|
3500
|
+
"ref": "conversation-count-mirror"
|
|
3501
|
+
},
|
|
3502
|
+
"mutation": {
|
|
3503
|
+
"description": "route copy reads null where the session copy is measured"
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
{
|
|
3507
|
+
"name": "village-my-share-turn-counts-match",
|
|
3508
|
+
"input": {
|
|
3509
|
+
"surface": "village_my_share",
|
|
3510
|
+
"detail_conversation_count": 3,
|
|
3511
|
+
"metadata_conversation_count": 3,
|
|
3512
|
+
"detail_displayed_count": 3,
|
|
3513
|
+
"metadata_displayed_count": 3
|
|
3514
|
+
},
|
|
3515
|
+
"expected": {
|
|
3516
|
+
"accept": true
|
|
3517
|
+
},
|
|
3518
|
+
"classification": "must-pass",
|
|
3519
|
+
"provenance": {
|
|
3520
|
+
"source": "requirement",
|
|
3521
|
+
"ref": "conversation-count-mirror"
|
|
3522
|
+
},
|
|
3523
|
+
"mutation": {
|
|
3524
|
+
"description": "session and route copies carry one conversation count and one displayed count"
|
|
3525
|
+
}
|
|
3526
|
+
},
|
|
3527
|
+
{
|
|
3528
|
+
"name": "village-my-share-conversation-count-disagreement",
|
|
3529
|
+
"input": {
|
|
3530
|
+
"surface": "village_my_share",
|
|
3531
|
+
"detail_conversation_count": 3,
|
|
3532
|
+
"metadata_conversation_count": 2,
|
|
3533
|
+
"detail_displayed_count": 3,
|
|
3534
|
+
"metadata_displayed_count": 3
|
|
3535
|
+
},
|
|
3536
|
+
"expected": {
|
|
3537
|
+
"accept": false,
|
|
3538
|
+
"errorContains": "myShare conversation_turn_count differs"
|
|
3539
|
+
},
|
|
3540
|
+
"classification": "must-fail",
|
|
3541
|
+
"provenance": {
|
|
3542
|
+
"source": "requirement",
|
|
3543
|
+
"ref": "conversation-count-mirror"
|
|
3544
|
+
},
|
|
3545
|
+
"mutation": {
|
|
3546
|
+
"description": "route copy carries another conversation count beside an equal displayed count"
|
|
3547
|
+
}
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"name": "village-my-share-displayed-count-disagreement",
|
|
3551
|
+
"input": {
|
|
3552
|
+
"surface": "village_my_share",
|
|
3553
|
+
"detail_conversation_count": 3,
|
|
3554
|
+
"metadata_conversation_count": 3,
|
|
3555
|
+
"detail_displayed_count": 3,
|
|
3556
|
+
"metadata_displayed_count": 5
|
|
3557
|
+
},
|
|
3558
|
+
"expected": {
|
|
3559
|
+
"accept": false,
|
|
3560
|
+
"errorContains": "myShare displayed_turn_count differs"
|
|
3561
|
+
},
|
|
3562
|
+
"classification": "must-fail",
|
|
3563
|
+
"provenance": {
|
|
3564
|
+
"source": "requirement",
|
|
3565
|
+
"ref": "conversation-count-mirror"
|
|
3566
|
+
},
|
|
3567
|
+
"mutation": {
|
|
3568
|
+
"description": "route copy carries another displayed count beside an equal conversation count"
|
|
3569
|
+
}
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
"name": "village-my-share-displayed-count-unmeasured",
|
|
3573
|
+
"input": {
|
|
3574
|
+
"surface": "village_my_share",
|
|
3575
|
+
"detail_conversation_count": 3,
|
|
3576
|
+
"metadata_conversation_count": 3,
|
|
3577
|
+
"detail_displayed_count": 3
|
|
3578
|
+
},
|
|
3579
|
+
"expected": {
|
|
3580
|
+
"accept": false,
|
|
3581
|
+
"errorContains": "myShare displayed_turn_count differs"
|
|
3582
|
+
},
|
|
3583
|
+
"classification": "must-fail",
|
|
3584
|
+
"provenance": {
|
|
3585
|
+
"source": "requirement",
|
|
3586
|
+
"ref": "conversation-count-mirror"
|
|
3587
|
+
},
|
|
3588
|
+
"mutation": {
|
|
3589
|
+
"description": "route copy reads null where the session copy is measured"
|
|
3590
|
+
}
|
|
2970
3591
|
}
|
|
2971
3592
|
]
|
|
2972
3593
|
},
|
|
@@ -3078,6 +3699,96 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3078
3699
|
"mutation": {
|
|
3079
3700
|
"description": "entry provenance is added"
|
|
3080
3701
|
}
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"name": "digest-conversation-absent-keeps-fingerprint",
|
|
3705
|
+
"input": {},
|
|
3706
|
+
"expected": {
|
|
3707
|
+
"different": false,
|
|
3708
|
+
"right_digest": "8230da7e3c7ee4be095adeb66edffca85abfb36adc94a102ea7f74738fbaff18"
|
|
3709
|
+
},
|
|
3710
|
+
"classification": "must-pass",
|
|
3711
|
+
"provenance": {
|
|
3712
|
+
"source": "requirement",
|
|
3713
|
+
"ref": "conversation-count-digest"
|
|
3714
|
+
},
|
|
3715
|
+
"mutation": {
|
|
3716
|
+
"description": "a request without the conversation count keeps the fingerprint it had before the field existed"
|
|
3717
|
+
}
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"name": "digest-conversation-absent-versus-zero",
|
|
3721
|
+
"input": {
|
|
3722
|
+
"right_conversation": 0
|
|
3723
|
+
},
|
|
3724
|
+
"expected": {
|
|
3725
|
+
"different": true
|
|
3726
|
+
},
|
|
3727
|
+
"classification": "must-pass",
|
|
3728
|
+
"provenance": {
|
|
3729
|
+
"source": "requirement",
|
|
3730
|
+
"ref": "conversation-count-digest"
|
|
3731
|
+
},
|
|
3732
|
+
"mutation": {
|
|
3733
|
+
"description": "measured zero conversation count is added"
|
|
3734
|
+
}
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"name": "digest-conversation-same-positive",
|
|
3738
|
+
"input": {
|
|
3739
|
+
"left_conversation": 2,
|
|
3740
|
+
"right_conversation": 2
|
|
3741
|
+
},
|
|
3742
|
+
"expected": {
|
|
3743
|
+
"different": false
|
|
3744
|
+
},
|
|
3745
|
+
"classification": "must-pass",
|
|
3746
|
+
"provenance": {
|
|
3747
|
+
"source": "requirement",
|
|
3748
|
+
"ref": "conversation-count-digest"
|
|
3749
|
+
},
|
|
3750
|
+
"mutation": {
|
|
3751
|
+
"description": "equal conversation count is replayed"
|
|
3752
|
+
}
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"name": "digest-conversation-versus-input-count",
|
|
3756
|
+
"input": {
|
|
3757
|
+
"left_present": true,
|
|
3758
|
+
"left_value": 3,
|
|
3759
|
+
"right_conversation": 3
|
|
3760
|
+
},
|
|
3761
|
+
"expected": {
|
|
3762
|
+
"different": true
|
|
3763
|
+
},
|
|
3764
|
+
"classification": "must-pass",
|
|
3765
|
+
"provenance": {
|
|
3766
|
+
"source": "requirement",
|
|
3767
|
+
"ref": "conversation-count-digest"
|
|
3768
|
+
},
|
|
3769
|
+
"mutation": {
|
|
3770
|
+
"description": "the same number moves from the input count to the conversation count"
|
|
3771
|
+
}
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"name": "digest-conversation-beside-root",
|
|
3775
|
+
"input": {
|
|
3776
|
+
"left_variant": "root",
|
|
3777
|
+
"right_variant": "root",
|
|
3778
|
+
"right_conversation": 7
|
|
3779
|
+
},
|
|
3780
|
+
"expected": {
|
|
3781
|
+
"different": true,
|
|
3782
|
+
"right_digest": "74e7f44e96097a64fc85ef5f4ad5fd5f618a7fedcfde656d9b21ee610f52169b"
|
|
3783
|
+
},
|
|
3784
|
+
"classification": "must-pass",
|
|
3785
|
+
"provenance": {
|
|
3786
|
+
"source": "requirement",
|
|
3787
|
+
"ref": "conversation-count-digest"
|
|
3788
|
+
},
|
|
3789
|
+
"mutation": {
|
|
3790
|
+
"description": "root evidence and the conversation count are both present and each keeps its own frame"
|
|
3791
|
+
}
|
|
3081
3792
|
}
|
|
3082
3793
|
]
|
|
3083
3794
|
},
|
|
@@ -3096,6 +3807,15 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3096
3807
|
"input-count-bool",
|
|
3097
3808
|
"input-count-array",
|
|
3098
3809
|
"input-count-object",
|
|
3810
|
+
"conversation-count-absent",
|
|
3811
|
+
"conversation-count-zero",
|
|
3812
|
+
"conversation-count-safe-max",
|
|
3813
|
+
"conversation-count-null",
|
|
3814
|
+
"conversation-count-string",
|
|
3815
|
+
"conversation-count-fraction",
|
|
3816
|
+
"conversation-count-bool",
|
|
3817
|
+
"conversation-count-negative",
|
|
3818
|
+
"conversation-count-above-safe-max",
|
|
3099
3819
|
"authoritative-mirrors-match",
|
|
3100
3820
|
"authoritative-count-disagreement",
|
|
3101
3821
|
"authoritative-count-detail-absent",
|
|
@@ -3112,7 +3832,27 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3112
3832
|
"digest-root-evidence",
|
|
3113
3833
|
"digest-purpose-evidence",
|
|
3114
3834
|
"digest-relationship-evidence",
|
|
3115
|
-
"digest-entry-provenance"
|
|
3835
|
+
"digest-entry-provenance",
|
|
3836
|
+
"authoritative-conversation-count-match",
|
|
3837
|
+
"authoritative-conversation-count-disagreement",
|
|
3838
|
+
"authoritative-conversation-count-detail-absent",
|
|
3839
|
+
"authoritative-conversation-count-metadata-absent",
|
|
3840
|
+
"local-row-conversation-count-match",
|
|
3841
|
+
"local-row-conversation-count-disagreement",
|
|
3842
|
+
"local-row-conversation-count-sync-absent",
|
|
3843
|
+
"village-collective-turn-counts-match",
|
|
3844
|
+
"village-collective-conversation-count-disagreement",
|
|
3845
|
+
"village-collective-displayed-count-disagreement",
|
|
3846
|
+
"village-collective-displayed-count-unmeasured",
|
|
3847
|
+
"village-my-share-turn-counts-match",
|
|
3848
|
+
"village-my-share-conversation-count-disagreement",
|
|
3849
|
+
"village-my-share-displayed-count-disagreement",
|
|
3850
|
+
"village-my-share-displayed-count-unmeasured",
|
|
3851
|
+
"digest-conversation-absent-keeps-fingerprint",
|
|
3852
|
+
"digest-conversation-absent-versus-zero",
|
|
3853
|
+
"digest-conversation-same-positive",
|
|
3854
|
+
"digest-conversation-versus-input-count",
|
|
3855
|
+
"digest-conversation-beside-root"
|
|
3116
3856
|
]
|
|
3117
3857
|
},
|
|
3118
3858
|
"grouped_read": {
|
|
@@ -3290,6 +4030,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3290
4030
|
"session_start": null,
|
|
3291
4031
|
"session_end": null,
|
|
3292
4032
|
"turn_count": 5,
|
|
4033
|
+
"conversation_turn_count": null,
|
|
4034
|
+
"displayed_turn_count": 5,
|
|
3293
4035
|
"token_count": 13,
|
|
3294
4036
|
"blob_size_bytes": null,
|
|
3295
4037
|
"schema_version": "11",
|
|
@@ -3442,6 +4184,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3442
4184
|
"session_start": null,
|
|
3443
4185
|
"session_end": null,
|
|
3444
4186
|
"turn_count": 5,
|
|
4187
|
+
"conversation_turn_count": null,
|
|
4188
|
+
"displayed_turn_count": 5,
|
|
3445
4189
|
"token_count": 13,
|
|
3446
4190
|
"blob_size_bytes": null,
|
|
3447
4191
|
"schema_version": "11",
|
|
@@ -3662,6 +4406,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3662
4406
|
"session_start": null,
|
|
3663
4407
|
"session_end": null,
|
|
3664
4408
|
"turn_count": 5,
|
|
4409
|
+
"conversation_turn_count": null,
|
|
4410
|
+
"displayed_turn_count": 5,
|
|
3665
4411
|
"token_count": 13,
|
|
3666
4412
|
"blob_size_bytes": null,
|
|
3667
4413
|
"schema_version": "11",
|
|
@@ -3849,6 +4595,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3849
4595
|
"session_start": null,
|
|
3850
4596
|
"session_end": null,
|
|
3851
4597
|
"turn_count": 5,
|
|
4598
|
+
"conversation_turn_count": null,
|
|
4599
|
+
"displayed_turn_count": 5,
|
|
3852
4600
|
"token_count": 13,
|
|
3853
4601
|
"blob_size_bytes": null,
|
|
3854
4602
|
"schema_version": "11",
|
|
@@ -3936,6 +4684,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
3936
4684
|
"session_start": null,
|
|
3937
4685
|
"session_end": null,
|
|
3938
4686
|
"turn_count": 5,
|
|
4687
|
+
"conversation_turn_count": null,
|
|
4688
|
+
"displayed_turn_count": 5,
|
|
3939
4689
|
"token_count": 13,
|
|
3940
4690
|
"blob_size_bytes": null,
|
|
3941
4691
|
"schema_version": "11",
|
|
@@ -4102,6 +4852,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
4102
4852
|
"session_start": null,
|
|
4103
4853
|
"session_end": null,
|
|
4104
4854
|
"turn_count": 5,
|
|
4855
|
+
"conversation_turn_count": null,
|
|
4856
|
+
"displayed_turn_count": 5,
|
|
4105
4857
|
"token_count": 13,
|
|
4106
4858
|
"blob_size_bytes": null,
|
|
4107
4859
|
"schema_version": "11",
|
|
@@ -4412,6 +5164,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
4412
5164
|
"session_start": null,
|
|
4413
5165
|
"session_end": null,
|
|
4414
5166
|
"turn_count": 5,
|
|
5167
|
+
"conversation_turn_count": null,
|
|
5168
|
+
"displayed_turn_count": 5,
|
|
4415
5169
|
"token_count": 13,
|
|
4416
5170
|
"blob_size_bytes": null,
|
|
4417
5171
|
"schema_version": "11",
|
|
@@ -4965,6 +5719,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
4965
5719
|
"session_start": null,
|
|
4966
5720
|
"session_end": null,
|
|
4967
5721
|
"turn_count": 5,
|
|
5722
|
+
"conversation_turn_count": null,
|
|
5723
|
+
"displayed_turn_count": 5,
|
|
4968
5724
|
"token_count": 13,
|
|
4969
5725
|
"blob_size_bytes": null,
|
|
4970
5726
|
"schema_version": "11",
|
|
@@ -5052,6 +5808,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5052
5808
|
"session_start": null,
|
|
5053
5809
|
"session_end": null,
|
|
5054
5810
|
"turn_count": 5,
|
|
5811
|
+
"conversation_turn_count": null,
|
|
5812
|
+
"displayed_turn_count": 5,
|
|
5055
5813
|
"token_count": 13,
|
|
5056
5814
|
"blob_size_bytes": null,
|
|
5057
5815
|
"schema_version": "11",
|
|
@@ -5204,6 +5962,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5204
5962
|
"session_start": null,
|
|
5205
5963
|
"session_end": null,
|
|
5206
5964
|
"turn_count": 5,
|
|
5965
|
+
"conversation_turn_count": null,
|
|
5966
|
+
"displayed_turn_count": 5,
|
|
5207
5967
|
"token_count": 13,
|
|
5208
5968
|
"blob_size_bytes": null,
|
|
5209
5969
|
"schema_version": "11",
|
|
@@ -5365,6 +6125,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5365
6125
|
"session_start": null,
|
|
5366
6126
|
"session_end": null,
|
|
5367
6127
|
"turn_count": 5,
|
|
6128
|
+
"conversation_turn_count": null,
|
|
6129
|
+
"displayed_turn_count": 5,
|
|
5368
6130
|
"token_count": 13,
|
|
5369
6131
|
"blob_size_bytes": null,
|
|
5370
6132
|
"schema_version": "11",
|
|
@@ -5517,6 +6279,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5517
6279
|
"session_start": null,
|
|
5518
6280
|
"session_end": null,
|
|
5519
6281
|
"turn_count": 5,
|
|
6282
|
+
"conversation_turn_count": null,
|
|
6283
|
+
"displayed_turn_count": 5,
|
|
5520
6284
|
"token_count": 13,
|
|
5521
6285
|
"blob_size_bytes": null,
|
|
5522
6286
|
"schema_version": "11",
|
|
@@ -5677,6 +6441,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
5677
6441
|
"session_start": null,
|
|
5678
6442
|
"session_end": null,
|
|
5679
6443
|
"turn_count": 5,
|
|
6444
|
+
"conversation_turn_count": null,
|
|
6445
|
+
"displayed_turn_count": 5,
|
|
5680
6446
|
"token_count": 13,
|
|
5681
6447
|
"blob_size_bytes": null,
|
|
5682
6448
|
"schema_version": "11",
|
|
@@ -6184,6 +6950,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6184
6950
|
"session_start": null,
|
|
6185
6951
|
"session_end": null,
|
|
6186
6952
|
"turn_count": 5,
|
|
6953
|
+
"conversation_turn_count": null,
|
|
6954
|
+
"displayed_turn_count": 5,
|
|
6187
6955
|
"token_count": 13,
|
|
6188
6956
|
"blob_size_bytes": null,
|
|
6189
6957
|
"schema_version": "11",
|
|
@@ -6297,6 +7065,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6297
7065
|
"session_start": null,
|
|
6298
7066
|
"session_end": null,
|
|
6299
7067
|
"turn_count": 5,
|
|
7068
|
+
"conversation_turn_count": null,
|
|
7069
|
+
"displayed_turn_count": 5,
|
|
6300
7070
|
"token_count": 13,
|
|
6301
7071
|
"blob_size_bytes": null,
|
|
6302
7072
|
"schema_version": "11",
|
|
@@ -6409,6 +7179,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6409
7179
|
"session_start": null,
|
|
6410
7180
|
"session_end": null,
|
|
6411
7181
|
"turn_count": 5,
|
|
7182
|
+
"conversation_turn_count": null,
|
|
7183
|
+
"displayed_turn_count": 5,
|
|
6412
7184
|
"token_count": 13,
|
|
6413
7185
|
"blob_size_bytes": null,
|
|
6414
7186
|
"schema_version": "11",
|
|
@@ -6565,6 +7337,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6565
7337
|
"session_start": null,
|
|
6566
7338
|
"session_end": null,
|
|
6567
7339
|
"turn_count": 5,
|
|
7340
|
+
"conversation_turn_count": null,
|
|
7341
|
+
"displayed_turn_count": 5,
|
|
6568
7342
|
"token_count": 13,
|
|
6569
7343
|
"blob_size_bytes": null,
|
|
6570
7344
|
"schema_version": "11",
|
|
@@ -6948,6 +7722,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
6948
7722
|
"session_start": null,
|
|
6949
7723
|
"session_end": null,
|
|
6950
7724
|
"turn_count": 5,
|
|
7725
|
+
"conversation_turn_count": null,
|
|
7726
|
+
"displayed_turn_count": 5,
|
|
6951
7727
|
"token_count": 13,
|
|
6952
7728
|
"blob_size_bytes": null,
|
|
6953
7729
|
"schema_version": "11",
|
|
@@ -7174,6 +7950,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7174
7950
|
"session_start": null,
|
|
7175
7951
|
"session_end": null,
|
|
7176
7952
|
"turn_count": 5,
|
|
7953
|
+
"conversation_turn_count": null,
|
|
7954
|
+
"displayed_turn_count": 5,
|
|
7177
7955
|
"token_count": 13,
|
|
7178
7956
|
"blob_size_bytes": null,
|
|
7179
7957
|
"schema_version": "11",
|
|
@@ -7261,6 +8039,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7261
8039
|
"session_start": null,
|
|
7262
8040
|
"session_end": null,
|
|
7263
8041
|
"turn_count": 5,
|
|
8042
|
+
"conversation_turn_count": null,
|
|
8043
|
+
"displayed_turn_count": 5,
|
|
7264
8044
|
"token_count": 13,
|
|
7265
8045
|
"blob_size_bytes": null,
|
|
7266
8046
|
"schema_version": "11",
|
|
@@ -7421,6 +8201,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7421
8201
|
"session_start": null,
|
|
7422
8202
|
"session_end": null,
|
|
7423
8203
|
"turn_count": 5,
|
|
8204
|
+
"conversation_turn_count": null,
|
|
8205
|
+
"displayed_turn_count": 5,
|
|
7424
8206
|
"token_count": 13,
|
|
7425
8207
|
"blob_size_bytes": null,
|
|
7426
8208
|
"schema_version": "11",
|
|
@@ -7581,6 +8363,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
7581
8363
|
"session_start": null,
|
|
7582
8364
|
"session_end": null,
|
|
7583
8365
|
"turn_count": 5,
|
|
8366
|
+
"conversation_turn_count": null,
|
|
8367
|
+
"displayed_turn_count": 5,
|
|
7584
8368
|
"token_count": 13,
|
|
7585
8369
|
"blob_size_bytes": null,
|
|
7586
8370
|
"schema_version": "11",
|
|
@@ -8094,6 +8878,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8094
8878
|
"session_start": null,
|
|
8095
8879
|
"session_end": null,
|
|
8096
8880
|
"turn_count": 5,
|
|
8881
|
+
"conversation_turn_count": null,
|
|
8882
|
+
"displayed_turn_count": 5,
|
|
8097
8883
|
"token_count": 13,
|
|
8098
8884
|
"blob_size_bytes": null,
|
|
8099
8885
|
"schema_version": "11",
|
|
@@ -8161,6 +8947,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8161
8947
|
"session_start": null,
|
|
8162
8948
|
"session_end": null,
|
|
8163
8949
|
"turn_count": 5,
|
|
8950
|
+
"conversation_turn_count": null,
|
|
8951
|
+
"displayed_turn_count": 5,
|
|
8164
8952
|
"token_count": 13,
|
|
8165
8953
|
"blob_size_bytes": null,
|
|
8166
8954
|
"schema_version": "11",
|
|
@@ -8283,6 +9071,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8283
9071
|
"session_start": null,
|
|
8284
9072
|
"session_end": null,
|
|
8285
9073
|
"turn_count": 5,
|
|
9074
|
+
"conversation_turn_count": null,
|
|
9075
|
+
"displayed_turn_count": 5,
|
|
8286
9076
|
"token_count": 13,
|
|
8287
9077
|
"blob_size_bytes": null,
|
|
8288
9078
|
"schema_version": "11",
|
|
@@ -8350,6 +9140,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8350
9140
|
"session_start": null,
|
|
8351
9141
|
"session_end": null,
|
|
8352
9142
|
"turn_count": 5,
|
|
9143
|
+
"conversation_turn_count": null,
|
|
9144
|
+
"displayed_turn_count": 5,
|
|
8353
9145
|
"token_count": 13,
|
|
8354
9146
|
"blob_size_bytes": null,
|
|
8355
9147
|
"schema_version": "11",
|
|
@@ -8476,6 +9268,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8476
9268
|
"session_start": null,
|
|
8477
9269
|
"session_end": null,
|
|
8478
9270
|
"turn_count": 5,
|
|
9271
|
+
"conversation_turn_count": null,
|
|
9272
|
+
"displayed_turn_count": 5,
|
|
8479
9273
|
"token_count": 13,
|
|
8480
9274
|
"blob_size_bytes": null,
|
|
8481
9275
|
"schema_version": "11",
|
|
@@ -8543,6 +9337,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8543
9337
|
"session_start": null,
|
|
8544
9338
|
"session_end": null,
|
|
8545
9339
|
"turn_count": 5,
|
|
9340
|
+
"conversation_turn_count": null,
|
|
9341
|
+
"displayed_turn_count": 5,
|
|
8546
9342
|
"token_count": 13,
|
|
8547
9343
|
"blob_size_bytes": null,
|
|
8548
9344
|
"schema_version": "11",
|
|
@@ -8661,6 +9457,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8661
9457
|
"session_start": null,
|
|
8662
9458
|
"session_end": null,
|
|
8663
9459
|
"turn_count": 5,
|
|
9460
|
+
"conversation_turn_count": null,
|
|
9461
|
+
"displayed_turn_count": 5,
|
|
8664
9462
|
"token_count": 13,
|
|
8665
9463
|
"blob_size_bytes": null,
|
|
8666
9464
|
"schema_version": "11",
|
|
@@ -8728,6 +9526,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8728
9526
|
"session_start": null,
|
|
8729
9527
|
"session_end": null,
|
|
8730
9528
|
"turn_count": 5,
|
|
9529
|
+
"conversation_turn_count": null,
|
|
9530
|
+
"displayed_turn_count": 5,
|
|
8731
9531
|
"token_count": 13,
|
|
8732
9532
|
"blob_size_bytes": null,
|
|
8733
9533
|
"schema_version": "11",
|
|
@@ -8842,6 +9642,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8842
9642
|
"session_start": null,
|
|
8843
9643
|
"session_end": null,
|
|
8844
9644
|
"turn_count": 5,
|
|
9645
|
+
"conversation_turn_count": null,
|
|
9646
|
+
"displayed_turn_count": 5,
|
|
8845
9647
|
"token_count": 13,
|
|
8846
9648
|
"blob_size_bytes": null,
|
|
8847
9649
|
"schema_version": "11",
|
|
@@ -8949,6 +9751,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
8949
9751
|
"session_start": null,
|
|
8950
9752
|
"session_end": null,
|
|
8951
9753
|
"turn_count": 5,
|
|
9754
|
+
"conversation_turn_count": null,
|
|
9755
|
+
"displayed_turn_count": 5,
|
|
8952
9756
|
"token_count": 13,
|
|
8953
9757
|
"blob_size_bytes": null,
|
|
8954
9758
|
"schema_version": "11",
|
|
@@ -9056,6 +9860,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9056
9860
|
"session_start": null,
|
|
9057
9861
|
"session_end": null,
|
|
9058
9862
|
"turn_count": 5,
|
|
9863
|
+
"conversation_turn_count": null,
|
|
9864
|
+
"displayed_turn_count": 5,
|
|
9059
9865
|
"token_count": 13,
|
|
9060
9866
|
"blob_size_bytes": null,
|
|
9061
9867
|
"schema_version": "11",
|
|
@@ -9123,6 +9929,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9123
9929
|
"session_start": null,
|
|
9124
9930
|
"session_end": null,
|
|
9125
9931
|
"turn_count": 5,
|
|
9932
|
+
"conversation_turn_count": null,
|
|
9933
|
+
"displayed_turn_count": 5,
|
|
9126
9934
|
"token_count": 13,
|
|
9127
9935
|
"blob_size_bytes": null,
|
|
9128
9936
|
"schema_version": "11",
|
|
@@ -9234,6 +10042,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9234
10042
|
"session_start": null,
|
|
9235
10043
|
"session_end": null,
|
|
9236
10044
|
"turn_count": 5,
|
|
10045
|
+
"conversation_turn_count": null,
|
|
10046
|
+
"displayed_turn_count": 5,
|
|
9237
10047
|
"token_count": 13,
|
|
9238
10048
|
"blob_size_bytes": null,
|
|
9239
10049
|
"schema_version": "11",
|
|
@@ -9367,6 +10177,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9367
10177
|
"session_start": null,
|
|
9368
10178
|
"session_end": null,
|
|
9369
10179
|
"turn_count": 5,
|
|
10180
|
+
"conversation_turn_count": null,
|
|
10181
|
+
"displayed_turn_count": 5,
|
|
9370
10182
|
"token_count": 13,
|
|
9371
10183
|
"blob_size_bytes": null,
|
|
9372
10184
|
"schema_version": "11",
|
|
@@ -9490,6 +10302,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9490
10302
|
"session_start": null,
|
|
9491
10303
|
"session_end": null,
|
|
9492
10304
|
"turn_count": 5,
|
|
10305
|
+
"conversation_turn_count": null,
|
|
10306
|
+
"displayed_turn_count": 5,
|
|
9493
10307
|
"token_count": 13,
|
|
9494
10308
|
"blob_size_bytes": null,
|
|
9495
10309
|
"schema_version": "11",
|
|
@@ -9557,6 +10371,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9557
10371
|
"session_start": null,
|
|
9558
10372
|
"session_end": null,
|
|
9559
10373
|
"turn_count": 5,
|
|
10374
|
+
"conversation_turn_count": null,
|
|
10375
|
+
"displayed_turn_count": 5,
|
|
9560
10376
|
"token_count": 13,
|
|
9561
10377
|
"blob_size_bytes": null,
|
|
9562
10378
|
"schema_version": "11",
|
|
@@ -9679,6 +10495,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9679
10495
|
"session_start": null,
|
|
9680
10496
|
"session_end": null,
|
|
9681
10497
|
"turn_count": 5,
|
|
10498
|
+
"conversation_turn_count": null,
|
|
10499
|
+
"displayed_turn_count": 5,
|
|
9682
10500
|
"token_count": 13,
|
|
9683
10501
|
"blob_size_bytes": null,
|
|
9684
10502
|
"schema_version": "11",
|
|
@@ -9809,6 +10627,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9809
10627
|
"session_start": null,
|
|
9810
10628
|
"session_end": null,
|
|
9811
10629
|
"turn_count": 5,
|
|
10630
|
+
"conversation_turn_count": null,
|
|
10631
|
+
"displayed_turn_count": 5,
|
|
9812
10632
|
"token_count": 13,
|
|
9813
10633
|
"blob_size_bytes": null,
|
|
9814
10634
|
"schema_version": "11",
|
|
@@ -9939,6 +10759,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
9939
10759
|
"session_start": null,
|
|
9940
10760
|
"session_end": null,
|
|
9941
10761
|
"turn_count": 5,
|
|
10762
|
+
"conversation_turn_count": null,
|
|
10763
|
+
"displayed_turn_count": 5,
|
|
9942
10764
|
"token_count": 13,
|
|
9943
10765
|
"blob_size_bytes": null,
|
|
9944
10766
|
"schema_version": "11",
|
|
@@ -10002,6 +10824,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10002
10824
|
"visibility": "public",
|
|
10003
10825
|
"published_at": "2026-09-08T00:00:00Z",
|
|
10004
10826
|
"turn_count": 5,
|
|
10827
|
+
"conversation_turn_count": null,
|
|
10828
|
+
"displayed_turn_count": 5,
|
|
10005
10829
|
"tokens_in": null,
|
|
10006
10830
|
"tokens_out": null,
|
|
10007
10831
|
"owner": {
|
|
@@ -10073,6 +10897,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10073
10897
|
"session_start": null,
|
|
10074
10898
|
"session_end": null,
|
|
10075
10899
|
"turn_count": 5,
|
|
10900
|
+
"conversation_turn_count": null,
|
|
10901
|
+
"displayed_turn_count": 5,
|
|
10076
10902
|
"token_count": 13,
|
|
10077
10903
|
"blob_size_bytes": null,
|
|
10078
10904
|
"schema_version": "11",
|
|
@@ -10136,6 +10962,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10136
10962
|
"visibility": "public",
|
|
10137
10963
|
"published_at": "2026-09-08T00:00:00Z",
|
|
10138
10964
|
"turn_count": 5,
|
|
10965
|
+
"conversation_turn_count": null,
|
|
10966
|
+
"displayed_turn_count": 5,
|
|
10139
10967
|
"tokens_in": null,
|
|
10140
10968
|
"tokens_out": null,
|
|
10141
10969
|
"owner": {
|
|
@@ -10203,6 +11031,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10203
11031
|
"session_start": null,
|
|
10204
11032
|
"session_end": null,
|
|
10205
11033
|
"turn_count": 5,
|
|
11034
|
+
"conversation_turn_count": null,
|
|
11035
|
+
"displayed_turn_count": 5,
|
|
10206
11036
|
"token_count": 13,
|
|
10207
11037
|
"blob_size_bytes": null,
|
|
10208
11038
|
"schema_version": "11",
|
|
@@ -10266,6 +11096,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10266
11096
|
"visibility": "public",
|
|
10267
11097
|
"published_at": "2026-09-08T00:00:00Z",
|
|
10268
11098
|
"turn_count": 5,
|
|
11099
|
+
"conversation_turn_count": null,
|
|
11100
|
+
"displayed_turn_count": 5,
|
|
10269
11101
|
"tokens_in": null,
|
|
10270
11102
|
"tokens_out": null,
|
|
10271
11103
|
"owner": {
|
|
@@ -10337,6 +11169,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10337
11169
|
"session_start": null,
|
|
10338
11170
|
"session_end": null,
|
|
10339
11171
|
"turn_count": 5,
|
|
11172
|
+
"conversation_turn_count": null,
|
|
11173
|
+
"displayed_turn_count": 5,
|
|
10340
11174
|
"token_count": 13,
|
|
10341
11175
|
"blob_size_bytes": null,
|
|
10342
11176
|
"schema_version": "11",
|
|
@@ -10448,6 +11282,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10448
11282
|
"session_start": null,
|
|
10449
11283
|
"session_end": null,
|
|
10450
11284
|
"turn_count": 5,
|
|
11285
|
+
"conversation_turn_count": null,
|
|
11286
|
+
"displayed_turn_count": 5,
|
|
10451
11287
|
"token_count": 13,
|
|
10452
11288
|
"blob_size_bytes": null,
|
|
10453
11289
|
"schema_version": "11",
|
|
@@ -10511,6 +11347,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10511
11347
|
"visibility": "public",
|
|
10512
11348
|
"published_at": "2026-09-08T00:00:00Z",
|
|
10513
11349
|
"turn_count": 5,
|
|
11350
|
+
"conversation_turn_count": null,
|
|
11351
|
+
"displayed_turn_count": 5,
|
|
10514
11352
|
"tokens_in": null,
|
|
10515
11353
|
"tokens_out": null,
|
|
10516
11354
|
"owner": {
|
|
@@ -10582,6 +11420,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10582
11420
|
"session_start": null,
|
|
10583
11421
|
"session_end": null,
|
|
10584
11422
|
"turn_count": 5,
|
|
11423
|
+
"conversation_turn_count": null,
|
|
11424
|
+
"displayed_turn_count": 5,
|
|
10585
11425
|
"token_count": 13,
|
|
10586
11426
|
"blob_size_bytes": null,
|
|
10587
11427
|
"schema_version": "11",
|
|
@@ -10645,6 +11485,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10645
11485
|
"visibility": "public",
|
|
10646
11486
|
"published_at": "2026-09-08T00:00:00Z",
|
|
10647
11487
|
"turn_count": 1,
|
|
11488
|
+
"conversation_turn_count": null,
|
|
11489
|
+
"displayed_turn_count": 5,
|
|
10648
11490
|
"tokens_in": null,
|
|
10649
11491
|
"tokens_out": null,
|
|
10650
11492
|
"owner": {
|
|
@@ -10716,6 +11558,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10716
11558
|
"session_start": null,
|
|
10717
11559
|
"session_end": null,
|
|
10718
11560
|
"turn_count": 5,
|
|
11561
|
+
"conversation_turn_count": null,
|
|
11562
|
+
"displayed_turn_count": 5,
|
|
10719
11563
|
"token_count": 13,
|
|
10720
11564
|
"blob_size_bytes": null,
|
|
10721
11565
|
"schema_version": "11",
|
|
@@ -10842,6 +11686,8 @@ export const canonicalSessionGraphFixtures = {
|
|
|
10842
11686
|
"session_start": null,
|
|
10843
11687
|
"session_end": null,
|
|
10844
11688
|
"turn_count": 5,
|
|
11689
|
+
"conversation_turn_count": null,
|
|
11690
|
+
"displayed_turn_count": 5,
|
|
10845
11691
|
"token_count": 13,
|
|
10846
11692
|
"blob_size_bytes": null,
|
|
10847
11693
|
"schema_version": "11",
|