Supporting Manual Homelab Operations in GitOps
The recent main push expands the GitOps policy to explicitly allow manual bootstrap, local Terragrunt deployments, and operator‑driven recovery, ensuring that lasting changes stay in main while temporary steps are safely reconciled.
Policy clarification for manual bootstrap
We updated the constitution file .specify/memory/constitution.md to state that operators MAY bootstrap manually, deploy with Terragrunt locally, and that lasting configuration changes must be recorded in main. The same allowance appears in AGENTS.md and the README.md, where we clarified that temporary manual changes are reconciled after the operation. This makes the intent clear and prevents accidental drift.
Documentation alignment across the repository
We aligned the guidance in several docs: AGENTS.md now says main defines the desired state and CI/CD validates changes; docs/argocd-bootstrap.md adds steps to validate on main and avoid hand‑editing live Applications; docs/ci-cd.md expands the onboarding guide to include local Terragrunt usage and maintenance tasks; and openwiki/architecture/gitops-flow.md updates the flowchart to show operator bootstrapping and manual recovery. These edits give a single source of truth for manual homelab operations.
Verification through CI and deployment checks
CI/CD continues to validate pull requests and detect drift from main. The Terragrunt Apply workflow starts only via workflow_dispatch with the exact main revision, and the deployment-checks.yml ensures that any manual step is reconciled before Argo CD syncs. After a manual bootstrap, we open a PR to main, let the checks run, and then let Argo CD apply the recorded changes, which satisfies the verification requirement.