docs(homelab): archive completed plans and add architecture consolidation implementation guide
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s

Moves completed milestone plans into projects/homelab/archive/, fixes relative links across the repository, adds the curated architecture consolidation implementation guide, and updates the project README index.
This commit is contained in:
kiskaadee committed 2026-09-12 08:19:48 -05:00
1 parent d0c622e019
commit 1c58e9d654
13 files changed
+1301 -21

No files matched your search

+9 -8
View File
@@ -58,6 +58,7 @@ Implementation roadmaps currently in progress (`status: active`) that are active
1. 🟡 [**Architecture Consolidation & Hardening Roadmap v2**](plans/architecture-consolidation-roadmap-v2.md) `[Active]`
- Formalizing the three-layer architectural model, closing the GitOps trust boundary, codifying `app.yaml` v1 schema contracts, and establishing machine-enforced invariants.
- 📋 *Execution Guide*: [**Architecture Consolidation Implementation Guide**](plans/architecture-consolidation-implementation-guide.md)
2. 🟡 [**Rust Daemon Migration Plan: Standalone `dynu-monitor`**](plans/dynu-monitor-rust-daemon.md) `[Active]`
- Implementing a standalone Rust daemon with 30-second polling and round-robin public DNS resolution across 5 independent providers (Cloudflare, Quad9, Google, OpenDNS, Dynu).
3. 🟡 [**Custom API Security Hardening & Threat Analysis**](plans/api-security-hardening.md) `[Active]`
@@ -96,13 +97,13 @@ Archived and foundational documentation for completed milestones:
* [**Dynu DDNS Polling Frequency and Rust Migration**](discussions/dynu-monitor-polling-and-language-tradeoffs.md) — Investigated polling intervals and language trade-offs; resolved via `dynu-monitor-rust-daemon.md` plan.
### Completed Plans
* 🟢 [**Architecture Consolidation & Hardening Roadmap v1**](plans/architecture-consolidation-roadmap.md) (Superseded by v2)
* 🟢 [**Turn `homelab-core` into a Declarative NixOS Appliance**](plans/nixos-appliance-migration.md)
* 🟢 [**Core & Sites Cutover and Testing Plan**](plans/appctl/core-sites-cutover-testing-plan.md)
* 🟢 [**appctl Refactor & Decentralized `app.yaml` Metadata Architecture**](plans/appctl/refactor-and-metadata-sync.md)
* 🟢 [**appctl Git Synchronization & Full-Stack Lifecycle Strategy**](plans/appctl/git-sync-and-lifecycle.md)
* 🟢 [**Architecture Consolidation & Hardening Roadmap v1**](archive/architecture-consolidation-roadmap.md) (Superseded by v2)
* 🟢 [**Turn `homelab-core` into a Declarative NixOS Appliance**](archive/nixos-appliance-migration.md)
* 🟢 [**Core & Sites Cutover and Testing Plan**](archive/core-sites-cutover-testing-plan.md)
* 🟢 [**appctl Refactor & Decentralized `app.yaml` Metadata Architecture**](archive/refactor-and-metadata-sync.md)
* 🟢 [**appctl Git Synchronization & Full-Stack Lifecycle Strategy**](archive/git-sync-and-lifecycle.md)
* 🟢 [**CI/CD & Deployment Strategy**](plans/gitea/deployment-and-cicd-strategy.md)
* 🟢 [**Real-Time Brain Synchronization & Gitea Push Mirroring**](plans/gitea/brain-sync-and-gitea-mirroring.md)
* 🟢 [**NixOS Server & Laptop Migration**](plans/server-24-7/nixos-server-laptop-migration.md)
* 🟢 [**Domain Migration (`roadtotech.me`)**](plans/server-24-7/domain-migration-roadtotech.md)
* 🟢 [**Real-Time Brain Synchronization & Gitea Push Mirroring**](archive/brain-sync-and-gitea-mirroring.md)
* 🟢 [**NixOS Server & Laptop Migration**](archive/nixos-server-laptop-migration.md)
* 🟢 [**Domain Migration (`roadtotech.me`)**](archive/domain-migration-roadtotech.md)
* 🟢 [**Production Folder Structure Reorganization**](plans/server-24-7/folder-structure-reorganization.md)
@@ -13,7 +13,7 @@ tags:
# Architectural Discussion & Phased Implementation Plan: Homelab Core Appliance
> [!NOTE]
> Superseded by [Architecture Consolidation & Hardening Roadmap v2](architecture-consolidation-roadmap-v2.md).
> Superseded by [Architecture Consolidation & Hardening Roadmap v2](../plans/architecture-consolidation-roadmap-v2.md).
## Executive Summary
@@ -18,7 +18,7 @@ The **Brain** repository (`~/Brain`) is an actively edited, durable personal kno
### Core Pipeline Invariants:
1. **The Curation Boundary**: Raw thoughts and scratch captures stay in `inbox/` (uncommitted, unvalidated, zero-friction). Once moved to their semantic home (`knowledge/`, `projects/`, `records/`, `practice/`), they join the committed graph.
2. **Local Schema Integrity Gate**: Every commit is verified locally by [`scripts/validate-brain.py`](../../../../scripts/validate-brain.py) via a `pre-commit` hook to ensure valid metadata and prevent broken relative links.
2. **Local Schema Integrity Gate**: Every commit is verified locally by [`scripts/validate-brain.py`](../../../scripts/validate-brain.py) via a `pre-commit` hook to ensure valid metadata and prevent broken relative links.
3. **Instant Zero-Delay Auto-Push**: A resilient `post-commit` hook automatically pushes commits to the primary self-hosted Gitea forge (`gitea.roadtotech.me`), falling back gracefully if offline.
4. **Automated Cloud Replication**: Gitea natively push-mirrors every commit to GitHub (`github.com/kiskaadee/second-brain`) immediately on receive.
5. **Server-Side CI & Observability**: Gitea Actions validates graph health on every push asynchronously without blocking editing or live rendering.
@@ -150,5 +150,5 @@ Configured under repository **Settings** $\rightarrow$ **Repository** $\rightarr
---
## 🔗 Related Production Guides
* [Brain GitOps & Auto-Sync Deployment Pipeline](../../guides/brain-gitops-deployment-pipeline.md)
* [Dynamic Decentralized GitOps Dispatcher Architecture](../../discussions/gitops-dispatcher-architecture.md)
* [Brain GitOps & Auto-Sync Deployment Pipeline](../guides/brain-gitops-deployment-pipeline.md)
* [Dynamic Decentralized GitOps Dispatcher Architecture](../discussions/gitops-dispatcher-architecture.md)
@@ -93,4 +93,4 @@ appctl update --all
---
## 🔗 Production Guide
* [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md)
* [Homelab Architecture: Appctl & Decentralized Repositories](../guides/appctl-operations-and-manifest-guide.md)
@@ -88,4 +88,4 @@ All 11 homelab applications will include an `app.yaml` defining their identity,
---
## 🔗 Production Guide
* [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md)
* [Homelab Architecture: Appctl & Decentralized Repositories](../guides/appctl-operations-and-manifest-guide.md)
@@ -135,6 +135,6 @@ jellyfin 🟢 Running (1) ✓ Synced jellyfin.roadtotech.me
---
## 🔗 Related Plans & Implementation Runbooks
- [Core & Sites Cutover and Testing Plan](../plans/appctl/core-sites-cutover-testing-plan.md) — Completed zero-downtime cutover runbook from `~/Deployments` to `~/Core` and `~/Sites`.
- [appctl Refactor & Metadata Sync Plan](../plans/appctl/refactor-and-metadata-sync.md) — Architectural design for `app.yaml` manifests and Homepage auto-compilation.
- [appctl Git Synchronization & Lifecycle Plan](../plans/appctl/git-sync-and-lifecycle.md) — Design specification for Git tracking badges, `--fetch`, and `appctl update`.
- [Core & Sites Cutover and Testing Plan](../archive/core-sites-cutover-testing-plan.md) — Completed zero-downtime cutover runbook from `~/Deployments` to `~/Core` and `~/Sites`.
- [appctl Refactor & Metadata Sync Plan](../archive/refactor-and-metadata-sync.md) — Architectural design for `app.yaml` manifests and Homepage auto-compilation.
- [appctl Git Synchronization & Lifecycle Plan](../archive/git-sync-and-lifecycle.md) — Design specification for Git tracking badges, `--fetch`, and `appctl update`.
File diff suppressed because it is too large. Load diff
@@ -13,10 +13,12 @@ tags:
# Architecture Consolidation & Hardening Roadmap v2
> Supersedes the [original phased implementation plan](architecture-consolidation-roadmap.md).
> Supersedes the [original phased implementation plan](../archive/architecture-consolidation-roadmap.md).
> Integrates reviewer feedback across fourteen areas: trust model, manifest
> contracts, privilege separation, protocol versioning, invariant testing, and
> deployment observability.
>
> 📋 **Companion Execution Guide**: [Architecture Consolidation & Hardening Implementation Guide](architecture-consolidation-implementation-guide.md)
---
@@ -44,7 +46,7 @@ repository:
2. What does **Core** own?
3. What does an **application repository** own?
4. What can **GitOps** execute?
5. What happens **when deployment fails**?
5. What happens when deployment fails?
Right now those answers exist, but they're scattered across code, conventions,
comments, and historical documentation. This plan turns them into explicit
@@ -19,7 +19,7 @@ Establish clear, unambiguous directory boundaries across both the Server and Lap
## 🗺️ Realized Production Layout
> [!NOTE]
> The initial proposal for a monolithic `~/Deployments` directory was superseded by the decoupled `~/Core` and `~/Sites` architecture documented in [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md) and executed in [Core & Sites Cutover and Testing Plan](../appctl/core-sites-cutover-testing-plan.md).
> The initial proposal for a monolithic `~/Deployments` directory was superseded by the decoupled `~/Core` and `~/Sites` architecture documented in [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md) and executed in [Core & Sites Cutover and Testing Plan](../../archive/core-sites-cutover-testing-plan.md).
### 🖥️ Production Server Layout (`/home/kiskaadee/`)
```text
@@ -53,4 +53,4 @@ Establish clear, unambiguous directory boundaries across both the Server and Lap
## 🔗 Related Documents
* [Homelab Architecture: Appctl & Decentralized Repositories](../../guides/appctl-operations-and-manifest-guide.md)
* [Core & Sites Cutover and Testing Plan](../appctl/core-sites-cutover-testing-plan.md)
* [Core & Sites Cutover and Testing Plan](../../archive/core-sites-cutover-testing-plan.md)