Teleon Control Plane · /app/stores
Persistent Stores hold long-lived, queryable state and reusable substrate envelopes across runs. Every record is partitioned by (tenant_id, store_id, record_key) and protected by monotonic expected_version compare-and-swap so concurrent agents never silently overwrite each other. Browse all 278 stores (36 families & 64 core rails) at architecture.teleon.dev/#stores-254.
6-Core OverviewAtomic Queues (320)Persistent Stores (278)Muscle Memory & Fuzzy RecallFile VaultFeed StreamsExecution RouterOrientation
Three Persistent Storage Tiers
| Tier ID | Storage Tier & Backing | Concurrency & Safety | Primary Workload |
|---|---|---|---|
| hot_cas_records | Tier 1: Hot Version-Fenced KV & Relational Records Cloudflare D1 (SQLite) teleon_mt_stores + middleware-exempt *-db.teleon.dev cellular Postgres/D1 pools |
Strict expected_version integer compare-and-swap (409 cas_version_conflict on stale writes) | Tenant configuration, active workflow state, feature flags, incumbent pointers, and prefix-scanned operational records (< 256 KB). |
| r2_content_addressed_bytes | Tier 2: Immutable Content-Addressed Byte Store (R2 CAS) Cloudflare R2 object buckets indexed by SHA-256 and Git-blob SWHID (swh:1:cnt:<40-hex>) |
Write-once immutable digest addressing; store and queue rows hold lightweight SWHID pointers | Compiled .cwasm modules, skill archives, multi-megabyte research outputs, 3D/media assets, and 3-2-1-1-0 WORM compliance snapshots. |
| four_memory_ledgers | Tier 3: Four-Memory Partitioned Domain Ledgers Dedicated D1 tables per memory class (teleon_mt_runs, teleon_mt_situation_episodes, teleon_mt_hill_climbs, teleon_mt_value_ledgers, teleon_mt_muscle_procedures, teleon_mt_cognitive_steps) |
Schema-enforced separation of Working, Episodic, Semantic, and Procedural memory with INFRASTRUCTURE_INVALID write gating | Preventing raw agent logs or transient network blips from polluting verified domain knowledge or procedural reflexes. |
Provisioned Store Tables & Substrates
teleon_mt_stores: General-purpose tenant KV & structured JSON records withexpected_versionCAS and prefix scanning (?prefix=...).teleon_mt_substrate_catalog: Universal Substrate Envelopes acrossS01..S278with 50-token L0 scent cards, IOPE ports, 3-Receipt separation, and RoaringB_NEGhard vetoes.teleon_mt_source_registry: Multi-stage qualified external sources promoted throughaq22..aq26.*-db.teleon.dev: Dedicated Enterprise cellular SQL substrates, strictly exempt from agent middleware (EXEMPT_DATABASE_SUBSTRATES).
Wire & SDK Operations
// Inspect all 278 Persistent Stores & 36 families
GET /v1/stores/catalog
// Create or update with optimistic version fencing
PUT /v1/tenants/:tenantId/stores/:storeId/records/:key
{ "expected_version": 0, "record": { "threshold": 0.92 } }
// 4-stage reusable substrate search (<=5 consideration set)
GET /v1/tenants/:tenantId/substrate/search?q=gltf&exclude_bneg=gpl_viral