ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/ai-brain-core / frontend/index.html

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/ai-brain-core / frontend/index.html
DateNot specified in source
RepositoryJanady13/ai-brain-core
Revision365850e27004318edd582881225024026b118c2d
Branchclaude/agi-architecture-diagram-01GJ7CohfKvLb77yiKpHqd6d
Path or archive memberfrontend/index.html
Original SHA-256a501e00642eb978811e91ba5c8dc30be1d7d87441fba4af0b3c24f78e53a1506
Git blob SHAfc9b859896d80e24f0899f479ceb52a0e052b828
Reading-copy SHA-256a501e00642eb978811e91ba5c8dc30be1d7d87441fba4af0b3c24f78e53a1506

Original source ↗

Recovered source transcript

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>AGI Architecture — Interactive Diagram</title> <script src="https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.min.js"></script> <style> body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background: #0d1117; color: #c9d1d9; } .container { max-width: 1200px; margin: auto; } .header { text-align: center; padding: 20px; background: #161b22; border-radius: 12px; margin-bottom: 20px; } .mermaid { background: #161b22; padding: 20px; border-radius: 12px; } .controls { text-align: center; margin: 20px 0; } button { background: #238636; color: white; border: none; padding: 10px 20px; margin: 5px; border-radius: 6px; cursor: pointer; } button:hover { background: #2ea043; } .info { margin-top: 20px; padding: 15px; background: #161b22; border-radius: 8px; display: none; } .info.active { display: block; } </style> </head> <body> <div class="container"> <div class="header"> <h1>AGI Architecture — Interactive Diagram</h1> <p>Click any node to explore. <strong>9.2 KB. Real. On-device.</strong></p> </div> <div class="controls"> <button onclick="showView('full')">Full System</button> <button onclick="showView('ingest')">Ingestion</button> <button onclick="showView('memory')">Memory & Context</button> <button onclick="showView('reason')">Reasoning</button> <button onclick="showView('action')">Actions</button> <button onclick="reset()">Reset</button> </div> <div class="mermaid" id="diagram"></div> <div id="info" class="info"></div> </div> <script> mermaid.initialize({ startOnLoad: false, theme: 'dark', flowchart: { useMaxWidth: true, htmlLabels: true } }); const diagrams = { full: ` graph TD A[User Input<br><small>"Write hello world"</small>] --> B[Input Processor<br><small>Clean + Tokenize</small>] B --> C[Knowledge Base<br><small>150K Words + Actions</small>] B --> D[Context Memory<br><small>64-turn buffer</small>] C --> E[Scoring Engine<br><small>Energy + Context + Recency</small>] D --> E E --> F{Natural Response?} F -->|Yes| G[Response Generator<br><small>"Here's your code:"</small>] F -->|No| H[Action Executor<br><small>fork() + execve()</small>] G --> I[Output<br><small>AGI: Done.</small>] H --> I I --> J[Memory Update<br><small>Store turn</small>] J --> D click A showInfo "User speaks in natural language" click B showInfo "Normalizes input: lowercase, remove punctuation" click C showInfo "Static array of 150K+ English words + learned commands" click D showInfo "Circular buffer of last 64 turns (user + AGI)" click E showInfo "Score = energy + context boost + recency" click F showInfo "Decides: respond or act" click G showInfo "Generates human-like text" click H showInfo "Executes shell command in $HOME/agi_workspace" click I showInfo "Prints to terminal" click J showInfo "Learns from conversation" `, ingest: ` graph TD A[File System<br><small>$HOME, Documents, Projects</small>] --> B[Directory Walker] B --> C[Text Files] C --> D[Tokenize<br><small>Split by space, punctuation</small>] D --> E[Normalize<br><small>lowercase, clean</small>] E --> F[Hash (FNV-1a)] F --> G[Knowledge Base<br><small>Store phrase + energy=1</small>] click A showInfo "Scans your personal files on startup" click B showInfo "Recursively walks directories" click C showInfo "Only reads .txt, .c, .py, etc." click D showInfo "Splits on space, comma, newline" click E showInfo "Converts to lowercase, removes symbols" click F showInfo "64-bit FNV-1a hash for O(1) lookup" click G showInfo "Builds internal dictionary from your data" `, memory: ` graph TD A[User: "Hello"] --> B[Memory Slot 0] B --> C[AGI: "Hi there!"] C --> D[Memory Slot 1] D --> E[User: "Write code"] E --> F[Memory Slot 2] F --> G[AGI: "Here's your code"] G --> H[Memory Slot 3] H --> I[Circular Buffer<br><small>64 slots max</small>] I --> J[Oldest dropped when full] click A showInfo "User turn stored" click C showInfo "AGI turn stored" click I showInfo "Fixed 64-turn context window" click J showInfo "FIFO: oldest turn removed" `, reason: ` graph TD A[Input: "compile hello"] --> B[Match: "compile"] B --> C[Energy: 52] C --> D[Context: "hello.c" in memory<br>+100 boost] D --> E[Recency: last used 10 ticks ago<br>+10] E --> F[Total Score: 162] F --> G[Highest Score → Selected] G --> H[Action: "gcc -o hello hello.c && ./hello"] click A showInfo "Input matched against knowledge" click B showInfo "Base energy from usage" click C showInfo "Context boost if phrase in memory" click E showInfo "Recency boost favors recent knowledge" click F showInfo "Winner-takes-all" click H showInfo "Action executed" `, action: ` graph TD A[Command: "echo '...' > hello.c"] --> B[fork()] B --> C[Child Process] C --> D[chdir($HOME/agi_workspace)] D --> E[execl("/bin/sh", "-c", cmd)] E --> F[OS runs command] F --> G[waitpid() in parent] G --> H{Success?} H -->|Yes| I[AGI: All set!] H -->|No| J[AGI: Hmm, that didn't work.] click A showInfo "Command from knowledge base" click B showInfo "Creates isolated child" click C showInfo "Sandboxed in workspace" click E showInfo "Runs via shell" click G showInfo "Parent waits for result" click I showInfo "Success message" click J showInfo "Friendly error" ` }; function showView(view) { const code = diagrams[view]; document.getElementById('diagram').innerHTML = ''; mermaid.render('graphDiv', code, (svg) => { document.getElementById('diagram').innerHTML = svg; }); } function showInfo(text) { document.getElementById('info').innerHTML = `<strong>Info:</strong> ${text}`; document.getElementById('info').classList.add('active'); } function reset() { document.getElementById('info').classList.remove('active'); showView('full'); } // Initialize mermaid.initialize({ startOnLoad: false }); showView('full'); </script> </body> </html>

Search equations, builds, manuscript text, and recovered sources.