percolation-inversion-compiler-ts 0.4.5 → 0.5.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.
Files changed (197) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +77 -22
  3. package/agent-manifest.json +50 -0
  4. package/dist/alt_lift/index.d.ts +7 -0
  5. package/dist/alt_lift/index.js +101 -0
  6. package/dist/bit_engine/index.d.ts +8 -0
  7. package/dist/bit_engine/index.js +213 -0
  8. package/dist/cli/main.js +2106 -162
  9. package/dist/index.d.ts +5 -0
  10. package/dist/index.js +1611 -16
  11. package/dist/phase_lab/index.d.ts +26 -0
  12. package/dist/phase_lab/index.js +1124 -0
  13. package/dist/sqot_controller/index.d.ts +8 -0
  14. package/dist/sqot_controller/index.js +141 -0
  15. package/dist/trc_adapter/index.d.ts +6 -0
  16. package/dist/trc_adapter/index.js +86 -0
  17. package/docs/alt-ecpt-lift.md +32 -0
  18. package/docs/bit-inversion-engine.md +32 -0
  19. package/docs/cli-reference.md +68 -0
  20. package/docs/effective-packet-graph.md +35 -0
  21. package/docs/for-agents.md +44 -0
  22. package/docs/phase-ecology-lab.md +46 -0
  23. package/docs/sqot-queue-sovereignty.md +31 -0
  24. package/docs/threshold-certificates.md +30 -0
  25. package/docs/trc-trace-adapter.md +30 -0
  26. package/docs/v050-audit.md +126 -0
  27. package/examples/alt_lift/alt_ecpt_lift.example.json +27 -0
  28. package/examples/bit_engine/bottlenecks.example.json +38 -0
  29. package/examples/bit_engine/inversion_candidates.example.json +55 -0
  30. package/examples/packet_exchange/packet_envelope.example.json +51 -0
  31. package/examples/packet_exchange/packet_merge_report.example.json +60 -0
  32. package/examples/phase_lab/certificate_abstain.example.json +39 -0
  33. package/examples/phase_lab/closure_report.example.json +41 -0
  34. package/examples/phase_lab/effective_graph.example.json +112 -0
  35. package/examples/phase_lab/executable_paths.example.json +20 -0
  36. package/examples/phase_lab/phase_window_observation.example.json +61 -0
  37. package/examples/phase_lab/runtime_report_1.json +19 -0
  38. package/examples/phase_lab/runtime_report_2.json +16 -0
  39. package/examples/phase_lab/threshold_status.example.json +31 -0
  40. package/examples/sqot_controller/queue_report.example.json +30 -0
  41. package/examples/sqot_controller/rebalance_plan.example.json +14 -0
  42. package/examples/thresholds/asi_proxy_development.json +15 -0
  43. package/examples/trc_adapter/tool_trace_input.example.json +17 -0
  44. package/examples/trc_adapter/typed_trace.example.json +64 -0
  45. package/fixtures/portability_conformance_v050/certificate_abstain.example.json +39 -0
  46. package/fixtures/portability_conformance_v050/closure_report.example.json +39 -0
  47. package/fixtures/portability_conformance_v050/effective_graph.example.json +112 -0
  48. package/fixtures/portability_conformance_v050/executable_paths.example.json +20 -0
  49. package/fixtures/portability_conformance_v050/manifest.json +55 -0
  50. package/fixtures/portability_conformance_v050/phase_lab_event_1.json +51 -0
  51. package/fixtures/portability_conformance_v050/phase_lab_event_2.json +55 -0
  52. package/fixtures/portability_conformance_v050/phase_window_observation.example.json +61 -0
  53. package/fixtures/portability_conformance_v050/runtime_report_1.json +19 -0
  54. package/fixtures/portability_conformance_v050/runtime_report_2.json +14 -0
  55. package/fixtures/portability_conformance_v050/threshold_status.example.json +29 -0
  56. package/fixtures/python_v044_cli/agent_autonomy_audit.json +4 -3
  57. package/fixtures/python_v044_cli/agent_manifest.json +2 -1
  58. package/fixtures/python_v044_cli/agent_runbook.json +2 -1
  59. package/fixtures/python_v044_cli/demo_installed_smoke.json +86 -86
  60. package/fixtures/python_v044_demo/manifest.json +2 -1
  61. package/fixtures/python_v050_cli/alt_capital_impact.json +30 -0
  62. package/fixtures/python_v050_cli/alt_ecpt_lift.json +85 -0
  63. package/fixtures/python_v050_cli/alt_liquidity_to_paths.json +85 -0
  64. package/fixtures/python_v050_cli/alt_receiver_lift.json +15 -0
  65. package/fixtures/python_v050_cli/bit_certificate.json +15 -0
  66. package/fixtures/python_v050_cli/bit_compare_baseline.json +24 -0
  67. package/fixtures/python_v050_cli/bit_diagnose.json +95 -0
  68. package/fixtures/python_v050_cli/bit_invert.json +235 -0
  69. package/fixtures/python_v050_cli/bit_mec.json +18 -0
  70. package/fixtures/python_v050_cli/ecology_effective_graph.json +178 -0
  71. package/fixtures/python_v050_cli/ecology_execution_available_paths.json +88 -0
  72. package/fixtures/python_v050_cli/manifest.json +48 -0
  73. package/fixtures/python_v050_cli/phase_lab_certify.json +443 -0
  74. package/fixtures/python_v050_cli/phase_lab_closure.json +85 -0
  75. package/fixtures/python_v050_cli/phase_lab_compare_window.json +24 -0
  76. package/fixtures/python_v050_cli/phase_lab_executable_paths.json +88 -0
  77. package/fixtures/python_v050_cli/phase_lab_graph.json +178 -0
  78. package/fixtures/python_v050_cli/phase_lab_ingest_1.json +105 -0
  79. package/fixtures/python_v050_cli/phase_lab_ingest_2.json +109 -0
  80. package/fixtures/python_v050_cli/phase_lab_init.json +20 -0
  81. package/fixtures/python_v050_cli/phase_lab_list_windows.json +63 -0
  82. package/fixtures/python_v050_cli/phase_lab_observe.json +108 -0
  83. package/fixtures/python_v050_cli/phase_lab_threshold_status.json +164 -0
  84. package/fixtures/python_v050_cli/sqot_diagnose_queue.json +38 -0
  85. package/fixtures/python_v050_cli/sqot_quarantine.json +7 -0
  86. package/fixtures/python_v050_cli/sqot_rebalance.json +19 -0
  87. package/fixtures/python_v050_cli/sqot_reserve_check.json +20 -0
  88. package/fixtures/python_v050_cli/sqot_salience_obstruction.json +19 -0
  89. package/fixtures/python_v050_cli/trc_action_boundary.json +451 -0
  90. package/fixtures/python_v050_cli/trc_tool_trace.json +221 -0
  91. package/fixtures/python_v050_cli/trc_trace_adapter.json +221 -0
  92. package/fixtures/python_v050_demo/asi_proxy_development.json +15 -0
  93. package/fixtures/python_v050_demo/certificate_abstain.example.json +39 -0
  94. package/fixtures/python_v050_demo/closure_report.example.json +39 -0
  95. package/fixtures/python_v050_demo/effective_graph.example.json +112 -0
  96. package/fixtures/python_v050_demo/executable_paths.example.json +20 -0
  97. package/fixtures/python_v050_demo/phase_window_observation.example.json +61 -0
  98. package/fixtures/python_v050_demo/runtime_report_1.json +19 -0
  99. package/fixtures/python_v050_demo/runtime_report_2.json +14 -0
  100. package/fixtures/python_v050_demo/threshold_status.example.json +29 -0
  101. package/fixtures/python_v050_snapshots/manifest.json +39 -0
  102. package/fixtures/python_v050_snapshots/snapshot_list.json +112 -0
  103. package/fixtures/python_v050_snapshots/snapshot_routes.json +926 -0
  104. package/fixtures/python_v050_snapshots/snapshot_show_alt.json +6830 -0
  105. package/fixtures/python_v050_snapshots/snapshot_show_bit.json +594 -0
  106. package/fixtures/python_v050_snapshots/snapshot_show_ecpt.json +2894 -0
  107. package/fixtures/python_v050_snapshots/snapshot_show_sqot.json +2392 -0
  108. package/fixtures/python_v050_snapshots/snapshot_show_trc.json +3037 -0
  109. package/fixtures/python_v050_snapshots/snapshot_verify_alt.json +10 -0
  110. package/fixtures/python_v050_snapshots/snapshot_verify_bit.json +10 -0
  111. package/fixtures/python_v050_snapshots/snapshot_verify_ecpt.json +10 -0
  112. package/fixtures/python_v050_snapshots/snapshot_verify_sqot.json +10 -0
  113. package/fixtures/python_v050_snapshots/snapshot_verify_trc.json +10 -0
  114. package/package.json +45 -3
  115. package/schemas/ASIProxyThresholdSpec.schema.json +72 -0
  116. package/schemas/ASIProxyThresholdStatus.schema.json +512 -0
  117. package/schemas/ActionBoundaryRequirement.schema.json +28 -0
  118. package/schemas/ActivationGainEstimate.schema.json +41 -0
  119. package/schemas/AltEcptLiftReport.schema.json +400 -0
  120. package/schemas/AltLiftBlocker.schema.json +34 -0
  121. package/schemas/AttentionBudgetLedger.schema.json +41 -0
  122. package/schemas/AutocatalyticClosureReport.schema.json +408 -0
  123. package/schemas/AutocatalyticClosureWitness.schema.json +22 -139
  124. package/schemas/BasinReachabilityProxy.schema.json +21 -0
  125. package/schemas/BottleneckClassDiagnosis.schema.json +115 -0
  126. package/schemas/BottleneckInversionCandidate.schema.json +249 -0
  127. package/schemas/BottleneckInversionReport.schema.json +499 -0
  128. package/schemas/CapabilityExpressionPath.schema.json +45 -0
  129. package/schemas/CapitalToPathContribution.schema.json +53 -0
  130. package/schemas/ClosureAbstentionReason.schema.json +25 -0
  131. package/schemas/ClosureCertificateCandidate.schema.json +109 -0
  132. package/schemas/ClosureDefect.schema.json +28 -0
  133. package/schemas/ClosureSupportHyperpath.schema.json +44 -0
  134. package/schemas/CollectivePhaseAbstentionReport.schema.json +591 -0
  135. package/schemas/CollectivePhaseCertificateCandidate.schema.json +688 -0
  136. package/schemas/CrossContextTransferWitness.schema.json +46 -0
  137. package/schemas/DiagnosticReserveReport.schema.json +87 -0
  138. package/schemas/DownstreamSearchCostDelta.schema.json +46 -0
  139. package/schemas/EcologyAutocatalyticClosureWitness.schema.json +187 -0
  140. package/schemas/EffectiveGraphResidualSummary.schema.json +38 -0
  141. package/schemas/EffectivePacketEdge.schema.json +135 -0
  142. package/schemas/EffectivePacketEligibility.schema.json +84 -0
  143. package/schemas/EffectivePacketGraph.schema.json +461 -0
  144. package/schemas/EffectivePacketGraphBuildReport.schema.json +521 -0
  145. package/schemas/EffectivePacketNode.schema.json +199 -0
  146. package/schemas/ExecutableClosureWitness.schema.json +47 -0
  147. package/schemas/ExecutablePathDensityReport.schema.json +314 -0
  148. package/schemas/ExecutionAuthorityStatus.schema.json +28 -0
  149. package/schemas/ExecutionAvailableHyperpath.schema.json +201 -0
  150. package/schemas/ExecutionPathDefect.schema.json +28 -0
  151. package/schemas/ExecutionPathWitness.schema.json +44 -0
  152. package/schemas/FalseLiquidityLoad.schema.json +21 -0
  153. package/schemas/GeneralIntakePolicy.schema.json +1 -1
  154. package/schemas/InversionCertificate.schema.json +56 -0
  155. package/schemas/LiquidityToClosureContribution.schema.json +53 -0
  156. package/schemas/MinimalEnablingCondition.schema.json +48 -0
  157. package/schemas/PacketContributionStatus.schema.json +32 -0
  158. package/schemas/PacketQuarantineDecision.schema.json +50 -0
  159. package/schemas/PhaseCertificateDefect.schema.json +33 -0
  160. package/schemas/PhaseComponentObservation.schema.json +39 -0
  161. package/schemas/PhaseLabEvent.schema.json +123 -0
  162. package/schemas/PhaseLabExportManifest.schema.json +127 -0
  163. package/schemas/PhaseLabIngestReport.schema.json +344 -0
  164. package/schemas/PhaseLabStoreManifest.schema.json +73 -0
  165. package/schemas/PhaseLabWindowIndex.schema.json +78 -0
  166. package/schemas/PhaseThresholdStatus.schema.json +51 -0
  167. package/schemas/PhaseWindow.schema.json +31 -0
  168. package/schemas/PhaseWindowComparison.schema.json +67 -0
  169. package/schemas/PhaseWindowObservation.schema.json +353 -0
  170. package/schemas/PostInversionAuditPlan.schema.json +38 -0
  171. package/schemas/ProductiveClosureWitness.schema.json +49 -0
  172. package/schemas/ProvenanceManifest.schema.json +1 -1
  173. package/schemas/QueueOccupationReport.schema.json +156 -0
  174. package/schemas/QueueRebalancePlan.schema.json +114 -0
  175. package/schemas/ReceiverContextSupport.schema.json +23 -0
  176. package/schemas/ReceiverLiquidityLift.schema.json +58 -0
  177. package/schemas/ReleaseArtifactManifest.schema.json +1 -1
  178. package/schemas/ReversibleSalienceSovereigntyCertificate.schema.json +53 -0
  179. package/schemas/RollbackOrDeactivationPlan.schema.json +38 -0
  180. package/schemas/SBOMManifest.schema.json +1 -1
  181. package/schemas/SalienceObstructionDiagnosis.schema.json +55 -0
  182. package/schemas/SalienceObstructionLoad.schema.json +21 -0
  183. package/schemas/SemanticEdgeEvidence.schema.json +40 -0
  184. package/schemas/TraceAdapterReport.schema.json +405 -0
  185. package/schemas/TraceFrontierDebt.schema.json +43 -0
  186. package/schemas/TraceNormalForm.schema.json +181 -0
  187. package/schemas/TraceToleranceLedger.schema.json +29 -0
  188. package/schemas/TypedActionBoundary.schema.json +58 -0
  189. package/schemas/TypedAgentTrace.schema.json +328 -0
  190. package/schemas/TypedToolCallTrace.schema.json +76 -0
  191. package/schemas/VerificationQueuePressure.schema.json +41 -0
  192. package/schemas/VerificationThroughputWindow.schema.json +21 -0
  193. package/schemas/WasteLoad.schema.json +21 -0
  194. package/schemas/WebFetchPolicy.schema.json +1 -1
  195. package/schemas/bundle.schema.json +11854 -2075
  196. package/schemas/index.json +445 -0
  197. package/schemas/schema-digest.json +733 -289
