Rendering markdown & diagrams...
1 # NEURALOS OPERATIONAL BACKLOG
2 **COMMAND AUTHORITY:** CHIEF ARCHITECT (SHUBHAM)
3 **EFFECTIVE DATE:** 2026-11-08
4 **STATUS:** LIVING DOCUMENT — Updated as tasks complete
5
6 ---
7
8 ## PRIORITY 1: IMMEDIATE (Required for full operational capability)
9
10 ### BL-001: Remote Access Beyond Local Wi-Fi
11 **Status:** COMPLETED (2026-11-09)
12 **Details:** Tailscale v1.104.5 installed on Dell Node-01. Authenticated to `ssharma38w@` tailnet. Permanent IP: `100.93.213.110`. Configured auto-failover (LAN & Tailscale) across `neuralos.conf`, `start_brain.sh`, and `sync_memory.sh`.
13
14 ---
15
16 ### BL-002: Memory Sync Mechanism (Multi-Device → Dell Anchor)
17 **Status:** COMPLETED (2026-11-09)
18 **Details:** Dual SQLite sync implemented in `sync_memory.sh` covering both `memory.db` and `graph_memory.db`. Local offline fallback integrated into `recall.py`, `remember.py`, and `graph_engine.py` for sub-millisecond local execution without network dependencies.
19
20 ---
21
22 ### BL-003: Ubuntu Pro Enrollment
23 **Status:** NOT STARTED
24 **Rationale:** Ubuntu Pro is FREE for up to 5 machines. Provides 10-year security patches for all 23,000+ Universe packages (not just Main). Critical for a headless server exposed to the network.
25 **Verdict:** YES, enroll. No cost, significant security benefit.
26 **Implementation:**
27 ```bash
28 # Get free token: https://ubuntu.com/pro (sign in with Ubuntu One account)
29 ssh agent@192.168.31.65 "sudo pro attach <TOKEN>"
30 ```
31 **What it adds:**
32 - ESM (Extended Security Maintenance) for universe packages
33 - Livepatch (kernel patches without reboot)
34 - FIPS compliance modules (not needed but included)
35 - CIS hardening benchmarks
36
37 ---
38
39 ### BL-004: Update Modelfile System Prompt After Doc Dedup
40 **Status:** COMPLETED (2026-11-09)
41 **Details:** Recompiled `neuralos` in Ollama using `huihui_ai/deepseek-r1-abliterated:7b-qwen-distill` as base engine with AFDN-free directives. Tested and operational.
42
43 ---
44
45 ### BL-008: PicoClaw Autonomous Agent Gateway & Skills
46 **Status:** COMPLETED (2026-11-09)
47 **Details:** Deployed PicoClaw v0.3.1 as a 24/7 background systemd service (`picoclaw.service`) on Dell Node-01 listening on `0.0.0.0:18790`. Configured custom `neural-memory` and `system-telemetry` skills. Wired an hourly cron job for autonomous system health auditing.
48
49 ---
50
51 ### BL-009: Drive D Media Vault & Streaming Dashboard
52 **Status:** COMPLETED (2026-11-09)
53 **Details:** Mounted `/dev/sda5` permanently via `/etc/fstab` to `/mnt/drive_d` (ROE-01 protected read-only). Upgraded `web_status.py` on `http://dell-ss.lan:8080` with direct file browsing, live filter, full HTML5 video streaming with RFC 7233 byte-range & HEAD support, image viewer, audio player, and PDF/code reader.
54
55 ---
56
57 ### BL-010: Graph Memory Engine Deployment
58 **Status:** COMPLETED (2026-11-09)
59 **Details:** Built `graph_engine.py` (zero external dependencies, pure standard library + SQLite WAL) on Dell Node-01 (`/var/neural_memory/`). Seeded 16 nodes and directed weighted edges. Spreading activation queries return associated hardware and policies in <5ms.
60
61 ---
62
63 ### BL-015: Markdown & Mermaid Diagram Rendering on Telemetry & Media Vault Server
64 **Status:** COMPLETED (2026-11-09)
65 **Details:** Upgraded `web_status.py` on Dell Node-01 (`http://dell-ss.lan:8080`). All `.md` documents in Cluster Specifications (`/read?file=...`) and Drive D Media Vault (`/media?file=...`) now render as formatted GitHub-dark Markdown with GFM support (tables, code blocks, task lists) AND interactive Mermaid.js vector diagrams. Features instant toggle between `[👁 Rendered View]` and `[📄 Raw Markdown]`, `[📋 Copy Raw]` button, local serving of both `marked.min.js` and `mermaid.min.js` (`/static/`), and CDN fallback.
66
67 ---
68
69 ### BL-016: Autonomous Tor Network, Magnet Vault & Self-Hosted Web Cinema ("My Own Stremio")
70 **Status:** COMPLETED & DEPLOYED (2026-11-09)
71 **Details:** Fully eliminated external Stremio client app dependency. Transformed `http://dell-ss.lan` into Shubham's own 100% self-hosted, browser-native streaming media center on standard Port 80.
72 - **Port 80 Native Access:** Configured and persisted kernel NAT PREROUTING redirect (`iptables-persistent` rules saved in `/etc/iptables/rules.v4`).
73 - **Web Cinema Interface:** Accessible at `http://dell-ss.lan/` and `http://dell-ss.lan/cinema`. Interactive Tor-federated search (Cinemeta + Torrentio + YTS) with high-res poster art, IMDb ratings, genres, and synopsis.
74 - **Sequential Video Streaming Theater (`/watch`):** Embedded HTML5 video theater powered by TorrServer MatriX.150 (`:8090`). Streams torrents sequentially on-the-fly over HTTP 206 Partial Content with zero external players needed. Includes multi-file episode switcher, playback speeds (0.75x–2.0x), full-screen HUD, and keyboard hotkeys.
75 - **1-Click 1TB HDD Downloader:** Background `aria2c` integration routing over Tor SOCKS5h into `/mnt/hdd1/MOvies/`. Strictly ROE-01 compliant (Drive D `/dev/sda5` is read-only).
76 - **Offline HDD Player (`/watch_hdd`):** Streams saved offline movies from `/mnt/hdd1/MOvies` with instant seeking.
77 - **Preserved Core Telemetry & Docs:** Tabbed navigation integrating Retro Telemetry, Read-Only Drive D Vault, 1TB HDD Media Center, and GitHub-dark rendered Markdown specs with live Mermaid.js vector diagrams.
78
79 ---
80
81 ### BL-017: AFDN 25-1 Research Paper Infographic Video Synthesis Subsystem
82 **Status:** SPECIFICATION DEFINED (AFDN 25-1 Compliant)
83 **Details:** Promulgated `AFDN_25-1_RESEARCH_VIDEO_SYNTHESIS_SPEC.md`. Defines complete pipeline: semantic paper decomposition into visual storyboard acts, zero-shot voice cloning with Shubham reference profile via F5-TTS, headless procedural vector animations with Manim Community Edition on Dell, and master 1080p60 assembly via FFmpeg targeting `/mnt/hdd1/renders/`.
84
85 ---
86
87 ## PRIORITY 2: NEAR-TERM (Enhances capability significantly)
88
89 ### BL-005: Ollama on Dell for Edge Inference
90 **Status:** NOT STARTED
91 **Rationale:** Dell's 8GB RAM can run 1B-3B models (Gemma 2B, Qwen 2.5 3B) for lightweight tasks: embeddings, text classification, simple Q&A — offloading the Mac.
92 **Implementation:**
93 ```bash
94 ssh agent@192.168.31.65 "curl -fsSL https://ollama.com/install.sh | sh"
95 ssh agent@192.168.31.65 "ollama pull gemma3:1b"
96 ```
97 **Constraint:** Only IQ4_XS or smaller quantizations fit in 8GB with OS overhead. Do not attempt 7B+ models.
98
99 ---
100
101 ### BL-006: Vector Memory Search (ChromaDB / SQLite-vec)
102 **Status:** NOT STARTED
103 **Rationale:** Current `recall` uses SQL LIKE pattern matching. Semantic search via embeddings would dramatically improve memory retrieval quality.
104 **Options:**
105 - **SQLite-vec:** Zero-dependency, extends existing SQLite DB. Recommended for Phase 1.
106 - **ChromaDB:** Full vector DB. Store on `/mnt/hdd1` (1TB HDD). Better for large corpus.
107 **Dependency:** BL-005 (needs local embedding model on Dell).
108
109 ---
110
111 ### BL-007: Docker on Dell
112 **Status:** NOT STARTED
113 **Rationale:** Sandboxed execution environment for untrusted code, isolated services, reproducible deployments.
114 ```bash
115 ssh agent@192.168.31.65 "sudo apt install docker.io && sudo usermod -aG docker agent"
116 ```
117
118 ---
119
120 ### BL-008: Health Monitoring Daemon
121 **Status:** NOT STARTED
122 **Rationale:** Cron-driven continuous auditing: disk space, temperature, memory pressure, service status. Auto-alert if thresholds exceeded.
123 **Implementation:** Systemd timer + Python script on Dell. Write alerts to `/var/neural_memory/data/alerts.db`.
124
125 ---
126
127 ### BL-009: `start_brain.sh` Improvements
128 **Status:** NOT STARTED
129 **Tasks:**
130 - [ ] Read `DELL_IP` and `DELL_USER` from `neuralos.conf` instead of hardcoding
131 - [ ] Add Tailscale IP fallback (try LAN IP first, then Tailscale IP)
132 - [ ] Add memory sync step (rsync, per BL-002)
133 - [ ] Add model health check (`ollama list | grep neuralos`)
134
135 ---
136
137 ## PRIORITY 3: LONG-TERM (Fleet expansion & hardening)
138
139 ### BL-010: Lenovo 4GB Laptop — Vector Memory Node
140 **Status:** NOT STARTED
141 **Rationale:** Dedicated to running embedding models and ChromaDB. Frees Dell for execution tasks.
142 **Prerequisite:** Physical access, Ubuntu Server install, Tailscale enrollment.
143
144 ---
145
146 ### BL-011: Android Phone — Voice/Sensor Edge Node
147 **Status:** NOT STARTED
148 **Rationale:** Always-on microphone + sensors. Whisper transcription via Termux, push voice commands to NeuralOS grid.
149 **Prerequisite:** Termux + proot-distro, SSH key deployment.
150
151 ---
152
153 ### BL-012: Office Mac M4 Pro 48GB — Secondary Inference Brain
154 **Status:** BLOCKED (Corporate MDM)
155 **Rationale:** 48GB unified memory can run 27B+ models at high quality. Potentially the most powerful node in the fleet.
156 **Blockers:**
157 - Corporate MDM may restrict: Ollama installation, Tailscale VPN, SSH server, custom system services.
158 - Evaluate what's possible within corporate constraints before planning.
159
160 ---
161
162 ### BL-013: Custom Kernel Compilation
163 **Status:** NOT STARTED
164 **Rationale:** Strip Dell kernel to <15 MB by removing unused desktop/server drivers (Bluetooth, USB audio, exotic filesystems). Reduces attack surface and boot time.
165
166 ---
167
168 ### BL-014: NeuralOS ISO Builder
169 **Status:** NOT STARTED
170 **Rationale:** Package the entire cognitive stack into an installable ISO. Deploy to any x86_64 machine in one step.
171 **Dependency:** BL-013, BL-005, BL-006, BL-007 (all core services must be stable first).
172
173 ---
174
175 ## COMPLETED
176
177 | ID | Task | Completion Date |
178 | :--- | :--- | :--- |
179 | ✅ | Ubuntu Server 26.04 installed on Dell `/dev/sda3` | 2026-11-07 |
180 | ✅ | Drive D (`/dev/sda5`) preserved intact | 2026-11-07 |
181 | ✅ | SSH key auth + `agent` user with NOPASSWD sudo | 2026-11-08 |
182 | ✅ | Wi-Fi connected (SSID: Contemplate) | 2026-11-08 |
183 | ✅ | Lid-close sleep disabled | 2026-11-08 |
184 | ✅ | External HDD mounted RW at `/mnt/hdd1` | 2026-11-08 |
185 | ✅ | Persistent memory DB initialized (`/var/neural_memory/`) | 2026-11-08 |
186 | ✅ | `recall`, `remember`, `node-status` binaries deployed | 2026-11-08 |
187 | ✅ | Ollama model pulled (`huihui_ai/gemma-4-abliterated:12b`) | 2026-11-08 |
188 | ✅ | NeuralOS Ollama persona built (`neuralos:latest`) | 2026-11-08 |
189 | ✅ | `start_brain.sh` launcher operational | 2026-11-08 |
190 | ✅ | `switch_model.sh` hot-swap utility operational | 2026-11-08 |
191 | ✅ | Document deduplication & SPEC-STD compliance review | 2026-11-08 |
192