Files
second-brain/projects/homelab/plans/folder-structure-reorganization.md
T
kiskaadee fb0ac3de1b refactor(brain): reorganize repository structure
Replace subject-based folder hierarchy with a document-type-based layout.

Filesystem now establishes broad ownership and locality:
- knowledge/ → concepts/ | technologies/ | methods/
- homelab/ → projects/homelab/plans/ | projects/homelab/guides/
- journal/ → records/journal/
- projects/ flat files → per-project sub-folders with overview.md
- knowledge/parking-lot.md → inbox/

Deleted files:
- Root-level Backend Residency operational files (AGENTS.md, CURRENT.md,
  ROADMAP.md, SKILLS.md, todo.md, todo.txt) — belong in backend-residency repo
- docs/ directory entirely (ADRs belong in bitetrack-api, remaining files unused)
- learning/ directory (backend-residency.md deleted; cicd guide moved to knowledge/methods/)
- projects/README.md (replaced by individual project overview files)
2026-09-05 21:42:55 -05:00

1.6 KiB

📁 Server Folder Structure & Production Hygiene

🎯 Objective

Establish clear, unambiguous directory boundaries across both the Server and Laptop to prevent development clutter from mixing with 24/7 production services.


🗺️ Standardized Directory Layout

🖥️ Production Server Layout

/home/kiskaadee/
├── Config/                # NixOS declarative configuration for this host
├── Deployments/           # Or Production/ - Live Docker compose services (Git tracked)
│   ├── core/              # Ingress (Traefik, Authelia, Socket-Proxy)
│   ├── apps/              # Individual standalone services
│   └── data/              # Persistent volumes or bind-mount configs
├── Media/                 # Jellyfin media libraries, recordings, storage
└── second-brain/          # Synced knowledge base & operational docs

Rule for Server:

  • No active development trees, compiler build caches (target/, node_modules/ in home), or transient scratchpads.
  • All running services run as containers or declarative systemd units.

💻 Laptop Workstation Layout

/home/kiskaadee/
├── Config/                # Shared NixOS repository (laptop configuration)
├── Projects/              # Active source code repositories
├── Learn/                 # Backend residency and study coursework
├── Experiments/           # Prototypes, spike tests, scratchpads
├── second-brain/          # Personal notes & architecture plans
└── Downloads/ / Pictures/ # Standard user directories