@@ -0,0 +1,46 @@
1
+ {
2
+ "description": "Witness that ALT capital transfers across declared receiver contexts.",
3
+ "properties": {
4
+ "evidence_refs": {
5
+ "items": {
6
+ "type": "string"
7
+ },
8
+ "title": "Evidence Refs",
9
+ "type": "array"
10
+ },
11
+ "residuals_preserved": {
12
+ "default": true,
13
+ "title": "Residuals Preserved",
14
+ "type": "boolean"
15
+ },
16
+ "settled": {
17
+ "default": false,
18
+ "title": "Settled",
19
+ "type": "boolean"
20
+ },
21
+ "source_context": {
22
+ "default": "",
23
+ "title": "Source Context",
24
+ "type": "string"
25
+ },
26
+ "target_context": {
27
+ "default": "",
28
+ "title": "Target Context",
29
+ "type": "string"
30
+ },
31
+ "transfer_supported": {
32
+ "default": false,
33
+ "title": "Transfer Supported",
34
+ "type": "boolean"
35
+ },
36
+ "witness_id": {
37
+ "title": "Witness Id",
38
+ "type": "string"
39
+ }
40
+ },
41
+ "required": [
42
+ "witness_id"
43
+ ],
44
+ "title": "CrossContextTransferWitness",
45
+ "type": "object"
46
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "$defs": {
3
+ "AttentionBudgetLedger": {
4
+ "properties": {
5
+ "attention_budget": {
6
+ "default": 1.0,
7
+ "title": "Attention Budget",
8
+ "type": "number"
9
+ },
10
+ "diagnostic_reserve_available": {
11
+ "default": 0.0,
12
+ "title": "Diagnostic Reserve Available",
13
+ "type": "number"
14
+ },
15
+ "diagnostic_reserve_required": {
16
+ "default": 0.1,
17
+ "title": "Diagnostic Reserve Required",
18
+ "type": "number"
19
+ },
20
+ "ledger_id": {
21
+ "default": "sqot-attention-budget",
22
+ "title": "Ledger Id",
23
+ "type": "string"
24
+ },
25
+ "occupied": {
26
+ "default": 0.0,
27
+ "title": "Occupied",
28
+ "type": "number"
29
+ },
30
+ "reserve_preserved": {
31
+ "default": false,
32
+ "title": "Reserve Preserved",
33
+ "type": "boolean"
34
+ },
35
+ "settled": {
36
+ "default": false,
37
+ "title": "Settled",
38
+ "type": "boolean"
39
+ }
40
+ },
41
+ "title": "AttentionBudgetLedger",
42
+ "type": "object"
43
+ }
44
+ },
45
+ "properties": {
46
+ "accepted": {
47
+ "default": false,
48
+ "title": "Accepted",
49
+ "type": "boolean"
50
+ },
51
+ "attention_budget_ledger": {
52
+ "$ref": "#/$defs/AttentionBudgetLedger"
53
+ },
54
+ "graph_id": {
55
+ "default": "",
56
+ "title": "Graph Id",
57
+ "type": "string"
58
+ },
59
+ "reasons": {
60
+ "items": {
61
+ "type": "string"
62
+ },
63
+ "title": "Reasons",
64
+ "type": "array"
65
+ },
66
+ "report_id": {
67
+ "default": "sqot-diagnostic-reserve",
68
+ "title": "Report Id",
69
+ "type": "string"
70
+ },
71
+ "reserve_deficit": {
72
+ "default": 0.0,
73
+ "title": "Reserve Deficit",
74
+ "type": "number"
75
+ },
76
+ "settled": {
77
+ "default": false,
78
+ "title": "Settled",
79
+ "type": "boolean"
80
+ }
81
+ },
82
+ "required": [
83
+ "attention_budget_ledger"
84
+ ],
85
+ "title": "DiagnosticReserveReport",
86
+ "type": "object"
87
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "description": "Finite downstream search-cost delta claimed by an ALT token.",
3
+ "properties": {
4
+ "accepted": {
5
+ "default": false,
6
+ "title": "Accepted",
7
+ "type": "boolean"
8
+ },
9
+ "baseline_cost": {
10
+ "default": 0.0,
11
+ "title": "Baseline Cost",
12
+ "type": "number"
13
+ },
14
+ "candidate_cost": {
15
+ "default": 0.0,
16
+ "title": "Candidate Cost",
17
+ "type": "number"
18
+ },
19
+ "delta_id": {
20
+ "title": "Delta Id",
21
+ "type": "string"
22
+ },
23
+ "evidence_refs": {
24
+ "items": {
25
+ "type": "string"
26
+ },
27
+ "title": "Evidence Refs",
28
+ "type": "array"
29
+ },
30
+ "lower_bound_reduction": {
31
+ "default": 0.0,
32
+ "title": "Lower Bound Reduction",
33
+ "type": "number"
34
+ },
35
+ "settled": {
36
+ "default": false,
37
+ "title": "Settled",
38
+ "type": "boolean"
39
+ }
40
+ },
41
+ "required": [
42
+ "delta_id"
43
+ ],
44
+ "title": "DownstreamSearchCostDelta",
45
+ "type": "object"
46
+ }
@@ -0,0 +1,187 @@
1
+ {
2
+ "$defs": {
3
+ "CoordinateKind": {
4
+ "enum": [
5
+ "benefit",
6
+ "burden",
7
+ "residual",
8
+ "tolerance",
9
+ "resource",
10
+ "metadata"
11
+ ],
12
+ "title": "CoordinateKind",
13
+ "type": "string"
14
+ },
15
+ "EvidenceStatus": {
16
+ "enum": [
17
+ "verified",
18
+ "declared",
19
+ "unknown"
20
+ ],
21
+ "title": "EvidenceStatus",
22
+ "type": "string"
23
+ },
24
+ "Ledger": {
25
+ "description": "A finite typed ledger with explicit coordinate kinds.",
26
+ "properties": {
27
+ "coordinates": {
28
+ "additionalProperties": {
29
+ "$ref": "#/$defs/LedgerCoordinate"
30
+ },
31
+ "title": "Coordinates",
32
+ "type": "object"
33
+ }
34
+ },
35
+ "title": "Ledger",
36
+ "type": "object"
37
+ },
38
+ "LedgerCoordinate": {
39
+ "description": "One typed coordinate in a finite certificate ledger.",
40
+ "properties": {
41
+ "description": {
42
+ "anyOf": [
43
+ {
44
+ "type": "string"
45
+ },
46
+ {
47
+ "type": "null"
48
+ }
49
+ ],
50
+ "default": null,
51
+ "title": "Description"
52
+ },
53
+ "evidence_refs": {
54
+ "items": {
55
+ "type": "string"
56
+ },
57
+ "title": "Evidence Refs",
58
+ "type": "array"
59
+ },
60
+ "evidence_status": {
61
+ "$ref": "#/$defs/EvidenceStatus",
62
+ "default": "declared"
63
+ },
64
+ "kind": {
65
+ "$ref": "#/$defs/CoordinateKind",
66
+ "default": "burden"
67
+ },
68
+ "known": {
69
+ "default": true,
70
+ "title": "Known",
71
+ "type": "boolean"
72
+ },
73
+ "name": {
74
+ "title": "Name",
75
+ "type": "string"
76
+ },
77
+ "unit": {
78
+ "default": "dimensionless",
79
+ "title": "Unit",
80
+ "type": "string"
81
+ },
82
+ "value": {
83
+ "title": "Value",
84
+ "type": "number"
85
+ }
86
+ },
87
+ "required": [
88
+ "name",
89
+ "value"
90
+ ],
91
+ "title": "LedgerCoordinate",
92
+ "type": "object"
93
+ }
94
+ },
95
+ "description": "Accepted finite closure witness for ECPT collective packet regeneration.",
96
+ "properties": {
97
+ "accepted": {
98
+ "default": false,
99
+ "title": "Accepted",
100
+ "type": "boolean"
101
+ },
102
+ "closure_packet_ids": {
103
+ "items": {
104
+ "type": "string"
105
+ },
106
+ "title": "Closure Packet Ids",
107
+ "type": "array"
108
+ },
109
+ "closure_strength": {
110
+ "default": 0.0,
111
+ "title": "Closure Strength",
112
+ "type": "number"
113
+ },
114
+ "external_seed_packet_ids": {
115
+ "items": {
116
+ "type": "string"
117
+ },
118
+ "title": "External Seed Packet Ids",
119
+ "type": "array"
120
+ },
121
+ "false_liquidity_rate": {
122
+ "default": 0.0,
123
+ "title": "False Liquidity Rate",
124
+ "type": "number"
125
+ },
126
+ "finite_checks_passed": {
127
+ "default": false,
128
+ "title": "Finite Checks Passed",
129
+ "type": "boolean"
130
+ },
131
+ "internal_edge_ids": {
132
+ "items": {
133
+ "type": "string"
134
+ },
135
+ "title": "Internal Edge Ids",
136
+ "type": "array"
137
+ },
138
+ "operationally_usable": {
139
+ "default": false,
140
+ "title": "Operationally Usable",
141
+ "type": "boolean"
142
+ },
143
+ "productive_packet_ids": {
144
+ "items": {
145
+ "type": "string"
146
+ },
147
+ "title": "Productive Packet Ids",
148
+ "type": "array"
149
+ },
150
+ "productivity_lower_bound": {
151
+ "default": 0.0,
152
+ "title": "Productivity Lower Bound",
153
+ "type": "number"
154
+ },
155
+ "reasons": {
156
+ "items": {
157
+ "type": "string"
158
+ },
159
+ "title": "Reasons",
160
+ "type": "array"
161
+ },
162
+ "regeneration_edge_ids": {
163
+ "items": {
164
+ "type": "string"
165
+ },
166
+ "title": "Regeneration Edge Ids",
167
+ "type": "array"
168
+ },
169
+ "residual_ledger": {
170
+ "$ref": "#/$defs/Ledger"
171
+ },
172
+ "settled": {
173
+ "default": false,
174
+ "title": "Settled",
175
+ "type": "boolean"
176
+ },
177
+ "witness_id": {
178
+ "title": "Witness Id",
179
+ "type": "string"
180
+ }
181
+ },
182
+ "required": [
183
+ "witness_id"
184
+ ],
185
+ "title": "AutocatalyticClosureWitness",
186
+ "type": "object"
187
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "description": "Residual summary carried by an effective graph.",
3
+ "properties": {
4
+ "candidate_only_reasons": {
5
+ "items": {
6
+ "type": "string"
7
+ },
8
+ "title": "Candidate Only Reasons",
9
+ "type": "array"
10
+ },
11
+ "missing_obligation_count": {
12
+ "default": 0,
13
+ "title": "Missing Obligation Count",
14
+ "type": "integer"
15
+ },
16
+ "residual_debt": {
17
+ "default": 0.0,
18
+ "title": "Residual Debt",
19
+ "type": "number"
20
+ },
21
+ "residual_summary": {
22
+ "additionalProperties": {
23
+ "type": "number"
24
+ },
25
+ "title": "Residual Summary",
26
+ "type": "object"
27
+ },
28
+ "settled_blockers": {
29
+ "items": {
30
+ "type": "string"
31
+ },
32
+ "title": "Settled Blockers",
33
+ "type": "array"
34
+ }
35
+ },
36
+ "title": "EffectiveGraphResidualSummary",
37
+ "type": "object"
38
+ }
@@ -0,0 +1,135 @@
1
+ {
2
+ "$defs": {
3
+ "PacketContributionStatus": {
4
+ "description": "Portable contribution status for one graph object.",
5
+ "properties": {
6
+ "candidate_only": {
7
+ "default": true,
8
+ "title": "Candidate Only",
9
+ "type": "boolean"
10
+ },
11
+ "non_contributing_reason": {
12
+ "default": "candidate-only data does not improve phase metrics",
13
+ "title": "Non Contributing Reason",
14
+ "type": "string"
15
+ },
16
+ "positive_contribution": {
17
+ "default": false,
18
+ "title": "Positive Contribution",
19
+ "type": "boolean"
20
+ },
21
+ "settled": {
22
+ "default": false,
23
+ "title": "Settled",
24
+ "type": "boolean"
25
+ },
26
+ "status": {
27
+ "default": "diagnostic",
28
+ "title": "Status",
29
+ "type": "string"
30
+ }
31
+ },
32
+ "title": "PacketContributionStatus",
33
+ "type": "object"
34
+ },
35
+ "SemanticEdgeEvidence": {
36
+ "description": "Evidence summary for one effective graph edge.",
37
+ "properties": {
38
+ "edge_certificate_refs": {
39
+ "items": {
40
+ "type": "string"
41
+ },
42
+ "title": "Edge Certificate Refs",
43
+ "type": "array"
44
+ },
45
+ "evidence_refs": {
46
+ "items": {
47
+ "type": "string"
48
+ },
49
+ "title": "Evidence Refs",
50
+ "type": "array"
51
+ },
52
+ "evidence_supported": {
53
+ "default": false,
54
+ "title": "Evidence Supported",
55
+ "type": "boolean"
56
+ },
57
+ "missing_evidence": {
58
+ "items": {
59
+ "type": "string"
60
+ },
61
+ "title": "Missing Evidence",
62
+ "type": "array"
63
+ },
64
+ "verifier_resolution_refs": {
65
+ "items": {
66
+ "type": "string"
67
+ },
68
+ "title": "Verifier Resolution Refs",
69
+ "type": "array"
70
+ }
71
+ },
72
+ "title": "SemanticEdgeEvidence",
73
+ "type": "object"
74
+ }
75
+ },
76
+ "description": "One edge in the effective packet graph.",
77
+ "properties": {
78
+ "accepted": {
79
+ "default": false,
80
+ "title": "Accepted",
81
+ "type": "boolean"
82
+ },
83
+ "contribution": {
84
+ "$ref": "#/$defs/PacketContributionStatus"
85
+ },
86
+ "edge_id": {
87
+ "title": "Edge Id",
88
+ "type": "string"
89
+ },
90
+ "evidence": {
91
+ "$ref": "#/$defs/SemanticEdgeEvidence"
92
+ },
93
+ "reasons": {
94
+ "items": {
95
+ "type": "string"
96
+ },
97
+ "title": "Reasons",
98
+ "type": "array"
99
+ },
100
+ "relation_type": {
101
+ "default": "semantic-dependency",
102
+ "title": "Relation Type",
103
+ "type": "string"
104
+ },
105
+ "residual_summary": {
106
+ "additionalProperties": {
107
+ "type": "number"
108
+ },
109
+ "title": "Residual Summary",
110
+ "type": "object"
111
+ },
112
+ "settled": {
113
+ "default": false,
114
+ "title": "Settled",
115
+ "type": "boolean"
116
+ },
117
+ "source_node_ids": {
118
+ "items": {
119
+ "type": "string"
120
+ },
121
+ "title": "Source Node Ids",
122
+ "type": "array"
123
+ },
124
+ "target_node_id": {
125
+ "title": "Target Node Id",
126
+ "type": "string"
127
+ }
128
+ },
129
+ "required": [
130
+ "edge_id",
131
+ "target_node_id"
132
+ ],
133
+ "title": "EffectivePacketEdge",
134
+ "type": "object"
135
+ }
@@ -0,0 +1,84 @@
1
+ {
2
+ "description": "Eligibility checks for positive phase contribution.",
3
+ "properties": {
4
+ "accepted_or_certificate_admissible": {
5
+ "default": false,
6
+ "title": "Accepted Or Certificate Admissible",
7
+ "type": "boolean"
8
+ },
9
+ "agent_text_not_treated_as_evidence": {
10
+ "default": false,
11
+ "title": "Agent Text Not Treated As Evidence",
12
+ "type": "boolean"
13
+ },
14
+ "authority_valid": {
15
+ "default": false,
16
+ "title": "Authority Valid",
17
+ "type": "boolean"
18
+ },
19
+ "blockers": {
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "title": "Blockers",
24
+ "type": "array"
25
+ },
26
+ "eligible": {
27
+ "default": false,
28
+ "title": "Eligible",
29
+ "type": "boolean"
30
+ },
31
+ "hash_valid": {
32
+ "default": false,
33
+ "title": "Hash Valid",
34
+ "type": "boolean"
35
+ },
36
+ "not_raw_external_volume": {
37
+ "default": false,
38
+ "title": "Not Raw External Volume",
39
+ "type": "boolean"
40
+ },
41
+ "not_registry_metadata_only": {
42
+ "default": false,
43
+ "title": "Not Registry Metadata Only",
44
+ "type": "boolean"
45
+ },
46
+ "not_salience_blocked": {
47
+ "default": false,
48
+ "title": "Not Salience Blocked",
49
+ "type": "boolean"
50
+ },
51
+ "not_stale": {
52
+ "default": false,
53
+ "title": "Not Stale",
54
+ "type": "boolean"
55
+ },
56
+ "not_verification_blocked": {
57
+ "default": false,
58
+ "title": "Not Verification Blocked",
59
+ "type": "boolean"
60
+ },
61
+ "residuals_preserved": {
62
+ "default": false,
63
+ "title": "Residuals Preserved",
64
+ "type": "boolean"
65
+ },
66
+ "retrievable": {
67
+ "default": false,
68
+ "title": "Retrievable",
69
+ "type": "boolean"
70
+ },
71
+ "rollback_available_or_not_required": {
72
+ "default": false,
73
+ "title": "Rollback Available Or Not Required",
74
+ "type": "boolean"
75
+ },
76
+ "within_validity_domain": {
77
+ "default": false,
78
+ "title": "Within Validity Domain",
79
+ "type": "boolean"
80
+ }
81
+ },
82
+ "title": "EffectivePacketEligibility",
83
+ "type": "object"
84
+ }