SIU & Autonomous Curation
The Sulcus Intelligence Unit (SIU) combines fast System 1 neural gating on write with background consolidation, deduplication, and cold folding so agent memory stays high-signal over thousands of sessions.
SIU Architecture & System 1 Gate
Screens incoming turns before storage, rejecting greetings, boilerplate acknowledgements, raw noisy logs, and low-utility chatter in under 2ms.
Routes accepted memories into episodic, semantic, preference, procedural, or fact so each node inherits the right thermodynamic decay curve.
Extracts services, files, symbols, and domain concepts on ingestion, anchoring nodes into the Knowledge Graph and flagging contradictions.
Evaluates matching memory and Agent Bus triggers with crossing-cadence guards and precision feedback tracking.
Blends cosine similarity, BM25 lexical match, current_heat, type-aware recency, and 2-hop graph resonance using tenant feedback signals.
# Pre-screen candidate text through SIU (SIVU quality gate + SICU archetype router)
curl -X POST https://api.sulcus.ca/api/v1/siu/classify \
-H "Authorization: Bearer $SULCUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Always verify Stripe webhook signatures with ActiveSupport::SecurityUtils.secure_compare",
"namespace": "payments-rails"
}'
# Example response:
# {
# "worth_storing": true,
# "quality_confidence": 0.97,
# "predicted_type": "procedural",
# "type_confidence": 0.91
# }Consolidation, Cold Folding & Deduplication
1. Near-Duplicate Compaction
Ingest deduplication and MCP compact_memory (default cosine threshold 0.92) merge redundant memories, reinforcing stability on the surviving canonical node.
2. Synthesis Consolidation
Clusters of cooling episodic memories are distilled into a single synthesis memory (60-day / 800-interaction half-life) linked via derived_from provenance edges.
3. Reversible Cold Archive
Source episodes move out of hot recall into cold archive, where they remain inspectable via GET /api/v1/agent/archive and restorable anytime via POST /api/v1/agent/restore.
# 1. Preview cold episodic clusters ready for synthesis consolidation
curl "https://api.sulcus.ca/api/v1/agent/consolidation-candidates?namespace=payments-rails" \
-H "Authorization: Bearer $SULCUS_API_KEY"
# 2. Distill candidate episodes into durable synthesis memories with provenance edges
curl -X POST https://api.sulcus.ca/api/v1/agent/consolidate \
-H "Authorization: Bearer $SULCUS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"namespace": "payments-rails",
"dry_run": false
}'PATCH /api/v1/settings/siu or override thresholds for a specific repository namespace (for example stricter filtering on noisy CI namespaces) via PATCH /api/v1/settings/siu/:namespace.SIU & Curation Endpoints
/api/v1/siu/classify/api/v1/decision/api/v1/settings/siu/api/v1/settings/siu/:namespace/api/v1/agent/consolidation-candidates/api/v1/agent/consolidate/api/v1/agent/fold/api/v1/agent/archive/api/v1/agent/restore