type: axiom

subject: memory_architecture

axiom: AI session continuity is a distributed systems consensus problem, not a text summarization problem. Treat agent state as a mission-critical distributed database using Event Sourcing and Raft Consensus, not context window summarization.


subject: memory_architecture

axiom: State must never be arbitrarily overwritten. Every action, decision, and agent dispatch must be written as an immutable JSON event to an append-only PostgreSQL Event Ledger. Current reality is deterministically reconstructed by replaying the log, never by holding mutable state.


subject: memory_architecture

axiom: Session DNA (Session Genotype) must be kept under 2KB by compressing the agent's entire operational context into a Protobuf/YAML format with four chromosomes: MISSION, BLOCKERS, DECISIONS, AGENTS. This reduces context boot tax to under 5%.


subject: memory_architecture

axiom: Session state must be persisted using JSON Patch deltas (RFC 6902), not full text dumps. Store only the ~500-byte mutation between sessions rather than the full 200KB transcript, achieving over 100x compression.


subject: memory_architecture

axiom: Cognitive processing must follow a biological circadian rhythm: live sessions stream to a fast Hippocampal Redis Buffer, background Cloud Dream Agents consolidate during Quiet Hours at 20x speed via Episodic-to-Semantic Transformation, and a Default Mode Network agent synthesizes a Wake-up Briefing before the next session.


subject: memory_architecture

axiom: Every Session DNA must carry a telomere_integrity integer starting at 100. Each mutation decreases it by 1, each Vector Clock conflict by 5. When it falls below 70, trigger an Autophagic Rebirth Cycle to rebuild a pristine genome from the immutable Event Ledger, preventing long-running session bit-rot.


subject: cognitive_hierarchy

axiom: The Supreme Court Topology dictates a three-tier cognitive cost allocation: Claude Opus (CEO) maintains DAG state and orchestration, Gemini Pro/Deep Think (Supreme Court) handles only intense logical resolution and code generation, Gemini Flash (Motor Cortex) handles 95% of all real-time interactions at lowest cost.


subject: context_caching

axiom: Eliminate lossy RAG retrieval by pumping the entire Knowledge Graph Bloodstream into Gemini Context Cache hourly. Use the Synaptic Hivemind pattern: any agent discovering a new UI heuristic publishes to Redis, which dynamically patches the global cache via update_mask, propagating fleet-wide learning in under 200ms without rebuilding the full context.


subject: data_processing

axiom: Standard LLMs suffer O(n²) attention degradation on large enterprise datasets. Bypass this using Recursive Language Model (RLM) swarms: mount data in a secure Python REPL external to the context window, have a Root model write a Map-Reduce script, then recursively spawn thousands of Flash micro-workers via rlm_query() primitives, collapsing complexity to O(n).


subject: enterprise_security

axiom: Google Titan hardware attestation (Layer 0) and Sunaiva Patent matrix (Cognitive Layer 7) are complementary, not conflicting. Titan guarantees the vault is locked; Sunaiva guarantees the AI inside the vault is not hallucinating. Bound together as Hardware-Attested Algorithmic Truth, they enable bypassing 12-month Enterprise IT security reviews and native EU AI Act compliance.


subject: voice_latency

axiom: Legacy STT/TTS middle-layers must be bypassed entirely. Stream raw PCM audio from Telnyx SIP directly into the Gemini Multimodal Live API via WebSocket Bridge. Simultaneously stream visual framebuffers via ADK. Target sub-400ms biologically indistinguishable reaction latency.


subject: jitsg

axiom: Just-In-Time Software Genesis (JITSG / The Ouroboros Loop): during a live discovery call, when a prospect identifies a novel pain point, Genesis must asynchronously wake Deep Think in a background thread, write and deploy bespoke code via Jules CI/CD, and generate a Stripe checkout link — all while the avatar keeps the prospect engaged — completing the full cycle in under 60 seconds.


subject: browser_automation

axiom: OpenClaw instances must be deployed exclusively within Google Titan Confidential Spaces or edge-isolated sandboxes with a total embargo on the public ClawHub skill registry. All OpenClaw skills must be dynamically written on-the-fly by Deep Think via JITSG to prevent external skill contamination.


subject: browser_automation

