Crate omega_loops

Crate omega_loops 

Source
Expand description

§Omega Loops

Temporal loop system for ExoGenesis Omega implementing the 7-layer temporal hierarchy from milliseconds (Reflexive) to decades (Transcendent).

§Architecture

The system consists of 7 nested temporal loops operating at different timescales:

  • Loop 1: Reflexive (100ms) - Immediate sensory-motor feedback
  • Loop 2: Reactive (5s) - Quick decision-making
  • Loop 3: Adaptive (30min) - Learning from recent experiences
  • Loop 4: Deliberative (24h) - Strategic planning
  • Loop 5: Evolutionary (7d) - Systematic improvement
  • Loop 6: Transformative (1y) - Fundamental changes
  • Loop 7: Transcendent (10y) - Paradigm shifts

§Example

use omega_loops::LoopEngine;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut engine = LoopEngine::new();
    engine.initialize().await?;

    // Engine coordinates all 7 temporal loops

    engine.shutdown().await?;
    Ok(())
}

Re-exports§

pub use coordinator::LoopCoordinator;
pub use executor::LoopExecutor;

Modules§

coordinator
Loop Coordinator - Implements LoopManager trait for coordinating all temporal loops
executor
Loop Executors - Execute cycles for each loop type
processors
Cycle processors for each temporal loop type

Structs§

LoopEngine
Main loop engine that coordinates all 7 temporal loops
LoopStats
Statistics for a temporal loop