core-runtime-engine 11.6.0__tar.gz → 12.0.0__tar.gz

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 (184) hide show
  1. {core_runtime_engine-11.6.0/core_runtime_engine.egg-info → core_runtime_engine-12.0.0}/PKG-INFO +13 -12
  2. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/README.md +3 -3
  3. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/__version__.py +3 -3
  4. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/canonicalization.py +42 -5
  5. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_evaluator.py +8 -4
  6. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_program.py +10 -1
  7. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/rule_anchor.py +9 -5
  8. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0/core_runtime_engine.egg-info}/PKG-INFO +13 -12
  9. core_runtime_engine-12.0.0/docs/CORE_RELEASE_README.md +23 -0
  10. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/pyproject.toml +1 -1
  11. core_runtime_engine-11.6.0/docs/CORE_RELEASE_README.md +0 -22
  12. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/LICENSE +0 -0
  13. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/__init__.py +0 -0
  14. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/__init__.py +0 -0
  15. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/__main__.py +0 -0
  16. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/bump_version.py +0 -0
  17. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/contract_preflight.py +0 -0
  18. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/create_domain.py +0 -0
  19. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/doctor.py +0 -0
  20. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/inventory.py +0 -0
  21. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/lint.py +0 -0
  22. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/main.py +0 -0
  23. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/release_check.py +0 -0
  24. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/repair_artifact_paths.py +0 -0
  25. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/sync_template.py +0 -0
  26. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/cli/validate.py +0 -0
  27. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/__init__.py +0 -0
  28. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/audit_event.py +0 -0
  29. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/audit_trail_index.py +0 -0
  30. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_executability.py +0 -0
  31. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_loader.py +0 -0
  32. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_probes.py +0 -0
  33. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_program_registry.py +0 -0
  34. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/contract_program_v2.py +0 -0
  35. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/dsk_v3.py +0 -0
  36. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/explainability.py +0 -0
  37. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/numeric_normalization.py +0 -0
  38. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/schema_fingerprint.py +0 -0
  39. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/core/sensor_evidence.py +0 -0
  40. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreAnchor.sol +0 -0
  41. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreRuleAnchor.abi.json +0 -0
  42. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreRuleAnchor.bin +0 -0
  43. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreRuleAnchor.build.json +0 -0
  44. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreRuleAnchor.runtime.bin +0 -0
  45. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/contracts/CoreRuleAnchor.sol +0 -0
  46. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/package_data_manifest.v1.json +0 -0
  47. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/causal_trace.v1.json +0 -0
  48. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/context_gate.v1.json +0 -0
  49. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/context_threshold.v1.json +0 -0
  50. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/contract_program.v1.json +0 -0
  51. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/contract_program.v2.json +0 -0
  52. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/control_decision.v1.json +0 -0
  53. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/dsk.v3.json +0 -0
  54. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/effect_result.v1.json +0 -0
  55. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/entropy_signal.v1.json +0 -0
  56. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/execution_receipt.v1.json +0 -0
  57. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v1.json +0 -0
  58. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v2.json +0 -0
  59. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v3.json +0 -0
  60. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v4.json +0 -0
  61. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v5.json +0 -0
  62. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v6.json +0 -0
  63. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v7.json +0 -0
  64. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v8.json +0 -0
  65. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_release_manifest.v9.json +0 -0
  66. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/frozen_rule_set.v1.json +0 -0
  67. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/memory_artifact.v1.json +0 -0
  68. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/memory_generation_result.v1.json +0 -0
  69. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/operational_learning_event.v1.json +0 -0
  70. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/pattern_candidate.v1.json +0 -0
  71. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/physical_safety_assurance_case.v1.json +0 -0
  72. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/policy_lifecycle.v1.json +0 -0
  73. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/retention_manifest.v1.json +0 -0
  74. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/reversibility_policy.v1.json +0 -0
  75. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/rule_anchor_batch.v1.json +0 -0
  76. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/rule_anchor_chain_evidence.v1.json +0 -0
  77. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/rule_approval.v1.json +0 -0
  78. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/rule_approval_request.v1.json +0 -0
  79. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/state_transition.v1.json +0 -0
  80. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/task_closeout.v1.json +0 -0
  81. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/template_promotion_candidate.v1.json +0 -0
  82. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/unsigned_rule_anchor_deployment.v1.json +0 -0
  83. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/data/schemas/core/unsigned_rule_anchor_transaction.v1.json +0 -0
  84. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/__init__.py +0 -0
  85. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/bump_version.py +0 -0
  86. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/contract_preflight.py +0 -0
  87. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/create_domain.py +0 -0
  88. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/diagnostics.py +0 -0
  89. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/doctor.py +0 -0
  90. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/file_inventory.py +0 -0
  91. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/json_checks.py +0 -0
  92. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/release_check.py +0 -0
  93. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/repair_artifact_paths.py +0 -0
  94. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/report_writer.py +0 -0
  95. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/repository_inventory.py +0 -0
  96. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/safety_checks.py +0 -0
  97. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/sync_template.py +0 -0
  98. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/validation.py +0 -0
  99. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime/tooling/version_inventory.py +0 -0
  100. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime_engine.egg-info/SOURCES.txt +0 -0
  101. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime_engine.egg-info/dependency_links.txt +0 -0
  102. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime_engine.egg-info/entry_points.txt +0 -0
  103. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime_engine.egg-info/requires.txt +0 -0
  104. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/core_runtime_engine.egg-info/top_level.txt +0 -0
  105. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/setup.cfg +0 -0
  106. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_agent_decision_trace_validator.py +0 -0
  107. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_agent_plan_validator.py +0 -0
  108. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_agent_session_validator.py +0 -0
  109. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_anchoring_event_validator.py +0 -0
  110. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_anchoring_submission_validator.py +0 -0
  111. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_audio_envelope_wav_example.py +0 -0
  112. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_audit_event_schema.py +0 -0
  113. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_basic_practical_examples.py +0 -0
  114. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_bounded_reference_index.py +0 -0
  115. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_business_event_derivation.py +0 -0
  116. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_causal_entropy_contracts.py +0 -0
  117. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_certify_sensor_fixture.py +0 -0
  118. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_chain_adapter_validator.py +0 -0
  119. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_classification_candidate_validator.py +0 -0
  120. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_contract_program_registry.py +0 -0
  121. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_contract_program_runtime.py +0 -0
  122. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_contract_program_v2.py +0 -0
  123. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_control_plane_contracts.py +0 -0
  124. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_core_contract_examples.py +0 -0
  125. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_core_generic_contracts.py +0 -0
  126. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_core_memory_artifact_contract.py +0 -0
  127. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_core_rule_anchor_contract.py +0 -0
  128. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_core_scheduler_behavior.py +0 -0
  129. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_domain_privacy_examples.py +0 -0
  130. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_downstream_bridge_adapter_validator.py +0 -0
  131. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_dsk_v3.py +0 -0
  132. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_executable_contracts.py +0 -0
  133. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_execution_profile_fixtures.py +0 -0
  134. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_expert_conflict_pre_resolution_validator.py +0 -0
  135. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_expert_router_scripts.py +0 -0
  136. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_explainability_determinism.py +0 -0
  137. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_external_llm_sync_bundle.py +0 -0
  138. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest.py +0 -0
  139. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_2.py +0 -0
  140. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_2_frozen.py +0 -0
  141. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_3.py +0 -0
  142. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_3_frozen.py +0 -0
  143. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_4.py +0 -0
  144. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_5.py +0 -0
  145. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_5_1.py +0 -0
  146. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_release_manifest_v11_6.py +0 -0
  147. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_frozen_rule_set_validator.py +0 -0
  148. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_human_approved_execution_gate_validator.py +0 -0
  149. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_image_brightness_motion_example.py +0 -0
  150. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_minimal_sensor_adapter_example.py +0 -0
  151. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_operational_learning_contracts.py +0 -0
  152. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_parametric_template_validator.py +0 -0
  153. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_physical_safety_assurance.py +0 -0
  154. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_private_domain_integration.py +0 -0
  155. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_pypi_preflight.py +0 -0
  156. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_replay_certification.py +0 -0
  157. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_rule_anchor_batch.py +0 -0
  158. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_rule_anchor_deployment.py +0 -0
  159. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_rule_anchor_transaction.py +0 -0
  160. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_rule_approval_validator.py +0 -0
  161. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_run_all_examples.py +0 -0
  162. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_schema_fingerprint.py +0 -0
  163. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_sensor_evidence_public_contract.py +0 -0
  164. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_state_watcher_validator.py +0 -0
  165. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tool_invocation_validator.py +0 -0
  166. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_bump_version.py +0 -0
  167. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_ci_contract.py +0 -0
  168. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_contract_preflight.py +0 -0
  169. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_create_domain.py +0 -0
  170. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_doctor.py +0 -0
  171. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_lint.py +0 -0
  172. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_release_check.py +0 -0
  173. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_repair_artifact_paths.py +0 -0
  174. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_report_writer.py +0 -0
  175. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_repository_inventory.py +0 -0
  176. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_sync_template.py +0 -0
  177. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_validation.py +0 -0
  178. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_tooling_version_inventory.py +0 -0
  179. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_validate_execution_profile_script.py +0 -0
  180. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_validate_sensor_manifest_negative_cases.py +0 -0
  181. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_validate_sensor_manifest_script.py +0 -0
  182. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_verify_release_script.py +0 -0
  183. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_wifi_csi_synthetic_bridge_example.py +0 -0
  184. {core_runtime_engine-11.6.0 → core_runtime_engine-12.0.0}/tests/test_workflow_examples.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: core-runtime-engine