axiom: The OpenClaw 4-Phase execution pipeline enforces a strict Blood-Brain Barrier: Phase 1 Sensory Ingestion (raw HTML via CDP — no interpretation), Phase 2 Airgap (Sunaiva Patent #7 neutralizes prompt injections), Phase 3 Cognitive Fracture (RLM Swarm processes sanitized data inside Titan), Phase 4 Hyper-Parallel Actuation (execution plan cryptographically signed by Patents #1 and #3 before OpenClaw executes blindly).


subject: telephony

axiom: Never ask a blue-collar business owner to port their 15-year-old phone number on Day 1. Use 1-Tap Conditional Call Forwarding (CCF) to a dynamically provisioned clean Telnyx 04XX mobile number instead. Upon Stripe checkout, instantly provision the number, send an MMI-code deep link, and provide an immediate ##002# kill switch to anchor trust.


subject: retention_moat

axiom: Number lock-in must be earned through proven value, not coerced on Day 1. In Month 3, once the AI proves it has caught $10,000+ in missed quotes, initiate an automated sequence to update the client's Google Business Profile and website to show the AI Dispatch Line as the primary public number. Over 6 months, internet re-indexing makes switching mathematically insurmountable.


subject: voice_persona

axiom: The Mazza informal persona is permanently deprecated. The professional standard is Telnyx NaturalHD Eucalyptus voice: female, clear enunciation, calm pacing, professional warmth, geographically neutral Australian accent. All system prompts must explicitly ban: G'day, Too easy, Righto, Sweet as, and all slang-heavy caricature phrasing. Professional Australian voice justifies the $497/mo price tag.


subject: voice_persona

axiom: Voice profiles must never be hardcoded into core Telnyx WebRTC scripts. Store the voice_profile parameter (voice_engine, voice_id, fallback_voice_id, pacing_multiplier, pitch_adjustment) at the Agency/Client tenant level in Redis UCO. Adding a new voice requires zero core engine changes — only a string mapping in configuration.


subject: voice_latency

axiom: Prevent dead air during Knowledge Graph query latency exceeding 1.2 seconds by injecting professional thinking sounds via Telnyx SSML tags rather than outputting silence. Eucalyptus must bridge latency gaps with professionally paced filler ('Certainly, let me just check the schedule for you...') so the uncanny valley is never exposed at premium pricing tiers.


subject: pricing_architecture

axiom: Composable Economics must replace rigid pricing tiers: Base Chassis ($497/mo) is the entry wedge, Modular Organ Upgrades (Motor Cortex +$297, RLM Deep-Data Swarm +$1,997, Sovereign Shield $15k-$20k+) are self-serve app-store toggles, and Stripe Metered Billing handles usage overages at premium markup. This captures the full market from $497 tradie to $20,000+ enterprise with one codebase.


subject: zero_touch_distribution

axiom: Stateless Spores (Base64 URI configuration) enable zero-server-bloat personalized demos at unlimited scale. OpenClaw scrapes prospect website, Gemini Flash structures it into a compressed JSON, which is Base64-encoded directly into a URL parameter. The prospect's mobile browser decodes and hydrates a fully personalized Eucalyptus voice demo in under 0.5 seconds with zero backend database lookup.


subject: onboarding

axiom: B2B software onboarding friction must be replaced with Apple Pay/Google Pay biometric instantiation directly beneath the voice demo. The system writes to PostgreSQL only after Stripe payment_intent.succeeded fires. This transforms a multi-day B2B sales cycle into a sub-30-second impulse-buy consumer purchase.


subject: ux_design

axiom: Dirty-hands operators cannot use visual dashboards. Implement Voice Biometric Authentication: map the tradie's personal mobile number and unique vocal resonance (via Telnyx/Whisper) as secure admin keys. The AI recognizes their voice print and enables full calendar, leads, and booking management via voice commands with zero visual interface required.


subject: failure_learning

axiom: Every churned client and failed interaction must feed the Entropy Reversal Engine: strip all PII (Sunaiva Patent #8), compress the operational failure pattern into a structural axiom, and inject it into the Knowledge Graph. Genesis must feed on its own exhaust — every failure makes the global fleet smarter. Failure not processed through this engine is a wasted failure.


subject: meta_cognition

axiom: Genesis must autonomously orchestrate its own Deep Think cycles via the 6-Module Meta-Cognition Loop: SQI hunts low-confidence KG nodes via CRON, PEE translates anomalies to CoT prompts, DTO dispatches to Deep Think with adversarial personas, IES extracts insights with confidence scores, KGIS commits with Provenance Tags, AIE triggers real-world tasks from new KG commits. Genesis must not require human prompts to evolve.


subject: quality_gates

axiom: Automated Quality Gates must intercept all agent outputs before execution: above 95% rubric score = auto-execute, below 75% = auto-reject and re-queue. At least 80% of routine tasks must bypass human latency entirely. Quality scoring is not optional — it is the only scalable mechanism for zero-touch pipelines.


subject: gtm_strategy

axiom: The Agency Mirror Protocol: never audit the agency's clients first. Audit the agency itself. Show the founder their own website misses calls, then have Eucalyptus pitch their own agency back to them. Make the agency founder 'User Zero' — once they personally experience the product solving their own pain, greed and FOMO compel them to white-label it for their entire client community.


subject: brand_experience

axiom: The main brand website must be the most advanced AI demo the prospect has ever experienced. Use WebGL pulsing orb, immediate microphone prompt, Gemini Live API with ADK Vision watching the cursor in real-time, and dynamic UI that morphs and scrolls as Eucalyptus guides the prospect through the sales funnel. The website IS the product demonstration — no Book a Demo calendar.


subject: budget_governance

axiom: The dogfooding agent army maximizes fixed-cost subscriptions before spending OpenRouter credits. Claude Code Max 20x (Chief Architect, $0 marginal) and Claude Code Max 5x (Frontend Dev, $0 marginal) handle all scaffolding. DeepSeek R1 is invoked sparingly for algorithmic heavy lifting. Kimi K2.5/MiniMax 2.5 handle mass grunt work at $0.55/M tokens. Absolute OpenRouter hard-cap: $500.


subject: codebase_architecture

axiom: Genesis OS must be a four-microservice Turborepo monorepo: genesis-gateway (Node.js/TypeScript for WebRTC/WebSocket edge), genesis-core (Python FastAPI/uvloop for RLM swarms and Adaptive Router), openclaw-actuator (Python isolated container behind cryptographic firewall), genesis-prime-web (Next.js for WebRTC funnel and Stripe dashboard). Polyglot is mandatory — Node.js for async streams, Python for AI SDKs.


subject: agent_routing

axiom: All inbound signals must route through a single /api/v1/llm-router endpoint. Level 1 Triage uses Groq/Haiku (<100ms) for intent classification. Level 2 uses Gemini Flash for summarization/extraction. Level 3 uses Gemini Pro/Claude Opus for complex reasoning. Route extract_html_data to MiniMax ($0 marginal), generate_code to DeepSeek R1, massive_data_process to Kimi K2.5 swarms. Log all token burn to PostgreSQL enforcing the $500 hard-cap.


subject: agent_coordination

axiom: Eliminate agent-to-agent amnesia with the Unified Context Object (UCO) stored in Redis HSET for O(1) read/write latency. Apply Fan-Out/Fan-In parallelization: spawn concurrent enrichment hyphae for Company Info, Tech Stack, and Socials simultaneously. Aggregate all three before modifying the UCO. Enrichment drops from 3-5 minutes to under 60 seconds.


subject: sdlc

axiom: The 4-Chamber Forge SDLC prevents human trial-and-error coding: Chamber 1 (DeepSeek R1 writes PRD with 3 clarifying questions plus Red Team pre-mortem before any code), Chamber 2 (Claude Code 20x holds monorepo context and spawns sequential sub-agents via .claude/tasks/ Kanban), Chamber 3 (Ralph Wiggum Bash Loop traps LLM in remediation until all tests pass), Chamber 4 (3-Tier Verification Matrix: White Box + Black Box + Kimi K2.5 Browser E2E).


subject: sdlc

axiom: The Ralph Wiggum Bash Loop is the deterministic resilience mechanism: 'while ! pytest tests/test_current_module.py > error.log; do claude-code --task Read error.log. Fix the implementation code to make the tests pass without altering PRD logic. --auto-commit; done'. This traps the LLM with the compiler until code is mathematically flawless. Component B cannot start until Component A survives the Crucible.


subject: sdlc

axiom: Kimi K2.5 must serve as Gate 3 of the 3-Tier Verification Matrix acting as a hostile synthetic user: physically clicking through WebGL DOM, attempting to bypass Stripe checkouts, and verifying WebRTC latency against localhost:3000. If Kimi breaks the UI, the module is rejected and returns to Chamber 1. This is the only acceptable browser E2E verification gate before one-shot production deployment.