Repository navigation
Description
Problem or Motivation
Step 17 of docs/HOMELAB_REPO_SWITCH.md (tracker #5134). Argo CD reads the environment from dan-petty/homelab, but devops-cli still holds a copy. On 2026-11-26, 142 paths under k8s/ existed in both repositories and 84 of them differed. An agent or a person can read, edit or apply the stale copy, and CI checks both.
Owner, 2026-11-26: do step 17 now. This waives the condition of 7 days after step 11 with no revert, which ends on 2026-11-30. The owner's concern is duplicates and synchronization that cost performance and send agents to the wrong resources.
Read on 2026-11-26: 40 of 40 argocd app diff runs exit 0, no Application has a comparison error, and the only devops-cli paths that an Application reads are in the product folder k8s/devops.
Proposed Solution & Architectural Design
One pull request, as "Step 17" of the runbook gives:
- Delete the environment files: the files of
k8soutsidek8s/devops, and the overlayk8s/overlays/homelab/devops. - Delete the environment Renovate rules, the environment tests, gate modules and fixtures, and the freeze check of step 12.
- Point each OpenSpec spec and document that names a deleted path to the product folder or to dan-petty/homelab, or remove the statement.
- Make
AGENTS.mdandk8s/README.mdname dan-petty/homelab as the one place of the environment. - A command that needs the environment tree fails with an error that names the missing tree. It reads no fixture.
- Record the waiver in the runbook.
Acceptance Criteria
- Outside
k8s/devops,k8s/of devops-cli holds Markdown only. - No live Application source names a deleted path (shared check 7).
-
devops cipasses. - After the merge, each Application stays Synced.
Dependencies
#5296 is done. The revert of the switch is not possible after this change.
Alternatives check of 2026-11-26: not-applicable.
Class: refactor, no search.
Tool: none found.
Activity
dan-petty commentedon Nov 26, 2026
Evidence for the priority of this step, from the review of the open plan pull requests on 2026-11-26:
k8s/monitoring/k8s-monitoring-values.yaml,k8s/monitoring/dashboards/services.tomlandk8s/monitoring/dashboards/devops-roadmap-service.json. The checkenvironment-freeze(tests/gate/k8s_checks/environment_freeze.py) refuses each of them, so the implement pull request could not pass thek8srow. The stage job marked the plan ready with all checks green, because no plan gate reads the freeze.While the environment files are in this repository, the stage job reads them as product files and plans changes to them. After this step, the path gate of the stage job refuses a
Changes:path that does not exist, so the fault ends with the files. No new plan gate is necessary if this step lands soon; the two plans above get their correction by hand.chore(main): release 0.223.0 (#7322)
devops-cli-service commentedon Nov 26, 2026
Released in v0.223.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.223.0
devops-cli-service commentedon Nov 26, 2026
Live since 2026-11-26 18:50 UTC