3
- Version: 11.6.0
3
+ Version: 12.0.0
4
4
  Summary: CORE - deterministic contract, schema and validation engine
5
5
  Author: CORE Project
6
6
  License-Expression: MIT
@@ -17,23 +17,24 @@ Dynamic: license-file
17
17
 
18
18
  # CORE Release Overview
19
19
 
20
- CORE: v11.6.0 — Contract-Oriented Reproducible Evaluation, deterministic
20
+ CORE: v12.0.0 — Contract-Oriented Reproducible Evaluation, deterministic
21
21
  contract, schema and validation engine.
22
22
 
23
- Release status: stabilization candidate. The historical `v11.5.1` manifest
24
- remains byte-preserved, while this line owns an independent manifest and
25
- release-gate path. Do not infer GitHub release assets or package publication
26
- until the dedicated publication workflow completes.
23
+ Release status: sealed public release per HDEV_CORE_V12_SEALED_PUBLIC_RELEASE.md.
24
+ The historical `v11.6.0` manifest remains byte-preserved, while this line owns
25
+ an independent manifest and release-gate path. Do not infer GitHub release
26
+ assets or package publication until the dedicated publication workflow
27
+ completes.
27
28
 
28
29
  The public contract `core.dsk.v3` is the **Domain Scale Kernel v3** surface.
