plan: reorganize the repo by machine #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "plan/repo-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The plan for
docs/superpowers/specs/2026-11-05-repo-layout-design.md(approved, PR #3):docs/superpowers/plans/2026-11-05-repo-layout/(README index, one file per slice, first handoff).Slices
impl/repo-layout-1-prune(~600 deleted, ~40 added LoC): deletecaddy-microvm/,memos/,newsblur/,open-webui/,pdfding/,seafile/,ttrss/; writeRETIRED.md; remove their Caddy blocks and headscaleextra_records(D2, D3); the docs stop describing the microVM's caddy. Its PR body shows the target tree (the spec's early output) and asks the user why memos, open-webui and pdfding were dropped. After merge, the user runscompose downon the VPS for the retired stacks before pulling, then pulls, reloads caddy and restarts headscale.impl/repo-layout-2-restructure(~150 LoC changed; renames count 0): everygit mvintovps/,nixos/,backup/; pinnedname:(D4), the new.gitignore(D5), relative mounts (D11), the upstream checker in the check command (D6), Plane on one machine (D8), docs (D10) and the move guide (D9). After merge, the user follows the move guide on each machine.Also in this PR
AGENTS.mdCurrent work: the track now points at slice 1 and the handoff.docs/README.md: the plan's row.BACKLOG.md:firefly/.db.envandfirefly/.importer.envare tracked and hold what look like real credentials. They should be rotated and untracked; that is outside this track.Every command in the tasks was run against scratch copies of the target layout while the plan was written.
🤖 Generated with Claude Code
WIP: plan: reorganize the repo by machineto plan: reorganize the repo by machinee98ccc1cddto9bc728677bLocal review round (
localreviewer: two subagents, methodology and correctness focus).Methodology (fixed in
4d921d3)next-session.sh --nextmakes. Fixed.ls handoffs | tail -1. It now useshandoff.sh newest. Fixed.handoff.sh newand gain a Chain step: slice 1 runs--next impl/repo-layout-2-restructure, slice 2 runs--end. Fixed.BACKLOG.mdNext, where it waits on the user. Fixed.docs/knowledge/zsh-unmatched-glob.md. Fixed.13aec32has no Co-Authored-By. No action: the squash merge drops it.Correctness (fixed in
1b78ae8)8. (medium)
move_statebreaks under zsh (sudo -s): its.[!.]*glob aborts in any directory without dotfiles. The guide now sayssudo bash. Fixed.9. (low) Slice 1 Step 4's expected grep hits left out
docs/knowledge/zsh-unmatched-glob.md, wherememosappears as a glob example. Now listed as expected. Fixed.10. (low) Task 2.5 Step 4 removed a BACKLOG sentence that doesn't exist. The instruction is dropped. Fixed.
11. (low) D10's grep misses
freshrss/REAMDE.md'scd freshrssand Plane's per-machinenixed.envcomments. Both are now added to Tasks 2.2 and 2.4. Fixed.12. (low)
RETIRED.mdcitedAGENTS.mdProject in brief for its rule, but that text only arrives in slice 2. It now cites the spec (D2). Fixed.13. (low) The PR body's container list named only
ttrss. It now liststtrssandttrss-*-1. Fixed.14. (info) The README said "16 VPS stacks +
rclone/", which counts rclone twice. Now 15. Fixed.15. (info) Task 2.5 Step 1 expects Plane README hits that Task 2.4 has already rewritten. Harmless; no change.
16. (info) The
name:awk adds a final newline to 9 compose files. Harmless; no change.17. (info) The D6 checker ignores upstreams without a scheme, which is what the spec asks for. Every current upstream uses
http://. No change.The correctness reviewer simulated both slices literally on a scratch copy. Every D1–D11 check passed there,
caddy validatepassed after each slice, and the D6 checker caught every violation it was given.Checks: sign-off branch check exit 0 (no output);
sync-agents.py --checkexit 0; Setup Caddyfile check exit 0. All re-run on1b78ae8.