@research-engineering/agentic-proofkit 0.1.145 → 0.1.147

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.
@@ -103,15 +103,19 @@
103
103
  "item": {
104
104
  "kind": {
105
105
  "enum": [
106
- "adoption_workflow",
107
- "authoring_plan",
106
+ "adoption_workflow",
107
+ "authoring_plan",
108
+ "binding_witness_plan_input",
109
+ "capability_map",
108
110
  "changed_path_set",
111
+ "coverage_compose_input",
109
112
  "coverage_view_input",
110
113
  "deployment_evidence_input",
111
114
  "impact_input",
112
115
  "migration_parity",
113
116
  "migration_plan",
114
117
  "obligation_decision",
118
+ "obligation_decision_input",
115
119
  "overview_claims",
116
120
  "proof_binding",
117
121
  "readiness_closeout_input",
@@ -124,6 +128,7 @@
124
128
  "selective_evidence",
125
129
  "selective_gate_plan_input",
126
130
  "spec_tree_bundle",
131
+ "test_discovery",
127
132
  "test_inventory",
128
133
  "typescript_public_api_manifest",
129
134
  "typescript_public_api_repo_root",
@@ -263,6 +268,20 @@
263
268
  "--input-pointer"
264
269
  ]
265
270
  },
271
+ {
272
+ "command": "capability-map-admission",
273
+ "input": "required",
274
+ "stdin": true,
275
+ "inputPointer": true,
276
+ "scopeClass": "explicit_caller_input",
277
+ "outputModes": [
278
+ "json"
279
+ ],
280
+ "allowedFlags": [
281
+ "--input",
282
+ "--input-pointer"
283
+ ]
284
+ },
266
285
  {
267
286
  "command": "changed-path-set",
268
287
  "input": "required",
@@ -823,6 +842,53 @@
823
842
  "--input",
824
843
  "--input-pointer"
825
844
  ],
845
+ "inputContract": {
846
+ "contractId": "proofkit.requirement-coverage-input-compose.input.v1",
847
+ "schemaVersion": 1,
848
+ "authority": "requirement coverage input compose input contract",
849
+ "commonRequiredFields": [
850
+ "coverageUniverse",
851
+ "localEnvironmentPolicy",
852
+ "options",
853
+ "ownerInvariantRegistry",
854
+ "requirementSource",
855
+ "schemaVersion",
856
+ "selectedOwnerIds",
857
+ "viewInputId"
858
+ ],
859
+ "modes": {
860
+ "normalized": {
861
+ "requires": [
862
+ "compactProofContract",
863
+ "normalizedTestEvidenceInventory"
864
+ ],
865
+ "forbids": [
866
+ "requirementProofBinding",
867
+ "testEvidenceInventory"
868
+ ],
869
+ "nonClaim": "Normalized mode preserves source-set provenance through normalizedTestEvidenceInventory."
870
+ },
871
+ "direct": {
872
+ "requires": [
873
+ "requirementProofBinding",
874
+ "testEvidenceInventory"
875
+ ],
876
+ "forbids": [
877
+ "compactProofContract",
878
+ "normalizedTestEvidenceInventory"
879
+ ],
880
+ "admittedInventoryAuthority": "caller_owned_inventory",
881
+ "rejects": [
882
+ "caller_owned_inventory_source_set",
883
+ "caller_owned_test_discovery_candidate_inventory"
884
+ ],
885
+ "nonClaim": "Direct mode admits passed child reports and rejects source-set or candidate inventory inputs that need an explicit normalization/materialization envelope."
886
+ }
887
+ },
888
+ "nonClaims": [
889
+ "Coverage input composition does not execute native tests, authenticate receipts, decide freshness, or approve merge."
890
+ ]
891
+ },
826
892
  "outputContract": {
827
893
  "contractId": "proofkit.requirement-coverage-input-compose.output.v1",
828
894
  "schemaVersion": 1,
@@ -839,6 +905,10 @@
839
905
  "testEvidenceInventory",
840
906
  "viewInputId"
841
907
  ],
908
+ "optionalFields": [
909
+ "normalizedTestEvidenceInventory"
910
+ ],
911
+ "provenanceRule": "When normalizedTestEvidenceInventory is present, it preserves the admitted source-set envelope and its nested inventory must equal testEvidenceInventory.",
842
912
  "nonClaims": [
843
913
  "Coverage input composition emits a direct requirement-coverage-view input and does not execute native tests, authenticate receipts, decide freshness, or approve merge."
844
914
  ]
@@ -1291,50 +1361,98 @@
1291
1361
  "--projection"
1292
1362
  ],
