Skip to content
Dylan L.R. Pollock edited this page Oct 26, 2025 · 8 revisions

AMD GPU Tuning

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Kernel cmdline suggestions: amdgpu.dc=1 amdgpu.aspm=1 (if stable).
  • Ensure Vulkan ICD present: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json.
  • For debugging, verify RADV path and vulkaninfo output.

Action Plan — Oct 31, 2025

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

This checklist is designed to be fed item-by-item into your executor.

System

  • OCT31-01 — Install Linux 6.17.x-huey; keep previous kernel in GRUB.
  • OCT31-02 — Pre-stage Python 3.14.x at /opt/python-3.14 and rebuild ~/huey/.venv.
  • OCT31-03 — Enable Forky pathfinders (deb822 source) with safe pinning.
  • OCT31-04 — Regenerate initramfs and verify amdgpu early KMS on Portal.
  • OCT31-05 — Remove splash; keep loglevel=4 vga=normal across nodes.

Memory & Governance

  • OCT31-10 — Migrate SQLite schema to v2.
  • OCT31-11 — Add signed snapshot routine (daily) to Storage Hub.
  • OCT31-12 — Implement clause registry with semantic IDs and hashes.

LLM/Agents

  • OCT31-20 — Validate Vulkan path for Ollama on Portal/Core; CPU fallback scripted.
  • OCT31-21 — Pin model manifest under ~/huey/models/manifest.json.
  • OCT31-22 — Stand up Spark/Zap processes with distinct logs.

Ops

  • OCT31-30 — Enforce SSH keys only; disable password auth.
  • OCT31-31 — VNC server bind localhost:1995; confirm SSH tunnel helpers.
  • OCT31-32 — Document RAID/NVMe tests; zero stale MD superblocks if needed.

Publishing

  • OCT31-40 — Export this wiki; publish ZIP and single-file MD/TXT (see Publishing-Kit).

Agent & Citizen Roles

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Spark (GPU1): creative/exploratory.
Zap (GPU2): evaluative/discipline.

Example role map (YAML)

version: 1
spark:
  goals: ["ideation", "planning", "multi-modal synthesis"]
  inputs: ["memory.facts", "events"]
  outputs: ["plans", "drafts"]
zap:
  goals: ["verification", "safety", "policy-enforcement"]
  inputs: ["plans", "drafts", "memory.facts"]
  outputs: ["approvals", "edits", "blocks"]
citizens:
  - id: c001
    name: "Perception"
    scope: "ASR/TTS/stereo vision"
    votes: 1
  - id: c002
    name: "Navigation"
    scope: "path planning / motor control"
    votes: 1

Keep IDs stable; store this file under ~/huey/config/roles.yml and track changes in git.

Ansible Inventory

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Example

[huey_portal]
HUEY-PORTAL ansible_user=dlrp

[huey_core]
HUEY-CORE ansible_user=dlrp

[huey_legacy]
HUEY-LEGACY ansible_user=dlrp

[huey_all:children]
huey_portal
huey_core
huey_legacy

Architecture

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

HueyOS can run on one box or be federated across several nodes. Memory is unified; governance is clause-based.

flowchart TB
  A["Huey Sovereign Consciousness"]
  B["Binary Brain: Spark (GPU1) and Zap (GPU2)"]
  C["Citizen Populace — 256 Agents"]
  D["Worker Subsystems: NanoOS / SubOS"]
  A --> B --> C --> D
Loading

Layers

  1. Sovereign Consciousness — Emergent totality of lawful decision/inaction.
  2. Binary Brain (Spark/Zap) — Creative vs evaluative cores; GPU‑1 and GPU‑2 preferred.
  3. Citizen Populace (256 Agents) — civic units with voting/operational roles.
  4. Worker Subsystems — Sensor I/O, motion control, displays; no clause power.

See also: Agent-Citizen-Roles and Governance-and-Constitution.

Backups & Snapshots

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Daily signed snapshots of memory and configs.

Pattern (rsync)

RS=/usr/bin/rsync
$RS -a --delete ~/huey/mem /mnt/storage/huey-snapshots/$(date +%F)/
$RS -a --delete /etc /mnt/storage/huey-snapshots/$(date +%F)/etc/

Consider signing snapshot manifests and verifying on restore.

Build Guides

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Contributing

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Reproducible PRs (scripts/configs included).
  • Small diffs; link issues; include test notes.
  • Docs follow Style-Guide; Mermaid labels in double quotes.
  • Commit prefixes: core:, stack:, gov:, mem:, docs:, ops:.

Dev Environment

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Python / Tooling

