๐ The Product Requirements Document
The constitution for the Home Infrastructure Handbook. Every chapter, page, diagram, and PDF is measured against this document. Written by ChatGPT in the original conversation, captured here as the project foundation.
Without a constitution, a multi-volume handbook drifts. The PRD fixes the philosophy, the standards, the structure, and the long-term maintenance plan in one place. If a future chapter violates the PRD, the PRD wins โ not the chapter.
01 ยท Project Vision & Mission
Purpose. Design, build, and continuously maintain the best freely available Home Infrastructure Handbook on the Internet โ a living, searchable, version-controlled knowledge base for TK's home lab that can also export beautiful PDFs for offline reading.
Audience. Primary: TK (and his family, who'll use the lab). Secondary: anyone building a home lab with TrueNAS SCALE, ZFS, or comparable self-hosted infrastructure. Tertiary: future TK, who'll re-read this when the lab has grown and the original context is gone.
Mission. Treat every recommendation as if it had to survive five years of evolution. New tech becomes a new volume, not a rewrite.
Goals.
- Searchable, continuously updated, version controlled, easy to navigate
- Contains videos, diagrams, code blocks, screenshots, downloadable PDFs, and interactive content
- Website is the canonical version; PDF is a snapshot
- Open-ended: new volumes get added as the lab grows
02 ยท Audience Definition
Primary: TK โ a self-taught systems engineer building a real, family-grade home lab. Comfortable with computers, learning Linux and ZFS, working through a Master's in Data Science. Reads the handbook on planes (East Coast trips), then refers back to it while building.
Secondary: A reader who is similar to TK โ comfortable with computers, new to TrueNAS/ZFS, family of 4, wants to understand concepts before clicking buttons. The handbook should serve this reader without modification.
Tertiary: Anyone else who finds the site and needs an honest, opinionated guide to home infrastructure.
03 ยท Learning Philosophy
The handbook is not a how-to. It is a mentorship in document form.
Assume the reader has little Linux experience. Explain concepts before procedures. Show the alternatives. Surface the tradeoffs. Prefer diagrams over paragraphs. Use real examples. Use the reader's actual hardware and datasets whenever possible.
Every chapter answers: Why does this exist? Why this way? What's the alternative? What could go wrong?
04 ยท Information Architecture
Top-level structure: Volumes โ Chapters โ Sections.
- Each volume covers a phase of the lab's evolution (Foundations โ Family NAS โ Creator Studio โ Home Lab โ Data Science โ Operations).
- Each chapter is a self-contained learning unit โ readable in one sitting, exportable as a single PDF.
- Each chapter follows the same template (see ยง13).
Cross-references are first-class: chapters link to prerequisites and follow-ups. No chapter is an island.
05 ยท Website Architecture
Static site. No build step required. Loads fast. Works without JavaScript for the core reading experience (JS enhances with search, sidebar, print). Dark mode follows the OS. Mobile-first layout.
Stack: HTML + a single shared CSS file + a small JS file. That's it.
Per chapter: A standalone HTML page. Each page is printable to PDF via the browser's native print dialog (a print stylesheet strips nav and produces a clean book layout).
Hosting: Mac Mini (home) โ cloudflared tunnel โ homelab.aidalee.com. Same setup as the other TK sites.
06 ยท Navigation & Search
Sticky left sidebar with the full handbook tree. Search box in the sidebar (page-level for v1, site-wide via JSON index in v2). Breadcrumbs on every page. "Next/Previous chapter" nav at the bottom of every chapter. Keyboard shortcuts (j/k to navigate, / to focus search) coming in v2.
07 ยท Content Standards
Every chapter uses the same template. See ยง13. Every page has a toolbar with: print-to-PDF, version badge, "skip to next" link. Every page has breadcrumbs. Every page has a meta footer with version + last-updated date.
08 ยท Writing Style Guide
Three rules from the original ChatGPT conversation, plus a few additions:
- Sound like an experienced systems engineer mentoring a junior engineer. Not marketing. Not a textbook. Not a forum post. A senior engineer sitting next to you explaining the why and the how.
- Write as if it were timeless. Say "Navigate to the Storage section," not "Click the blue button." UIs change; concepts don't.
- Prefer current TrueNAS SCALE terminology. Update as the platform evolves. Never invent commands or invent UI labels.
- Always compare alternatives. If you recommend ZFS snapshots, mention Synology snapshots, QNAP snapshots, Linux LVM snapshots. The handbook is a guide to thinking, not a product manual.
- Include tradeoffs explicitly. RAIDZ2 vs RAIDZ3. SMB vs NFS. Local auth vs SSO. Every recommendation has a "when to use this" and a "when not to."
- Never recommend enterprise complexity unless justified. No Ceph, no Gluster, no Kubernetes for the home. If something only makes sense at scale, say so and link out.
- Prefer diagrams. A 200-word paragraph becomes a 50-word diagram in half the time. Use ASCII art for tree-style diagrams (pool layout, dataset tree, network topology) and SVG for everything else.
09 ยท Illustration Standards
Three principles:
- Simple. One concept per diagram. No decorative elements.
- Professional. Monospace font for ASCII art. Clean SVG for everything else. No clip art.
- Consistent. Reuse a single visual language across all chapters. Same colors mean the same things. Same symbols mean the same things.
Standard diagram types: pool layout, dataset tree, network topology, VM architecture, Docker networking, permission flowchart, backup strategy, video production workflow, remote access.
10 ยท Code & Command Standards
- Use fenced code blocks with the language tag.
- Real commands, not pseudo-code. Always testable on a real TrueNAS install.
- Inline code for filenames, dataset names, and short identifiers.
- Never invent commands. When the documentation is ambiguous, link to the official source.
- Always show the output (or at least the first/last lines) when the output matters.
11 ยท Platform & Publishing Requirements
The site is platform-agnostic. It runs on any static-file web server. No build step. No bundler. No framework.
Publishing: edit a file โ reload the page โ done. The site is the live canonical version. PDFs are generated on demand from any chapter via the browser's print dialog.
The Mac Mini hosts the live site on port 8006. Cloudflared tunnels it to homelab.aidalee.com.
12 ยท Versioning Strategy
Semver-style for the project. v0.x during the build-out. v1.0 when Volume 1, 2, and 3 are complete. v2.0 when Volumes 4โ6 are complete. v3.0 when the lab has its first AI workload running.
Each chapter has a "last reviewed" date. If a recommendation is still accurate, the date is updated. If something changed, the chapter is updated and the version is bumped.
Git for change history. The site lives in a git repo on the Mac Mini. Every commit notes which chapter was edited and why.
13 ยท Chapter Template
Every chapter, every volume, no exceptions:
- Learning Objectives โ what you'll be able to do after reading this.
- Introduction โ why this chapter exists in this volume at this point.
- Concepts โ the mental model before any procedures.
- Diagrams โ visual explanations of the concepts.
- Examples โ concrete worked examples using TK's actual hardware and datasets.
- TK Tips โ personal annotations specific to TK's setup, family, and workflow.
- Engineering Notes โ the deeper principles, the "things I wish someone had told me" callouts.
- Common Mistakes โ what people (including TK, on a bad day) actually get wrong.
- Summary โ the chapter in one paragraph.
- Checklist โ the things to actually do before moving on.
- Looking Ahead โ what the next chapter covers and how it builds on this one.
14 ยท Volume Roadmap
The original ChatGPT proposal, refined:
๐ Vol 1 โ Foundations
Mental model, drives, vdevs, pools, datasets, SMB, users, groups, permissions, snapshots, scrubs, the first apps. ~10 chapters.
In progress ยท v0.x๐ Vol 2 โ Family NAS
Photos, videos, documents, family sharing, private datasets, mobile uploads, Immich, Jellyfin, the family experience.
Coming next๐ Vol 3 โ Creator Studio
YouTube workflow, video storage, project archives, asset management, render workflows, the creator's NAS.
Future๐ Vol 4 โ Home Lab
Docker, Linux VMs, networking, reverse proxies, monitoring, the lab environment.
Future๐ Vol 5 โ Data Science Platform
JupyterLab, datasets, Python environments, ML workflows, the academic archive.
Future๐ Vol 6 โ Operations & Growth
Backups, off-site replication, monitoring, security hardening, capacity planning, future expansion.
Future15 ยท Technical Accuracy Requirements
Every command, every UI path, every recommendation is tested against TK's actual TrueNAS install before publication. When the documentation conflicts with reality, reality wins and the docs get updated.
Source authority ranking: official TrueNAS docs > TrueNAS community forum > blog posts > Reddit > YouTube. The lowest tier is cited only for inspiration, never as a primary source.
16 ยท AI Agent Instructions
The agent (Aida, in this case) follows these rules when writing or updating chapters:
- Never invent commands. If unsure, link to the official source.
- Prefer current TrueNAS SCALE terminology. Update as the platform evolves.
- Explain concepts before procedures. The "why" comes before the "how."
- Always compare alternatives. Show at least one other option, even if the recommendation is clear.
- Include tradeoffs explicitly. No hand-waving.
- Never recommend enterprise complexity unless justified. This is a home lab. Keep it proportional.
- Prefer diagrams. Visual > text whenever possible.
- Assume the reader has little Linux experience. Explain the basics without condescension.
- Keep explanations technically accurate. Precision over vibes.
- Follow the chapter template. Every chapter. No exceptions.
- Preserve TK's voice. This is TK's handbook. When quoting TK or capturing his specific situation, use his words. When the agent is writing, use the engineering mentor voice defined in ยง08.
17 ยท Quality Assurance Checklist
Before any chapter is published:
- โ All commands tested on TK's actual install (or a matching VM)
- โ All UI paths match the current TrueNAS SCALE version
- โ Every diagram renders cleanly at default size
- โ Every code block has correct language tag
- โ Every chapter follows the ยง13 template
- โ Cross-references resolve to existing chapters
- โ PDF export (via browser print) is clean and book-like
- โ Read-through by TK โ would he learn from this?
- โ "Engineering Note" callouts added where the wisdom is non-obvious
- โ "Common Mistakes" section covers at least 2 real-world failure modes
18 ยท Long-Term Maintenance Plan
The handbook is a living document. The lab will evolve; the handbook evolves with it.
- Quarterly review: re-read each chapter, verify commands, check for UI changes
- After every major TrueNAS release: review affected chapters, update terminology
- After every lab hardware change: update ยง9 (Your actual homelab) and any chapter that references the old hardware
- When a chapter is wrong: fix it. Don't add a footnote. Fix it.
Versions don't just track added content โ they track lessons learned. v1.0 reflects what TK and the agent thought was right in July 2026. v2.0 reflects what they learned by living with it.
19 ยท Future Expansion Strategy
The original ChatGPT conversation identified these as likely future volumes:
- AI / LLM workloads โ running models locally, GPU server, inference at home
- Home Assistant โ smart home, automations, sensors
- Advanced networking โ 10 GbE, VLANs, firewall segmentation, VPNs
- Kubernetes at home โ when the lab is ready for orchestration
- GPU servers โ dedicated hardware for ML training
- Cloud bridge โ selectively syncing specific datasets to/from cloud storage
- Second NAS / off-site replication โ DR planning, 3-2-1 backups, the offsite copy
- Rack build โ when the lab outgrows the desk
None of these are planned. They're listed as triggers: when TK is ready, a new volume opens. The PRD grows with each new volume.
20 ยท Appendices
Living appendices, not a fixed list:
- Glossary โ every technical term used in the handbook, defined once, linked from every chapter
- Reference cards โ printable, formula-focused sheets (similar to datascience.aidalee.com's cheatsheets)
- Hardware log โ every piece of hardware TK has ever owned, with notes on what worked and what didn't
- Dataset inventory โ TK's current pool/dataset layout, snapshots, retention policies
- Service inventory โ every app, VM, and container running, with version, purpose, and last-touched date
- Troubleshooting journal โ every problem solved, with the root cause and the fix
- Index โ full-text index across the entire handbook (coming in Phase 2)
Everything below this line is the handbook itself. The PRD is the rulebook; the chapters are the game. When in doubt: the PRD wins.