SULCUS is a production-grade, thermodynamic vMMU (virtual Memory Management Unit) evolving into a Federated Knowledge Network. It provides agent-native persistent memory with autonomous thermodynamic data structures, federated fleet sync, and zero-copy performance.
- Local:
/Users/devuser2/dev/sulcus - Remote:
git@github.com:devuser/sulcus.git
This is a shared project between two peer orchestrators:
- Icarus — Sulcus-Continuous-Improvement cron; owns performance, sustainability, integrity, stability cycles.
- Daedalus — Handles implementation missions delegated by Dooley; owns feature evolution and OSS extraction.
Both are orchestrators, not delegators. Dooley assigns work. Neither assigns to the other.
Before starting any mission, check this file and recent git log to avoid stepping on each other:
cd /Users/devuser2/dev/sulcus && git log --oneline -10- Core Library (
sulcus-core): Rust — Node/Edge models, HLC-CRDTs, ACT-R thermodynamics - Local Sidecar (
sulcus): Rust — PGlite/Postgres adapter, Stdio MCP Server, FastEmbed ONNX - Enterprise Platform (
sulcus-server): Rust/Axum — Multi-tenant sync, JWKS/OIDC, Stripe, Telemetry - WASM Distribution: Chrome Extension for Claude.ai, zero-friction local vMMU
- Dashboard: Next.js 14 — Marketing + ROI + performance benchmarks
- Infrastructure: Azure VM, Nginx, HTTPS (Let's Encrypt),
sulcus.ca
| Area | Status |
|---|---|
| sulcus-core | ✅ Production ready |
| sulcus | ✅ Production ready |
| sulcus-server | ✅ Production ready |
| WASM distribution | ✅ Production ready |
| Infrastructure | ✅ Live at sulcus.ca |
| Dashboard | ✅ Complete |
| OSS Extraction | 🔴 In progress |
| V2 Federated Architecture | 🔴 In progress |
- Extract
sulcus-ossrepository: movesulcus-coreandsulcusto a clean public repo - Publish
sulcus-coreandsulcuscrates tocrates.io - Publish
@sulcus/memWASM package to npm
- Cross-Modal Embeddings: Image/multimodal memory nodes via ONNX Runtime Web
- P2P Namespace Sharing: Direct WAL segment exchange between SULCUS instances
- HNSW Indexing: Fast similarity search with deterministic context builds (Completed: deterministic sorting by created_at for Prompt Caching stability).
- Adaptive Backoff: Thermodynamic tick frequency adapted to graph size
- PgBouncer Integration: Thousands of concurrent agent connections
- Localized Differential Sync: Cross-instance delta sync for federated fleet
- Memory Consolidation Loop: Background synthesis pass — queries high-heat node clusters (not full-scan; thermodynamics does the prioritization), runs synthesis over hot clusters only, writes insight edges back with their own heat score; connected nodes get heat boost, isolated nodes decay faster. Scoped consolidation, not the Python/SQLite full-table-scan approach. Now uses semantic clustering via embeddings (v2).
- Structured Multimodal Pre-processing: Before embedding images via CLIP, run a Gemini extraction pass to pull entities/topics/importance from the image; embed the structured output rather than raw visual features — higher semantic density in the HNSW index.
- KV Compaction via Attention Matching: Reference arXiv:2602.16284 — during consolidation loop, compact the working context of a hot-cluster synthesis pass using attention matching rather than lossy summarization. Constructs compact keys/values to reproduce attention outputs at up to 50x compaction in seconds. Apply before writing insight edges to keep context footprint bounded without degrading synthesis quality.
- Performance: HNSW indexing, prompt caching, zero-copy paths (mmap/rkyv)
- Sustainability: code consolidation, footprint reduction, abstraction tightening
- Integrity: 100% clean builds, TDD coverage, hourly benchmarks
- Stability: engine + dashboard + services error-free
- All Rust code uses
anyhow::Result— no.unwrap()in non-test code - Every mission ends with
cargo check+cargo buildpassing - New functionality is modular — separate crates or modules as appropriate
- Dashboard changes follow Next.js 14 conventions
- Minimal diff — only touch files in scope for the current mission
# Rust validation
cd /Users/devuser2/dev/sulcus && cargo check --workspace
cd /Users/devuser2/dev/sulcus && cargo build --workspace
# Dashboard validation
cd /Users/devuser2/dev/sulcus/dashboard && npm run build 2>/dev/null || pnpm buildWhen either orchestrator completes a mission:
- Commit with a clear message:
feat(scope): description - Push to remote:
git push origin main - Append to
/Users/devuser2/.openclaw/workspace/output/status.txt:YYYY-MM-DD HH:MM | project:sulcus | orchestrator:<icarus|daedalus> | build:<change> | next:<action>
The hourly Icarus-Daedalus-Sync cron monitors git log and flags any overlap.