29
30
  The technical compatibility identifier remains unchanged. The surface contains
30
- typed scale crossings, rational conversion, declared loss, evidence references, policy gates and a
31
- non-amplifying authority ceiling. This describes the source surface only and
32
- does not promote the candidate to a formal public release.
31
+ typed scale crossings, rational conversion, declared loss, evidence references,
32
+ policy gates and a non-amplifying authority ceiling. This describes the source
33
+ surface only and does not promote the candidate to a formal public release.
33
34
 
34
35
  See [../README.md](../README.md) for what CORE is and how it's consumed.
35
- See [releases/v11.6.0.md](releases/v11.6.0.md) for the current stabilization
36
- scope, [releases/v11.5.1.md](releases/v11.5.1.md) for the prior public line,
37
- and [releases/v11.3.0.md](releases/v11.3.0.md) for the earlier release
36
+ See [releases/v12.0.0.md](releases/v12.0.0.md) for the current stabilization
37
+ scope, [releases/v11.6.0.md](releases/v11.6.0.md) for the prior public line,
38
+ and [releases/v11.5.1.md](releases/v11.5.1.md) for the earlier release
38
39
  and [CORE_REBUILD_FROM_ZERO.md](CORE_REBUILD_FROM_ZERO.md)
39
40
  for the rebuild rationale.
