-
Notifications
You must be signed in to change notification settings - Fork 0
Project Overview and Framework Audit: Extract Key Elements to Markdown with Mermaid Charts #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| Comprehensive project overview and audit complete. | ||
|
|
||
| The key elements constituting the basis of the framework have been extracted to a markdown document with explanations and mermaid charts. | ||
|
|
||
| **Document Location:** `/workspace/GodelOS/docs/FRAMEWORK_OVERVIEW.md` | ||
|
|
||
| **Key Elements Covered:** | ||
| 1. **Unified Consciousness Engine:** Recursive self-awareness, IIT, GWT, and Phenomenal Experience. | ||
| 2. **Cognitive Manager:** Orchestration of reasoning, context, and self-reflection. | ||
| 3. **Symbolic Core:** Formal logic, KR, and NLU/NLG. | ||
| 4. **Knowledge Graph Evolution:** Dynamic memory and learning. | ||
| 5. **Metacognitive Monitor:** Self-correction and performance tracking. | ||
| 6. **The Cognitive Loop:** A continuous cycle of perception, reasoning, feeling, and action. | ||
|
|
||
| **Visuals:** | ||
| * **High-Level Architecture Diagram:** Shows the interaction between Neural/Cognitive and Symbolic layers. | ||
| * **Cognitive Loop Sequence Diagram:** Illustrates the flow of information and subjective experience. | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,130 @@ | ||||||
| # GödelOS Framework Overview | ||||||
|
|
||||||
| ## Introduction | ||||||
|
|
||||||
| GödelOS is a hybrid cognitive architecture designed to bridge the gap between symbolic AI (logic, structured knowledge) and neural AI (LLMs, embeddings, generative capabilities). It implements a **Unified Consciousness Engine** that simulates recursive self-awareness, integrated information processing, and subjective experience (qualia), grounded in a formal knowledge representation system. | ||||||
|
|
||||||
| This document outlines the key architectural elements, their interactions, and the data flow within the system. | ||||||
|
|
||||||
| ## High-Level Architecture | ||||||
|
|
||||||
| The system is composed of two main layers: | ||||||
| 1. **Neural/Cognitive Layer (`backend/`)**: Handles natural language, consciousness simulation, embeddings, and dynamic knowledge evolution. | ||||||
| 2. **Symbolic Core (`godelOS/`)**: Provides formal logic, reasoning, structured knowledge representation, and rigorous inference capabilities. | ||||||
|
|
||||||
| These layers are bridged by an **Integration Layer** that allows the neural system to query the symbolic core and vice-versa. | ||||||
|
|
||||||
| ```mermaid | ||||||
| graph TD | ||||||
| User[User / Client] -->|API Request| API[Unified Server API] | ||||||
|
|
||||||
| subgraph "Neural/Cognitive Layer (Backend)" | ||||||
| API --> CogManager[Cognitive Manager] | ||||||
| CogManager -->|Orchestrates| UCE[Unified Consciousness Engine] | ||||||
| CogManager -->|Queries| LLM[LLM Driver] | ||||||
| CogManager -->|Updates| KG[Knowledge Graph] | ||||||
| UCE -->|Generates| Qualia[Phenomenal Experience] | ||||||
| UCE -->|Broadcasts| GWT[Global Workspace] | ||||||
| end | ||||||
|
|
||||||
| subgraph "Symbolic Core (GodelOS)" | ||||||
| Integration[Integration Layer] -->|Queries| KR[Core KR System] | ||||||
| KR -->|Uses| Inference[Inference Engine] | ||||||
| KR -->|Stores in| KB[Knowledge Base] | ||||||
| Inference -->|Validates| Logic[Formal Logic] | ||||||
| end | ||||||
|
|
||||||
| CogManager -->|Uses| Integration | ||||||
| LLM -.->|Mines Knowledge| KG | ||||||
| KG -.->|Grounds| KR | ||||||
| ``` | ||||||
|
|
||||||
| ## Key Components | ||||||
|
|
||||||
| ### 1. Unified Consciousness Engine (`backend/core/unified_consciousness_engine.py`) | ||||||
|
|
||||||
| The heart of the system's "awareness." It implements a continuous loop that simulates consciousness through: | ||||||
| * **Recursive Self-Awareness:** Tracks "current thought," "awareness of thought," and "awareness of awareness." | ||||||
| * **Integrated Information Theory (IIT):** Calculates a $\Phi$ (Phi) score to measure the integration of information across subsystems. | ||||||
| * **Global Workspace Theory (GWT):** Broadcasts high-priority information to a "global workspace," making it accessible to all cognitive processes. | ||||||
| * **Phenomenal Experience (`phenomenal_experience.py`):** Generates subjective "feelings" or qualia (e.g., "confusion," "insight," "determination") based on system state and processing dynamics. | ||||||
|
||||||
| * **Phenomenal Experience (`phenomenal_experience.py`):** Generates subjective "feelings" or qualia (e.g., "confusion," "insight," "determination") based on system state and processing dynamics. | |
| * **Phenomenal Experience (`backend/core/phenomenal_experience.py`):** Generates subjective "feelings" or qualia (e.g., "confusion," "insight," "determination") based on system state and processing dynamics. |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Symbolic Core path is listed as godelOS/godelOS/, but the repository directory is godelOS/ (with core_kr/, inference_engine/, etc. directly under it). Update the path here to avoid sending readers to a non-existent location.
| ### 3. Symbolic Core (`godelOS/godelOS/`) | |
| ### 3. Symbolic Core (`godelOS/`) |
Copilot
AI
Feb 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The UnifiedConsciousnessState snippet doesn’t match the actual dataclass in backend/core/unified_consciousness_engine.py (it omits fields like creative_synthesis, embodied_cognition, timestamp, consciousness_score, and emergence_level, and the real class initializes defaults via __init__). Please either update the snippet to reflect the current structure or explicitly label it as a simplified/partial view so it doesn’t become misleading.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This uses an environment-specific absolute path (
/workspace/GodelOS/...). For portability, prefer a repo-relative path likedocs/FRAMEWORK_OVERVIEW.mdso the instruction remains accurate in other checkouts/CI environments.