SubAIVA Durable Objects POC

type: architecture

description: Proof-of-concept SubAIVA running as Cloudflare Durable Object. Per-customer isolated TypeScript class with SQLite storage, WebSocket hibernation, Workers AI inference, Vectorize memory embeddings, alarm-based consolidation. Tier-gated capability matrix (Starter/Professional/Enterprise). Tested: provision, chat, memory store/search, auto-capture, tier upgrade, customer isolation, bearer auth. All tests passing.


Edge-First SubAIVA Architecture

type: decision

description: Customer SubAIVAs run 100% on Cloudflare Edge (DOs + Workers AI + Vectorize). Queen AIVA stays on Mac Mini as private sovereign intelligence. Mac Mini is NOT in customer critical path. Clean separation: Queen = private, Fleet = edge.


Neo-Cortex DeepThink Alignment

type: entity

description: DeepThink analysis proposed 20-tier hybrid matrix with Mac Mini as Factory Controller. Genesis agrees with configuration-driven capability matrix and per-user DOs but DISAGREES with Mac Mini in customer critical path. Our approach: Mac Mini = Queen only, customer fleet = 100% Cloudflare edge.


SubAIVA DO Stack

type: technical

description: Stack: Hono (routing) + Cloudflare Workers (compute) + Durable Objects w/ SQLite (state) + Vectorize 768-dim bge-base (memory vectors) + Workers AI Llama 3.3 70B (inference) + KV (entitlements). Project at subaiva-do/. 26KB gzipped.