@research-engineering/agentic-proofkit 0.10.1 → 0.12.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/ADOPTION.md +36 -14
- package/dist/platform/darwin-arm64/agentic-proofkit +0 -0
- package/dist/platform/darwin-x64/agentic-proofkit +0 -0
- package/dist/platform/linux-arm64/agentic-proofkit +0 -0
- package/dist/platform/linux-x64/agentic-proofkit +0 -0
- package/docs/proofkit-contract-map.md +5 -2
- package/docs/specs/proofkit-agent-workflow/overview.md +9 -3
- package/docs/specs/proofkit-agent-workflow/requirements.v1.json +18 -1
- package/docs/specs/proofkit-spec-proof-core/overview.md +7 -0
- package/docs/specs/proofkit-spec-proof-core/requirements.v1.json +27 -1
- package/package.json +2 -2
- package/proofkit/cli-contract.v2.json +558 -23
- package/proofkit/command-families.v1.json +4 -1
- package/proofkit/requirement-bindings.json +418 -0
- package/proofkit/witness-plan.json +1 -0
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"rootDefinitionDigest": "sha256:3dbf760a8f8b0a4093c1dd4edc23367c5ef8027b31c18a01490afb657fcc03ad",
|
|
113
113
|
"nativeSource": {
|
|
114
114
|
"path": "internal/command/adoptionmaterialization",
|
|
115
|
-
"canonicalDigest": "sha256:
|
|
115
|
+
"canonicalDigest": "sha256:a02e36ec07451d0923b79f102edf984b6b34eee255dc7d0fa1f7bc41440c306e",
|
|
116
116
|
"evidenceClass": "source_checkout"
|
|
117
117
|
},
|
|
118
118
|
"nativeAdmissionWitnessSelector": {
|
|
@@ -143,17 +143,17 @@
|
|
|
143
143
|
"nativeSources": [
|
|
144
144
|
{
|
|
145
145
|
"path": "internal/app",
|
|
146
|
-
"canonicalDigest": "sha256:
|
|
146
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
147
147
|
"evidenceClass": "source_checkout"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
"path": "internal/command/adoptionmaterialization",
|
|
151
|
-
"canonicalDigest": "sha256:
|
|
151
|
+
"canonicalDigest": "sha256:a02e36ec07451d0923b79f102edf984b6b34eee255dc7d0fa1f7bc41440c306e",
|
|
152
152
|
"evidenceClass": "source_checkout"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"path": "internal/kernel/repositorytransaction",
|
|
156
|
-
"canonicalDigest": "sha256:
|
|
156
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
157
157
|
"evidenceClass": "source_checkout"
|
|
158
158
|
}
|
|
159
159
|
],
|
|
@@ -167,7 +167,8 @@
|
|
|
167
167
|
"schemaVersion=1",
|
|
168
168
|
"apply receipt binds expected transaction and desired-state identities to the transaction result",
|
|
169
169
|
"JSON receipt and bounded text projection preserve the same operation outcome",
|
|
170
|
-
"root-shape-only definition proofkit.adoption-materialization.apply-output.v1.root-shape; nested fields, types, and cardinalities remain native-owner claims"
|
|
170
|
+
"root-shape-only definition proofkit.adoption-materialization.apply-output.v1.root-shape; nested fields, types, and cardinalities remain native-owner claims",
|
|
171
|
+
"Replay requires a retained generation-2 terminal receipt binding the exact desiredStateId under the native lock; generation-1 receipts remain recoverable but acknowledgement retries require a newly reviewed plan. Roots with generation-2 receipts require a supporting binary even after recovery completes."
|
|
171
172
|
],
|
|
172
173
|
"ownerRequirementRefs": [
|
|
173
174
|
"REQ-PROOFKIT-PACKAGE-002",
|
|
@@ -250,7 +251,7 @@
|
|
|
250
251
|
"rootDefinitionDigest": "sha256:c18995fb310dbde102bea231d83ec3756ffdf863199acbc88237471d06278c9e",
|
|
251
252
|
"nativeSource": {
|
|
252
253
|
"path": "internal/command/adoptionmaterialization",
|
|
253
|
-
"canonicalDigest": "sha256:
|
|
254
|
+
"canonicalDigest": "sha256:a02e36ec07451d0923b79f102edf984b6b34eee255dc7d0fa1f7bc41440c306e",
|
|
254
255
|
"evidenceClass": "source_checkout"
|
|
255
256
|
},
|
|
256
257
|
"nativeAdmissionWitnessSelector": {
|
|
@@ -281,17 +282,17 @@
|
|
|
281
282
|
"nativeSources": [
|
|
282
283
|
{
|
|
283
284
|
"path": "internal/app",
|
|
284
|
-
"canonicalDigest": "sha256:
|
|
285
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
285
286
|
"evidenceClass": "source_checkout"
|
|
286
287
|
},
|
|
287
288
|
{
|
|
288
289
|
"path": "internal/command/adoptionmaterialization",
|
|
289
|
-
"canonicalDigest": "sha256:
|
|
290
|
+
"canonicalDigest": "sha256:a02e36ec07451d0923b79f102edf984b6b34eee255dc7d0fa1f7bc41440c306e",
|
|
290
291
|
"evidenceClass": "source_checkout"
|
|
291
292
|
},
|
|
292
293
|
{
|
|
293
294
|
"path": "internal/kernel/repositorytransaction",
|
|
294
|
-
"canonicalDigest": "sha256:
|
|
295
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
295
296
|
"evidenceClass": "source_checkout"
|
|
296
297
|
}
|
|
297
298
|
],
|
|
@@ -395,17 +396,17 @@
|
|
|
395
396
|
"nativeSources": [
|
|
396
397
|
{
|
|
397
398
|
"path": "internal/app",
|
|
398
|
-
"canonicalDigest": "sha256:
|
|
399
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
399
400
|
"evidenceClass": "source_checkout"
|
|
400
401
|
},
|
|
401
402
|
{
|
|
402
403
|
"path": "internal/command/adoptionmaterialization",
|
|
403
|
-
"canonicalDigest": "sha256:
|
|
404
|
+
"canonicalDigest": "sha256:a02e36ec07451d0923b79f102edf984b6b34eee255dc7d0fa1f7bc41440c306e",
|
|
404
405
|
"evidenceClass": "source_checkout"
|
|
405
406
|
},
|
|
406
407
|
{
|
|
407
408
|
"path": "internal/kernel/repositorytransaction",
|
|
408
|
-
"canonicalDigest": "sha256:
|
|
409
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
409
410
|
"evidenceClass": "source_checkout"
|
|
410
411
|
}
|
|
411
412
|
],
|
|
@@ -1186,7 +1187,7 @@
|
|
|
1186
1187
|
"nativeSources": [
|
|
1187
1188
|
{
|
|
1188
1189
|
"path": "internal/app",
|
|
1189
|
-
"canonicalDigest": "sha256:
|
|
1190
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
1190
1191
|
"evidenceClass": "source_checkout"
|
|
1191
1192
|
},
|
|
1192
1193
|
{
|
|
@@ -2425,6 +2426,144 @@
|
|
|
2425
2426
|
]
|
|
2426
2427
|
}
|
|
2427
2428
|
},
|
|
2429
|
+
{
|
|
2430
|
+
"command": "integration-apply",
|
|
2431
|
+
"route": [
|
|
2432
|
+
"integration",
|
|
2433
|
+
"apply"
|
|
2434
|
+
],
|
|
2435
|
+
"input": "none",
|
|
2436
|
+
"stdin": false,
|
|
2437
|
+
"inputPointer": false,
|
|
2438
|
+
"scopeClass": "explicit_filesystem_mutation",
|
|
2439
|
+
"outputModes": [
|
|
2440
|
+
"json",
|
|
2441
|
+
"text"
|
|
2442
|
+
],
|
|
2443
|
+
"allowedFlags": [
|
|
2444
|
+
"--color",
|
|
2445
|
+
"--expect-desired-state",
|
|
2446
|
+
"--expect-transaction",
|
|
2447
|
+
"--format",
|
|
2448
|
+
"--operation",
|
|
2449
|
+
"--repo-root",
|
|
2450
|
+
"--tool"
|
|
2451
|
+
],
|
|
2452
|
+
"requiredFlags": [
|
|
2453
|
+
"--expect-desired-state",
|
|
2454
|
+
"--expect-transaction",
|
|
2455
|
+
"--operation",
|
|
2456
|
+
"--repo-root",
|
|
2457
|
+
"--tool"
|
|
2458
|
+
],
|
|
2459
|
+
"singleOccurrenceFlags": [
|
|
2460
|
+
"--color",
|
|
2461
|
+
"--expect-desired-state",
|
|
2462
|
+
"--expect-transaction",
|
|
2463
|
+
"--format",
|
|
2464
|
+
"--operation",
|
|
2465
|
+
"--repo-root",
|
|
2466
|
+
"--tool"
|
|
2467
|
+
],
|
|
2468
|
+
"flagChoices": {
|
|
2469
|
+
"--color": [
|
|
2470
|
+
"auto",
|
|
2471
|
+
"never"
|
|
2472
|
+
],
|
|
2473
|
+
"--format": [
|
|
2474
|
+
"json",
|
|
2475
|
+
"text"
|
|
2476
|
+
],
|
|
2477
|
+
"--operation": [
|
|
2478
|
+
"install",
|
|
2479
|
+
"remove",
|
|
2480
|
+
"update"
|
|
2481
|
+
],
|
|
2482
|
+
"--tool": [
|
|
2483
|
+
"claude",
|
|
2484
|
+
"codex"
|
|
2485
|
+
]
|
|
2486
|
+
},
|
|
2487
|
+
"flagPresenceRequirements": [
|
|
2488
|
+
{
|
|
2489
|
+
"flag": "--color",
|
|
2490
|
+
"requiredFlagValues": [
|
|
2491
|
+
{
|
|
2492
|
+
"flag": "--format",
|
|
2493
|
+
"value": "text"
|
|
2494
|
+
}
|
|
2495
|
+
],
|
|
2496
|
+
"requiredFlags": []
|
|
2497
|
+
}
|
|
2498
|
+
],
|
|
2499
|
+
"outputContract": {
|
|
2500
|
+
"contractId": "proofkit.integration-apply.output.v1",
|
|
2501
|
+
"schemaVersion": 1,
|
|
2502
|
+
"rootType": "object",
|
|
2503
|
+
"closed": true,
|
|
2504
|
+
"rootDefinitionRef": "proofkit.integration-apply.output.v1.root-shape",
|
|
2505
|
+
"rootDefinitionDigest": "sha256:9072801d4aa7a9820e81f0de02ff04e22ced6188958c31d2f3682d01d2cc84ed",
|
|
2506
|
+
"nativeSources": [
|
|
2507
|
+
{
|
|
2508
|
+
"path": "internal/app",
|
|
2509
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
2510
|
+
"evidenceClass": "source_checkout"
|
|
2511
|
+
},
|
|
2512
|
+
{
|
|
2513
|
+
"path": "internal/command/agentintegration",
|
|
2514
|
+
"canonicalDigest": "sha256:e03209a37e8c7cc7c59c56c80c2906b789091e8de25679a6fe37704bfb2009c4",
|
|
2515
|
+
"evidenceClass": "source_checkout"
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
"path": "internal/kernel/repositorytransaction",
|
|
2519
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
2520
|
+
"evidenceClass": "source_checkout"
|
|
2521
|
+
}
|
|
2522
|
+
],
|
|
2523
|
+
"nativeOutputWitnessSelector": {
|
|
2524
|
+
"path": "internal/app/agent_integration_lifecycle_command_test.go",
|
|
2525
|
+
"test": "TestIntegrationApplyCLI",
|
|
2526
|
+
"command": "go test ./internal/app -run '^TestIntegrationApplyCLI$'",
|
|
2527
|
+
"evidenceClass": "source_checkout"
|
|
2528
|
+
},
|
|
2529
|
+
"compatibilitySummary": [
|
|
2530
|
+
"schemaVersion=1",
|
|
2531
|
+
"kind=proofkit.integration-receipt.v1; state=passed|blocked|failed|recovery_required|cleanup_required|durability_unknown; transactionResult is the native owner projection or null",
|
|
2532
|
+
"JSON is the default; text is opt-in with color=auto|never, default never; color requires explicit --format text and ANSI requires a capable TTY without NO_COLOR",
|
|
2533
|
+
"No input, stdin, input pointer, output-file, implicit tool selection, package installation or native host activation",
|
|
2534
|
+
"Invocation flags and SHA256 identity references are admitted before repository I/O; unsafe routes, I/O, pre-effect cancellation and output errors use exit 1 and non-disclosing stderr without a classified JSON packet",
|
|
2535
|
+
"Ready plans and passed receipts exit 0; classified conflict, recovery, cleanup and durability outcomes exit 1 with exactly one report and empty stderr",
|
|
2536
|
+
"Selected fixed bootstrap and proofkit/integrations/<tool>.v1.json form one native transaction; canonical baseline is cooperative byte/mode bookkeeping, not authenticated origin",
|
|
2537
|
+
"Apply requires both reviewed transaction and desired-state identities; replay requires exact current desired files, no pending transaction and the retained applied receipt under one native lock",
|
|
2538
|
+
"root-shape-only definition proofkit.integration-apply.output.v1.root-shape; nested field shapes, leaf types and relational semantics remain native-owner claims"
|
|
2539
|
+
],
|
|
2540
|
+
"ownerRequirementRefs": [
|
|
2541
|
+
"REQ-PROOFKIT-PACKAGE-002",
|
|
2542
|
+
"REQ-PROOFKIT-QUALITY-004",
|
|
2543
|
+
"REQ-PROOFKIT-SPEC-033",
|
|
2544
|
+
"REQ-PROOFKIT-WORKFLOW-019"
|
|
2545
|
+
],
|
|
2546
|
+
"flagChoices": {
|
|
2547
|
+
"--color": [
|
|
2548
|
+
"auto",
|
|
2549
|
+
"never"
|
|
2550
|
+
],
|
|
2551
|
+
"--format": [
|
|
2552
|
+
"json",
|
|
2553
|
+
"text"
|
|
2554
|
+
],
|
|
2555
|
+
"--operation": [
|
|
2556
|
+
"install",
|
|
2557
|
+
"remove",
|
|
2558
|
+
"update"
|
|
2559
|
+
],
|
|
2560
|
+
"--tool": [
|
|
2561
|
+
"claude",
|
|
2562
|
+
"codex"
|
|
2563
|
+
]
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
},
|
|
2428
2567
|
{
|
|
2429
2568
|
"command": "integration-check",
|
|
2430
2569
|
"route": [
|
|
@@ -2473,17 +2612,17 @@
|
|
|
2473
2612
|
"nativeSources": [
|
|
2474
2613
|
{
|
|
2475
2614
|
"path": "internal/app",
|
|
2476
|
-
"canonicalDigest": "sha256:
|
|
2615
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
2477
2616
|
"evidenceClass": "source_checkout"
|
|
2478
2617
|
},
|
|
2479
2618
|
{
|
|
2480
2619
|
"path": "internal/command/agentintegration",
|
|
2481
|
-
"canonicalDigest": "sha256:
|
|
2620
|
+
"canonicalDigest": "sha256:e03209a37e8c7cc7c59c56c80c2906b789091e8de25679a6fe37704bfb2009c4",
|
|
2482
2621
|
"evidenceClass": "source_checkout"
|
|
2483
2622
|
},
|
|
2484
2623
|
{
|
|
2485
2624
|
"path": "internal/kernel/repositorytransaction",
|
|
2486
|
-
"canonicalDigest": "sha256:
|
|
2625
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
2487
2626
|
"evidenceClass": "source_checkout"
|
|
2488
2627
|
},
|
|
2489
2628
|
{
|
|
@@ -2527,6 +2666,260 @@
|
|
|
2527
2666
|
}
|
|
2528
2667
|
}
|
|
2529
2668
|
},
|
|
2669
|
+
{
|
|
2670
|
+
"command": "integration-plan",
|
|
2671
|
+
"route": [
|
|
2672
|
+
"integration",
|
|
2673
|
+
"plan"
|
|
2674
|
+
],
|
|
2675
|
+
"input": "none",
|
|
2676
|
+
"stdin": false,
|
|
2677
|
+
"inputPointer": false,
|
|
2678
|
+
"scopeClass": "explicit_filesystem_scan",
|
|
2679
|
+
"outputModes": [
|
|
2680
|
+
"json",
|
|
2681
|
+
"text"
|
|
2682
|
+
],
|
|
2683
|
+
"allowedFlags": [
|
|
2684
|
+
"--color",
|
|
2685
|
+
"--format",
|
|
2686
|
+
"--operation",
|
|
2687
|
+
"--repo-root",
|
|
2688
|
+
"--tool"
|
|
2689
|
+
],
|
|
2690
|
+
"requiredFlags": [
|
|
2691
|
+
"--operation",
|
|
2692
|
+
"--repo-root",
|
|
2693
|
+
"--tool"
|
|
2694
|
+
],
|
|
2695
|
+
"singleOccurrenceFlags": [
|
|
2696
|
+
"--color",
|
|
2697
|
+
"--format",
|
|
2698
|
+
"--operation",
|
|
2699
|
+
"--repo-root",
|
|
2700
|
+
"--tool"
|
|
2701
|
+
],
|
|
2702
|
+
"flagChoices": {
|
|
2703
|
+
"--color": [
|
|
2704
|
+
"auto",
|
|
2705
|
+
"never"
|
|
2706
|
+
],
|
|
2707
|
+
"--format": [
|
|
2708
|
+
"json",
|
|
2709
|
+
"text"
|
|
2710
|
+
],
|
|
2711
|
+
"--operation": [
|
|
2712
|
+
"install",
|
|
2713
|
+
"remove",
|
|
2714
|
+
"update"
|
|
2715
|
+
],
|
|
2716
|
+
"--tool": [
|
|
2717
|
+
"claude",
|
|
2718
|
+
"codex"
|
|
2719
|
+
]
|
|
2720
|
+
},
|
|
2721
|
+
"flagPresenceRequirements": [
|
|
2722
|
+
{
|
|
2723
|
+
"flag": "--color",
|
|
2724
|
+
"requiredFlagValues": [
|
|
2725
|
+
{
|
|
2726
|
+
"flag": "--format",
|
|
2727
|
+
"value": "text"
|
|
2728
|
+
}
|
|
2729
|
+
],
|
|
2730
|
+
"requiredFlags": []
|
|
2731
|
+
}
|
|
2732
|
+
],
|
|
2733
|
+
"outputContract": {
|
|
2734
|
+
"contractId": "proofkit.integration-plan.output.v1",
|
|
2735
|
+
"schemaVersion": 1,
|
|
2736
|
+
"rootType": "object",
|
|
2737
|
+
"closed": true,
|
|
2738
|
+
"rootDefinitionRef": "proofkit.integration-plan.output.v1.root-shape",
|
|
2739
|
+
"rootDefinitionDigest": "sha256:2f1c3c16d0a794ed7f2cbc8a71062e8f8d1d0a6076980a729b6f62dfb131cedd",
|
|
2740
|
+
"nativeSources": [
|
|
2741
|
+
{
|
|
2742
|
+
"path": "internal/app",
|
|
2743
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
2744
|
+
"evidenceClass": "source_checkout"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"path": "internal/command/agentintegration",
|
|
2748
|
+
"canonicalDigest": "sha256:e03209a37e8c7cc7c59c56c80c2906b789091e8de25679a6fe37704bfb2009c4",
|
|
2749
|
+
"evidenceClass": "source_checkout"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"path": "internal/kernel/repositorytransaction",
|
|
2753
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
2754
|
+
"evidenceClass": "source_checkout"
|
|
2755
|
+
}
|
|
2756
|
+
],
|
|
2757
|
+
"nativeOutputWitnessSelector": {
|
|
2758
|
+
"path": "internal/app/agent_integration_lifecycle_command_test.go",
|
|
2759
|
+
"test": "TestIntegrationPlanCLI",
|
|
2760
|
+
"command": "go test ./internal/app -run '^TestIntegrationPlanCLI$'",
|
|
2761
|
+
"evidenceClass": "source_checkout"
|
|
2762
|
+
},
|
|
2763
|
+
"compatibilitySummary": [
|
|
2764
|
+
"schemaVersion=1",
|
|
2765
|
+
"kind=proofkit.integration-plan.v1; state=ready|blocked|recovery_required; ready contains an owner-admitted descriptive transaction, conflict has transaction=null",
|
|
2766
|
+
"JSON is the default; text is opt-in with color=auto|never, default never; color requires explicit --format text and ANSI requires a capable TTY without NO_COLOR",
|
|
2767
|
+
"No input, stdin, input pointer, output-file, implicit tool selection, package installation or native host activation",
|
|
2768
|
+
"Invocation flags and SHA256 identity references are admitted before repository I/O; unsafe routes, I/O, pre-effect cancellation and output errors use exit 1 and non-disclosing stderr without a classified JSON packet",
|
|
2769
|
+
"Ready plans and passed receipts exit 0; classified conflict, recovery, cleanup and durability outcomes exit 1 with exactly one report and empty stderr",
|
|
2770
|
+
"Selected fixed bootstrap and proofkit/integrations/<tool>.v1.json form one native transaction; canonical baseline is cooperative byte/mode bookkeeping, not authenticated origin",
|
|
2771
|
+
"Install never overwrites unknown or stale unbaselined content; update requires a matched prior baseline; remove deletes only a matched pair or valid orphan baseline, never adjacent instructions",
|
|
2772
|
+
"root-shape-only definition proofkit.integration-plan.output.v1.root-shape; nested field shapes, leaf types and relational semantics remain native-owner claims"
|
|
2773
|
+
],
|
|
2774
|
+
"ownerRequirementRefs": [
|
|
2775
|
+
"REQ-PROOFKIT-PACKAGE-002",
|
|
2776
|
+
"REQ-PROOFKIT-QUALITY-004",
|
|
2777
|
+
"REQ-PROOFKIT-SPEC-033",
|
|
2778
|
+
"REQ-PROOFKIT-WORKFLOW-019"
|
|
2779
|
+
],
|
|
2780
|
+
"flagChoices": {
|
|
2781
|
+
"--color": [
|
|
2782
|
+
"auto",
|
|
2783
|
+
"never"
|
|
2784
|
+
],
|
|
2785
|
+
"--format": [
|
|
2786
|
+
"json",
|
|
2787
|
+
"text"
|
|
2788
|
+
],
|
|
2789
|
+
"--operation": [
|
|
2790
|
+
"install",
|
|
2791
|
+
"remove",
|
|
2792
|
+
"update"
|
|
2793
|
+
],
|
|
2794
|
+
"--tool": [
|
|
2795
|
+
"claude",
|
|
2796
|
+
"codex"
|
|
2797
|
+
]
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"command": "integration-recover",
|
|
2803
|
+
"route": [
|
|
2804
|
+
"integration",
|
|
2805
|
+
"recover"
|
|
2806
|
+
],
|
|
2807
|
+
"input": "none",
|
|
2808
|
+
"stdin": false,
|
|
2809
|
+
"inputPointer": false,
|
|
2810
|
+
"scopeClass": "explicit_filesystem_mutation",
|
|
2811
|
+
"outputModes": [
|
|
2812
|
+
"json",
|
|
2813
|
+
"text"
|
|
2814
|
+
],
|
|
2815
|
+
"allowedFlags": [
|
|
2816
|
+
"--action",
|
|
2817
|
+
"--color",
|
|
2818
|
+
"--format",
|
|
2819
|
+
"--repo-root",
|
|
2820
|
+
"--transaction"
|
|
2821
|
+
],
|
|
2822
|
+
"requiredFlags": [
|
|
2823
|
+
"--action",
|
|
2824
|
+
"--repo-root",
|
|
2825
|
+
"--transaction"
|
|
2826
|
+
],
|
|
2827
|
+
"singleOccurrenceFlags": [
|
|
2828
|
+
"--action",
|
|
2829
|
+
"--color",
|
|
2830
|
+
"--format",
|
|
2831
|
+
"--repo-root",
|
|
2832
|
+
"--transaction"
|
|
2833
|
+
],
|
|
2834
|
+
"flagChoices": {
|
|
2835
|
+
"--color": [
|
|
2836
|
+
"auto",
|
|
2837
|
+
"never"
|
|
2838
|
+
],
|
|
2839
|
+
"--format": [
|
|
2840
|
+
"json",
|
|
2841
|
+
"text"
|
|
2842
|
+
],
|
|
2843
|
+
"--action": [
|
|
2844
|
+
"resume",
|
|
2845
|
+
"rollback"
|
|
2846
|
+
]
|
|
2847
|
+
},
|
|
2848
|
+
"flagPresenceRequirements": [
|
|
2849
|
+
{
|
|
2850
|
+
"flag": "--color",
|
|
2851
|
+
"requiredFlagValues": [
|
|
2852
|
+
{
|
|
2853
|
+
"flag": "--format",
|
|
2854
|
+
"value": "text"
|
|
2855
|
+
}
|
|
2856
|
+
],
|
|
2857
|
+
"requiredFlags": []
|
|
2858
|
+
}
|
|
2859
|
+
],
|
|
2860
|
+
"outputContract": {
|
|
2861
|
+
"contractId": "proofkit.integration-recover.output.v1",
|
|
2862
|
+
"schemaVersion": 1,
|
|
2863
|
+
"rootType": "object",
|
|
2864
|
+
"closed": true,
|
|
2865
|
+
"rootDefinitionRef": "proofkit.integration-recover.output.v1.root-shape",
|
|
2866
|
+
"rootDefinitionDigest": "sha256:c833d7c58535cc55b77c0cbbac27899ff3eb3be3ec9ceddad24ed17808f3b7a9",
|
|
2867
|
+
"nativeSources": [
|
|
2868
|
+
{
|
|
2869
|
+
"path": "internal/app",
|
|
2870
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
2871
|
+
"evidenceClass": "source_checkout"
|
|
2872
|
+
},
|
|
2873
|
+
{
|
|
2874
|
+
"path": "internal/command/agentintegration",
|
|
2875
|
+
"canonicalDigest": "sha256:e03209a37e8c7cc7c59c56c80c2906b789091e8de25679a6fe37704bfb2009c4",
|
|
2876
|
+
"evidenceClass": "source_checkout"
|
|
2877
|
+
},
|
|
2878
|
+
{
|
|
2879
|
+
"path": "internal/kernel/repositorytransaction",
|
|
2880
|
+
"canonicalDigest": "sha256:005381c2fc6760a2a225a4853a2d75c3fc044286c2819cfd09908301d15b3b1b",
|
|
2881
|
+
"evidenceClass": "source_checkout"
|
|
2882
|
+
}
|
|
2883
|
+
],
|
|
2884
|
+
"nativeOutputWitnessSelector": {
|
|
2885
|
+
"path": "internal/app/agent_integration_lifecycle_command_test.go",
|
|
2886
|
+
"test": "TestIntegrationRecoverCLI",
|
|
2887
|
+
"command": "go test ./internal/app -run '^TestIntegrationRecoverCLI$'",
|
|
2888
|
+
"evidenceClass": "source_checkout"
|
|
2889
|
+
},
|
|
2890
|
+
"compatibilitySummary": [
|
|
2891
|
+
"schemaVersion=1",
|
|
2892
|
+
"kind=proofkit.integration-receipt.v1; state=passed|blocked|failed|recovery_required|cleanup_required|durability_unknown; transactionResult is the native owner projection or null",
|
|
2893
|
+
"JSON is the default; text is opt-in with color=auto|never, default never; color requires explicit --format text and ANSI requires a capable TTY without NO_COLOR",
|
|
2894
|
+
"No input, stdin, input pointer, output-file, implicit tool selection, package installation or native host activation",
|
|
2895
|
+
"Invocation flags and SHA256 identity references are admitted before repository I/O; unsafe routes, I/O, pre-effect cancellation and output errors use exit 1 and non-disclosing stderr without a classified JSON packet",
|
|
2896
|
+
"Ready plans and passed receipts exit 0; classified conflict, recovery, cleanup and durability outcomes exit 1 with exactly one report and empty stderr",
|
|
2897
|
+
"Recovery requires only root, transaction and action; tool and expectedDesiredStateId are null; historical recovery does not prove current installed or removed state",
|
|
2898
|
+
"A committed transaction cannot be rolled back; native incomplete transactions retain the native resume and rollback rules",
|
|
2899
|
+
"root-shape-only definition proofkit.integration-recover.output.v1.root-shape; nested field shapes, leaf types and relational semantics remain native-owner claims"
|
|
2900
|
+
],
|
|
2901
|
+
"ownerRequirementRefs": [
|
|
2902
|
+
"REQ-PROOFKIT-PACKAGE-002",
|
|
2903
|
+
"REQ-PROOFKIT-QUALITY-004",
|
|
2904
|
+
"REQ-PROOFKIT-SPEC-033",
|
|
2905
|
+
"REQ-PROOFKIT-WORKFLOW-019"
|
|
2906
|
+
],
|
|
2907
|
+
"flagChoices": {
|
|
2908
|
+
"--color": [
|
|
2909
|
+
"auto",
|
|
2910
|
+
"never"
|
|
2911
|
+
],
|
|
2912
|
+
"--format": [
|
|
2913
|
+
"json",
|
|
2914
|
+
"text"
|
|
2915
|
+
],
|
|
2916
|
+
"--action": [
|
|
2917
|
+
"resume",
|
|
2918
|
+
"rollback"
|
|
2919
|
+
]
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
},
|
|
2530
2923
|
{
|
|
2531
2924
|
"command": "integration-source",
|
|
2532
2925
|
"route": [
|
|
@@ -2572,12 +2965,12 @@
|
|
|
2572
2965
|
"nativeSources": [
|
|
2573
2966
|
{
|
|
2574
2967
|
"path": "internal/app",
|
|
2575
|
-
"canonicalDigest": "sha256:
|
|
2968
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
2576
2969
|
"evidenceClass": "source_checkout"
|
|
2577
2970
|
},
|
|
2578
2971
|
{
|
|
2579
2972
|
"path": "internal/command/agentintegration",
|
|
2580
|
-
"canonicalDigest": "sha256:
|
|
2973
|
+
"canonicalDigest": "sha256:e03209a37e8c7cc7c59c56c80c2906b789091e8de25679a6fe37704bfb2009c4",
|
|
2581
2974
|
"evidenceClass": "source_checkout"
|
|
2582
2975
|
}
|
|
2583
2976
|
],
|
|
@@ -3247,7 +3640,7 @@
|
|
|
3247
3640
|
"nativeSources": [
|
|
3248
3641
|
{
|
|
3249
3642
|
"path": "internal/app",
|
|
3250
|
-
"canonicalDigest": "sha256:
|
|
3643
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
3251
3644
|
"evidenceClass": "source_checkout"
|
|
3252
3645
|
},
|
|
3253
3646
|
{
|
|
@@ -4546,7 +4939,7 @@
|
|
|
4546
4939
|
"rootDefinitionDigest": "sha256:e6af5b9edb1284ab2ff2f1a276a6b924127b99810cd9446bffbc971f638a0997",
|
|
4547
4940
|
"nativeSource": {
|
|
4548
4941
|
"path": "internal/command/requirementbrowser",
|
|
4549
|
-
"canonicalDigest": "sha256:
|
|
4942
|
+
"canonicalDigest": "sha256:2f6113b67ba6bbddac190b232ff5788aa48cd9dbec2a73f057a6152a2020b49e",
|
|
4550
4943
|
"evidenceClass": "source_checkout"
|
|
4551
4944
|
},
|
|
4552
4945
|
"nativeAdmissionWitnessSelector": {
|
|
@@ -4583,7 +4976,7 @@
|
|
|
4583
4976
|
"rootDefinitionDigest": "sha256:c2e7d851c7928560d4267fe85ebc0ae61e33c4c0ef15f7f7b01deb73bb80eda7",
|
|
4584
4977
|
"nativeSource": {
|
|
4585
4978
|
"path": "internal/command/requirementbrowser",
|
|
4586
|
-
"canonicalDigest": "sha256:
|
|
4979
|
+
"canonicalDigest": "sha256:2f6113b67ba6bbddac190b232ff5788aa48cd9dbec2a73f057a6152a2020b49e",
|
|
4587
4980
|
"evidenceClass": "source_checkout"
|
|
4588
4981
|
},
|
|
4589
4982
|
"nativeOutputWitnessSelector": {
|
|
@@ -6537,7 +6930,7 @@
|
|
|
6537
6930
|
"rootDefinitionDigest": "sha256:3c842174dff5361e7f83166469b832805e05aa314b073c16234b5b64e346281e",
|
|
6538
6931
|
"nativeSource": {
|
|
6539
6932
|
"path": "internal/app",
|
|
6540
|
-
"canonicalDigest": "sha256:
|
|
6933
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
6541
6934
|
"evidenceClass": "source_checkout"
|
|
6542
6935
|
},
|
|
6543
6936
|
"nativeAdmissionWitnessSelector": {
|
|
@@ -6566,7 +6959,7 @@
|
|
|
6566
6959
|
"rootDefinitionDigest": "sha256:0ea95e277ebe44cd2de42c29b47c38686ac0b6b390d8965367437b3fe138e209",
|
|
6567
6960
|
"nativeSource": {
|
|
6568
6961
|
"path": "internal/app",
|
|
6569
|
-
"canonicalDigest": "sha256:
|
|
6962
|
+
"canonicalDigest": "sha256:2bea687b114cac5e816ae754ab7c27cdaf953f9b81134733373ba27ff86fc2e3",
|
|
6570
6963
|
"evidenceClass": "source_checkout"
|
|
6571
6964
|
},
|
|
6572
6965
|
"nativeOutputWitnessSelector": {
|
|
@@ -10980,6 +11373,54 @@
|
|
|
10980
11373
|
},
|
|
10981
11374
|
"canonicalDigest": "sha256:e6dacd55cace039ca8e24bdec628b1498d0c12bbfcdb60c46854ab2047c3f2d7"
|
|
10982
11375
|
},
|
|
11376
|
+
{
|
|
11377
|
+
"definitionId": "proofkit.integration-apply.output.v1.root-shape",
|
|
11378
|
+
"schemaVersion": 1,
|
|
11379
|
+
"rootType": "object",
|
|
11380
|
+
"closed": true,
|
|
11381
|
+
"definitionRefs": [],
|
|
11382
|
+
"fieldTree": {
|
|
11383
|
+
"kind": "root_shape_only",
|
|
11384
|
+
"nonClaims": [
|
|
11385
|
+
"Root-shape definitions do not claim nested field shapes, leaf types, cardinalities, or semantic validity.",
|
|
11386
|
+
"Root-shape definitions do not replace direct public-CLI runtime witnesses for variant selection."
|
|
11387
|
+
],
|
|
11388
|
+
"variants": [
|
|
11389
|
+
{
|
|
11390
|
+
"allowedFields": [
|
|
11391
|
+
"expectedDesiredStateId",
|
|
11392
|
+
"expectedTransactionId",
|
|
11393
|
+
"failureClass",
|
|
11394
|
+
"kind",
|
|
11395
|
+
"nonClaims",
|
|
11396
|
+
"operation",
|
|
11397
|
+
"schemaVersion",
|
|
11398
|
+
"state",
|
|
11399
|
+
"tool",
|
|
11400
|
+
"transactionResult"
|
|
11401
|
+
],
|
|
11402
|
+
"requiredFields": [
|
|
11403
|
+
"expectedDesiredStateId",
|
|
11404
|
+
"expectedTransactionId",
|
|
11405
|
+
"failureClass",
|
|
11406
|
+
"kind",
|
|
11407
|
+
"nonClaims",
|
|
11408
|
+
"operation",
|
|
11409
|
+
"schemaVersion",
|
|
11410
|
+
"state",
|
|
11411
|
+
"tool",
|
|
11412
|
+
"transactionResult"
|
|
11413
|
+
],
|
|
11414
|
+
"rootKind": "object",
|
|
11415
|
+
"variantId": "01-root",
|
|
11416
|
+
"when": [
|
|
11417
|
+
"default JSON mode"
|
|
11418
|
+
]
|
|
11419
|
+
}
|
|
11420
|
+
]
|
|
11421
|
+
},
|
|
11422
|
+
"canonicalDigest": "sha256:9072801d4aa7a9820e81f0de02ff04e22ced6188958c31d2f3682d01d2cc84ed"
|
|
11423
|
+
},
|
|
10983
11424
|
{
|
|
10984
11425
|
"definitionId": "proofkit.integration-check.output.v1.root-shape",
|
|
10985
11426
|
"schemaVersion": 1,
|
|
@@ -11024,6 +11465,100 @@
|
|
|
11024
11465
|
},
|
|
11025
11466
|
"canonicalDigest": "sha256:309c5f43b8d5596d88859819ed59e4486926d75d5f41d2b2b6e252389f5913ca"
|
|
11026
11467
|
},
|
|
11468
|
+
{
|
|
11469
|
+
"definitionId": "proofkit.integration-plan.output.v1.root-shape",
|
|
11470
|
+
"schemaVersion": 1,
|
|
11471
|
+
"rootType": "object",
|
|
11472
|
+
"closed": true,
|
|
11473
|
+
"definitionRefs": [],
|
|
11474
|
+
"fieldTree": {
|
|
11475
|
+
"kind": "root_shape_only",
|
|
11476
|
+
"nonClaims": [
|
|
11477
|
+
"Root-shape definitions do not claim nested field shapes, leaf types, cardinalities, or semantic validity.",
|
|
11478
|
+
"Root-shape definitions do not replace direct public-CLI runtime witnesses for variant selection."
|
|
11479
|
+
],
|
|
11480
|
+
"variants": [
|
|
11481
|
+
{
|
|
11482
|
+
"allowedFields": [
|
|
11483
|
+
"failureClass",
|
|
11484
|
+
"kind",
|
|
11485
|
+
"nonClaims",
|
|
11486
|
+
"operation",
|
|
11487
|
+
"recoveryTransactionId",
|
|
11488
|
+
"schemaVersion",
|
|
11489
|
+
"state",
|
|
11490
|
+
"tool",
|
|
11491
|
+
"transaction"
|
|
11492
|
+
],
|
|
11493
|
+
"requiredFields": [
|
|
11494
|
+
"failureClass",
|
|
11495
|
+
"kind",
|
|
11496
|
+
"nonClaims",
|
|
11497
|
+
"operation",
|
|
11498
|
+
"recoveryTransactionId",
|
|
11499
|
+
"schemaVersion",
|
|
11500
|
+
"state",
|
|
11501
|
+
"tool",
|
|
11502
|
+
"transaction"
|
|
11503
|
+
],
|
|
11504
|
+
"rootKind": "object",
|
|
11505
|
+
"variantId": "01-root",
|
|
11506
|
+
"when": [
|
|
11507
|
+
"default JSON mode"
|
|
11508
|
+
]
|
|
11509
|
+
}
|
|
11510
|
+
]
|
|
11511
|
+
},
|
|
11512
|
+
"canonicalDigest": "sha256:2f1c3c16d0a794ed7f2cbc8a71062e8f8d1d0a6076980a729b6f62dfb131cedd"
|
|
11513
|
+
},
|
|
11514
|
+
{
|
|
11515
|
+
"definitionId": "proofkit.integration-recover.output.v1.root-shape",
|
|
11516
|
+
"schemaVersion": 1,
|
|
11517
|
+
"rootType": "object",
|
|
11518
|
+
"closed": true,
|
|
11519
|
+
"definitionRefs": [],
|
|
11520
|
+
"fieldTree": {
|
|
11521
|
+
"kind": "root_shape_only",
|
|
11522
|
+
"nonClaims": [
|
|
11523
|
+
"Root-shape definitions do not claim nested field shapes, leaf types, cardinalities, or semantic validity.",
|
|
11524
|
+
"Root-shape definitions do not replace direct public-CLI runtime witnesses for variant selection."
|
|
11525
|
+
],
|
|
11526
|
+
"variants": [
|
|
11527
|
+
{
|
|
11528
|
+
"allowedFields": [
|
|
11529
|
+
"expectedDesiredStateId",
|
|
11530
|
+
"expectedTransactionId",
|
|
11531
|
+
"failureClass",
|
|
11532
|
+
"kind",
|
|
11533
|
+
"nonClaims",
|
|
11534
|
+
"operation",
|
|
11535
|
+
"schemaVersion",
|
|
11536
|
+
"state",
|
|
11537
|
+
"tool",
|
|
11538
|
+
"transactionResult"
|
|
11539
|
+
],
|
|
11540
|
+
"requiredFields": [
|
|
11541
|
+
"expectedDesiredStateId",
|
|
11542
|
+
"expectedTransactionId",
|
|
11543
|
+
"failureClass",
|
|
11544
|
+
"kind",
|
|
11545
|
+
"nonClaims",
|
|
11546
|
+
"operation",
|
|
11547
|
+
"schemaVersion",
|
|
11548
|
+
"state",
|
|
11549
|
+
"tool",
|
|
11550
|
+
"transactionResult"
|
|
11551
|
+
],
|
|
11552
|
+
"rootKind": "object",
|
|
11553
|
+
"variantId": "01-root",
|
|
11554
|
+
"when": [
|
|
11555
|
+
"default JSON mode"
|
|
11556
|
+
]
|
|
11557
|
+
}
|
|
11558
|
+
]
|
|
11559
|
+
},
|
|
11560
|
+
"canonicalDigest": "sha256:c833d7c58535cc55b77c0cbbac27899ff3eb3be3ec9ceddad24ed17808f3b7a9"
|
|
11561
|
+
},
|
|
11027
11562
|
{
|
|
11028
11563
|
"definitionId": "proofkit.integration-source.output.v1.root-shape",
|
|
11029
11564
|
"schemaVersion": 1,
|