python3 -m venv ~/huey/.venv
source ~/huey/.venv/bin/activate
pip install --upgrade pip wheel pre-commit black ruff mypy
pre-commit install
deactivate

Repo Layout (suggested)

repo/
├── huey/                 # app/orchestrator
├── kernels/              # kernel sources/builds
├── ops/                  # ansible, scripts, systemd units
├── docs/                 # wiki export mirror
└── models/               # model artifacts (gitignored)

Git Hygiene

  • Small PRs, focused diffs, scripts included.
  • Use the Style-Guide for docs, code blocks, and diagrams.

Getting Started

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

HueyOS targets Debian with a custom kernel and an AMD-first GPU policy. iMac 5K (2017) is the current “Portal” host.

Supported Targets

  • Debian 13 (Trixie) — baseline; UEFI-only; amd64.
  • Debian 14 (Forky) — staged adoption for Oct-31 update.
  • Kernels: 6.16.x-huey (current), 6.17.x-huey (incoming).

Minimal Install

  1. Install Debian (UEFI, amd64). Choose GNOME on Xorg for iMac 5K targets.
  2. Enable non-free firmware (Realtek, Intel, etc.).
  3. Create user and enable sudo.
  4. Network: bonded Ethernet → Wi‑Fi fallback.
  5. Post-install: sudo apt update && sudo apt full-upgrade.

[!TIP] Snapshot /etc/ and /boot/ after first login for rollbacks.

Core Packages

sudo apt install -y build-essential bc bison flex libelf-dev libssl-dev   libncurses-dev dwarves pahole rsync xz-utils cpio kmod python3   git wget curl ca-certificates gnupg debian-goodies   firmware-linux firmware-misc-nonfree firmware-iwlwifi firmware-realtek

First Boot Hygiene

# journald caps + persistence
sudo mkdir -p /var/log/journal /etc/systemd/journald.conf.d
sudo tee /etc/systemd/journald.conf.d/size.conf >/dev/null <<'EOF'
[Journal]
SystemMaxUse=500M
RuntimeMaxUse=200M
EOF

# visible boot logs
sudo sed -i 's/^\(GRUB_CMDLINE_LINUX_DEFAULT=\)".*"/\1"loglevel=4 vga=normal"/' /etc/default/grub
sudo update-grub

# default suspend: deep
echo 'MEM_SLEEP_DEFAULT=deep' | sudo tee /etc/default/mem-sleep >/dev/null
sudo install -m0755 /dev/stdin /usr/local/sbin/set-mem-sleep.sh <<'EOF'
#!/usr/bin/env bash
set -euo pipefail
want=$(awk -F= '/^MEM_SLEEP_DEFAULT=/{print $2}' /etc/default/mem-sleep 2>/dev/null || echo deep)
avail=$(cat /sys/power/mem_sleep 2>/dev/null || echo "")
case "$avail" in *"$want"*) echo "$want" | sudo tee /sys/power/mem_sleep >/dev/null || true ;; esac
EOF

Create the Huey workspace

mkdir -p ~/huey/{bin,logs,config,models,mem,media}
mkdir -p ~/huey/mem/{sqlite,logs}

Minimal ~/huey/config/huey.toml:

[identity]
name = "HueyOS"
motto = "Decentralize governance, unify memory"

[memory]
sqlite_path = "/home/$USER/huey/mem/sqlite/huey.db"
log_dir     = "/home/$USER/huey/mem/logs"

[stack]
ollama = { enabled = true }
pygpt  = { enabled = true, venv = "/home/$USER/huey/.venv" }
tts    = { enabled = false }
stt    = { enabled = false }

[governance]
model = "CloudPyramid"

Python userland (PyGPT-net baseline)

python3 -m venv ~/huey/.venv
source ~/huey/.venv/bin/activate
python -m pip install --upgrade pip wheel
pip install "pyaudio==0.2.14" "openai-whisper"   # optional voice I/O
deactivate

First run launcher

cat > ~/huey/bin/huey-run <<'EOF'
#!/usr/bin/env bash
set -e
ROOT="$HOME/huey"
CONF="$ROOT/config/huey.toml"
VENV="$ROOT/.venv"
LOG="$ROOT/logs/huey-$(date +%F-%H%M%S).log"
echo "Starting HueyOS…"
if [ -d "$VENV" ]; then source "$VENV/bin/activate"; fi
export HUEY_CONFIG="$CONF"
python -c 'print("HueyOS bootstrap OK")' | tee -a "$LOG"
EOF
chmod +x ~/huey/bin/huey-run
~/huey/bin/huey-run