@@ -1,4 +1,4 @@
1
- # CORE v11.6.0 — Contract-Oriented Reproducible Evaluation
1
+ # CORE v12.0.0 — Contract-Oriented Reproducible Evaluation
2
2
 
3
3
  CORE validates artifacts against public contracts: JSON schemas, fingerprints,
4
4
  manifests and bounded evidence windows. It never executes domain business
@@ -13,9 +13,9 @@ fiscal, or economic truth.
13
13
 
14
14
  ## Release status
15
15
 
16
- The current stabilization line is CORE `v11.6.0`. The `v11.5.1` tag and
16
+ The current stabilization line is CORE `v12.0.0`. The `v11.6.0` tag and
17
17
  manifest remain historical public evidence and are preserved unchanged.
18
- GitHub and package publication require the v11.6.0 release gate and the
18
+ GitHub and package publication require the v12.0.0 release gate and the
19
19
  separate publication workflow.
20
20
 
21
21
  ## DSK v3
@@ -8,10 +8,10 @@ DO NOT EDIT THIS FILE MANUALLY.
8
8
  Use scripts/bump_version.py to update versions consistently.
9
9
  """
10
10
 
11
- __version__ = "11.6.0"
11
+ __version__ = "12.0.0"
12
12
 
13
13
  # Component versions
14
- CORE_VERSION = "11.6.0"
14
+ CORE_VERSION = "12.0.0"
15
15
 
16
16
  # Parsed version tuple for programmatic comparison
17
- VERSION_INFO = tuple(int(x) for x in __version__.split("."))
17
+ VERSION_INFO = tuple(int(x) for x in __version__.split("."))
@@ -6,25 +6,39 @@ serializers, graph fingerprints, and regression tests.
6
6
 
7
7
  from __future__ import annotations
8
8
 
9
- import json
10
9
  import hashlib
10
+ import json
11
11
  from typing import Any
12
12
 
13
13
 
14
14
  def canonical_json_dumps(payload: Any) -> str:
15
- """Serialize payload with canonical JSON formatting."""
15
+ """Serialize payload with canonical JSON formatting (RFC 8785 / JCS).
16
+
17
+ No default=str — callers MUST ensure payload is JSON-serializable.
18
+ Any non-serializable value is a contract violation and raises TypeError.
19
+ """
16
20
  return json.dumps(
17
21
  payload,
18
22
  sort_keys=True,
19
23
  separators=(",", ":"),
20
24
  ensure_ascii=False,
21
- default=str,
22
25
  )
23
26
 
24
27
 
25
28
  def canonical_json_hash(payload: Any) -> str:
26
- """Hash the canonical JSON serialization of a payload."""
27
- return hashlib.sha256(canonical_json_dumps(payload).encode("utf-8")).hexdigest()
29
+ """Hash the canonical JSON serialization of a payload.
30
+
31
+ Returns: "sha256:<hex>"
32
+ """
33
+ return "sha256:" + hashlib.sha256(canonical_json_dumps(payload).encode("utf-8")).hexdigest()
34
+
35
+
36
+ def v12_envelope_fingerprint(envelope: dict[str, Any]) -> str:
37
+ """Compute the v12 envelope fingerprint.
38
+
39
+ Returns: "v12:<hex>"
40
+ """
41
+ return "v12:" + hashlib.sha256(canonical_json_dumps(envelope).encode("utf-8")).hexdigest()
28
42
 
29
43
 
30
44
  def canonical_graph_node_key(node: Any) -> tuple[int, str, str]:
@@ -53,3 +67,26 @@ def canonical_graph_nodes(nodes: list[Any] | tuple[Any, ...]) -> list[Any]:
53
67
  def canonical_graph_edges(edges: list[Any] | tuple[Any, ...]) -> list[Any]:
54
68
  """Return edges ordered canonically."""
55
69
  return sorted(edges, key=canonical_graph_edge_key)
70
+
71
+
72
+ def legacy_canonical_json_dumps(payload: Any) -> str:
73
+ """Legacy canonical JSON serialization (v11 compatible).
74
+
75
+ Uses default=str to match historical v11 canonicalization behavior.
76
+ Only for replay certification of frozen reference datasets.
77
+ """
78
+ return json.dumps(
79
+ payload,
80
+ sort_keys=True,
81
+ separators=(",", ":"),
82
+ ensure_ascii=False,
83
+ default=str,
84
+ )
85
+
86
+
87
+ def legacy_canonical_json_hash(payload: Any) -> str:
88
+ """Legacy canonical JSON hash (v11 compatible).
89
+
90
+ Returns: "sha256:<hex>"
91
+ """
92
+ return "sha256:" + hashlib.sha256(legacy_canonical_json_dumps(payload).encode("utf-8")).hexdigest()
@@ -80,16 +80,20 @@ def error(code: str, message: str, field: str = "$", **extra: Any) -> Error:
80
80
 
81
81
 
82
82
  def artifact_fingerprint(payload: Mapping[str, Any]) -> str:
83
- """Fingerprint canonical artifact content, excluding its own fingerprint."""
83
+ """Fingerprint canonical artifact content, excluding its own fingerprint.
84
84
 