1293
1363
  "inputContract": {
1294
- "contractId": "proofkit.test-evidence-inventory.proof-binding-derived.input.v1",
1364
+ "contractId": "proofkit.test-evidence-inventory.input.v1",
1295
1365
  "schemaVersion": 1,
1296
- "authority": "proof-binding-derived test inventory projection admission",
1297
- "appliesWhen": "--projection proof-binding-derived",
1298
- "fields": {
1299
- "commandRefPolicy": {
1300
- "required": true,
1366
+ "authority": "test evidence inventory admission and projection admission",
1367
+ "projectionVariants": {
1368
+ "discovery-draft": {
1369
+ "authority": "caller-owned test discovery draft projection admission",
1370
+ "appliesWhen": "--projection discovery-draft",
1371
+ "normalizedInventory": "not_supported",
1372
+ "requiredFields": [
1373
+ "authority",
1374
+ "discoveredTests",
1375
+ "discoveredTests[].title",
1376
+ "draftId",
1377
+ "repository",
1378
+ "runner",
1379
+ "schemaVersion"
1380
+ ],
1301
1381
  "fields": {
1302
- "prefix": {
1303
- "required": true,
1304
- "format": "stable rule id namespace used to derive commandRefs"
1382
+ "nonClaims": {
1383
+ "default": []
1384
+ },
1385
+ "repository.nonClaims": {
1386
+ "default": []
1387
+ },
1388
+ "runner.nonClaims": {
1389
+ "default": []
1390
+ },
1391
+ "discoveredTests[].nonClaims": {
1392
+ "default": []
1305
1393
  }
1306
- }
1307
- },
1308
- "compactProofContract": {
1309
- "required": true,
1310
- "format": "compact requirement proof binding contract"
1311
- },
1312
- "inventoryId": {
1313
- "required": true,
1314
- "format": "stable rule id"
1315
- },
1316
- "nonClaims": {
1317
- "default": []
1394
+ },
1395
+ "candidateOutput": {
1396
+ "authority": "caller_owned_test_discovery_candidate_inventory",
1397
+ "candidateKind": "proofkit.test-inventory-discovery-draft.candidate-inventory",
1398
+ "strictInventoryAdmission": "rejected_until_owner_materialized"
1399
+ },
1400
+ "nonClaim": "Discovery draft reports candidate-only guidance from explicit caller-owned facts; it does not scan repositories, execute tests, emit semantic_falsifier evidence, or close coverage."
1318
1401
  },
1319
- "requirementSource": {
1320
- "required": true,
1402
+ "proof-binding-derived": {
1403
+ "authority": "proof-binding-derived test inventory projection admission",
1404
+ "appliesWhen": "--projection proof-binding-derived",
1405
+ "normalizedInventory": "supported",
1321
1406
  "fields": {
1322
- "requirements": {
1407
+ "commandRefPolicy": {
1408
+ "required": true,
1409
+ "fields": {
1410
+ "prefix": {
1411
+ "required": true,
1412
+ "format": "stable rule id namespace used to derive commandRefs"
1413
+ }
1414
+ }
1415
+ },
1416
+ "compactProofContract": {
1417
+ "required": true,
1418
+ "format": "compact requirement proof binding contract"
1419
+ },
1420
+ "inventoryId": {
1421
+ "required": true,
1422
+ "format": "stable rule id"
1423
+ },
1424
+ "nonClaims": {
1425
+ "default": []
1426
+ },
1427
+ "requirementSource": {
1323
1428
  "required": true,
1324
- "itemFields": {
1325
- "ownerId": "stable rule id",
1326
- "requirementId": "stable rule id"
1429
+ "fields": {
1430
+ "requirements": {
1431
+ "required": true,
1432
+ "itemFields": {
1433
+ "ownerId": "stable rule id",
1434
+ "requirementId": "stable rule id"
1435
+ }
1436
+ }
1327
1437
  }
1438
+ },
1439
+ "schemaVersion": {
1440
+ "required": true,
1441
+ "value": 1
1328
1442
  }
1329
- }
1443
+ },
1444
+ "nonClaim": "This projection input does not make Proofkit the owner of requirement meaning, native test execution, repository scanning, proof freshness, or merge policy."
1330
1445
  },
1331
- "schemaVersion": {
1332
- "required": true,
1333
- "value": 1
1446
+ "strict-inventory": {
1447
+ "authority": "caller-owned strict test inventory admission",
1448
+ "appliesWhen": "default without --projection",
1449
+ "normalizedInventory": "supported",
1450
+ "nonClaim": "Strict inventory admission validates caller-owned evidence records; Proofkit does not execute those tests."
1334
1451
  }
1335
1452
  },
1336
1453
  "nonClaims": [
1337
- "This projection input does not make Proofkit the owner of requirement meaning, native test execution, repository scanning, proof freshness, or merge policy.",
1454
+ "Projection modes are closed vocabulary: proof-binding-derived or discovery-draft.",
1455
+ "Discovery draft candidate output must be materialized into strict inventory before it can affect coverage.",
1338
1456
  "The derived inventory remains caller-owned input for downstream coverage views."
1339
1457
  ]
1340
1458
  },
@@ -1353,11 +1471,15 @@
1353
1471
  }
1354
1472
  },
1355
1473
  "agentActionPlan": {
1356
- "sourceDiagnosticKeys": ["failures", "warnings"],
1474
+ "sourceDiagnosticKeys": [
1475
+ "failures",
1476
+ "warnings"
1477
+ ],
1357
1478
  "decisionOwner": "consumer_repository",
1358
1479
  "nonClaim": "Agent actions are deterministic guidance over admitted caller-owned inventory facts and do not execute tests, approve merge, or decide semantic truth."
1359
1480
  },
1360
1481
  "classificationIds": [
1482
+ "candidate_only",
1361
1483
  "declared_duplicate_falsifier",
1362
1484
  "duplicate_falsifier_candidate",
1363
1485
  "empty_oracle",
@@ -1372,6 +1494,7 @@
1372
1494
  "mock_tests_mock",
1373
1495
  "over_broad_integration",
1374
1496
  "routing_smoke_only",
1497
+ "selector_fragility",
1375
1498
  "snapshot_without_oracle",
1376
1499
  "tautology",
1377
1500
  "unasserted_diagnostic",
@@ -1387,6 +1510,12 @@
1387
1510
  "ownerReviewState": "candidate|confirmed",
1388
1511
  "severity": "failure|warning"
1389
1512
  },
1513
+ "oracleFields": {
1514
+ "assertionSummary": "non-empty assertion summary for semantic_falsifier, contract_admission, and property_or_fuzz entries",
1515
+ "expectedPublicOutcome": "non-empty expected public outcome for semantic_falsifier, contract_admission, and property_or_fuzz entries",
1516
+ "oracleId": "stable rule id",
1517
+ "oracleKind": "stable rule id"
1518
+ },
1390
1519
  "nonClaims": [
1391
1520
  "Test evidence inventory classifications describe admitted caller-owned inventory facts and Proofkit-derived structural diagnostics only.",
1392
1521
  "Proofkit does not infer weak tests from names, prose, mocks, sleeps, snapshots, or repository scans."
@@ -1434,7 +1563,40 @@
1434
1563
  "allowedFlags": [
1435
1564
  "--input",
1436
1565
  "--input-pointer"
1437
- ]
1566
+ ],
1567
+ "inputContract": {
1568
+ "contractId": "proofkit.witness-plan.input.v1",
1569
+ "schemaVersion": 1,
1570
+ "authority": "witness plan input admission and projection admission",
1571
+ "variants": {
1572
+ "explicit-command-catalog": {
1573
+ "appliesWhen": "projection is absent",
1574
+ "requires": [
1575
+ "commands",
1576
+ "vocabulary"
1577
+ ],
1578
+ "nonClaim": "Explicit command catalogs are caller-owned; Proofkit admits command safety shape but does not execute commands."
1579
+ },
1580
+ "requirement-bindings": {
1581
+ "appliesWhen": "projection == requirement-bindings",
1582
+ "requires": [
1583
+ "projection",
1584
+ "requirementProofBinding",
1585
+ "schemaVersion",
1586
+ "vocabulary"
1587
+ ],
1588
+ "projection": "requirement-bindings",
1589
+ "admissionRules": [
1590
+ "requirementProofBinding must pass requirement-bindings admission",
1591
+ "vocabulary must pass witness command vocabulary admission",
1592
+ "binding-derived projection requires exactly one admitted parallelGroup; multi-group vocabularies require an explicit witness command catalog",
1593
+ "display command text must be display-only command text without shell control tokens, quoting, escaping, or secret-like tokens",
1594
+ "each referenced environment class must admit networkPolicy none, credentialClass none, and cachePolicy disabled"
1595
+ ],
1596
+ "nonClaim": "Binding-derived witness-plan projection avoids duplicate command identity but does not prove command pass evidence or native witness freshness."
1597
+ }
1598
+ }
1599
+ }
1438
1600
  },
1439
1601
  {
1440
1602
  "command": "witness-scheduler-plan",
@@ -5,7 +5,7 @@
5
5
  "proofkit.package-gate"
6
6
  ],
7
7
  "environmentClasses": [
8
- "local-go"
8
+ "local-go-python"
9
9
  ],
10
10
  "producers": [
11
11
  {
@@ -16,7 +16,7 @@
16
16
  "proofkit.package-gate"
17
17
  ],
18
18
  "environmentClasses": [
19
- "local-go"
19
+ "local-go-python"
20
20
  ],
21
21
  "evidenceRefs": [
22
22
  ".github/workflows/ci.yml"
@@ -31,7 +31,7 @@
31
31
  "proofkit.package-gate"
32
32
  ],
33
33
  "environmentClasses": [
34
- "local-go"
34
+ "local-go-python"
35
35
  ],
36
36
  "evidenceRefs": [
37
37
  "AGENTS.md"
@@ -44,6 +44,7 @@
44
44
  "Receipt producer policy does not admit merge-satisfying GitHub Actions receipts by environment variable alone.",
45
45
  "Receipt producer policy does not approve package release or consumer rollout.",
46
46
  "Receipt producer policy does not authenticate protected-ref or workflow state by itself.",
47
- "Receipt producer policy does not compute receipt freshness."
47
+ "Receipt producer policy does not compute receipt freshness.",
48
+ "The local-go-python package receipt is an aggregate package-gate receipt and does not provide independent local-go and local-python receipt classes."
48
49
  ]
49
50
  }
@@ -561,6 +561,16 @@
561
561
  "nonClaims": [
562
562
  "This requirement does not claim registry publication, every command's runtime behavior, execution of non-native platform binaries, provider-side install freshness, consumer dependency admission, release approval, rollout approval, or production readiness."
563
563
  ]
564
+ },
565
+ {
566
+ "requirementId": "REQ-PROOFKIT-SPEC-017",
567
+ "ownerId": "proofkit.spec-proof-core",
568
+ "specPath": "docs/specs/proofkit-spec-proof-core/requirements.v1.json",
569
+ "claimLevel": "blocking",
570
+ "proofState": "witness_backed",
571
+ "nonClaims": [
572
+ "This requirement does not claim repository scanning, code correctness, extraction completeness, final requirement meaning, proof-binding adequacy, native witness execution, proof freshness, merge approval, release approval, rollout approval, or production readiness."
573
+ ]
564
574
  }
565
575
  ],
