Skip to content

cks-runtime v1.0.0 – stable, diff, time‑travel, events, consolidated diagnostics

Choose a tag to compare

@PunctumActus PunctumActus released this 20 Jul 09:18
· 163 commits to main since this release

Added

  • DiffOperation – computes structural delta between current session and a target version or structure, producing a compact list of changes.
  • diff method on CoreInterface, CoreBridge, and CksCoreAdapter – delegates to KnowledgeStructure.diff().
  • ListVersionsOperation and RevertVersionOperation – time‑travel debugging and safe rollbacks.
  • EventBus integration – Runtime.events publishes TransactionCommitted, VersionCreated, ValidationFailed, etc.
  • extra_constraints passthrough from CoreInterface through ValidateOperation to cks-core.

Changed

  • ExecutionPipeline now writes EvolveOperation and RevertVersionOperation results back to session.knowledge_structure.
  • Diagnostics are now consolidated through ExecutionPipeline._handle_result, eliminating dual tracking.
  • RuntimeTransaction.results field stores ExecutionResult objects, enabling tools to retrieve operation payloads without redundant calls.

Fixed

  • Removed MappingProxyType from RuntimeSession.metadata to avoid deep‑copy issues.
  • ValidateOperation no longer treats invalid structure as an operation failure (diagnostics are returned instead of an exception).
  • All 161 tests pass.

Removed

  • Legacy CoreAdapter references and dead test code.