๐Ÿ“œ 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.

v0.1 ยท draft Phase 0
Skip to Volume 1 โ†’
Why this matters

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.

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.

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:

09 ยท Illustration Standards

Three principles:

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

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:

  1. Learning Objectives โ€” what you'll be able to do after reading this.
  2. Introduction โ€” why this chapter exists in this volume at this point.
  3. Concepts โ€” the mental model before any procedures.
  4. Diagrams โ€” visual explanations of the concepts.
  5. Examples โ€” concrete worked examples using TK's actual hardware and datasets.
  6. TK Tips โ€” personal annotations specific to TK's setup, family, and workflow.
  7. Engineering Notes โ€” the deeper principles, the "things I wish someone had told me" callouts.
  8. Common Mistakes โ€” what people (including TK, on a bad day) actually get wrong.
  9. Summary โ€” the chapter in one paragraph.
  10. Checklist โ€” the things to actually do before moving on.
  11. Looking Ahead โ€” what the next chapter covers and how it builds on this one.

14 ยท Volume Roadmap

The original ChatGPT proposal, refined:

15 ยท 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:

17 ยท Quality Assurance Checklist

Before any chapter is published:

18 ยท Long-Term Maintenance Plan

The handbook is a living document. The lab will evolve; the handbook evolves with 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:

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:

End of the constitution

Everything below this line is the handbook itself. The PRD is the rulebook; the chapters are the game. When in doubt: the PRD wins.

PRD v0.1 ยท drafted from the original ChatGPT conversation, July 2026