percolation-inversion-compiler-ts 0.4.4

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 (366) hide show
  1. package/LICENSE +152 -0
  2. package/NOTICE +21 -0
  3. package/README.md +255 -0
  4. package/dist/agent/messages.d.ts +23 -0
  5. package/dist/agent/messages.js +457 -0
  6. package/dist/cli/main.d.ts +1 -0
  7. package/dist/cli/main.js +2646 -0
  8. package/dist/index.d.ts +91 -0
  9. package/dist/index.js +983 -0
  10. package/dist/io/schema.d.ts +16 -0
  11. package/dist/io/schema.js +153 -0
  12. package/dist/packet/index.d.ts +10 -0
  13. package/dist/packet/index.js +385 -0
  14. package/fixtures/portability_conformance/README.md +17 -0
  15. package/fixtures/portability_conformance/agent_check_report.json +1251 -0
  16. package/fixtures/portability_conformance/agent_intake_report.json +1169 -0
  17. package/fixtures/portability_conformance/agent_message_delivery_report.json +124 -0
  18. package/fixtures/portability_conformance/agent_relay_readiness_report.json +40 -0
  19. package/fixtures/portability_conformance/alt_admission_decision.json +16 -0
  20. package/fixtures/portability_conformance/bottleneck_witness_report.json +23 -0
  21. package/fixtures/portability_conformance/collective_phase_certificate.json +330 -0
  22. package/fixtures/portability_conformance/frontier_debt_report.json +24 -0
  23. package/fixtures/portability_conformance/manifest.json +113 -0
  24. package/fixtures/portability_conformance/negative/checksum_mismatch.json +4 -0
  25. package/fixtures/portability_conformance/negative/schema_invalid_agent_check.json +3 -0
  26. package/fixtures/portability_conformance/negative/unknown_schema.json +3 -0
  27. package/fixtures/portability_conformance/phase_acceleration_benchmark_report.json +21 -0
  28. package/fixtures/portability_conformance/phase_acceleration_plan.json +72 -0
  29. package/fixtures/portability_conformance/phase_control_audit_summary.json +16 -0
  30. package/fixtures/portability_conformance/relay_inbox.json +37 -0
  31. package/fixtures/portability_conformance/runtime_step_report.json +1384 -0
  32. package/fixtures/portability_conformance/salience_schedule_report.json +100 -0
  33. package/fixtures/portability_conformance/theory_fidelity_report.json +53 -0
  34. package/fixtures/portability_conformance/value_bridge_report.json +17 -0
  35. package/fixtures/python_v044_cli/adoption_packet.json +131 -0
  36. package/fixtures/python_v044_cli/adoption_request.json +60 -0
  37. package/fixtures/python_v044_cli/agent_autonomy_audit.json +254 -0
  38. package/fixtures/python_v044_cli/agent_check_compact.json +80 -0
  39. package/fixtures/python_v044_cli/agent_check_full.json +1265 -0
  40. package/fixtures/python_v044_cli/agent_communication_guide.json +426 -0
  41. package/fixtures/python_v044_cli/agent_intake.json +1175 -0
  42. package/fixtures/python_v044_cli/agent_manifest.json +373 -0
  43. package/fixtures/python_v044_cli/agent_runbook.json +115 -0
  44. package/fixtures/python_v044_cli/demo_installed_smoke.json +1367 -0
  45. package/fixtures/python_v044_cli/doctor_development.json +264 -0
  46. package/fixtures/python_v044_cli/identity_explain_profile_production.json +39 -0
  47. package/fixtures/python_v044_cli/phase_benchmark.json +42 -0
  48. package/fixtures/python_v044_cli/phase_benchmark_suite.json +428 -0
  49. package/fixtures/python_v044_cli/phase_dashboard.json +173 -0
  50. package/fixtures/python_v044_cli/phase_gap.json +119 -0
  51. package/fixtures/python_v044_cli/phase_observe.json +203 -0
  52. package/fixtures/python_v044_cli/phase_plan_compact.json +384 -0
  53. package/fixtures/python_v044_cli/phase_plan_full.json +2020 -0
  54. package/fixtures/python_v044_cli/phase_runbook.json +66 -0
  55. package/fixtures/python_v044_cli/routes_bindings.json +716 -0
  56. package/fixtures/python_v044_cli/routes_explain_replay_trc_physical_trace.json +57 -0
  57. package/fixtures/python_v044_cli/runtime_step_demo.json +1384 -0
  58. package/fixtures/python_v044_cli/snapshot_list.json +112 -0
  59. package/fixtures/python_v044_cli/snapshot_routes.json +926 -0
  60. package/fixtures/python_v044_cli/snapshot_show_alt.json +6830 -0
  61. package/fixtures/python_v044_cli/snapshot_show_bit.json +594 -0
  62. package/fixtures/python_v044_cli/snapshot_show_ecpt.json +2894 -0
  63. package/fixtures/python_v044_cli/snapshot_show_sqot.json +2392 -0
  64. package/fixtures/python_v044_cli/snapshot_show_trc.json +3037 -0
  65. package/fixtures/python_v044_cli/snapshot_verify_alt.json +10 -0
  66. package/fixtures/python_v044_cli/snapshot_verify_bit.json +10 -0
  67. package/fixtures/python_v044_cli/snapshot_verify_ecpt.json +10 -0
  68. package/fixtures/python_v044_cli/snapshot_verify_sqot.json +10 -0
  69. package/fixtures/python_v044_cli/snapshot_verify_trc.json +10 -0
  70. package/fixtures/python_v044_demo/agent_inbox.json +26 -0
  71. package/fixtures/python_v044_demo/agent_message.json +19 -0
  72. package/fixtures/python_v044_demo/agent_output.txt +1 -0
  73. package/fixtures/python_v044_demo/alt_admission_packet.json +208 -0
  74. package/fixtures/python_v044_demo/asi_proxy_phase_request.json +47 -0
  75. package/fixtures/python_v044_demo/general_intake_policy.json +58 -0
  76. package/fixtures/python_v044_demo/manifest.json +78 -0
  77. package/fixtures/python_v044_demo/packet_envelope.json +1463 -0
  78. package/fixtures/python_v044_demo/phase_dashboard.json +175 -0
  79. package/fixtures/python_v044_demo/runtime_state.json +143 -0
  80. package/fixtures/python_v044_demo/runtime_step_input.json +8 -0
  81. package/fixtures/python_v044_demo/runtime_step_report.json +1384 -0
  82. package/fixtures/python_v044_snapshots/alt.json +6830 -0
  83. package/fixtures/python_v044_snapshots/bit.json +543 -0
  84. package/fixtures/python_v044_snapshots/ecpt.json +2741 -0
  85. package/fixtures/python_v044_snapshots/sqot.json +2134 -0
  86. package/fixtures/python_v044_snapshots/trc.json +2880 -0
  87. package/package.json +129 -0
  88. package/schemas/ALTAccelerationCertificate.schema.json +169 -0
  89. package/schemas/ALTAdmissionDecision.schema.json +199 -0
  90. package/schemas/ALTCARACertificate.schema.json +285 -0
  91. package/schemas/ALTDeprecationRecord.schema.json +171 -0
  92. package/schemas/ALTKernelTransitionReport.schema.json +185 -0
  93. package/schemas/ALTResurrectionRecord.schema.json +171 -0
  94. package/schemas/ASIProxyTargetContract.schema.json +52 -0
  95. package/schemas/AbstractionToken.schema.json +281 -0
  96. package/schemas/AccelerationCertificate.schema.json +225 -0
  97. package/schemas/AccelerationExperimentSuite.schema.json +3731 -0
  98. package/schemas/AcceptedPacketPath.schema.json +148 -0
  99. package/schemas/ActionCommit.schema.json +67 -0
  100. package/schemas/ActionGrammar.schema.json +36 -0
  101. package/schemas/ActionabilityVector.schema.json +33 -0
  102. package/schemas/ActivationThresholdCertificate.schema.json +185 -0
  103. package/schemas/AdapterRouteSpec.schema.json +110 -0
  104. package/schemas/AdoptionFirstRunCommand.schema.json +44 -0
  105. package/schemas/AdoptionReviewChecklist.schema.json +36 -0
  106. package/schemas/AdoptionSafetyBoundary.schema.json +104 -0
  107. package/schemas/AgentAutonomyAuditReport.schema.json +213 -0
  108. package/schemas/AgentCheckReport.schema.json +3494 -0
  109. package/schemas/AgentCommandInvocation.schema.json +63 -0
  110. package/schemas/AgentCommunicationGuide.schema.json +213 -0
  111. package/schemas/AgentCommunicationPolicy.schema.json +73 -0
  112. package/schemas/AgentCommunicationStep.schema.json +85 -0
  113. package/schemas/AgentConnectorSpec.schema.json +89 -0
  114. package/schemas/AgentFeatureReadinessReport.schema.json +206 -0
  115. package/schemas/AgentIdentityAttestation.schema.json +99 -0
  116. package/schemas/AgentIdentityCheckReport.schema.json +225 -0
  117. package/schemas/AgentInboxRecord.schema.json +319 -0
  118. package/schemas/AgentIntakeReport.schema.json +3373 -0
  119. package/schemas/AgentIntakeRequest.schema.json +2250 -0
  120. package/schemas/AgentMessageContractReport.schema.json +195 -0
  121. package/schemas/AgentMessageDeliveryReport.schema.json +630 -0
  122. package/schemas/AgentMessageEnvelope.schema.json +201 -0
  123. package/schemas/AgentMessageNonceLedger.schema.json +45 -0
  124. package/schemas/AgentMessageVerificationContext.schema.json +60 -0
  125. package/schemas/AgentNetworkReadinessReport.schema.json +109 -0
  126. package/schemas/AgentNextActionReport.schema.json +83 -0
  127. package/schemas/AgentPacketExchangeReport.schema.json +519 -0
  128. package/schemas/AgentPeerRecord.schema.json +85 -0
  129. package/schemas/AgentPolicyIdentity.schema.json +79 -0
  130. package/schemas/AgentPopulationState.schema.json +2523 -0
  131. package/schemas/AgentRelayReadinessReport.schema.json +125 -0
  132. package/schemas/AgentRunbookReport.schema.json +100 -0
  133. package/schemas/AgentRuntimeConfig.schema.json +78 -0
  134. package/schemas/AgentTask.schema.json +101 -0
  135. package/schemas/AgentToOperatorRequest.schema.json +222 -0
  136. package/schemas/AgentWorkflowGuide.schema.json +128 -0
  137. package/schemas/AgentWorkflowStep.schema.json +59 -0
  138. package/schemas/AlgebraLawCertificate.schema.json +101 -0
  139. package/schemas/AttestationRecord.schema.json +63 -0
  140. package/schemas/AutocatalyticClosureWitness.schema.json +187 -0
  141. package/schemas/BaselineRefreshCertificate.schema.json +178 -0
  142. package/schemas/BasinReachabilityReport.schema.json +244 -0
  143. package/schemas/BottleneckCandidate.schema.json +105 -0
  144. package/schemas/BottleneckIntervention.schema.json +157 -0
  145. package/schemas/BottleneckInversionPlan.schema.json +212 -0
  146. package/schemas/BottleneckWitnessReport.schema.json +128 -0
  147. package/schemas/BoundaryGeneratorRecord.schema.json +57 -0
  148. package/schemas/BoundaryScriptRecord.schema.json +30 -0
  149. package/schemas/BudgetedToleranceScheduler.schema.json +59 -0
  150. package/schemas/CalibrationCertificate.schema.json +252 -0
  151. package/schemas/CanonicalImplementationReadinessReport.schema.json +298 -0
  152. package/schemas/CanonicalManifest.schema.json +80 -0
  153. package/schemas/CanonicalManifestRecord.schema.json +54 -0
  154. package/schemas/CanonicalTheorySnapshotSummary.schema.json +102 -0
  155. package/schemas/CapabilityBasinContract.schema.json +59 -0
  156. package/schemas/CapabilityPacketCandidate.schema.json +247 -0
  157. package/schemas/CapabilityPacketRegistry.schema.json +442 -0
  158. package/schemas/CapabilityStateVector.schema.json +169 -0
  159. package/schemas/CascadeResidualPotential.schema.json +32 -0
  160. package/schemas/CertificateCompilerRecord.schema.json +81 -0
  161. package/schemas/CertificateFamily.schema.json +376 -0
  162. package/schemas/CertificateRoute.schema.json +128 -0
  163. package/schemas/CertifiedAbstractionCapital.schema.json +161 -0
  164. package/schemas/CheckResult.schema.json +369 -0
  165. package/schemas/CheckerContext.schema.json +255 -0
  166. package/schemas/ClosedLoopAgentIteration.schema.json +1045 -0
  167. package/schemas/CollectivePhaseCertificate.schema.json +1377 -0
  168. package/schemas/CommercialReadinessSummary.schema.json +134 -0
  169. package/schemas/ConfidenceLedger.schema.json +26 -0
  170. package/schemas/ContentAddressedEvidenceRef.schema.json +48 -0
  171. package/schemas/ControlledTransition.schema.json +90 -0
  172. package/schemas/CryptographicAgentIdentity.schema.json +192 -0
  173. package/schemas/DKWCertificate.schema.json +31 -0
  174. package/schemas/DiagnosticReservePolicy.schema.json +22 -0
  175. package/schemas/DischargeRouteBinding.schema.json +93 -0
  176. package/schemas/DomainTypedSemiring.schema.json +55 -0
  177. package/schemas/DominanceWitness.schema.json +31 -0
  178. package/schemas/EProcessCertificate.schema.json +22 -0
  179. package/schemas/EdgeRelationVerificationReport.schema.json +161 -0
  180. package/schemas/EdgeRelationVerifierSpec.schema.json +62 -0
  181. package/schemas/EdgeWitness.schema.json +73 -0
  182. package/schemas/EdgeWitnessCertificate.schema.json +192 -0
  183. package/schemas/EvidenceArtifact.schema.json +112 -0
  184. package/schemas/EvidenceEnvelopeStoreRecord.schema.json +100 -0
  185. package/schemas/EvidencePolicy.schema.json +57 -0
  186. package/schemas/EvidenceResolutionBatch.schema.json +347 -0
  187. package/schemas/EvidenceVerificationProfile.schema.json +74 -0
  188. package/schemas/ExecutableALTCertificatePacket.schema.json +1512 -0
  189. package/schemas/ExecutableTraceNormalForm.schema.json +659 -0
  190. package/schemas/ExecutionAvailablePathCertificate.schema.json +204 -0
  191. package/schemas/ExternalCandidateClassification.schema.json +10 -0
  192. package/schemas/ExternalObligationCatalog.schema.json +238 -0
  193. package/schemas/ExternalVerifierHook.schema.json +174 -0
  194. package/schemas/FiniteOrder.schema.json +34 -0
  195. package/schemas/FinitePhaseControlCertificate.schema.json +100 -0
  196. package/schemas/FiniteTraceLaw.schema.json +30 -0
  197. package/schemas/FixedPopulationLedger.schema.json +255 -0
  198. package/schemas/FormationCostLedger.schema.json +91 -0
  199. package/schemas/FoundryControlDashboard.schema.json +198 -0
  200. package/schemas/FoundryState.schema.json +1819 -0
  201. package/schemas/FrontierDebtReport.schema.json +115 -0
  202. package/schemas/FunctorLawCertificate.schema.json +82 -0
  203. package/schemas/FusedGeometricComparisonCertificate.schema.json +79 -0
  204. package/schemas/FutureFreedomVector.schema.json +84 -0
  205. package/schemas/GeneralIntakePolicy.schema.json +255 -0
  206. package/schemas/GeneralIntakePolicyDecision.schema.json +85 -0
  207. package/schemas/GeneralIntakeProfile.schema.json +11 -0
  208. package/schemas/GeneralIntakeReport.schema.json +861 -0
  209. package/schemas/GeneralIntakeRuntimeBridgeReport.schema.json +761 -0
  210. package/schemas/GeneralIntakeSource.schema.json +57 -0
  211. package/schemas/GoodTuringCertificate.schema.json +27 -0
  212. package/schemas/HazardEnvelopeCertificate.schema.json +192 -0
  213. package/schemas/HiddenCapabilityInjectionReport.schema.json +212 -0
  214. package/schemas/IdentityContributionStatus.schema.json +11 -0
  215. package/schemas/IdentityTrustProfile.schema.json +12 -0
  216. package/schemas/ImplementationMaturity.schema.json +27 -0
  217. package/schemas/IndependenceCertificate.schema.json +42 -0
  218. package/schemas/InnerViabilityKernel.schema.json +45 -0
  219. package/schemas/IntakeProvenanceRecord.schema.json +192 -0
  220. package/schemas/InterventionCandidate.schema.json +266 -0
  221. package/schemas/Judgment.schema.json +351 -0
  222. package/schemas/LatticeWitness.schema.json +63 -0
  223. package/schemas/LedgerCoordinate.schema.json +79 -0
  224. package/schemas/LifecycleCostBounds.schema.json +65 -0
  225. package/schemas/LiquidityCertificate.schema.json +1094 -0
  226. package/schemas/MartingaleBlockResidual.schema.json +32 -0
  227. package/schemas/MartingaleDeficiencyCertificate.schema.json +76 -0
  228. package/schemas/MechanismCubeCertificate.schema.json +92 -0
  229. package/schemas/MissionValidityCertificate.schema.json +153 -0
  230. package/schemas/MonoidRecord.schema.json +30 -0
  231. package/schemas/MonotoneMap.schema.json +61 -0
  232. package/schemas/NegativeLiquidityCertificate.schema.json +176 -0
  233. package/schemas/NonPromotionPolicy.schema.json +39 -0
  234. package/schemas/ObligationRule.schema.json +54 -0
  235. package/schemas/ObligationSet.schema.json +230 -0
  236. package/schemas/ObligationTrace.schema.json +156 -0
  237. package/schemas/ObservationWindow.schema.json +48 -0
  238. package/schemas/ObservedTraceProjection.schema.json +57 -0
  239. package/schemas/OccupationLedger.schema.json +33 -0
  240. package/schemas/OperationalCheck.schema.json +29 -0
  241. package/schemas/OperationalReadinessReport.schema.json +216 -0
  242. package/schemas/OperatorAdoptionPacket.schema.json +303 -0
  243. package/schemas/OpportunityMeasureContract.schema.json +165 -0
  244. package/schemas/OrderedPotentialCone.schema.json +125 -0
  245. package/schemas/PacketCapitalLineage.schema.json +90 -0
  246. package/schemas/PacketExchangeEnvelope.schema.json +213 -0
  247. package/schemas/PacketImportInspectionReport.schema.json +68 -0
  248. package/schemas/PacketIngestionReport.schema.json +655 -0
  249. package/schemas/PacketLineageDigest.schema.json +70 -0
  250. package/schemas/PacketMergeReport.schema.json +286 -0
  251. package/schemas/PacketPromotionPolicy.schema.json +47 -0
  252. package/schemas/PacketPromotionReport.schema.json +354 -0
  253. package/schemas/PacketRejection.schema.json +158 -0
  254. package/schemas/PhaseAccelerationBenchmarkReport.schema.json +103 -0
  255. package/schemas/PhaseAccelerationPlan.schema.json +4449 -0
  256. package/schemas/PhaseAccelerationRequest.schema.json +5333 -0
  257. package/schemas/PhaseAccelerationScore.schema.json +66 -0
  258. package/schemas/PhaseBenchmarkCaseResult.schema.json +164 -0
  259. package/schemas/PhaseBenchmarkSuiteReport.schema.json +234 -0
  260. package/schemas/PhaseBenchmarkTask.schema.json +36 -0
  261. package/schemas/PhaseComponentGap.schema.json +46 -0
  262. package/schemas/PhaseControlAction.schema.json +80 -0
  263. package/schemas/PhaseControlAuditSummary.schema.json +143 -0
  264. package/schemas/PhaseControlEnvelope.schema.json +53 -0
  265. package/schemas/PhaseControlObjective.schema.json +98 -0
  266. package/schemas/PhaseControlPlan.schema.json +377 -0
  267. package/schemas/PhaseControlRunReport.schema.json +425 -0
  268. package/schemas/PhaseControlState.schema.json +383 -0
  269. package/schemas/PhaseDashboardReport.schema.json +249 -0
  270. package/schemas/PhaseGapVector.schema.json +101 -0
  271. package/schemas/PhaseObservationReport.schema.json +321 -0
  272. package/schemas/PhaseTrajectoryReport.schema.json +4522 -0
  273. package/schemas/PopulationRuntimeStepReport.schema.json +5125 -0
  274. package/schemas/PortabilityConformanceReport.schema.json +99 -0
  275. package/schemas/PortabilitySchemaBundle.schema.json +23 -0
  276. package/schemas/ProblemSolvingTrace.schema.json +162 -0
  277. package/schemas/ProcessGrammarRecord.schema.json +56 -0
  278. package/schemas/ProductOrder.schema.json +53 -0
  279. package/schemas/ProductionReadinessProfile.schema.json +37 -0
  280. package/schemas/ProjectionAudit.schema.json +70 -0
  281. package/schemas/ProofObligation.schema.json +200 -0
  282. package/schemas/ProtocolFrameDigest.schema.json +79 -0
  283. package/schemas/ProtocolFunctorCertificate.schema.json +89 -0
  284. package/schemas/ProtocolObject.schema.json +45 -0
  285. package/schemas/ProtocolRelativeBenchmarkMetric.schema.json +39 -0
  286. package/schemas/ProvenanceManifest.schema.json +221 -0
  287. package/schemas/ProvenanceManifestEntry.schema.json +29 -0
  288. package/schemas/PsiDashboard.schema.json +213 -0
  289. package/schemas/PullbackGluingWitness.schema.json +43 -0
  290. package/schemas/QuarantineLedger.schema.json +31 -0
  291. package/schemas/ReachableMassRecursionCertificate.schema.json +129 -0
  292. package/schemas/ReconstructionResidual.schema.json +24 -0
  293. package/schemas/RefreshRule.schema.json +31 -0
  294. package/schemas/Registry.schema.json +231 -0
  295. package/schemas/ReleaseArtifactManifest.schema.json +62 -0
  296. package/schemas/ReproductionMatrixCertificate.schema.json +190 -0
  297. package/schemas/ResidualCarryForwardReport.schema.json +57 -0
  298. package/schemas/ResourceCalendarRecord.schema.json +67 -0
  299. package/schemas/ResourceEnvelope.schema.json +42 -0
  300. package/schemas/ResourceMatchedBaselineConfig.schema.json +81 -0
  301. package/schemas/RiskBudgetLedger.schema.json +19 -0
  302. package/schemas/RobotsDecision.schema.json +44 -0
  303. package/schemas/RootFinalityCertificate.schema.json +190 -0
  304. package/schemas/RouteExecutionBatch.schema.json +930 -0
  305. package/schemas/RouteExecutionRequest.schema.json +87 -0
  306. package/schemas/RuntimeActionResult.schema.json +807 -0
  307. package/schemas/RuntimeComparisonReport.schema.json +3670 -0
  308. package/schemas/RuntimeEvent.schema.json +142 -0
  309. package/schemas/RuntimeEventLog.schema.json +161 -0
  310. package/schemas/RuntimeExecutionReport.schema.json +872 -0
  311. package/schemas/RuntimeExecutorPolicy.schema.json +68 -0
  312. package/schemas/RuntimeHealthReport.schema.json +161 -0
  313. package/schemas/RuntimeIdentityContext.schema.json +480 -0
  314. package/schemas/RuntimeRunReport.schema.json +3487 -0
  315. package/schemas/RuntimeServiceSettings.schema.json +55 -0
  316. package/schemas/RuntimeState.schema.json +1438 -0
  317. package/schemas/RuntimeStepInput.schema.json +685 -0
  318. package/schemas/RuntimeStepReport.schema.json +3314 -0
  319. package/schemas/RuntimeStoreRecord.schema.json +106 -0
  320. package/schemas/RuntimeStoreSnapshot.schema.json +4815 -0
  321. package/schemas/SBOMManifest.schema.json +67 -0
  322. package/schemas/SQOTTheorySnapshot.schema.json +49 -0
  323. package/schemas/SafePhaseAction.schema.json +96 -0
  324. package/schemas/SalienceQueueRecord.schema.json +313 -0
  325. package/schemas/SalienceScheduleReport.schema.json +434 -0
  326. package/schemas/SalienceSchedulingDecision.schema.json +167 -0
  327. package/schemas/SchemaBundleDigest.schema.json +57 -0
  328. package/schemas/ScriptGroundMetricCertificate.schema.json +47 -0
  329. package/schemas/SelectiveCUPCertificate.schema.json +414 -0
  330. package/schemas/SettlementReturnRAFCertificate.schema.json +122 -0
  331. package/schemas/SinkhornCertificate.schema.json +55 -0
  332. package/schemas/SnapshotAttribution.schema.json +63 -0
  333. package/schemas/SnapshotCatalog.schema.json +481 -0
  334. package/schemas/SplitCertificate.schema.json +39 -0
  335. package/schemas/StatusAlgebraRecord.schema.json +37 -0
  336. package/schemas/StoppedEvidenceSheafCertificate.schema.json +120 -0
  337. package/schemas/StrictTexParseReport.schema.json +67 -0
  338. package/schemas/SybilResistanceLedger.schema.json +427 -0
  339. package/schemas/SybilResistancePolicy.schema.json +176 -0
  340. package/schemas/TRCCompileResult.schema.json +239 -0
  341. package/schemas/TRCStateRecord.schema.json +149 -0
  342. package/schemas/TelemetryCostCertificate.schema.json +171 -0
  343. package/schemas/TexGrammarDiagnostic.schema.json +39 -0
  344. package/schemas/TheoryAuditReport.schema.json +654 -0
  345. package/schemas/TheoryAuditSuiteReport.schema.json +775 -0
  346. package/schemas/TheoryFidelityReport.schema.json +100 -0
  347. package/schemas/TheoryImplementationRecord.schema.json +203 -0
  348. package/schemas/TheorySnapshot.schema.json +459 -0
  349. package/schemas/TheorySnapshotItem.schema.json +60 -0
  350. package/schemas/TokenLineage.schema.json +76 -0
  351. package/schemas/ToleranceAllocationCertificate.schema.json +62 -0
  352. package/schemas/TraceNormalizationCertificate.schema.json +77 -0
  353. package/schemas/TraceSufficiencyCertificate.schema.json +166 -0
  354. package/schemas/TransportCertificate.schema.json +178 -0
  355. package/schemas/TypedTraceTransducerRecord.schema.json +64 -0
  356. package/schemas/ValueBridgeReport.schema.json +131 -0
  357. package/schemas/VectorCompatibleFamily.schema.json +354 -0
  358. package/schemas/VerificationThroughputReport.schema.json +62 -0
  359. package/schemas/VerifiedCapabilityPacket.schema.json +251 -0
  360. package/schemas/VerifierEvidenceEnvelope.schema.json +178 -0
  361. package/schemas/VerifierResolution.schema.json +275 -0
  362. package/schemas/WebDiscoveryReport.schema.json +675 -0
  363. package/schemas/WebFetchPolicy.schema.json +145 -0
  364. package/schemas/WebFetchReport.schema.json +133 -0
  365. package/schemas/bundle.schema.json +100808 -0
  366. package/schemas/schema-digest.json +1674 -0