85
+ Returns: "sha256:<hex>"
86
+ """
85
87
  body = {key: value for key, value in payload.items() if key != "fingerprint"}
86
- return f"sha256:{canonical_json_hash(body)}"
88
+ return canonical_json_hash(body)
87
89
 
88
90
 
89
91
  def input_fingerprint(payload: Any) -> str:
90
- """Fingerprint the exact parsed input used by the evaluator."""
92
+ """Fingerprint the exact parsed input used by the evaluator.
91
93
 
92
- return f"sha256:{canonical_json_hash(payload)}"
94
+ Returns: "sha256:<hex>"
95
+ """
96
+ return canonical_json_hash(payload)
93
97
 
94
98
 
95
99
  def _timezone_datetime(value: Any) -> datetime | None:
@@ -87,6 +87,13 @@ def execute_contract_program(program: Mapping[str, Any], sealed_inputs: Mapping[
87
87
  break
88
88
  if instruction["operation"] == "copy":
89
89
  values[instruction["output"]] = copy.deepcopy(values[keys[0]])
90
+ elif instruction["operation"] == "count":
91
+ source = values[keys[0]]
92
+ if not isinstance(source, (list, dict, set, tuple)):
93
+ execution["status"] = "blocked"
94
+ execution["errors"].append(_error("count_requires_collection", "Count operation requires a list, dict, set, or tuple.", f"{field}.input_keys"))
95
+ break
96
+ values[instruction["output"]] = len(source)
90
97
  elif instruction["operation"] == "registry":
91
98
  try:
92
99
  values[instruction["output"]] = execute_registry_operation(
@@ -100,7 +107,9 @@ def execute_contract_program(program: Mapping[str, Any], sealed_inputs: Mapping[
100
107
  )
101
108
  break
102
109
  else:
103
- values[instruction["output"]] = len(keys)
110
+ execution["status"] = "blocked"
111
+ execution["errors"].append(_error("derive_operation_unknown", f"Unknown derive operation: {instruction['operation']}", f"{field}.operation"))
112
+ break
104
113
  elif opcode == "transition":
105
114
  execution["staged_transitions"].append(
106
115
  {
@@ -18,7 +18,7 @@ from typing import Any
18
18
 
19
19
  from jsonschema import Draft7Validator
20
20
 
21
- from core_runtime.core.canonicalization import canonical_json_dumps
21
+ from core_runtime.core.canonicalization import canonical_json_dumps, canonical_json_hash, v12_envelope_fingerprint
22
22
 
23
23
 
24
24
  SCHEMA_ROOT = files("core_runtime").joinpath("data", "schemas", "core")
@@ -87,15 +87,19 @@ def sha256_fingerprint_bytes(payload: bytes) -> str:
87
87
 
88
88
 
89
89
  def canonical_fingerprint(payload: Any) -> str:
90
- """Fingerprint canonical UTF-8 JSON using SHA-256."""
90
+ """Fingerprint canonical UTF-8 JSON using SHA-256.
91
91
 