566
576
  "bindings": [
@@ -694,7 +704,7 @@
694
704
  "proofkit.package-gate"
695
705
  ],
696
706
  "environmentClasses": [
697
- "local-go"
707
+ "local-go-python"
698
708
  ]
699
709
  },
700
710
  {
@@ -792,6 +802,19 @@
792
802
  "local-go"
793
803
  ]
794
804
  },
805
+ {
806
+ "requirementId": "REQ-PROOFKIT-SPEC-003",
807
+ "scenarioId": "proofkit.spec-proof-core.binding-derived-witness-plan",
808
+ "witnessId": "proofkit.witness-plan.binding-derived-projection",
809
+ "witnessKind": "contract",
810
+ "witnessPath": "internal/command/witnessplan/witnessplan_test.go",
811
+ "commandIds": [
812
+ "proofkit.go-test"
813
+ ],
814
+ "environmentClasses": [
815
+ "local-go"
816
+ ]
817
+ },
795
818
  {
796
819
  "requirementId": "REQ-PROOFKIT-SPEC-004",
797
820
  "scenarioId": "proofkit.spec-proof-core.selective-planning-and-evidence",
@@ -844,6 +867,19 @@
844
867
  "local-go"
845
868
  ]
846
869
  },
870
+ {
871
+ "requirementId": "REQ-PROOFKIT-SPEC-006",
872
+ "scenarioId": "proofkit.spec-proof-core.test-discovery-draft-candidate-barrier",
873
+ "witnessId": "proofkit.test-inventory.discovery-draft-candidate-barrier",
874
+ "witnessKind": "contract",
875
+ "witnessPath": "internal/command/testevidenceinventory/testevidenceinventory_test.go",
876
+ "commandIds": [
877
+ "proofkit.go-test"
878
+ ],
879
+ "environmentClasses": [
880
+ "local-go"
881
+ ]
882
+ },
847
883
  {
848
884
  "requirementId": "REQ-PROOFKIT-SPEC-006",
849
885
  "scenarioId": "proofkit.spec-proof-core.proof-binding-derived-test-inventory",
@@ -1471,6 +1507,7 @@
1471
1507
  ],