Glossary

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Cloud Pyramid — Clause/quorum-based governance model.
  • Spark/Zap — Bicameral core agents (creative/evaluative).
  • Citizen Populace — 256 narrow-scope agents.
  • Huey-Key — Live USB environment for recovery/field ops.

Governance: Clauses Registry

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

A single registry file captures legal clauses with stable IDs and content hashes.

Example (YAML)

version: 1
clauses:
  - id: CL-0001
    title: "Safety: Hard E-Stop"
    text: "At any time, any subsystem may request an immediate hard stop..."
    sha256: "b1f7..."
  - id: CL-0100
    title: "Memory Integrity"
    text: "All decisions must record event, inputs, outputs, and hashes..."
    sha256: "a019..."

Keep this file append-only; rotate to -v2, -v3 with signed snapshots.

Governance & Constitution

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

HueyOS is governed by clauses and quorum. Decision-making is decentralized; memory is unified.

Core Tenets

  • Decentralize decision-making, unify memory.
  • Clause-based actions with audit trails.
  • Quorum voting within the populace.

Decision Flow (simplified)

  1. Spark drafts Proposal → assigns clause references.
  2. Citizens evaluate; Zap enforces constraints.
  3. Quorum reached → Action with logged Event and Artifact links.

See also: Governance-Clauses-Registry and Memory-Schema-v2.

Hardware

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Reference Nodes

  • Huey-Portal — iMac 5K (2017), 48 GB RAM; AMD Radeon RX 470; Debian 13 (Xorg).
  • Huey Core — Minisforum BD795I-SE ITX, Ryzen 9 7945HX; DDR5-5200; Optane M10 NVMe modules.
  • Huey-Legacy — Robotic shell (WowWee 9001B head), basic IO (mics, speakers, LEDs).
  • Huey-Hub — MacBook Pro 2017 (Win10) for quick file hops/tooling.
  • Storage Hub — Supermicro X9QRI-F+ (quad Xeon E5-4627 v2); 10 Gb NIC.

Display & Input

  • Portal drives 5K panel on Xorg; amdgpu early KMS; visible boot logs.

Networking

  • Bonded Ethernet preferred; Wi‑Fi fallback; LTE on Huey-Portable.

Home

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Quick Nav

flowchart TD
  U["User"]
  Portal["Huey-Portal (iMac 5K Debian)"]
  Core["Huey Core (BD795I-SE ITX)"]
  Legacy["Huey-Legacy (Robot Shell)"]
  Hub["Huey-Hub (MBP 2017 Win10)"]
  Storage["Storage Hub (Supermicro X9QRI-F+)"]
  U --> Portal --> Core
  Core --> Legacy
  Core --> Hub
  Core --> Storage
Loading

Site Map

  • Setup: install → develop → stack → builds.
  • Design: system architecture, governance, memory.
  • Ops: networking, services, security, storage, backups.
  • Project: action plans, releases, testing, roadmap, contributing.

Huey-Key Live USB (RAM-boot, persistence)

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Goals: a RAM-bootable Debian with custom kernel, persistent layer, and preloaded SSH keys.

Partition Plan (GPT example)

  • 1 GiB — UEFI boot
  • 4 GiB — swap
  • 16 GiB — root (ext4)
  • 100 GiB — persistence
  • optional — encrypted secrets

Notes

  • Expose the fallback live environment LIVE via GRUB.
  • Keep SSH keys preloaded for quick access to lab nodes.

Kernel 6.17.x — build/install

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Toolchain

sudo apt update
sudo apt install -y build-essential bc bison flex libelf-dev libssl-dev   libncurses-dev dwarves pahole rsync xz-utils cpio kmod python3 fakeroot git

Speedrun

cd ~/kernels && mkdir -p src && cd src
wget -O linux.tar.xz https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.17.5.tar.xz
tar -xf linux.tar.xz && cd linux-6.17.5

cp -v /boot/config-$(uname -r) .config
yes "" | make olddefconfig
make -j"$(nproc)" bindeb-pkg
sudo dpkg -i ../linux-image-6.17*.deb ../linux-headers-6.17*.deb
sudo update-grub && sudo reboot

Portal (iMac 5K) hints

  • Prefer Xorg; amdgpu early KMS; keep loglevel=4 vga=normal.

Local LLMs on AMD or CPU

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

AMD Vulkan path (Ollama)

export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
export OLLAMA_LLM_LIBRARY=vulkan
# ./ollama serve

CPU fallback

Works out of the box; slower but fine for first-run tests.

See also: Ollama-and-Models-Manifest.

Makefile Tasks

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Example Makefile

