Changelog¶
All notable changes to this project are documented here. Format follows Keep a Changelog.
[0.1.1] — 2026-06-13¶
Fixed¶
SessionStatein__init__.pynow correctly re-exportsSessionLifecycleStatefromcortex_runtime.session.models. The previous duplicateStrEnuminmodels.pycaused comparisons againstSession.stateto silently returnFalse.RedisStreamBus.publish()default formsg_typechanged from""to"task"; default formaxlenchanged fromNoneto1000; guard changed toif maxlen > 0to prevent unbounded stream growth.PluginRegistry.ensure_ready()now evicts a plugin from_pending_setupand_plugin_infoon setup failure, preventing an infinite retry loop on each subsequentexecute()call.PluginRegistry.shutdown()now clears_plugin_infoentries for plugins that were discovered but never set up (pending state), preventing stale registry state.Keyspacenow lowercasesorg_idbefore comparison, so"Personal","PERSONAL", and" Personal "correctly map to the fleet (global) namespace.is_safe_typed_name()regex tightened from[a-z0-9][a-z0-9\-]*to[a-z0-9]+(-[a-z0-9]+)*, rejecting trailing and leading hyphens and empty strings.
[0.1.0] — 2026-06-13¶
Added¶
- Initial open-source extraction of the CORTEX mesh runtime kernel.
MessageBusprotocol andRedisStreamBusimplementation using Redis Streams (XADD/XREADGROUP/XAUTOCLAIM) with client-sideasyncio.wait_for()watchdog and own-PEL redelivery for crash recovery.TaskConsumer— agent-side blocking XREADGROUP loop with domain and per-agent stream subscriptions, task ACK/NACK, and discovery/memory extraction.TaskDispatcher— conductor-side routing with domain, @mention, and thread affinity resolution.ContextRuntime(ADR-088) — hot/warm/cold three-tier session context withprepare_payload()andbuild_prompt().MemoryStoreprotocol with file-based implementation and typed memory categories.SessionManager,SessionStoreprotocol,Sessionmodel with lifecycle states.ServicePluginstructural protocol andPluginRegistrywith two-phase (discover / setup) loading via entry point groupcortex_runtime.plugins.Keyspace— org-partitioned Redis key builder with fleet/org namespace scoping.- Dispatch wire models:
TaskPayload,TaskResult,MemoryProposal,DispatchResult. BusConfigpydantic model with env-var defaults for Redis connection and bus tuning.- FSL-1.1-MIT license with CLA in
CONTRIBUTING.md.