# Psyclone / CMSDK — Combined Changelog Version 2.3.0 (19/11/2026) ******************** ## Psyclone (LGPL) Feature: PsyProbe 2.0 — a new monitoring and control web application, now the home page of every node (PsyProbe 1.x and its /api/... endpoints are removed; they answer 410). Accounts with roles, API keys, an audit log and HTTPS with a built-in local CA or free ACME certificates (phase 1); a live model with 10 minutes of history over a WebSocket live channel (phase 2); the web application with multi-node data (phase 3); control actions with confirmation, a web console, alerts, Prometheus /metrics, secret masking and a Telnet admin login (phase 4); applications and custom views with a view SDK (phase 5); federation of several systems with signed identity assertions, CA pinning and role caps (phase 6); a 3D view and "By function" groups from the psySpec group= attribute (phase 7) Feature: PsyProbe 2 — component stop/start/restart, a parameter editor with descriptions and units from the psySpec, recording links, and catalog queries Feature: Services — custom HTTP services (ingestion, request/reply with a timeout status, file hosting), WebSocket streams (frame in -> post, trigger -> frame out), UDP and TCP Message services. Edge devices select a post by NAME, never a raw type; a connection id is only honoured by the service that issued it; services read the packed DataMessage wire form and answer each peer in the form it used. Engine tests test=httpservice, test=wsservice, test=udpservice Feature: Ordered message delivery — a process's messages reach its cranks in queue order (test=psy_messageorder) Feature: Type wildcards — a trailing * in a trigger type matches every deeper type Feature: Native Windows x64 port completed — all four x64 configurations build with 0 errors, the SSL and plain suites and the browser e2e (single, multi-node, federation) pass on Windows; OpenSSL 3.5.9 (LTS) for x64 SSL builds; 32-bit Windows retired Feature: Psyclone.Ready is sent exactly once, in both bring-up modes (legacy injectStartupMessage removed; test=psy_ready_once) Fix: A crashed external component can no longer stall the node (macOS and Linux) — named mutexes recover from an owner that died holding them (robust mutexes on Linux, a pid lock word on macOS, which is also faster than the native mutex there), shared names are removed only by their creator (an external component that exited cleanly used to cut the node's mutexes, segments and queue semaphores away from everyone), and named semaphores and events on POSIX can no longer be wedged by a process killed inside them. psy_extexec_limit on macOS went from 2/20 to 40/40 (see the CMSDK changelog) Fix: macOS die-with-parent helper leaves with its child (one helper used to stay behind per crashed or restarted child) Fix: Trigger-group snapshot sets are never timeout-fired; stale member values just expire (psy_triggergroup_core G1/G2) Fix: Spec protocol-detection timeout defaults to 5000 ms (was 0: one ~10 ms look, then "No valid protocol detected" dropped slow clients) Fix: Component memory index corruption, node-query and component-memory races, and five parameter bugs fixed; PsyProbe reads every child (only the first was ever registered) Fix: Library loading — a could never load (two bugs in Library::load) Fix: PsyProbe also finds its web root next to the Psyclone binary (html/ or ../../html/), not only from the working directory, so a binary dist started from another directory serves the PsyProbe 2 app Fix: Python cranks run from the Linux and macOS binary dists - they now ship libPsyPython3Link (it was never built into them, so a language="python3" module started and then did nothing); version.txt names the Python 3 version the binding and Python cranks need, as the Windows version file does; a crank whose language library cannot be loaded logs an Error line that names the library and how to build it, and the line is no longer lost when the output is redirected (see the CMSDK changelog) Fix: The start banner reads "Starting Psyclone..." (was "Startine") Fix: Node::terminate stops interval-trigger beats before dismantling the engine (SIGSEGV at exit) Fix: ReplayCatalog records type names correctly (by id, not by position) Build: Windows — Psyclone SSL x64 configs define _USE_SSL_ (PsyProbe 2 auth was compiled as stubs), (std::min)/(std::max) against windows.h macros, System no longer auto-links CMSDK (LNK2005), Psyclone project without browse info (BSCMAKE BK1520) Build: Debug/ASan builds run their own PsyTestChildDebug; the test runner removes the shared names and /tmp/psytest_* dirs each test leaves behind Build: Release distributions — the Linux/macOS binary dist (make binary) is built with SSL (PsyProbe 2 needs it for accounts and HTTPS) with a matching Python binding, ships quickstart.txt and the CMSDK changelog, and leaves out test-run leftovers (logs, perf records, PsyProbe data dirs); both binary dists and the LGPL dist ship the test data the built-in tests read (testdata/llmvendors); the Windows dist (builddist.bat) builds x64 only by default, adds PsycloneSSL.exe/PsycloneSSLDebug.exe, Examples.dll and ExternalModules.exe, Docs/, the changelogs, readme and quickstart, gets its date from PowerShell where wmic is gone (Windows 11), and no longer overwrites its own version file; the LGPL source dist includes tools/ (the Windows OpenSSL build script) and the PsyProbe 2 web application source (Psyclone/probe-ui: Svelte 5 + TypeScript + Vite; npm run build writes html/probe/) Docs: Docs/ replaces the 2014 "Psyclone 2.0 Beta 3" PDFs - a Psyclone 2.3 Quickstart printed from the User Guide's Quick Start chapter and a new Technical Whitepaper (tools/docs-pdf/make-pdfs.mjs regenerates both with headless Chromium); the 2014 presentation is dropped Docs: PsyProbe 1.x information removed or marked removed across the guides and LLM files ( and are ignored, the LLM guide's 1.x view list and phase-7 v1 switches, catalog HTTP_OPERATION branches, addPsyProbeCustomView deprecated in PsyAPI.h); new System Guide section on the PsyProbe 2 source and how to build it; Docs/psyprobe-api-v2.md (generated API reference); acknowledgements list Svelte, Cytoscape.js, uPlot and vis.js instead of jQuery; unused html/shared/jquery.min.js and Chart.bundle.min.js removed Docs: auto-start documented as shipped everywhere (several pages still called it a stub); Quick Start, quickstart.txt and the CMSDK build notes describe VS2022 x64 / OpenSSL 3.5.9 / make on Linux and macOS; roadmap and production chapters updated for 2.3; a "What's new in v2.3" section on docs.html; readme.html opens docs.html Docs: PsyProbe 2.0, services (with Kotlin/Android clients), PsyProbe phases 5-7, the logind RemoveIPC gotcha (System Guide ch. 12), and the shared-memory ownership rules across the User Guide, System Guide and the Psyclone and CMSDK LLM guides ## CMSDK (BSD) Feature: Named (process-shared) mutexes survive an owner that died holding them — Linux uses robust mutexes (EOWNERDEAD -> consistent), macOS a lock word that is the owner's pid (one CAS, os_sync/ulock kernel wait, dead or zombie owner taken over); a warning is logged. On macOS the lock word is faster than the native pthread mutex (processmemory_perf -8% idle, -15% under load). Tests utils_mutex_ownerdeath, processmemory_perf Feature: macOS named semaphores are a counter word in a shared segment that nothing holds, and POSIX named Events a generation word (signal wakes all waiters, not kept for later): a process killed inside wait()/signal()/waitNext() can no longer wedge them (the old pthread mutex + condition stayed locked, or ~Event hung in pthread_cond_destroy). Tests utils_semaphore_userdeath, utils_event_userdeath Feature: DataMessage — getAllKeys(); a packed wire form (toPacked()/FromPacked(), read by MessageProtocol alongside the classic form); a byte-exact Kotlin/Android codec (kotlin/, conformance-tested against the C++ library, with setEntry and toPackedBytes) Feature: Python bindings — std::map templates so map getters and getAllKeys() return dicts; setDataBytes/getDataBytes for binary entries (setData(char*) stopped at the first NUL), getPackedBytes(), fromBytes() Feature: ComponentMemory parameter listing (getParameterInfo/ParamInfo); component pause/wake; queries reach module cranks Feature: PsySpace delivers a process's messages to its cranks in queue order Fix: POSIX shared names — only the process that created a segment, Mutex, Semaphore or Event name removes it (closing used to remove it in any process, so the next opener got a new object); node-owned names (resized segments, queue semaphores) are removed by the node at shutdown; the machine-wide PsycloneIndex is no longer taken away by the first node to end, its slots are reused, and GetStatus no longer leaks a mapping per call. A forced create on Linux makes a new object, as on macOS. Test utils_shared_names Fix: Mutex::leave() updates its bookkeeping under the lock (owner-death recovery missed holds) Fix: The POSIX named Event never set its name (every object opened a segment named after uninitialised heap bytes) Fix: endConnection on its own worker thread no longer frees itself; launched children get an empty signal mask; per-test timeout in the test runner Fix: PsyAPI — two pool threads could run the same crank at once (use-after-free); PsySpace shutdown drains the pool (up to 10 s) and reset() waits for an in-progress shutdown (Windows teardown crash); the process launcher never destroys the condvar its thread waits on Fix: Networking — WebSocket frames over 64 KB (truncated 16-bit length), an inverted partial-header timeout that dropped requests arriving in several pieces, case-insensitive HTTP headers (RFC 9110) and the Connection token list for the WebSocket upgrade, TLS SSL_write serialised with SSL_read, the HTTP client sends Host with a non-default port and maps 400/401/501/503/504, HTTP requests with headers and no body Fix: UDP — keep each datagram's sender, reply from the bound port, 4 MB receive buffer; a zero-length datagram is not a disconnect; isConnected() on Windows (MSG_PEEK WSAEMSGSIZE) Fix: Library::load — a library path could never load (two bugs) Fix: Console log lines are flushed as they are written: a space process shares the node's stdout, and when that was a file or a pipe its buffered lines were lost when the space was stopped (the "language library unavailable" line among them). That line is now an Error naming the missing library and how to build it, instead of suggesting a misspelt language name Fix: CreateADir creates missing parent directories and ignores a trailing separator; DataMessage::toXML escapes text; DataMessage delete + re-add of a key (stale find-key cache); getKeyType leak; Sunday weekday name Fix: ComponentMemory index corruption and five parameter bugs; ReplayCatalog writes type names by id Build: Windows x64 SSL builds use OpenSSL 3.5.9 (LTS); 32-bit Windows retired (configs kept, unmaintained) Build: The test runner removes the shared names and /tmp/psytest_* dirs a test leaves behind Build: macOS — the Python bindings link with the OpenSSL path (Homebrew openssl@3 is not on the default path: "ld: library 'ssl' not found", Isaac), and _cmsdk3.so uses -undefined dynamic_lookup instead of linking the build host's libpython Build: CMSDK.vs2022.sln builds the library and the Python 3 binding only: the Python 2 and Java projects (legacy; their SWIG step failed) are no longer in it Build: The BSD source distribution (make bsd) ships the VS2022 projects (was VS2015), readme.txt, doc/*.md and the Kotlin codec; doc/Building_CMSDK.md describes the current VS2022 x64 / OpenSSL 3.5.9 / make toolchains Docs: PsyAPI::addPsyProbeCustomView/removePsyProbeCustomView marked @deprecated (PsyProbe 1.x was removed in Psyclone 2.3; the calls are ignored), also in the CMSDK LLM guide Docs: CMSDK LLM guide — shared-memory ownership rules, semaphore/event words, logind RemoveIPC, UDP/HTTP/WebSocket client notes; Doxygen for NetworkChannel::sendMessage