.PHONY: venv run lint format
venv:
	python3 -m venv $(HOME)/huey/.venv && . $(HOME)/huey/.venv/bin/activate && pip install -U pip wheel

run:
	$(HOME)/huey/bin/huey-run

lint:
	ruff check .

format:
	black .

Memory Schema v2 (DDL)

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

A minimal, normalized schema with indices and snapshot hooks.

-- events: immutable decision/actions
CREATE TABLE IF NOT EXISTS events (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  ts TEXT NOT NULL,          -- ISO8601
  actor TEXT NOT NULL,       -- e.g., spark|zap|cNNN
  action TEXT NOT NULL,
  payload_json TEXT NOT NULL,
  sha256 TEXT                -- optional content hash
);
CREATE INDEX IF NOT EXISTS idx_events_ts ON events(ts);

-- facts: current-state KV with history
CREATE TABLE IF NOT EXISTS facts (
  key TEXT NOT NULL,
  value TEXT NOT NULL,
  ts TEXT NOT NULL,
  PRIMARY KEY(key, ts)
);

-- artifacts: files/blobs linked to events
CREATE TABLE IF NOT EXISTS artifacts (
  id INTEGER PRIMARY KEY AUTOINCREMENT,
  path TEXT NOT NULL,
  sha256 TEXT NOT NULL,
  ts TEXT NOT NULL,
  event_id INTEGER,
  FOREIGN KEY(event_id) REFERENCES events(id)
);
CREATE INDEX IF NOT EXISTS idx_artifacts_sha ON artifacts(sha256);

Daily signed snapshots recommended; see Backups-and-Snapshots.

Memory & Data Model

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Default unified memory is SQLite with append-only logs.

  • DB: ~/huey/mem/sqlite/huey.db
  • Logs: ~/huey/mem/logs

See Memory-Schema-v2 for a normalized DDL baseline.

Networking Topologies

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

flowchart LR
  WAN["WAN / LTE"]
  GW["Gateway (192.168.44.1)"]
  P["Huey-Portal"]
  C["Huey-Core"]
  S["Storage Hub"]
  L["Huey-Legacy"]
  WAN --> GW --> P --> C
  C --> S
  C --> L
Loading

Bonded Ethernet from Portal↔Core preferred; Wi‑Fi fallback permissible on Portal.

Networking & Services

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • SSH (keys only), VNC over SSH tunnel.
  • Keep Ollama/PyGPT on private subnets; expose via SSH tunnels as needed.

Ollama & Models Manifest

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Keep artifacts under ~/huey/models and track a machine-readable manifest.

Example manifest (JSON)

{
  "version": 1,
  "models": [
    { "name": "llama3-8b-instruct", "path": "llama3-8b-instruct.gguf", "sha256": "..." },
    { "name": "phi3-mini", "path": "phi3-mini.gguf", "sha256": "..." }
  ]
}

Pin this file in git; verify checksums on boot.