1472
1508
  "environmentClasses": [
1473
1509
  "local-go",
1510
+ "local-go-python",
1474
1511
  "local-python"
1475
1512
  ]
1476
1513
  },
@@ -1537,7 +1574,8 @@
1537
1574
  "proofkit.package-gate"
1538
1575
  ],
1539
1576
  "environmentClasses": [
1540
- "local-go"
1577
+ "local-go",
1578
+ "local-go-python"
1541
1579
  ]
1542
1580
  },
1543
1581
  {
@@ -1727,7 +1765,8 @@
1727
1765
  "proofkit.package-gate"
1728
1766
  ],
1729
1767
  "environmentClasses": [
1730
- "local-go"
1768
+ "local-go",
1769
+ "local-go-python"
1731
1770
  ]
1732
1771
  },
1733
1772
  {
@@ -1848,13 +1887,26 @@
1848
1887
  "environmentClasses": [
1849
1888
  "local-go"
1850
1889
  ]
1890
+ },
1891
+ {
1892
+ "requirementId": "REQ-PROOFKIT-SPEC-017",
1893
+ "scenarioId": "proofkit.spec-proof-core.capability-map-admission-trust-modes",
1894
+ "witnessId": "proofkit.capability-map-admission.trust-mode-falsifier",
1895
+ "witnessKind": "contract",
1896
+ "witnessPath": "internal/command/capabilitymapadmission/capability_map_admission_test.go",
1897
+ "commandIds": [
1898
+ "proofkit.go-test"
1899
+ ],
1900
+ "environmentClasses": [
1901
+ "local-go"
1902
+ ]
1851
1903
  }
