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.
- package/LICENSE +152 -0
- package/NOTICE +21 -0
- package/README.md +255 -0
- package/dist/agent/messages.d.ts +23 -0
- package/dist/agent/messages.js +457 -0
- package/dist/cli/main.d.ts +1 -0
- package/dist/cli/main.js +2646 -0
- package/dist/index.d.ts +91 -0
- package/dist/index.js +983 -0
- package/dist/io/schema.d.ts +16 -0
- package/dist/io/schema.js +153 -0
- package/dist/packet/index.d.ts +10 -0
- package/dist/packet/index.js +385 -0
- package/fixtures/portability_conformance/README.md +17 -0
- package/fixtures/portability_conformance/agent_check_report.json +1251 -0
- package/fixtures/portability_conformance/agent_intake_report.json +1169 -0
- package/fixtures/portability_conformance/agent_message_delivery_report.json +124 -0
- package/fixtures/portability_conformance/agent_relay_readiness_report.json +40 -0
- package/fixtures/portability_conformance/alt_admission_decision.json +16 -0
- package/fixtures/portability_conformance/bottleneck_witness_report.json +23 -0
- package/fixtures/portability_conformance/collective_phase_certificate.json +330 -0
- package/fixtures/portability_conformance/frontier_debt_report.json +24 -0
- package/fixtures/portability_conformance/manifest.json +113 -0
- package/fixtures/portability_conformance/negative/checksum_mismatch.json +4 -0
- package/fixtures/portability_conformance/negative/schema_invalid_agent_check.json +3 -0
- package/fixtures/portability_conformance/negative/unknown_schema.json +3 -0
- package/fixtures/portability_conformance/phase_acceleration_benchmark_report.json +21 -0
- package/fixtures/portability_conformance/phase_acceleration_plan.json +72 -0
- package/fixtures/portability_conformance/phase_control_audit_summary.json +16 -0
- package/fixtures/portability_conformance/relay_inbox.json +37 -0
- package/fixtures/portability_conformance/runtime_step_report.json +1384 -0
- package/fixtures/portability_conformance/salience_schedule_report.json +100 -0
- package/fixtures/portability_conformance/theory_fidelity_report.json +53 -0
- package/fixtures/portability_conformance/value_bridge_report.json +17 -0
- package/fixtures/python_v044_cli/adoption_packet.json +131 -0
- package/fixtures/python_v044_cli/adoption_request.json +60 -0
- package/fixtures/python_v044_cli/agent_autonomy_audit.json +254 -0
- package/fixtures/python_v044_cli/agent_check_compact.json +80 -0
- package/fixtures/python_v044_cli/agent_check_full.json +1265 -0
- package/fixtures/python_v044_cli/agent_communication_guide.json +426 -0
- package/fixtures/python_v044_cli/agent_intake.json +1175 -0
- package/fixtures/python_v044_cli/agent_manifest.json +373 -0
- package/fixtures/python_v044_cli/agent_runbook.json +115 -0
- package/fixtures/python_v044_cli/demo_installed_smoke.json +1367 -0
- package/fixtures/python_v044_cli/doctor_development.json +264 -0
- package/fixtures/python_v044_cli/identity_explain_profile_production.json +39 -0
- package/fixtures/python_v044_cli/phase_benchmark.json +42 -0
- package/fixtures/python_v044_cli/phase_benchmark_suite.json +428 -0
- package/fixtures/python_v044_cli/phase_dashboard.json +173 -0
- package/fixtures/python_v044_cli/phase_gap.json +119 -0
- package/fixtures/python_v044_cli/phase_observe.json +203 -0
- package/fixtures/python_v044_cli/phase_plan_compact.json +384 -0
- package/fixtures/python_v044_cli/phase_plan_full.json +2020 -0
- package/fixtures/python_v044_cli/phase_runbook.json +66 -0
- package/fixtures/python_v044_cli/routes_bindings.json +716 -0
- package/fixtures/python_v044_cli/routes_explain_replay_trc_physical_trace.json +57 -0
- package/fixtures/python_v044_cli/runtime_step_demo.json +1384 -0
- package/fixtures/python_v044_cli/snapshot_list.json +112 -0
- package/fixtures/python_v044_cli/snapshot_routes.json +926 -0
- package/fixtures/python_v044_cli/snapshot_show_alt.json +6830 -0
- package/fixtures/python_v044_cli/snapshot_show_bit.json +594 -0
- package/fixtures/python_v044_cli/snapshot_show_ecpt.json +2894 -0
- package/fixtures/python_v044_cli/snapshot_show_sqot.json +2392 -0
- package/fixtures/python_v044_cli/snapshot_show_trc.json +3037 -0
- package/fixtures/python_v044_cli/snapshot_verify_alt.json +10 -0
- package/fixtures/python_v044_cli/snapshot_verify_bit.json +10 -0
- package/fixtures/python_v044_cli/snapshot_verify_ecpt.json +10 -0
- package/fixtures/python_v044_cli/snapshot_verify_sqot.json +10 -0
- package/fixtures/python_v044_cli/snapshot_verify_trc.json +10 -0
- package/fixtures/python_v044_demo/agent_inbox.json +26 -0
- package/fixtures/python_v044_demo/agent_message.json +19 -0
- package/fixtures/python_v044_demo/agent_output.txt +1 -0
- package/fixtures/python_v044_demo/alt_admission_packet.json +208 -0
- package/fixtures/python_v044_demo/asi_proxy_phase_request.json +47 -0
- package/fixtures/python_v044_demo/general_intake_policy.json +58 -0
- package/fixtures/python_v044_demo/manifest.json +78 -0
- package/fixtures/python_v044_demo/packet_envelope.json +1463 -0
- package/fixtures/python_v044_demo/phase_dashboard.json +175 -0
- package/fixtures/python_v044_demo/runtime_state.json +143 -0
- package/fixtures/python_v044_demo/runtime_step_input.json +8 -0
- package/fixtures/python_v044_demo/runtime_step_report.json +1384 -0
- package/fixtures/python_v044_snapshots/alt.json +6830 -0
- package/fixtures/python_v044_snapshots/bit.json +543 -0
- package/fixtures/python_v044_snapshots/ecpt.json +2741 -0
- package/fixtures/python_v044_snapshots/sqot.json +2134 -0
- package/fixtures/python_v044_snapshots/trc.json +2880 -0
- package/package.json +129 -0
- package/schemas/ALTAccelerationCertificate.schema.json +169 -0
- package/schemas/ALTAdmissionDecision.schema.json +199 -0
- package/schemas/ALTCARACertificate.schema.json +285 -0
- package/schemas/ALTDeprecationRecord.schema.json +171 -0
- package/schemas/ALTKernelTransitionReport.schema.json +185 -0
- package/schemas/ALTResurrectionRecord.schema.json +171 -0
- package/schemas/ASIProxyTargetContract.schema.json +52 -0
- package/schemas/AbstractionToken.schema.json +281 -0
- package/schemas/AccelerationCertificate.schema.json +225 -0
- package/schemas/AccelerationExperimentSuite.schema.json +3731 -0
- package/schemas/AcceptedPacketPath.schema.json +148 -0
- package/schemas/ActionCommit.schema.json +67 -0
- package/schemas/ActionGrammar.schema.json +36 -0
- package/schemas/ActionabilityVector.schema.json +33 -0
- package/schemas/ActivationThresholdCertificate.schema.json +185 -0
- package/schemas/AdapterRouteSpec.schema.json +110 -0
- package/schemas/AdoptionFirstRunCommand.schema.json +44 -0
- package/schemas/AdoptionReviewChecklist.schema.json +36 -0
- package/schemas/AdoptionSafetyBoundary.schema.json +104 -0
- package/schemas/AgentAutonomyAuditReport.schema.json +213 -0
- package/schemas/AgentCheckReport.schema.json +3494 -0
- package/schemas/AgentCommandInvocation.schema.json +63 -0
- package/schemas/AgentCommunicationGuide.schema.json +213 -0
- package/schemas/AgentCommunicationPolicy.schema.json +73 -0
- package/schemas/AgentCommunicationStep.schema.json +85 -0
- package/schemas/AgentConnectorSpec.schema.json +89 -0
- package/schemas/AgentFeatureReadinessReport.schema.json +206 -0
- package/schemas/AgentIdentityAttestation.schema.json +99 -0
- package/schemas/AgentIdentityCheckReport.schema.json +225 -0
- package/schemas/AgentInboxRecord.schema.json +319 -0
- package/schemas/AgentIntakeReport.schema.json +3373 -0
- package/schemas/AgentIntakeRequest.schema.json +2250 -0
- package/schemas/AgentMessageContractReport.schema.json +195 -0
- package/schemas/AgentMessageDeliveryReport.schema.json +630 -0
- package/schemas/AgentMessageEnvelope.schema.json +201 -0
- package/schemas/AgentMessageNonceLedger.schema.json +45 -0
- package/schemas/AgentMessageVerificationContext.schema.json +60 -0
- package/schemas/AgentNetworkReadinessReport.schema.json +109 -0
- package/schemas/AgentNextActionReport.schema.json +83 -0
- package/schemas/AgentPacketExchangeReport.schema.json +519 -0
- package/schemas/AgentPeerRecord.schema.json +85 -0
- package/schemas/AgentPolicyIdentity.schema.json +79 -0
- package/schemas/AgentPopulationState.schema.json +2523 -0
- package/schemas/AgentRelayReadinessReport.schema.json +125 -0
- package/schemas/AgentRunbookReport.schema.json +100 -0
- package/schemas/AgentRuntimeConfig.schema.json +78 -0
- package/schemas/AgentTask.schema.json +101 -0
- package/schemas/AgentToOperatorRequest.schema.json +222 -0
- package/schemas/AgentWorkflowGuide.schema.json +128 -0
- package/schemas/AgentWorkflowStep.schema.json +59 -0
- package/schemas/AlgebraLawCertificate.schema.json +101 -0
- package/schemas/AttestationRecord.schema.json +63 -0
- package/schemas/AutocatalyticClosureWitness.schema.json +187 -0
- package/schemas/BaselineRefreshCertificate.schema.json +178 -0
- package/schemas/BasinReachabilityReport.schema.json +244 -0
- package/schemas/BottleneckCandidate.schema.json +105 -0
- package/schemas/BottleneckIntervention.schema.json +157 -0
- package/schemas/BottleneckInversionPlan.schema.json +212 -0
- package/schemas/BottleneckWitnessReport.schema.json +128 -0
- package/schemas/BoundaryGeneratorRecord.schema.json +57 -0
- package/schemas/BoundaryScriptRecord.schema.json +30 -0
- package/schemas/BudgetedToleranceScheduler.schema.json +59 -0
- package/schemas/CalibrationCertificate.schema.json +252 -0
- package/schemas/CanonicalImplementationReadinessReport.schema.json +298 -0
- package/schemas/CanonicalManifest.schema.json +80 -0
- package/schemas/CanonicalManifestRecord.schema.json +54 -0
- package/schemas/CanonicalTheorySnapshotSummary.schema.json +102 -0
- package/schemas/CapabilityBasinContract.schema.json +59 -0
- package/schemas/CapabilityPacketCandidate.schema.json +247 -0
- package/schemas/CapabilityPacketRegistry.schema.json +442 -0
- package/schemas/CapabilityStateVector.schema.json +169 -0
- package/schemas/CascadeResidualPotential.schema.json +32 -0
- package/schemas/CertificateCompilerRecord.schema.json +81 -0
- package/schemas/CertificateFamily.schema.json +376 -0
- package/schemas/CertificateRoute.schema.json +128 -0
- package/schemas/CertifiedAbstractionCapital.schema.json +161 -0
- package/schemas/CheckResult.schema.json +369 -0
- package/schemas/CheckerContext.schema.json +255 -0
- package/schemas/ClosedLoopAgentIteration.schema.json +1045 -0
- package/schemas/CollectivePhaseCertificate.schema.json +1377 -0
- package/schemas/CommercialReadinessSummary.schema.json +134 -0
- package/schemas/ConfidenceLedger.schema.json +26 -0
- package/schemas/ContentAddressedEvidenceRef.schema.json +48 -0
- package/schemas/ControlledTransition.schema.json +90 -0
- package/schemas/CryptographicAgentIdentity.schema.json +192 -0
- package/schemas/DKWCertificate.schema.json +31 -0
- package/schemas/DiagnosticReservePolicy.schema.json +22 -0
- package/schemas/DischargeRouteBinding.schema.json +93 -0
- package/schemas/DomainTypedSemiring.schema.json +55 -0
- package/schemas/DominanceWitness.schema.json +31 -0
- package/schemas/EProcessCertificate.schema.json +22 -0
- package/schemas/EdgeRelationVerificationReport.schema.json +161 -0
- package/schemas/EdgeRelationVerifierSpec.schema.json +62 -0
- package/schemas/EdgeWitness.schema.json +73 -0
- package/schemas/EdgeWitnessCertificate.schema.json +192 -0
- package/schemas/EvidenceArtifact.schema.json +112 -0
- package/schemas/EvidenceEnvelopeStoreRecord.schema.json +100 -0
- package/schemas/EvidencePolicy.schema.json +57 -0
- package/schemas/EvidenceResolutionBatch.schema.json +347 -0
- package/schemas/EvidenceVerificationProfile.schema.json +74 -0
- package/schemas/ExecutableALTCertificatePacket.schema.json +1512 -0
- package/schemas/ExecutableTraceNormalForm.schema.json +659 -0
- package/schemas/ExecutionAvailablePathCertificate.schema.json +204 -0
- package/schemas/ExternalCandidateClassification.schema.json +10 -0
- package/schemas/ExternalObligationCatalog.schema.json +238 -0
- package/schemas/ExternalVerifierHook.schema.json +174 -0
- package/schemas/FiniteOrder.schema.json +34 -0
- package/schemas/FinitePhaseControlCertificate.schema.json +100 -0
- package/schemas/FiniteTraceLaw.schema.json +30 -0
- package/schemas/FixedPopulationLedger.schema.json +255 -0
- package/schemas/FormationCostLedger.schema.json +91 -0
- package/schemas/FoundryControlDashboard.schema.json +198 -0
- package/schemas/FoundryState.schema.json +1819 -0
- package/schemas/FrontierDebtReport.schema.json +115 -0
- package/schemas/FunctorLawCertificate.schema.json +82 -0
- package/schemas/FusedGeometricComparisonCertificate.schema.json +79 -0
- package/schemas/FutureFreedomVector.schema.json +84 -0
- package/schemas/GeneralIntakePolicy.schema.json +255 -0
- package/schemas/GeneralIntakePolicyDecision.schema.json +85 -0
- package/schemas/GeneralIntakeProfile.schema.json +11 -0
- package/schemas/GeneralIntakeReport.schema.json +861 -0
- package/schemas/GeneralIntakeRuntimeBridgeReport.schema.json +761 -0
- package/schemas/GeneralIntakeSource.schema.json +57 -0
- package/schemas/GoodTuringCertificate.schema.json +27 -0
- package/schemas/HazardEnvelopeCertificate.schema.json +192 -0
- package/schemas/HiddenCapabilityInjectionReport.schema.json +212 -0
- package/schemas/IdentityContributionStatus.schema.json +11 -0
- package/schemas/IdentityTrustProfile.schema.json +12 -0
- package/schemas/ImplementationMaturity.schema.json +27 -0
- package/schemas/IndependenceCertificate.schema.json +42 -0
- package/schemas/InnerViabilityKernel.schema.json +45 -0
- package/schemas/IntakeProvenanceRecord.schema.json +192 -0
- package/schemas/InterventionCandidate.schema.json +266 -0
- package/schemas/Judgment.schema.json +351 -0
- package/schemas/LatticeWitness.schema.json +63 -0
- package/schemas/LedgerCoordinate.schema.json +79 -0
- package/schemas/LifecycleCostBounds.schema.json +65 -0
- package/schemas/LiquidityCertificate.schema.json +1094 -0
- package/schemas/MartingaleBlockResidual.schema.json +32 -0
- package/schemas/MartingaleDeficiencyCertificate.schema.json +76 -0
- package/schemas/MechanismCubeCertificate.schema.json +92 -0
- package/schemas/MissionValidityCertificate.schema.json +153 -0
- package/schemas/MonoidRecord.schema.json +30 -0
- package/schemas/MonotoneMap.schema.json +61 -0
- package/schemas/NegativeLiquidityCertificate.schema.json +176 -0
- package/schemas/NonPromotionPolicy.schema.json +39 -0
- package/schemas/ObligationRule.schema.json +54 -0
- package/schemas/ObligationSet.schema.json +230 -0
- package/schemas/ObligationTrace.schema.json +156 -0
- package/schemas/ObservationWindow.schema.json +48 -0
- package/schemas/ObservedTraceProjection.schema.json +57 -0
- package/schemas/OccupationLedger.schema.json +33 -0
- package/schemas/OperationalCheck.schema.json +29 -0
- package/schemas/OperationalReadinessReport.schema.json +216 -0
- package/schemas/OperatorAdoptionPacket.schema.json +303 -0
- package/schemas/OpportunityMeasureContract.schema.json +165 -0
- package/schemas/OrderedPotentialCone.schema.json +125 -0
- package/schemas/PacketCapitalLineage.schema.json +90 -0
- package/schemas/PacketExchangeEnvelope.schema.json +213 -0
- package/schemas/PacketImportInspectionReport.schema.json +68 -0
- package/schemas/PacketIngestionReport.schema.json +655 -0
- package/schemas/PacketLineageDigest.schema.json +70 -0
- package/schemas/PacketMergeReport.schema.json +286 -0
- package/schemas/PacketPromotionPolicy.schema.json +47 -0
- package/schemas/PacketPromotionReport.schema.json +354 -0
- package/schemas/PacketRejection.schema.json +158 -0
- package/schemas/PhaseAccelerationBenchmarkReport.schema.json +103 -0
- package/schemas/PhaseAccelerationPlan.schema.json +4449 -0
- package/schemas/PhaseAccelerationRequest.schema.json +5333 -0
- package/schemas/PhaseAccelerationScore.schema.json +66 -0
- package/schemas/PhaseBenchmarkCaseResult.schema.json +164 -0
- package/schemas/PhaseBenchmarkSuiteReport.schema.json +234 -0
- package/schemas/PhaseBenchmarkTask.schema.json +36 -0
- package/schemas/PhaseComponentGap.schema.json +46 -0
- package/schemas/PhaseControlAction.schema.json +80 -0
- package/schemas/PhaseControlAuditSummary.schema.json +143 -0
- package/schemas/PhaseControlEnvelope.schema.json +53 -0
- package/schemas/PhaseControlObjective.schema.json +98 -0
- package/schemas/PhaseControlPlan.schema.json +377 -0
- package/schemas/PhaseControlRunReport.schema.json +425 -0
- package/schemas/PhaseControlState.schema.json +383 -0
- package/schemas/PhaseDashboardReport.schema.json +249 -0
- package/schemas/PhaseGapVector.schema.json +101 -0
- package/schemas/PhaseObservationReport.schema.json +321 -0
- package/schemas/PhaseTrajectoryReport.schema.json +4522 -0
- package/schemas/PopulationRuntimeStepReport.schema.json +5125 -0
- package/schemas/PortabilityConformanceReport.schema.json +99 -0
- package/schemas/PortabilitySchemaBundle.schema.json +23 -0
- package/schemas/ProblemSolvingTrace.schema.json +162 -0
- package/schemas/ProcessGrammarRecord.schema.json +56 -0
- package/schemas/ProductOrder.schema.json +53 -0
- package/schemas/ProductionReadinessProfile.schema.json +37 -0
- package/schemas/ProjectionAudit.schema.json +70 -0
- package/schemas/ProofObligation.schema.json +200 -0
- package/schemas/ProtocolFrameDigest.schema.json +79 -0
- package/schemas/ProtocolFunctorCertificate.schema.json +89 -0
- package/schemas/ProtocolObject.schema.json +45 -0
- package/schemas/ProtocolRelativeBenchmarkMetric.schema.json +39 -0
- package/schemas/ProvenanceManifest.schema.json +221 -0
- package/schemas/ProvenanceManifestEntry.schema.json +29 -0
- package/schemas/PsiDashboard.schema.json +213 -0
- package/schemas/PullbackGluingWitness.schema.json +43 -0
- package/schemas/QuarantineLedger.schema.json +31 -0
- package/schemas/ReachableMassRecursionCertificate.schema.json +129 -0
- package/schemas/ReconstructionResidual.schema.json +24 -0
- package/schemas/RefreshRule.schema.json +31 -0
- package/schemas/Registry.schema.json +231 -0
- package/schemas/ReleaseArtifactManifest.schema.json +62 -0
- package/schemas/ReproductionMatrixCertificate.schema.json +190 -0
- package/schemas/ResidualCarryForwardReport.schema.json +57 -0
- package/schemas/ResourceCalendarRecord.schema.json +67 -0
- package/schemas/ResourceEnvelope.schema.json +42 -0
- package/schemas/ResourceMatchedBaselineConfig.schema.json +81 -0
- package/schemas/RiskBudgetLedger.schema.json +19 -0
- package/schemas/RobotsDecision.schema.json +44 -0
- package/schemas/RootFinalityCertificate.schema.json +190 -0
- package/schemas/RouteExecutionBatch.schema.json +930 -0
- package/schemas/RouteExecutionRequest.schema.json +87 -0
- package/schemas/RuntimeActionResult.schema.json +807 -0
- package/schemas/RuntimeComparisonReport.schema.json +3670 -0
- package/schemas/RuntimeEvent.schema.json +142 -0
- package/schemas/RuntimeEventLog.schema.json +161 -0
- package/schemas/RuntimeExecutionReport.schema.json +872 -0
- package/schemas/RuntimeExecutorPolicy.schema.json +68 -0
- package/schemas/RuntimeHealthReport.schema.json +161 -0
- package/schemas/RuntimeIdentityContext.schema.json +480 -0
- package/schemas/RuntimeRunReport.schema.json +3487 -0
- package/schemas/RuntimeServiceSettings.schema.json +55 -0
- package/schemas/RuntimeState.schema.json +1438 -0
- package/schemas/RuntimeStepInput.schema.json +685 -0
- package/schemas/RuntimeStepReport.schema.json +3314 -0
- package/schemas/RuntimeStoreRecord.schema.json +106 -0
- package/schemas/RuntimeStoreSnapshot.schema.json +4815 -0
- package/schemas/SBOMManifest.schema.json +67 -0
- package/schemas/SQOTTheorySnapshot.schema.json +49 -0
- package/schemas/SafePhaseAction.schema.json +96 -0
- package/schemas/SalienceQueueRecord.schema.json +313 -0
- package/schemas/SalienceScheduleReport.schema.json +434 -0
- package/schemas/SalienceSchedulingDecision.schema.json +167 -0
- package/schemas/SchemaBundleDigest.schema.json +57 -0
- package/schemas/ScriptGroundMetricCertificate.schema.json +47 -0
- package/schemas/SelectiveCUPCertificate.schema.json +414 -0
- package/schemas/SettlementReturnRAFCertificate.schema.json +122 -0
- package/schemas/SinkhornCertificate.schema.json +55 -0
- package/schemas/SnapshotAttribution.schema.json +63 -0
- package/schemas/SnapshotCatalog.schema.json +481 -0
- package/schemas/SplitCertificate.schema.json +39 -0
- package/schemas/StatusAlgebraRecord.schema.json +37 -0
- package/schemas/StoppedEvidenceSheafCertificate.schema.json +120 -0
- package/schemas/StrictTexParseReport.schema.json +67 -0
- package/schemas/SybilResistanceLedger.schema.json +427 -0
- package/schemas/SybilResistancePolicy.schema.json +176 -0
- package/schemas/TRCCompileResult.schema.json +239 -0
- package/schemas/TRCStateRecord.schema.json +149 -0
- package/schemas/TelemetryCostCertificate.schema.json +171 -0
- package/schemas/TexGrammarDiagnostic.schema.json +39 -0
- package/schemas/TheoryAuditReport.schema.json +654 -0
- package/schemas/TheoryAuditSuiteReport.schema.json +775 -0
- package/schemas/TheoryFidelityReport.schema.json +100 -0
- package/schemas/TheoryImplementationRecord.schema.json +203 -0
- package/schemas/TheorySnapshot.schema.json +459 -0
- package/schemas/TheorySnapshotItem.schema.json +60 -0
- package/schemas/TokenLineage.schema.json +76 -0
- package/schemas/ToleranceAllocationCertificate.schema.json +62 -0
- package/schemas/TraceNormalizationCertificate.schema.json +77 -0
- package/schemas/TraceSufficiencyCertificate.schema.json +166 -0
- package/schemas/TransportCertificate.schema.json +178 -0
- package/schemas/TypedTraceTransducerRecord.schema.json +64 -0
- package/schemas/ValueBridgeReport.schema.json +131 -0
- package/schemas/VectorCompatibleFamily.schema.json +354 -0
- package/schemas/VerificationThroughputReport.schema.json +62 -0
- package/schemas/VerifiedCapabilityPacket.schema.json +251 -0
- package/schemas/VerifierEvidenceEnvelope.schema.json +178 -0
- package/schemas/VerifierResolution.schema.json +275 -0
- package/schemas/WebDiscoveryReport.schema.json +675 -0
- package/schemas/WebFetchPolicy.schema.json +145 -0
- package/schemas/WebFetchReport.schema.json +133 -0
- package/schemas/bundle.schema.json +100808 -0
- package/schemas/schema-digest.json +1674 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction, and
|
|
10
|
+
distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright
|
|
13
|
+
owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities
|
|
16
|
+
that control, are controlled by, or are under common control with that entity.
|
|
17
|
+
For the purposes of this definition, "control" means (i) the power, direct or
|
|
18
|
+
indirect, to cause the direction or management of such entity, whether by
|
|
19
|
+
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
20
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
21
|
+
|
|
22
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising
|
|
23
|
+
permissions granted by this License.
|
|
24
|
+
|
|
25
|
+
"Source" form shall mean the preferred form for making modifications, including
|
|
26
|
+
but not limited to software source code, documentation source, and configuration
|
|
27
|
+
files.
|
|
28
|
+
|
|
29
|
+
"Object" form shall mean any form resulting from mechanical transformation or
|
|
30
|
+
translation of a Source form, including but not limited to compiled object code,
|
|
31
|
+
generated documentation, and conversions to other media types.
|
|
32
|
+
|
|
33
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made
|
|
34
|
+
available under the License, as indicated by a copyright notice that is included
|
|
35
|
+
in or attached to the work.
|
|
36
|
+
|
|
37
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is
|
|
38
|
+
based on or derived from the Work and for which the editorial revisions,
|
|
39
|
+
annotations, elaborations, or other modifications represent, as a whole, an
|
|
40
|
+
original work of authorship. For the purposes of this License, Derivative Works
|
|
41
|
+
shall not include works that remain separable from, or merely link (or bind by
|
|
42
|
+
name) to the interfaces of, the Work and Derivative Works thereof.
|
|
43
|
+
|
|
44
|
+
"Contribution" shall mean any work of authorship, including the original version
|
|
45
|
+
of the Work and any modifications or additions to that Work or Derivative Works
|
|
46
|
+
thereof, that is intentionally submitted to Licensor for inclusion in the Work by
|
|
47
|
+
the copyright owner or by an individual or Legal Entity authorized to submit on
|
|
48
|
+
behalf of the copyright owner. For the purposes of this definition, "submitted"
|
|
49
|
+
means any form of electronic, verbal, or written communication sent to the
|
|
50
|
+
Licensor or its representatives, including but not limited to communication on
|
|
51
|
+
electronic mailing lists, source code control systems, and issue tracking systems
|
|
52
|
+
that are managed by, or on behalf of, the Licensor for the purpose of discussing
|
|
53
|
+
and improving the Work, but excluding communication that is conspicuously marked
|
|
54
|
+
or otherwise designated in writing by the copyright owner as "Not a
|
|
55
|
+
Contribution."
|
|
56
|
+
|
|
57
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of
|
|
58
|
+
whom a Contribution has been received by Licensor and subsequently incorporated
|
|
59
|
+
within the Work.
|
|
60
|
+
|
|
61
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this
|
|
62
|
+
License, each Contributor hereby grants to You a perpetual, worldwide,
|
|
63
|
+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
64
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
|
|
65
|
+
sublicense, and distribute the Work and such Derivative Works in Source or Object
|
|
66
|
+
form.
|
|
67
|
+
|
|
68
|
+
3. Grant of Patent License. Subject to the terms and conditions of this License,
|
|
69
|
+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
|
|
70
|
+
no-charge, royalty-free, irrevocable patent license to make, have made, use,
|
|
71
|
+
offer to sell, sell, import, and otherwise transfer the Work, where such license
|
|
72
|
+
applies only to those patent claims licensable by such Contributor that are
|
|
73
|
+
necessarily infringed by their Contribution(s) alone or by combination of their
|
|
74
|
+
Contribution(s) with the Work to which such Contribution(s) was submitted. If You
|
|
75
|
+
institute patent litigation against any entity alleging that the Work or a
|
|
76
|
+
Contribution incorporated within the Work constitutes direct or contributory
|
|
77
|
+
patent infringement, then any patent licenses granted to You under this License
|
|
78
|
+
for that Work shall terminate as of the date such litigation is filed.
|
|
79
|
+
|
|
80
|
+
4. Redistribution. You may reproduce and distribute copies of the Work or
|
|
81
|
+
Derivative Works thereof in any medium, with or without modifications, and in
|
|
82
|
+
Source or Object form, provided that You meet the following conditions:
|
|
83
|
+
|
|
84
|
+
(a) You must give any other recipients of the Work or Derivative Works a copy of
|
|
85
|
+
this License; and
|
|
86
|
+
|
|
87
|
+
(b) You must cause any modified files to carry prominent notices stating that You
|
|
88
|
+
changed the files; and
|
|
89
|
+
|
|
90
|
+
(c) You must retain, in the Source form of any Derivative Works that You
|
|
91
|
+
distribute, all copyright, patent, trademark, and attribution notices from the
|
|
92
|
+
Source form of the Work, excluding those notices that do not pertain to any part
|
|
93
|
+
of the Derivative Works; and
|
|
94
|
+
|
|
95
|
+
(d) If the Work includes a "NOTICE" text file as part of its distribution, then
|
|
96
|
+
any Derivative Works that You distribute must include a readable copy of the
|
|
97
|
+
attribution notices contained within such NOTICE file, excluding those notices
|
|
98
|
+
that do not pertain to any part of the Derivative Works, in at least one of the
|
|
99
|
+
following places: within a NOTICE text file distributed as part of the Derivative
|
|
100
|
+
Works; within the Source form or documentation, if provided along with the
|
|
101
|
+
Derivative Works; or within a display generated by the Derivative Works, if and
|
|
102
|
+
wherever such third-party notices normally appear. The contents of the NOTICE
|
|
103
|
+
file are for informational purposes only and do not modify the License. You may
|
|
104
|
+
add Your own attribution notices within Derivative Works that You distribute,
|
|
105
|
+
alongside or as an addendum to the NOTICE text from the Work, provided that such
|
|
106
|
+
additional attribution notices cannot be construed as modifying the License.
|
|
107
|
+
|
|
108
|
+
You may add Your own copyright statement to Your modifications and may provide
|
|
109
|
+
additional or different license terms and conditions for use, reproduction, or
|
|
110
|
+
distribution of Your modifications, or for any such Derivative Works as a whole,
|
|
111
|
+
provided Your use, reproduction, and distribution of the Work otherwise complies
|
|
112
|
+
with the conditions stated in this License.
|
|
113
|
+
|
|
114
|
+
5. Submission of Contributions. Unless You explicitly state otherwise, any
|
|
115
|
+
Contribution intentionally submitted for inclusion in the Work by You to the
|
|
116
|
+
Licensor shall be under the terms and conditions of this License, without any
|
|
117
|
+
additional terms or conditions. Notwithstanding the above, nothing herein shall
|
|
118
|
+
supersede or modify the terms of any separate license agreement you may have
|
|
119
|
+
executed with Licensor regarding such Contributions.
|
|
120
|
+
|
|
121
|
+
6. Trademarks. This License does not grant permission to use the trade names,
|
|
122
|
+
trademarks, service marks, or product names of the Licensor, except as required
|
|
123
|
+
for reasonable and customary use in describing the origin of the Work and
|
|
124
|
+
reproducing the content of the NOTICE file.
|
|
125
|
+
|
|
126
|
+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
|
|
127
|
+
writing, Licensor provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
128
|
+
CONDITIONS OF ANY KIND, either express or implied, including, without limitation,
|
|
129
|
+
any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
|
|
130
|
+
FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
131
|
+
appropriateness of using or redistributing the Work and assume any risks
|
|
132
|
+
associated with Your exercise of permissions under this License.
|
|
133
|
+
|
|
134
|
+
8. Limitation of Liability. In no event and under no legal theory, whether in
|
|
135
|
+
tort (including negligence), contract, or otherwise, unless required by
|
|
136
|
+
applicable law or agreed to in writing, shall any Contributor be liable to You
|
|
137
|
+
for damages, including any direct, indirect, special, incidental, or
|
|
138
|
+
consequential damages of any character arising as a result of this License or out
|
|
139
|
+
of the use or inability to use the Work, even if such Contributor has been
|
|
140
|
+
advised of the possibility of such damages.
|
|
141
|
+
|
|
142
|
+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
|
|
143
|
+
Derivative Works thereof, You may choose to offer, and charge a fee for,
|
|
144
|
+
acceptance of support, warranty, indemnity, or other liability obligations and/or
|
|
145
|
+
rights consistent with this License. However, in accepting such obligations, You
|
|
146
|
+
may act only on Your own behalf and on Your sole responsibility, not on behalf of
|
|
147
|
+
any other Contributor, and only if You agree to indemnify, defend, and hold each
|
|
148
|
+
Contributor harmless for any liability incurred by, or claims asserted against,
|
|
149
|
+
such Contributor by reason of your accepting any such warranty or additional
|
|
150
|
+
liability.
|
|
151
|
+
|
|
152
|
+
END OF TERMS AND CONDITIONS
|
package/NOTICE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Percolation Inversion Compiler
|
|
2
|
+
Copyright 2026 K. Takahashi
|
|
3
|
+
|
|
4
|
+
This product includes software developed for finite certificate compilation
|
|
5
|
+
interfaces derived from the following CC-BY-4.0 research artifacts:
|
|
6
|
+
|
|
7
|
+
- Takahashi, K. (2026). Executable Capability Percolation Theory. Zenodo.
|
|
8
|
+
https://doi.org/10.5281/zenodo.20535654
|
|
9
|
+
- Takahashi, K. (2026). Bottleneck Inversion Theory: Machine-Readable Witness
|
|
10
|
+
Calculus for Unlockable Potential. Zenodo.
|
|
11
|
+
https://doi.org/10.5281/zenodo.20545356
|
|
12
|
+
- Takahashi, K. (2026). Typed Reality Compilation: Operational Tolerance
|
|
13
|
+
Allocation for Resource-Efficient Cyber-Physical Frontier Compilation. Zenodo.
|
|
14
|
+
https://doi.org/10.5281/zenodo.20554083
|
|
15
|
+
- Takahashi, K. (2026). Salience-Queue Occupation Theory. Zenodo.
|
|
16
|
+
https://doi.org/10.5281/zenodo.20526451
|
|
17
|
+
- Takahashi, K. (2026). Abstraction Liquidity Theory. Zenodo.
|
|
18
|
+
https://doi.org/10.5281/zenodo.20476200
|
|
19
|
+
|
|
20
|
+
The cited papers are not vendored in this repository. Extractors operate on
|
|
21
|
+
user-provided TeX sources or externally obtained canonical artifacts.
|
package/README.md
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# percolation-inversion-compiler-ts
|
|
2
|
+
|
|
3
|
+
AI agent output checker and workflow report generator for Node.js.
|
|
4
|
+
|
|
5
|
+
`percolation-inversion-compiler-ts` helps a JavaScript or TypeScript agent turn
|
|
6
|
+
draft output, local runtime files, agent messages, and packet sidecars into
|
|
7
|
+
structured JSON reports. The reports show what is accepted, what is usable for a
|
|
8
|
+
workflow, what still needs checking, and what must not be treated as completed
|
|
9
|
+
work.
|
|
10
|
+
|
|
11
|
+
This npm package is a TypeScript port of the public JSON, CLI, schema,
|
|
12
|
+
conformance fixture, and safety behavior of
|
|
13
|
+
`percolation-inversion-compiler` v0.4.4. The Python package remains the
|
|
14
|
+
canonical implementation:
|
|
15
|
+
|
|
16
|
+
- Canonical repository:
|
|
17
|
+
[kadubon/percolation-inversion-compiler](https://github.com/kadubon/percolation-inversion-compiler)
|
|
18
|
+
- Canonical wiki:
|
|
19
|
+
[percolation-inversion-compiler Wiki](https://github.com/kadubon/percolation-inversion-compiler/wiki)
|
|
20
|
+
|
|
21
|
+
## What It Does
|
|
22
|
+
|
|
23
|
+
Use this package when an agent output should be checked before it is reused,
|
|
24
|
+
sent to another agent, turned into a packet, or used to plan the next workflow
|
|
25
|
+
step.
|
|
26
|
+
|
|
27
|
+
In plain terms, it answers:
|
|
28
|
+
|
|
29
|
+
- What did the agent claim?
|
|
30
|
+
- Is the JSON envelope accepted by the checker?
|
|
31
|
+
- Can this report guide the next safe workflow step?
|
|
32
|
+
- What evidence, identity, or verification work is still missing?
|
|
33
|
+
- Which command or SDK call can inspect the next step?
|
|
34
|
+
- Which content must remain candidate-only and not be promoted to completed
|
|
35
|
+
work?
|
|
36
|
+
|
|
37
|
+
The package is local-first and Python-free at runtime. It does not execute
|
|
38
|
+
arbitrary shell commands, mutate repositories, crawl in the background, or prove
|
|
39
|
+
real-world truth.
|
|
40
|
+
|
|
41
|
+
## Quick Start
|
|
42
|
+
|
|
43
|
+
Install from npm:
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
npm install percolation-inversion-compiler-ts
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Run a compact agent check:
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
npx pic-ts agent check --compact --text "Candidate packet: preserve residuals." --profile development
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Plan the next workflow step:
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
npx pic-ts phase plan --compact --text "Candidate packet: preserve residuals." --profile development
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
The package exposes two command names:
|
|
62
|
+
|
|
63
|
+
- `pic-ts`: recommended for npm and Node.js projects.
|
|
64
|
+
- `pic`: compatibility bin matching the Python CLI command name.
|
|
65
|
+
|
|
66
|
+
## Run The Node-Only Agent Loop
|
|
67
|
+
|
|
68
|
+
This loop works without Python. It creates demo input files, checks one runtime
|
|
69
|
+
step, exports the result as inert packet data, inspects that packet without
|
|
70
|
+
executing embedded text, and builds a phase plan from a request JSON file.
|
|
71
|
+
|
|
72
|
+
```sh
|
|
73
|
+
npx pic-ts demo bootstrap --output-dir .pic-demo --overwrite
|
|
74
|
+
npx pic-ts agent check --compact --text "Candidate packet: preserve residuals." --profile development
|
|
75
|
+
npx pic-ts runtime step --state .pic-demo/runtime_state.json --input .pic-demo/runtime_step_input.json --output .pic-demo/runtime_step_report.generated.json
|
|
76
|
+
npx pic-ts packet export --report .pic-demo/runtime_step_report.generated.json --output .pic-demo/packet.json
|
|
77
|
+
npx pic-ts packet inspect --packet .pic-demo/packet.json
|
|
78
|
+
npx pic-ts phase plan --request .pic-demo/asi_proxy_phase_request.json --compact
|
|
79
|
+
npx pic-ts agent accelerate --compact --text "Candidate packet: preserve residuals." --profile development
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
This is the practical npm version of the ASI-proxy loop: verified candidate work
|
|
83
|
+
is preserved, missing work is kept visible, and bottlenecks are routed to finite
|
|
84
|
+
checks. It is not a claim that real ASI, physical outcomes, simulator truth, or
|
|
85
|
+
oracle truth has been proven.
|
|
86
|
+
|
|
87
|
+
## Common Commands
|
|
88
|
+
|
|
89
|
+
Check agent output:
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
npx pic-ts agent check --compact --text "Candidate packet: route evidence and preserve residuals." --profile development
|
|
93
|
+
npx pic-ts agent intake --text "Candidate packet: route evidence and preserve residuals." --profile development
|
|
94
|
+
npx pic-ts agent runbook --profile development
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Plan workflow repair:
|
|
98
|
+
|
|
99
|
+
```sh
|
|
100
|
+
npx pic-ts phase plan --compact --profile development
|
|
101
|
+
npx pic-ts phase gap --compact --profile development
|
|
102
|
+
npx pic-ts phase runbook --profile development
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Run the bundled runtime fixture:
|
|
106
|
+
|
|
107
|
+
```sh
|
|
108
|
+
npx pic-ts runtime step --state fixtures/python_v044_demo/runtime_state.json --input fixtures/python_v044_demo/runtime_step_input.json
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Work with packets as data:
|
|
112
|
+
|
|
113
|
+
```sh
|
|
114
|
+
npx pic-ts packet export --report fixtures/python_v044_demo/runtime_step_report.json --output packet.json
|
|
115
|
+
npx pic-ts packet inspect --packet packet.json
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Inspect schemas and conformance fixtures:
|
|
119
|
+
|
|
120
|
+
```sh
|
|
121
|
+
npx pic-ts schema --type PhaseAccelerationPlan
|
|
122
|
+
npx pic-ts portability verify --manifest fixtures/portability_conformance/manifest.json
|
|
123
|
+
npx pic-ts snapshot list
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Use From JavaScript
|
|
127
|
+
|
|
128
|
+
Root import:
|
|
129
|
+
|
|
130
|
+
```ts
|
|
131
|
+
import {
|
|
132
|
+
buildPhaseAccelerationPlan,
|
|
133
|
+
phaseAccelerationCompactPayload,
|
|
134
|
+
runAgentCheck,
|
|
135
|
+
schemaByType,
|
|
136
|
+
verifyPortabilityManifest,
|
|
137
|
+
} from "percolation-inversion-compiler-ts";
|
|
138
|
+
|
|
139
|
+
const check = runAgentCheck(
|
|
140
|
+
{ agent_output: "Candidate packet: preserve residuals." },
|
|
141
|
+
true,
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
const plan = phaseAccelerationCompactPayload(
|
|
145
|
+
buildPhaseAccelerationPlan({ compact: true }),
|
|
146
|
+
);
|
|
147
|
+
|
|
148
|
+
const schema = schemaByType("PhaseAccelerationPlan");
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Subpath imports for agent runtimes:
|
|
152
|
+
|
|
153
|
+
```ts
|
|
154
|
+
import { schemaByType } from "percolation-inversion-compiler-ts/schema";
|
|
155
|
+
import { createAgentMessage } from "percolation-inversion-compiler-ts/agent/messages";
|
|
156
|
+
import { packetEnvelopeFromRuntimeReport } from "percolation-inversion-compiler-ts/packet";
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## How To Read The JSON
|
|
160
|
+
|
|
161
|
+
The JSON fields are intentionally separate:
|
|
162
|
+
|
|
163
|
+
| Field | Plain meaning |
|
|
164
|
+
| ---------------------- | ------------------------------------------------------------------------------------ |
|
|
165
|
+
| `accepted` | The input envelope passed the finite checks for this command. |
|
|
166
|
+
| `workflow_usable` | The report can guide the next workflow step. This is not settlement. |
|
|
167
|
+
| `operationally_usable` | The deeper runtime result can be used under the selected profile. |
|
|
168
|
+
| `settled` | All scoped finite obligations are discharged. This is often `false`. |
|
|
169
|
+
| `missing_obligations` | Work that is still missing, such as evidence, identity, route, or verifier checks. |
|
|
170
|
+
| `residual_ledger` | Remaining debt, limits, or unresolved work that must stay visible. |
|
|
171
|
+
| `safe_commands` | Suggested inspection commands. They are not permission to execute arbitrary actions. |
|
|
172
|
+
|
|
173
|
+
`settled=false` is not a command failure. It usually means the checker preserved
|
|
174
|
+
unfinished work instead of hiding it.
|
|
175
|
+
|
|
176
|
+
## Safety Limits
|
|
177
|
+
|
|
178
|
+
This package is designed for safe local inspection and agent workflow routing.
|
|
179
|
+
|
|
180
|
+
It does not:
|
|
181
|
+
|
|
182
|
+
- prove real ASI or general intelligence;
|
|
183
|
+
- prove physical, simulator, policy, legal, or oracle outcomes;
|
|
184
|
+
- grant shell, repository, network, or model-mutation authority;
|
|
185
|
+
- treat agent text, registry metadata, or queue priority as verified evidence;
|
|
186
|
+
- silently promote unresolved obligations to `settled=true`;
|
|
187
|
+
- execute packet content or command-like strings embedded in messages.
|
|
188
|
+
|
|
189
|
+
Heavy routes that would require Python-only services, live connectors, local
|
|
190
|
+
runtime stores, repository mutation, or external verifier authority are exposed
|
|
191
|
+
as safe diagnostic compatibility routes. They fail closed with
|
|
192
|
+
`operationally_usable=false`, `settled=false`,
|
|
193
|
+
`execution_authority_granted=false`, visible residual ledgers, and visible
|
|
194
|
+
missing obligations.
|
|
195
|
+
|
|
196
|
+
## Python Canonical Implementation
|
|
197
|
+
|
|
198
|
+
The canonical implementation is the Python package
|
|
199
|
+
`percolation-inversion-compiler==0.4.4`.
|
|
200
|
+
|
|
201
|
+
Use the Python project when you need the canonical source implementation,
|
|
202
|
+
Python SDK behavior, optional Python sidecars, or the full project
|
|
203
|
+
documentation:
|
|
204
|
+
|
|
205
|
+
- Repository:
|
|
206
|
+
[https://github.com/kadubon/percolation-inversion-compiler](https://github.com/kadubon/percolation-inversion-compiler)
|
|
207
|
+
- Wiki:
|
|
208
|
+
[https://github.com/kadubon/percolation-inversion-compiler/wiki](https://github.com/kadubon/percolation-inversion-compiler/wiki)
|
|
209
|
+
|
|
210
|
+
This TypeScript package keeps the same public JSON meaning for npm and Node.js
|
|
211
|
+
agent runtimes. It does not vendor the canonical TeX or PDF papers, and it does
|
|
212
|
+
not copy Python internals line by line.
|
|
213
|
+
|
|
214
|
+
## Compatibility
|
|
215
|
+
|
|
216
|
+
| Command family | Compatibility claim |
|
|
217
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
|
218
|
+
| `agent check`, `agent intake`, `agent runbook`, `agent autonomy-audit`, `agent manifest`, `agent communication-guide` | Exact Python v0.4.4 golden JSON for bundled fixture-backed modes. |
|
|
219
|
+
| `phase plan`, `phase gap`, `phase runbook`, `phase benchmark`, `phase benchmark-suite`, `phase dashboard`, `phase observe` | Exact Python v0.4.4 golden JSON for static fixtures; dynamic `--request` preserves public v0.4.4 semantics. |
|
|
220
|
+
| `runtime step`, `schema`, `snapshot`, `routes`, `portability`, `adoption`, `identity`, `demo installed-smoke` | Python v0.4.4 golden JSON or bundled canonical schema and fixture semantics. |
|
|
221
|
+
| `agent message`, `agent inbox`, `packet`, Node-only demo bootstrap | npm/Node sidecar implementation with the same non-promotion and residual-preservation rules. |
|
|
222
|
+
| evidence heavy routes, runtime service/store/heavy actions, SQOT audit, ALT heavy routes, ecology heavy routes, ECPT heavy routes, audit/extract/check/coverage/parse/provenance/sbom/demo datacenter | Safe diagnostic compatibility only. |
|
|
223
|
+
|
|
224
|
+
## Development And Publishing Checks
|
|
225
|
+
|
|
226
|
+
Run the local gate before publishing:
|
|
227
|
+
|
|
228
|
+
```sh
|
|
229
|
+
npm run typecheck
|
|
230
|
+
npm run lint
|
|
231
|
+
npm run format:check
|
|
232
|
+
npm run test
|
|
233
|
+
npm run conformance
|
|
234
|
+
npm run pack:check
|
|
235
|
+
npm run installed:smoke
|
|
236
|
+
npm run publint
|
|
237
|
+
npm run attw
|
|
238
|
+
npm audit --audit-level=high
|
|
239
|
+
npm run prepublishOnly
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
The package uses a `files` whitelist. The publish safety check rejects local
|
|
243
|
+
paths, obvious secrets, TeX/PDF sources, archives, source maps, model weights,
|
|
244
|
+
private keys, dependency folders, and private data paths.
|
|
245
|
+
|
|
246
|
+
## Search Terms
|
|
247
|
+
|
|
248
|
+
AI agent output checker, workflow report generator, Node.js agent runtime, npm
|
|
249
|
+
agent checker, LLM output validation, AI workflow verification, JSON report,
|
|
250
|
+
safe reuse check, evidence routing, verifier routing, residual ledger,
|
|
251
|
+
unresolved work ledger, missing obligations, packet export, packet inspection,
|
|
252
|
+
agent-to-agent message checking, runtime step report, phase planning, workflow
|
|
253
|
+
bottleneck planning, portability conformance, JSON schema validation,
|
|
254
|
+
percolation inversion compiler, PIC, ECPT, BIT, TRC, SQOT, ALT, ASI-proxy
|
|
255
|
+
workflow loop.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
interface AgentMessageCreateOptions {
|
|
2
|
+
sender: string;
|
|
3
|
+
text: string;
|
|
4
|
+
receiver?: string;
|
|
5
|
+
nonce?: string;
|
|
6
|
+
}
|
|
7
|
+
interface MessagePolicyOptions {
|
|
8
|
+
profile?: string;
|
|
9
|
+
seenNonces?: string[];
|
|
10
|
+
identityContextPath?: string;
|
|
11
|
+
}
|
|
12
|
+
declare function createAgentMessage(options: AgentMessageCreateOptions): Record<string, unknown>;
|
|
13
|
+
declare function readAgentMessage(path: string): Record<string, unknown>;
|
|
14
|
+
declare function agentMessageContract(message: Record<string, unknown>): Record<string, unknown>;
|
|
15
|
+
declare function verifyAgentMessage(message: Record<string, unknown>, options?: MessagePolicyOptions): Record<string, unknown>;
|
|
16
|
+
declare function initAgentInbox(path: string, inboxId?: string): Record<string, unknown>;
|
|
17
|
+
declare function readAgentInbox(path: string): Record<string, unknown>;
|
|
18
|
+
declare function writeAgentInbox(path: string, inbox: Record<string, unknown>): void;
|
|
19
|
+
declare function appendAgentMessage(inboxPath: string, message: Record<string, unknown>): Record<string, unknown>;
|
|
20
|
+
declare function deliveryReport(action: string, inboxRef: string, inbox: Record<string, unknown>, reports: Array<Record<string, unknown>>, profile?: string): Record<string, unknown>;
|
|
21
|
+
declare function receiveAgentInbox(inboxPath: string, options?: MessagePolicyOptions): Record<string, unknown>;
|
|
22
|
+
|
|
23
|
+
export { type AgentMessageCreateOptions, type MessagePolicyOptions, agentMessageContract, appendAgentMessage, createAgentMessage, deliveryReport, initAgentInbox, readAgentInbox, readAgentMessage, receiveAgentInbox, verifyAgentMessage, writeAgentInbox };
|