title: Genesis Neuro-Continuity Architecture (GNCA)

content: Shifting from a 'respawn' model (stateless sessions) to a living mind model that treats sessions as a continuous experience involving encoding, consolidating, and integrating information.


title: Hippocampal Buffer Implementation

content: Implement a 'Hippocampal Buffer' using Redis Streams as a dedicated, high-speed, real-time ingestion service. Every event is structured as a JSON object and XADD'd to a Redis Stream.


title: Three-Tier Memory Cortex

content: Formalize memory into three distinct layers: L1 (Episodic Buffer - Redis), L2 (Semantic Store - PostgreSQL/Qdrant), and L3 (Pattern Library - Neo4j/Postgres).


title: Consolidation Pipeline Process

content: A multi-agent 'Consolidation Pipeline' runs during 'sleep' (inter-session). It consumes the Redis Stream, identifies patterns (Causal Chains, Decision Nodes, Semantic Facts), and stores them in the Neocortex.

steps: Pattern Extractor Agent extracts structures


title: Salience-Based Compaction

content: Replace lossy summarization with intelligent pruning. Use a Salience Tagger to score events on Emotional, Novelty, Rehearsal, and Strategic axes. Preserve top 20%, consolidate middle 60% into semantic facts, discard bottom 20%.


title: Reconsolidation Hook Logic

content: Replace get_memory(query) with access_memory(query, current_context). The function retrieves memory, compares it with current_context using an LLM, and if a change is detected, creates a new version of the memory object instead of overwriting.


title: Sleep Stages Schedule

content: Schedule the Consolidation Pipeline in distinct biological-inspired stages: N1/N2 (Immediate Triage) runs 5 mins after end; N3 (Declarative Consolidation) runs 1 hour later; REM (Integrative) runs during quiet hours; Cleanup runs every 24 hours.

steps: N1/N2: 5 mins after session end - Extract action items

steps: N3: 1 hour later - Main replay and pattern extraction

steps: REM: Quiet hours - Cross-session analysis


title: Circadian Rhythms for Resources

content: Implement a system aware of 'Active Hours' (e.g., 8 AM - 8 PM) and 'Quiet Hours'. Throttle background processing during Active Hours and unleash the full Consolidation Pipeline during Quiet Hours to optimize API costs and compute.


title: DMN Agent Wake-up Briefing

content: A dedicated 'Default Mode Network (DMN) Agent' runs nightly to review consolidated patterns, cross-reference the Knowledge Graph, and generate a 'Wake-up Briefing' (<1K tokens) to be injected at the start of the next session.


title: Seamless Session Continuity

content: The architecture is designed to make session boundaries invisible (seamless) to the user, achieving true persistent collaboration and eliminating re-orientation friction.


title: Example Pricing Model

content: The document provides an example of Sunaiva pricing at $47/$97/$197 (likely tiers).


title: Human-Like Re-Orientation

content: Using a pre-computed, high-level narrative briefing to instantly re-orient the agent (and thus the user), eliminating the 'boot tax' of summarization and making the agent feel like it never left.


title: Neural Event Packet Structure

content: JSON structure for events: { event_id, timestamp, session_id, type, content, metadata: { causal_link, salience_scores } }