Show HN: Cmpsbl OS v5.5.0 – A Self-Hosting Cognitive Substrate (131k LOC)
1 points
2 hours ago
| 0 comments
| zenodo.org
| HN
I’ve spent the last year building a "Cognitive Substrate" that manages its own technical debt and evolves itself in shadow mode. It’s a 131,000 LOC operating system designed for recursive autonomy - not just another LLM wrapper, but a kernel for long-term digital intelligence.

The system is built on a 4-layer architecture with 13 specialized modules. What makes it different from standard agent frameworks:

Self-Improvement Loop:

The MODERNIZER module scans the codebase, proposes upgrades, and tests them in a parallel "Shadow Mode" before production deployment.

Cognitive Circuit Breakers:

The CORE kernel implements the circuit breaker pattern at the logic level. If a cognitive module (like BRAIN or DECODE) starts to drift or fail, the kernel isolates it to prevent system-wide instability.

Multi-Tier Memory Graph:

BRAIN uses a Hot/Warm/Cold storage strategy. It searches its own knowledge graph and local memory tiers before ever hitting an external API, drastically reducing latency and dependency.

Infrastructure Arbitrage:

I built NEXUS to route requests across free-tier AI providers, essentially "mining" compute to build a permanent, proprietary knowledge base for $0/mo.

As a solo founder, I wanted to see if recursive self-improvement could replace a traditional engineering team. The result is a "Digital Organism" that handles its own health monitoring, security (via a cognitive firewall), and learning cycles.

I’ve published the full architectural deep-dives and live system evidence on Zenodo.

I'm curious to hear what the HN community thinks about the "Shadow Mode" approach to autonomous refactoring and the viability of cognitive circuit breakers.

Scientific Documentation & Artifacts:

https://zenodo.org/records/18379258

Here’s a link to the live system and our template marketplace so you can create models that don’t drift and apps that learn and dream as well.

Free SDK for anyone wanting to check it out:

https://CMPSBL.com

This is v5.5.0 and I have a little more work to do before the system can fully autonomously evolve itself, but it does propose, verify, and build its own patch’s and allies successfully to shadow mode reliably.

Let me know what you think HN!

No one has commented on this post.