1852
1904
  ],
1853
1905
  "witnessCommands": [
1854
1906
  {
1855
1907
  "commandId": "proofkit.ci-receipt-anchor",
1856
1908
  "command": "npm run self:receipt",
1857
- "environmentClass": "local-go"
1909
+ "environmentClass": "local-go-python"
1858
1910
  },
1859
1911
  {
1860
1912
  "commandId": "proofkit.go-fmt",
@@ -1889,7 +1941,9 @@
1889
1941
  {
1890
1942
  "commandId": "proofkit.package-gate",
1891
1943
  "command": "npm run check",
1892
- "environmentClass": "local-go"
1944
+ "environmentClasses": [
1945
+ "local-go-python"
1946
+ ]
1893
1947
  },
1894
1948
  {
1895
1949
  "commandId": "proofkit.platform-smoke",
@@ -13,6 +13,7 @@
13
13
  ],
14
14
  "environmentClasses": [
15
15
  "local-go",
16
+ "local-go-python",
16
17
  "local-python"
17
18
  ],
18
19
  "environmentClassPolicies": [
@@ -31,6 +32,21 @@
31
32
  "write-local"
32
33
  ]
33
34
  },
35
+ {
36
+ "environmentClass": "local-go-python",
37
+ "networkPolicies": [
38
+ "external",
39
+ "none"
40
+ ],
41
+ "credentialClasses": [
42
+ "none"
43
+ ],
44
+ "cachePolicies": [
45
+ "disabled",
46
+ "read-only",
47
+ "write-local"
48
+ ]
49
+ },
34
50
  {
35
51
  "environmentClass": "local-python",
36
52
  "networkPolicies": [
@@ -89,7 +105,7 @@
89
105
  "PROOFKIT_MERGE_SATISFYING_PRODUCER"
90
106
  ],
91
107
  "classes": [
92
- "local-go"
108
+ "local-go-python"
93
109
  ]
94
110
  },
95
111
  "timeoutMs": 600000,
@@ -296,7 +312,7 @@
296
312
  "inherit": "none",
297
313
  "allowlist": [],
298
314
  "classes": [
299
- "local-go"
315
+ "local-go-python"
300
316
  ]
301
317
  },
302
318
  "timeoutMs": 600000,