92
- return sha256_fingerprint_bytes(canonical_json_dumps(payload).encode("utf-8"))
92
+ Returns: "sha256:<hex>"
93
+ """
94
+ return canonical_json_hash(payload)
93
95
 
94
96
 
95
97
  def artifact_fingerprint(payload: Mapping[str, Any], field: str = "fingerprint") -> str:
96
- """Fingerprint an artifact while excluding its declared fingerprint."""
98
+ """Fingerprint an artifact while excluding its declared fingerprint.
97
99
 
98
- return canonical_fingerprint({key: value for key, value in payload.items() if key != field})
100
+ Returns: "sha256:<hex>"
101
+ """
102
+ return canonical_json_hash({key: value for key, value in payload.items() if key != field})
99
103
 
100
104
 
101
105
  def load_verified_rule_anchor_build() -> tuple[dict[str, Any], str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: core-runtime-engine
3
- Version: 11.6.0
3
+ Version: 12.0.0
4
4
  Summary: CORE - deterministic contract, schema and validation engine
5
5
  Author: CORE Project
6
6
  License-Expression: MIT
@@ -17,23 +17,24 @@ Dynamic: license-file
17
17
 
18
18
  # CORE Release Overview
19
19
 
20
- CORE: v11.6.0 — Contract-Oriented Reproducible Evaluation, deterministic
20
+ CORE: v12.0.0 — Contract-Oriented Reproducible Evaluation, deterministic
21
21
  contract, schema and validation engine.
22
22
 
23
- Release status: stabilization candidate. The historical `v11.5.1` manifest
24
- remains byte-preserved, while this line owns an independent manifest and
25
- release-gate path. Do not infer GitHub release assets or package publication
26
- until the dedicated publication workflow completes.
23
+ Release status: sealed public release per HDEV_CORE_V12_SEALED_PUBLIC_RELEASE.md.
24
+ The historical `v11.6.0` manifest remains byte-preserved, while this line owns
25
+ an independent manifest and release-gate path. Do not infer GitHub release
26
+ assets or package publication until the dedicated publication workflow
27
+ completes.
27
28
 
28
29
  The public contract `core.dsk.v3` is the **Domain Scale Kernel v3** surface.
29
30
  The technical compatibility identifier remains unchanged. The surface contains
30
- typed scale crossings, rational conversion, declared loss, evidence references, policy gates and a
31
- non-amplifying authority ceiling. This describes the source surface only and
32
- does not promote the candidate to a formal public release.
31
+ typed scale crossings, rational conversion, declared loss, evidence references,
32
+ policy gates and a non-amplifying authority ceiling. This describes the source
33
+ surface only and does not promote the candidate to a formal public release.
33
34
 
34
35
  See [../README.md](../README.md) for what CORE is and how it's consumed.
35
- See [releases/v11.6.0.md](releases/v11.6.0.md) for the current stabilization
36
- scope, [releases/v11.5.1.md](releases/v11.5.1.md) for the prior public line,
37
- and [releases/v11.3.0.md](releases/v11.3.0.md) for the earlier release
36
+ See [releases/v12.0.0.md](releases/v12.0.0.md) for the current stabilization
37
+ scope, [releases/v11.6.0.md](releases/v11.6.0.md) for the prior public line,
38
+ and [releases/v11.5.1.md](releases/v11.5.1.md) for the earlier release
38
39
  and [CORE_REBUILD_FROM_ZERO.md](CORE_REBUILD_FROM_ZERO.md)
39
40
  for the rebuild rationale.
@@ -0,0 +1,23 @@
1
+ # CORE Release Overview
2
+
3
+ CORE: v12.0.0 — Contract-Oriented Reproducible Evaluation, deterministic
4
+ contract, schema and validation engine.
5
+
6
+ Release status: sealed public release per HDEV_CORE_V12_SEALED_PUBLIC_RELEASE.md.
7
+ The historical `v11.6.0` manifest remains byte-preserved, while this line owns
8
+ an independent manifest and release-gate path. Do not infer GitHub release
9
+ assets or package publication until the dedicated publication workflow
10
+ completes.
11
+
12
+ The public contract `core.dsk.v3` is the **Domain Scale Kernel v3** surface.
13
+ The technical compatibility identifier remains unchanged. The surface contains
14
+ typed scale crossings, rational conversion, declared loss, evidence references,
15
+ policy gates and a non-amplifying authority ceiling. This describes the source
16
+ surface only and does not promote the candidate to a formal public release.
17
+
18
+ See [../README.md](../README.md) for what CORE is and how it's consumed.
19
+ See [releases/v12.0.0.md](releases/v12.0.0.md) for the current stabilization
20
+ scope, [releases/v11.6.0.md](releases/v11.6.0.md) for the prior public line,
21
+ and [releases/v11.5.1.md](releases/v11.5.1.md) for the earlier release
22
+ and [CORE_REBUILD_FROM_ZERO.md](CORE_REBUILD_FROM_ZERO.md)
23
+ for the rebuild rationale.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "core-runtime-engine"
3
- version = "11.6.0"
3
+ version = "12.0.0"
4
4
  description = "CORE - deterministic contract, schema and validation engine"
5
5
  readme = "docs/CORE_RELEASE_README.md"
6
6
  license = "MIT"
@@ -1,22 +0,0 @@
1
- # CORE Release Overview
2
-
3
- CORE: v11.6.0 — Contract-Oriented Reproducible Evaluation, deterministic
4
- contract, schema and validation engine.
5
-
6
- Release status: stabilization candidate. The historical `v11.5.1` manifest
7
- remains byte-preserved, while this line owns an independent manifest and
8
- release-gate path. Do not infer GitHub release assets or package publication
9
- until the dedicated publication workflow completes.
10
-
11
- The public contract `core.dsk.v3` is the **Domain Scale Kernel v3** surface.
12
- The technical compatibility identifier remains unchanged. The surface contains
13
- typed scale crossings, rational conversion, declared loss, evidence references, policy gates and a
14
- non-amplifying authority ceiling. This describes the source surface only and
15
- does not promote the candidate to a formal public release.
16
-
17
- See [../README.md](../README.md) for what CORE is and how it's consumed.
18
- See [releases/v11.6.0.md](releases/v11.6.0.md) for the current stabilization
19
- scope, [releases/v11.5.1.md](releases/v11.5.1.md) for the prior public line,
20
- and [releases/v11.3.0.md](releases/v11.3.0.md) for the earlier release
21
- and [CORE_REBUILD_FROM_ZERO.md](CORE_REBUILD_FROM_ZERO.md)
22
- for the rebuild rationale.