package/package.json ADDED
@@ -0,0 +1,129 @@
1
+ {
2
+ "name": "percolation-inversion-compiler-ts",
3
+ "version": "0.4.4",
4
+ "description": "TypeScript port of percolation-inversion-compiler v0.4.4 public JSON, CLI, schema, conformance, and safety semantics for npm and JS agent runtimes.",
5
+ "type": "module",
6
+ "license": "Apache-2.0",
7
+ "author": "K. Takahashi",
8
+ "homepage": "https://github.com/kadubon/percolation-inversion-compiler",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/kadubon/percolation-inversion-compiler-ts.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/kadubon/percolation-inversion-compiler-ts/issues"
15
+ },
16
+ "keywords": [
17
+ "ai-agents",
18
+ "agent-runtime",
19
+ "workflow-verification",
20
+ "evidence-routing",
21
+ "verifier-routing",
22
+ "residual-ledger",
23
+ "json-schema",
24
+ "runtime-verification",
25
+ "percolation",
26
+ "formal-methods",
27
+ "abstraction-liquidity",
28
+ "ecpt",
29
+ "sqot",
30
+ "alt",
31
+ "typescript"
32
+ ],
33
+ "engines": {
34
+ "node": ">=20"
35
+ },
36
+ "bin": {
37
+ "pic": "dist/cli/main.js",
38
+ "pic-ts": "dist/cli/main.js"
39
+ },
40
+ "exports": {
41
+ ".": {
42
+ "types": "./dist/index.d.ts",
43
+ "import": "./dist/index.js"
44
+ },
45
+ "./schema": {
46
+ "types": "./dist/io/schema.d.ts",
47
+ "import": "./dist/io/schema.js"
48
+ },
49
+ "./agent/messages": {
50
+ "types": "./dist/agent/messages.d.ts",
51
+ "import": "./dist/agent/messages.js"
52
+ },
53
+ "./packet": {
54
+ "types": "./dist/packet/index.d.ts",
55
+ "import": "./dist/packet/index.js"
56
+ }
57
+ },
58
+ "types": "./dist/index.d.ts",
59
+ "typesVersions": {
60
+ "*": {
61
+ "schema": [
62
+ "dist/io/schema.d.ts"
63
+ ],
64
+ "agent/messages": [
65
+ "dist/agent/messages.d.ts"
66
+ ],
67
+ "packet": [
68
+ "dist/packet/index.d.ts"
69
+ ],
70
+ "*": [
71
+ "dist/index.d.ts"
72
+ ]
73
+ }
74
+ },
75
+ "files": [
76
+ "dist/",
77
+ "schemas/",
78
+ "fixtures/portability_conformance/",
79
+ "fixtures/python_v044_cli/",
80
+ "fixtures/python_v044_demo/",
81
+ "fixtures/python_v044_snapshots/",
82
+ "README.md",
83
+ "LICENSE",
84
+ "NOTICE"
85
+ ],
86
+ "scripts": {
87
+ "build": "tsup",
88
+ "typecheck": "tsc --noEmit",
89
+ "lint": "eslint .",
90
+ "format:check": "prettier --check .",
91
+ "test": "npm run build && vitest run",
92
+ "conformance": "npm run build && vitest run test/portability.test.ts test/cli.test.ts",
93
+ "publish:safety": "node scripts/check-publish-safety.mjs",
94
+ "pack:check": "npm run publish:safety",
95
+ "installed:smoke": "node scripts/check-installed-smoke.mjs",
96
+ "publint": "publint",
97
+ "attw": "attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm",
98
+ "prepack": "npm run typecheck && npm run lint && npm run format:check && npm run test && npm run conformance && npm run publish:safety && npm run installed:smoke",
99
+ "prepublishOnly": "npm run typecheck && npm run lint && npm run format:check && npm run test && npm run conformance && npm run pack:check && npm run publint && npm run attw && npm run installed:smoke && npm audit --audit-level=high"
100
+ },
101
+ "dependencies": {
102
+ "ajv": "^8.20.0",
103
+ "commander": "^15.0.0"
104
+ },
105
+ "overrides": {
106
+ "esbuild": "^0.28.1"
107
+ },
108
+ "devDependencies": {
109
+ "@arethetypeswrong/cli": "^0.18.3",
110
+ "@eslint/js": "^10.0.1",
111
+ "@types/node": "^24.10.0",
112
+ "@typescript-eslint/parser": "^8.61.1",
113
+ "eslint": "^10.5.0",
114
+ "json-schema-to-typescript": "^15.0.4",
115
+ "prettier": "^3.8.4",
116
+ "publint": "^0.3.21",
117
+ "tsup": "^8.5.1",
118
+ "typescript": "^6.0.3",
119
+ "vitest": "^4.1.9"
120
+ },
121
+ "publishConfig": {
122
+ "access": "public",
123
+ "provenance": true
124
+ },
125
+ "main": "./dist/index.js",
126
+ "directories": {
127
+ "test": "test"
128
+ }
129
+ }
@@ -0,0 +1,169 @@
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": "Finite comparison certificate for abstraction-liquidity acceleration.",
96
+ "properties": {
97
+ "accepted": {
98
+ "default": false,
99
+ "title": "Accepted",
100
+ "type": "boolean"
101
+ },
102
+ "baseline_foundry_id": {
103
+ "title": "Baseline Foundry Id",
104
+ "type": "string"
105
+ },
106
+ "candidate_foundry_id": {
107
+ "title": "Candidate Foundry Id",
108
+ "type": "string"
109
+ },
110
+ "certificate_id": {
111
+ "title": "Certificate Id",
112
+ "type": "string"
113
+ },
114
+ "certified_surplus_gain_lower_bound": {
115
+ "default": 0.0,
116
+ "title": "Certified Surplus Gain Lower Bound",
117
+ "type": "number"
118
+ },
119
+ "finite_checks_passed": {
120
+ "default": false,
121
+ "title": "Finite Checks Passed",
122
+ "type": "boolean"
123
+ },
124
+ "operationally_usable": {
125
+ "default": false,
126
+ "title": "Operationally Usable",
127
+ "type": "boolean"
128
+ },
129
+ "reasons": {
130
+ "items": {
131
+ "type": "string"
132
+ },
133
+ "title": "Reasons",
134
+ "type": "array"
135
+ },
136
+ "residual_external_obligations": {
137
+ "items": {
138
+ "type": "string"
139
+ },
140
+ "title": "Residual External Obligations",
141
+ "type": "array"
142
+ },
143
+ "residual_ledger": {
144
+ "$ref": "#/$defs/Ledger"
145
+ },
146
+ "resource_matched": {
147
+ "default": false,
148
+ "title": "Resource Matched",
149
+ "type": "boolean"
150
+ },
151
+ "settled": {
152
+ "default": false,
153
+ "title": "Settled",
154
+ "type": "boolean"
155
+ },
156
+ "settlement_latency_reduction_lower_bound": {
157
+ "default": 0.0,
158
+ "title": "Settlement Latency Reduction Lower Bound",
159
+ "type": "number"
160
+ }
161
+ },
162
+ "required": [
163
+ "certificate_id",
164
+ "baseline_foundry_id",
165
+ "candidate_foundry_id"
166
+ ],
167
+ "title": "ALTAccelerationCertificate",
168
+ "type": "object"
169
+ }
@@ -0,0 +1,199 @@
1
+ {
2
+ "$defs": {
3
+ "ALTAdmissionAction": {
4
+ "description": "Lifecycle action for an abstraction token or certificate packet.",
5
+ "enum": [
6
+ "admit",
7
+ "reject",
8
+ "defer",
9
+ "suspend",
10
+ "deprecate",
11
+ "rollback",
12
+ "resurrect_as_candidate"
13
+ ],
14
+ "title": "ALTAdmissionAction",
15
+ "type": "string"
16
+ },
17
+ "ClaimStatus": {
18
+ "description": "Protocol-relative status labels used by ECPT, BIT, TRC, SQOT, and ALT.",
19
+ "enum": [
20
+ "rejected",
21
+ "expired",
22
+ "diagnostic",
23
+ "relaxed",
24
+ "risk-provisional",
25
+ "speculative",
26
+ "provisional",
27
+ "partial",
28
+ "settled"
29
+ ],
30
+ "title": "ClaimStatus",
31
+ "type": "string"
32
+ },
33
+ "CoordinateKind": {
34
+ "enum": [
35
+ "benefit",
36
+ "burden",
37
+ "residual",
38
+ "tolerance",
39
+ "resource",
40
+ "metadata"
41
+ ],
42
+ "title": "CoordinateKind",
43
+ "type": "string"
44
+ },
45
+ "EvidenceStatus": {
46
+ "enum": [
47
+ "verified",
48
+ "declared",
49
+ "unknown"
50
+ ],
51
+ "title": "EvidenceStatus",
52
+ "type": "string"
53
+ },
54
+ "Ledger": {
55
+ "description": "A finite typed ledger with explicit coordinate kinds.",
56
+ "properties": {
57
+ "coordinates": {
58
+ "additionalProperties": {
59
+ "$ref": "#/$defs/LedgerCoordinate"
60
+ },
61
+ "title": "Coordinates",
62
+ "type": "object"
63
+ }
64
+ },
65
+ "title": "Ledger",
66
+ "type": "object"
67
+ },
68
+ "LedgerCoordinate": {
69
+ "description": "One typed coordinate in a finite certificate ledger.",
70
+ "properties": {
71
+ "description": {
72
+ "anyOf": [
73
+ {
74
+ "type": "string"
75
+ },
76
+ {
77
+ "type": "null"
78
+ }
79
+ ],
80
+ "default": null,
81
+ "title": "Description"
82
+ },
83
+ "evidence_refs": {
84
+ "items": {
85
+ "type": "string"
86
+ },
87
+ "title": "Evidence Refs",
88
+ "type": "array"
89
+ },
90
+ "evidence_status": {
91
+ "$ref": "#/$defs/EvidenceStatus",
92
+ "default": "declared"
93
+ },
94
+ "kind": {
95
+ "$ref": "#/$defs/CoordinateKind",
96
+ "default": "burden"
97
+ },
98
+ "known": {
99
+ "default": true,
100
+ "title": "Known",
101
+ "type": "boolean"
102
+ },
103
+ "name": {
104
+ "title": "Name",
105
+ "type": "string"
106
+ },
107
+ "unit": {
108
+ "default": "dimensionless",
109
+ "title": "Unit",
110
+ "type": "string"
111
+ },
112
+ "value": {
113
+ "title": "Value",
114
+ "type": "number"
115
+ }
116
+ },
117
+ "required": [
118
+ "name",
119
+ "value"
120
+ ],
121
+ "title": "LedgerCoordinate",
122
+ "type": "object"
123
+ }
124
+ },
125
+ "description": "Fail-closed admission decision for one ALT certificate packet.",
126
+ "properties": {
127
+ "accepted": {
128
+ "default": false,
129
+ "title": "Accepted",
130
+ "type": "boolean"
131
+ },
132
+ "action": {
133
+ "$ref": "#/$defs/ALTAdmissionAction",
134
+ "default": "defer"
135
+ },
136
+ "certified_capital_ref": {
137
+ "anyOf": [
138
+ {
139
+ "type": "string"
140
+ },
141
+ {
142
+ "type": "null"
143
+ }
144
+ ],
145
+ "default": null,
146
+ "title": "Certified Capital Ref"
147
+ },
148
+ "decision_id": {
149
+ "title": "Decision Id",
150
+ "type": "string"
151
+ },
152
+ "finite_checks_passed": {
153
+ "default": false,
154
+ "title": "Finite Checks Passed",
155
+ "type": "boolean"
156
+ },
157
+ "missing_obligations": {
158
+ "items": {
159
+ "type": "string"
160
+ },
161
+ "title": "Missing Obligations",
162
+ "type": "array"
163
+ },
164
+ "operationally_usable": {
165
+ "default": false,
166
+ "title": "Operationally Usable",
167
+ "type": "boolean"
168
+ },
169
+ "packet_id": {
170
+ "title": "Packet Id",
171
+ "type": "string"
172
+ },
173
+ "reasons": {
174
+ "items": {
175
+ "type": "string"
176
+ },
177
+ "title": "Reasons",
178
+ "type": "array"
179
+ },
180
+ "residual_ledger": {
181
+ "$ref": "#/$defs/Ledger"
182
+ },
183
+ "settled": {
184
+ "default": false,
185
+ "title": "Settled",
186
+ "type": "boolean"
187
+ },
188
+ "status": {
189
+ "$ref": "#/$defs/ClaimStatus",
190
+ "default": "diagnostic"
191
+ }
192
+ },
193
+ "required": [
194
+ "decision_id",
195
+ "packet_id"
196
+ ],
197
+ "title": "ALTAdmissionDecision",
198
+ "type": "object"
199
+ }