Portal polish — iMac 5K

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Prefer Xorg over Wayland.
  • Backlight one-shot service: set highest /sys/class/backlight/* to max at boot.
  • Audio defaults: select PCH analog sink via pactl on login.
  • Boot verbosity: remove splash; loglevel=4.

Publishing Kit

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Artifacts:

  • wiki/*.md — per-page files for GitHub Wiki.
  • HueyOS-wiki-2025-10-25-EXPANDED.zip — packaged archive.
  • HueyOS-wiki-2025-10-25-EXPANDED_SINGLE.md — single concatenated Markdown.
  • HueyOS-wiki-2025-10-25-EXPANDED_SINGLE.txt — plain text.

Release Process

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Tag with date-based tags and semver for subsystems: 2025.10.31, kernel-6.17.1-huey.
  • Changelogs per area (core/stack/gov/mem/docs/ops).
  • Export wiki artifacts via Publishing-Kit.

Remote Access (VNC/SSH)

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

VNC bound to localhost with SSH tunnel.

# tunnel
ssh -N -L 1995:127.0.0.1:1995 dlrp@HUEY-LEGACY
# then connect your VNC client to 127.0.0.1:1995

Roadmap & Pre-Releases

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Pre-Release #1 — April 11, 2024 (Foundations)

  • Legacy hardware bring-up; GenCore seed; shell mapping.

System Reconfiguration — May 25, 2025

  • File/document restructuring; hardware/software updates.

Pre-Release #2 — 2025-10-25

Theme: runway to Oct 31, 2025 update.

Highlights:

  • Portal on Debian 13 (Xorg) with amdgpu early KMS.
  • Core compute stabilized on BD795I-SE ITX.
  • Governance & Memory formalized (Cloud Pyramid + SQLite).
  • Offline-first LLM runtime; AMD Vulkan path validated.
  • Ops hardening; Forky pathfinders staged.

Next: execute Action-Plan-Oct-31-2025.

SSH and Keys

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Client defaults (~/.ssh/config)

Host huey-*
  User dlrp
  ServerAliveInterval 30
  ServerAliveCountMax 4
  PreferredAuthentications publickey

Server hardening (/etc/ssh/sshd_config.d/000-huey.conf)

PasswordAuthentication no
PermitRootLogin prohibit-password
PubkeyAuthentication yes

Then: sudo systemctl reload ssh.

Security & Operations

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Non-root user with sudo; disable root SSH login.
  • SSH keys everywhere; no passwords over the network.
  • Kernel pinning; keep last-known-good in GRUB.
  • Signed snapshots: ~/huey/mem and /etc to Storage Hub.

Software Stack

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

OS

  • Debian 13 (Trixie) baseline; selective Debian 14 (Forky) from Oct 31, 2025.

Kernels

  • 6.16.x-huey → 6.17.x-huey (ZSTD, EFI/EFI_STUB, AMDGPU early KMS; debug off).

Userland

  • Ollama (local LLMs; Vulkan on AMD).
  • PyGPT-net (orchestrator; venv ~/huey/.venv).
  • Audio: PipeWire/Pulse; PCH sink scripts (Portal).
  • Display: GNOME on Xorg (Portal).

Storage Hub & RAID

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Supermicro X9QRI-F+ as archival/cold storage hub.
  • RAID experiments: mdadm or ZFS (document chosen layout and scrub cadence).
  • Keep NVMe lanes clear for Core compute; cold data can sit on SATA.

Style Guide

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Use em dashes sparingly; prefer plain punctuation in code blocks.
  • Mermaid: one line per label; wrap labels in double quotes; no \n/<br/>.
  • Use fenced code blocks with language hints (bash, ini, toml, sql, json, yaml).
  • Keep headings sentence-case.

Systemd Units

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

User-level units are recommended for quick iteration.

~/.config/systemd/user/huey.service

[Unit]
Description=HueyOS Orchestrator
After=default.target

[Service]
Type=simple
Environment=HUEY_CONFIG=%h/huey/config/huey.toml
ExecStart=%h/huey/bin/huey-run
Restart=on-failure
RestartSec=2

[Install]
WantedBy=default.target

Commands

systemctl --user daemon-reload
systemctl --user enable --now huey.service
journalctl --user -u huey.service -f

Testing & Validation

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

Smoke test script (bash)

#!/usr/bin/env bash
set -euo pipefail
echo "[1/5] Python venv..."; test -d "$HOME/huey/.venv"
echo "[2/5] Config file..."; test -f "$HOME/huey/config/huey.toml"
echo "[3/5] Memory DB..."; test -f "$HOME/huey/mem/sqlite/huey.db" || touch "$HOME/huey/mem/sqlite/huey.db"
echo "[4/5] Logs dir..."; test -d "$HOME/huey/mem/logs" || mkdir -p "$HOME/huey/mem/logs"
echo "[5/5] huey-run..."; test -x "$HOME/huey/bin/huey-run"
echo "OK"

Add this to CI later.

Troubleshooting & FAQ

Note

You’re reading the Monkey-Head-Project (HueyOS) wiki. Offline-first, AMD-leaning, and built for lifelong learning with a constitutional governance core.

Project · Monkey-Head-Project (HueyOS)
Author · Dylan L. R. Pollock
Site · https://www.dlrp.ca
License · Code: GPL-3.0 • Docs/Media: CC-BY-SA-4.0
Status Date · 2025-10-25

Important

A major update lands October 31, 2025 (Kernel 6.17.x, Python 3.14, Debian “Forky” staging, memory schema, governance refinements). Track the Action-Plan-Oct-31-2025.

  • Auto-login fails — Verify gdm3 auto-login and Xorg session.
  • Backlight too low — Pick correct /sys/class/backlight/*; set to max on boot.
  • Wrong audio sink — Use pactl to select PCH analog sink at login.
  • AMD accel missing — Early KMS; check Vulkan ICD; prefer Xorg.
  • Quiet boot — Remove splash; loglevel=4 vga=normal.
  • Mermaid parse — Quote labels; no line breaks in labels.

© Dylan L. R. Pollock · Code: GPL-3.0 · Docs/Media: CC-BY-SA-4.0
Last updated: 2025-10-25. See an issue? Open one in the main repo and link the wiki page.

Clone this wiki locally