repo-layout: delete the retired stacks (1/2) #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "impl/repo-layout-1-prune"
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?
Slice 1/2 of the repo-layout plan (
docs/superpowers/plans/2026-11-05-repo-layout/slice-1-prune.md; specdocs/superpowers/specs/2026-11-05-repo-layout-design.md, D2, D3, the retired part of D10, Early output).Status: implemented; review round next (local).
What it deletes, and why
The stacks that no longer run anywhere still read as live config, so slice 2 would have moved dead directories.
This slice deletes them and lists each in a new
RETIRED.md, with why it was dropped and the commit that still hasit (
844f082e27fe):git checkout 844f082e27fe -- <path>restores one.caddy-microvm/,memos/,newsblur/,open-webui/,pdfding/,seafile/,ttrss/, andtheir
.gitignorelines.RETIRED.mdalso lists plane-microvm, code-server and cptr (routes only).seafile,ttrssandnewsblurblocks; headscale's records for thoseplus
memos,code-server,cptrandplane-microvm.caddy-nixed's comments,AGENTS.md(machine table, check command) anddocs/guides/network-and-caddy.mdstop describing the microVM's caddy.plane/'s microVM case is slice 2's (D8).Rules this PR removes or rewrites
AGENTS.md, Setup: the check command validates two Caddyfiles, not three (caddy-microvmdropped from theloop). "A
caddy-microvm/change is reloaded here only if that stack is running (…)": dropped, nothing left toreload.
AGENTS.md, Project in brief: the microVM's row says it runs no caddy and hosts no stacks.docs/guides/network-and-caddy.md, Caddy conventions: "caddy-microvm/is for services that run in thismicroVM … adding one means a block in
caddy-microvm/config/Caddyfileplus anextra_recordsentry pointing at192.168.122.51" and "caddy-microvm's committed blocks … kept for re-enabling; don't bring it back up unasked":dropped on purpose, replaced by one bullet, "This microVM hosts no stacks and runs no caddy". In the test recipe,
"if caddy-microvm is up it holds 80/443" becomes "if 80/443 are taken here", and the container-name clash with
caddy-microvm is gone.
caddy-nixed/docker-compose.yaml's comment (not an instructions file, listed so you see it): if./datais lost,the recovery is no longer "copy those four files across again" (their source, caddy-microvm, is retired) but
"caddy makes a new root, which every device then has to trust again".
After the merge, the user (on the VPS)
Nothing here is deployed. In this order:
git pull(the pull deletes their compose files):docker compose downinseafile/,ttrss/andnewsblur/, and inopen-webui/,pdfding/wherever they still run. Their containers:seafile seafile-mysql seafile-redis;ttrssandttrss-*-1(four);newsblur_*(nine);pdfding;open-webui litellm.git pull.docker exec caddy caddy reload --config /config/Caddyfile --adapter caddyfile.docker compose restart headscaleinheadscale/.Their named volumes (
ttrss_db ttrss_app pdfding_sqlite_data pdfding_media open-webui_open-webui) and untrackedstate stay until you remove them.
The pull also drops the
.gitignorelines forttrss/themes.local,ttrss/plugins.localandnewsblur/NewsBlur(a git checkout of the fork), so they show up as untracked: delete
newsblur/andttrss/from the VPS clone afterthe pull, and don't
git add -Athere until you have.Three questions for you
Why did you drop memos, open-webui and pdfding? One line each for
RETIRED.md's Why it was dropped;with no answer by the merge, the rows keep
?(an answer later is a one-line edit).The target tree (spec, Early output)
Slice 2 moves every live stack under its machine. Please say if a stack is under the wrong machine:
Handoff
docs/superpowers/plans/2026-11-05-repo-layout/handoffs/2026-11-05T0928Z-slice-1-done.md; Current work now namesslice 2.
🤖 Generated with Claude Code
WIP: repo-layout: delete the retired stacks (1/2)to repo-layout: delete the retired stacks (1/2)Local review round (two reviewer subagents: correctness, methodology). No Critical or Important findings.
.gitignorelines forttrss/themes.local,ttrss/plugins.localandnewsblur/NewsBlur(a git checkout), so on the VPS they turn untracked and agit add -Awould commitnewsblur/NewsBluras a gitlink. The body only said the untracked state stays.caddy-nixed/docker-compose.yaml:12-16: the CA recovery step changed ("copy those four files" → "caddy makes a new root"). It's the plan's wording, and the rule list strictly covers only instructions files, but the user should see it.docs/guides/network-and-caddy.md:28-30still offers the microVM as a place a service could move to, next to "This microVM hosts no stacks".AGENTS.mdCurrent work and the plan's slices table say "merged #5" before the merge.Checks run by the reviewers: D2's two checks (nothing; 10
ok), D3's grep (exit 1only), Task 1.3's retired-names grep (only the expected BACKLOG, zsh-glob note andplane/hits),RETIRED.mddiffed against the plan (empty),sync-agents.py --checkexit 0, sign-off branch check prints nothing.Checks: for c in caddy caddy-nixed; do docker run … caddy validate …; done: exit 0
Replies to the review round:
newsblur/andttrss/from the VPS clone after the pull, and not togit add -Athere until then.slice-2-restructure.md).