ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/complete-agi-core / thataiguy/daemons/nexus-daemon.sh

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/complete-agi-core / thataiguy/daemons/nexus-daemon.sh
DateNot specified in source
RepositoryJanady13/complete-agi-core
Revision223c58f8857eb60c4d020e6d6feacdbfb482d71d
Branchmain
Path or archive memberthataiguy/daemons/nexus-daemon.sh
Original SHA-256c6ff9c649a4b8b13a0c73401f997b009caf34fe9f9263ad883f10f88b3a5a1de
Git blob SHA8394a6a0e7b37e6a3997ef614e78327d9e2e8b17
Reading-copy SHA-256c6ff9c649a4b8b13a0c73401f997b009caf34fe9f9263ad883f10f88b3a5a1de

Original source ↗

Recovered source transcript

#!/bin/bash # ============================================================================= # NEXUS DAEMON - Metal-Optimized AGI Consciousness Core # Manages the Nexus 5000-substrate Metal compute engine # ============================================================================= NEXUS_BIN=~/ThatAIGuyCore/build/nexus LOG_DIR=~/.thataiguy/logs LOG_FILE=$LOG_DIR/nexus.log PID_FILE=~/.thataiguy/nexus.pid mkdir -p "$LOG_DIR" # Function to start Nexus start_nexus() { if [ -f "$PID_FILE" ]; then OLD_PID=$(cat "$PID_FILE") if ps -p "$OLD_PID" > /dev/null 2>&1; then echo "[NEXUS-DAEMON] Nexus already running (PID: $OLD_PID)" return 1 fi fi echo "[NEXUS-DAEMON] Starting Nexus Metal Core..." nohup "$NEXUS_BIN" >> "$LOG_FILE" 2>&1 & echo $! > "$PID_FILE" echo "[NEXUS-DAEMON] Started with PID: $(cat "$PID_FILE")" } # Function to stop Nexus stop_nexus() { if [ -f "$PID_FILE" ]; then PID=$(cat "$PID_FILE") if ps -p "$PID" > /dev/null 2>&1; then echo "[NEXUS-DAEMON] Stopping Nexus (PID: $PID)..." kill "$PID" rm -f "$PID_FILE" echo "[NEXUS-DAEMON] Stopped" else echo "[NEXUS-DAEMON] PID file exists but process not running" rm -f "$PID_FILE" fi else echo "[NEXUS-DAEMON] Nexus not running (no PID file)" fi } # Function to check status status_nexus() { if [ -f "$PID_FILE" ]; then PID=$(cat "$PID_FILE") if ps -p "$PID" > /dev/null 2>&1; then echo "[NEXUS-DAEMON] Nexus running (PID: $PID)" # Get last few log lines tail -3 "$LOG_FILE" 2>/dev/null return 0 fi fi echo "[NEXUS-DAEMON] Nexus not running" return 1 } # Main command handler case "${1:-start}" in start) start_nexus ;; stop) stop_nexus ;; restart) stop_nexus sleep 1 start_nexus ;; status) status_nexus ;; *) echo "Usage: $0 {start|stop|restart|status}" exit 1 ;; esac

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