rebrand cutover: the human steps on Ben's local machine once everything else is committed #475

Closed
opened 2026-08-12 16:45:56 +00:00 by ben · 2 comments
Owner

What this is

The last leg of the IDSS rebrand (#473): the human steps on Ben's local machine once everything else is committed and pushed. Nothing here can be done by an agent or ahead of time — it re-points the working environment at the renamed repos and renamed identifiers. Blocked by #473 (and transitively by the design-repo rename, #474).

Steps — in this order (the dir names collide if reordered)

  1. Design checkout first: rename the design repo's local checkout (its dir currently holds the name the product checkout is about to take):
    mv ~/Documents/1.projects/idss ~/Documents/1.projects/idss-design
    cd ~/Documents/1.projects/idss-design && git remote set-url origin https://git.matou.nz/Matou/idss-design.git && git fetch
    
  2. Product checkout second:
    mv ~/Documents/1.projects/ourcloud ~/Documents/1.projects/idss
    cd ~/Documents/1.projects/idss && git remote set-url origin https://git.matou.nz/Matou/idss.git && git fetch
    
  3. Move the Claude session memory with it (it is keyed to the checkout path; skipping this orphans every project memory):
    mv ~/.claude/projects/-home-benz-Documents-1-projects-ourcloud \
       ~/.claude/projects/-home-benz-Documents-1-projects-idss
    
    Then open a Claude session in the renamed dir and confirm MEMORY.md loads.
  4. Credentials/config that need no change — verify, don't edit: ~/.git-credentials is host-scoped (git.matou.nz), so both renamed repos authenticate unchanged; .sandcastle/.env (FORGEJO_TOKEN etc.) is inside the repo dir and moved with it in step 2.
  5. Local product state (alpha posture — no migration, per #473 gate 3):
    • ~/.local/share/ourcloud/payload → re-assemble under the new name/path the renamed tree expects (scripts/assemble-payload.sh post-rename tells you where).
    • The unpackaged dev community state (~/.config/Electron, incl. guest-trust/) does not migrate — tear down any running dev guest and re-found. /trial-reset is the tool if the slate needs wiping.
    • Grep shell profiles (~/.bashrc, ~/.profile) for any exported OURCLOUD_* vars and rename them to their IDSS_* successors.
  6. Prove it: from the renamed checkout, git pull clean, nix develop enters, and one smoke of choice runs (scripts/run-app.sh or smoke-private-path.sh --dry-run) resolving everything under the new names.

Not this ticket

  • The workstation + elitebook-03 swarm clones, runner, and crontabs — those are #473's machinery-cutover phase (they must move inside the freeze window, not after).
  • The laptop (benz-HP), if its checkout still exists — same recipe as steps 1–5; run it there too if applicable.

Acceptance criteria

  • Both local checkouts renamed and fetching from the renamed remotes.
  • Claude memory dir moved and confirmed loading in a session from the new path.
  • Payload re-assembled and dev state re-founded (or consciously wiped) under the new identifiers; no OURCLOUD_* residue in shell profiles.
  • One local smoke green from the renamed checkout.

References

#473 (the rebrand; its gate-3 no-shims ruling) · #474 (design-repo rename — creates the idss-design remote step 1 points at) · the trial-reset skill (dev-state wipe).

## What this is The last leg of the IDSS rebrand (#473): the human steps on **Ben's local machine** once everything else is committed and pushed. Nothing here can be done by an agent or ahead of time — it re-points the working environment at the renamed repos and renamed identifiers. Blocked by #473 (and transitively by the design-repo rename, #474). ## Steps — in this order (the dir names collide if reordered) 1. **Design checkout first**: rename the design repo's local checkout (its dir currently holds the name the product checkout is about to take): ```sh mv ~/Documents/1.projects/idss ~/Documents/1.projects/idss-design cd ~/Documents/1.projects/idss-design && git remote set-url origin https://git.matou.nz/Matou/idss-design.git && git fetch ``` 2. **Product checkout second**: ```sh mv ~/Documents/1.projects/ourcloud ~/Documents/1.projects/idss cd ~/Documents/1.projects/idss && git remote set-url origin https://git.matou.nz/Matou/idss.git && git fetch ``` 3. **Move the Claude session memory with it** (it is keyed to the checkout path; skipping this orphans every project memory): ```sh mv ~/.claude/projects/-home-benz-Documents-1-projects-ourcloud \ ~/.claude/projects/-home-benz-Documents-1-projects-idss ``` Then open a Claude session in the renamed dir and confirm MEMORY.md loads. 4. **Credentials/config that need no change — verify, don't edit**: `~/.git-credentials` is host-scoped (`git.matou.nz`), so both renamed repos authenticate unchanged; `.sandcastle/.env` (FORGEJO_TOKEN etc.) is inside the repo dir and moved with it in step 2. 5. **Local product state (alpha posture — no migration, per #473 gate 3)**: - `~/.local/share/ourcloud/payload` → re-assemble under the new name/path the renamed tree expects (`scripts/assemble-payload.sh` post-rename tells you where). - The unpackaged dev community state (`~/.config/Electron`, incl. `guest-trust/`) does not migrate — tear down any running dev guest and re-found. `/trial-reset` is the tool if the slate needs wiping. - Grep shell profiles (`~/.bashrc`, `~/.profile`) for any exported `OURCLOUD_*` vars and rename them to their `IDSS_*` successors. 6. **Prove it**: from the renamed checkout, `git pull` clean, `nix develop` enters, and one smoke of choice runs (`scripts/run-app.sh` or `smoke-private-path.sh --dry-run`) resolving everything under the new names. ## Not this ticket - The workstation + elitebook-03 swarm clones, runner, and crontabs — those are #473's machinery-cutover phase (they must move *inside* the freeze window, not after). - The laptop (benz-HP), if its checkout still exists — same recipe as steps 1–5; run it there too if applicable. ## Acceptance criteria - [ ] Both local checkouts renamed and fetching from the renamed remotes. - [ ] Claude memory dir moved and confirmed loading in a session from the new path. - [ ] Payload re-assembled and dev state re-founded (or consciously wiped) under the new identifiers; no `OURCLOUD_*` residue in shell profiles. - [ ] One local smoke green from the renamed checkout. ## References #473 (the rebrand; its gate-3 no-shims ruling) · #474 (design-repo rename — creates the `idss-design` remote step 1 points at) · the `trial-reset` skill (dev-state wipe).
Author
Owner

2026-08-20 — #473 has landed on the tracker side (repo is Matou/idss, main = 793d70a), so this ticket is unblocked. Notes for the steps above, from the session that did the sweep on this machine:

  • Step 4 is partly done already: the laptop checkout's untracked .sandcastle/.env key is now IDSS_LAB_DNS_TOKEN and .sandcastle/secrets/ourcloud_lab_dns_token is renamed idss_lab_dns_token (the clan-lab/lab-dns skills read the new names). ~/.git-credentials needs nothing (host-scoped).
  • Step 2: the product checkout's origin is already https://git.matou.nz/Matou/idss.git — only the mv remains. Step 1's mv ~/Documents/1.projects/idss … must still go first (the design checkout holds the name).
  • Step 5: the guest fw_cfg key moved to opt/idss/authorized_key and the payload dir default to ~/.local/share/idss — the existing ~/.local/share/ourcloud/{payload,vm} is stale by construction, not just misplaced; re-assemble/re-warm rather than mv.
  • grep -n OURCLOUD ~/.bashrc ~/.profile and app/.dev/run-phase-a.sh (git-ignored; exports OURCLOUD_GUEST_IMAGE etc. per the 2026-08 A0 pre-flight) — rename those exports to IDSS_* too.
  • The workstation, elitebook-03 and session-runner clones, crontab and env wrappers were cut over inside #473's window — nothing there is this ticket's.
2026-08-20 — #473 has landed on the tracker side (repo is `Matou/idss`, `main` = `793d70a`), so this ticket is **unblocked**. Notes for the steps above, from the session that did the sweep on this machine: - Step 4 is partly done already: the laptop checkout's untracked `.sandcastle/.env` key is now `IDSS_LAB_DNS_TOKEN` and `.sandcastle/secrets/ourcloud_lab_dns_token` is renamed `idss_lab_dns_token` (the `clan-lab`/`lab-dns` skills read the new names). `~/.git-credentials` needs nothing (host-scoped). - Step 2: the product checkout's `origin` is **already** `https://git.matou.nz/Matou/idss.git` — only the `mv` remains. Step 1's `mv ~/Documents/1.projects/idss …` must still go first (the design checkout holds the name). - Step 5: the guest fw_cfg key moved to `opt/idss/authorized_key` and the payload dir default to `~/.local/share/idss` — the existing `~/.local/share/ourcloud/{payload,vm}` is stale by construction, not just misplaced; re-assemble/re-warm rather than `mv`. - `grep -n OURCLOUD ~/.bashrc ~/.profile` and `app/.dev/run-phase-a.sh` (git-ignored; exports `OURCLOUD_GUEST_IMAGE` etc. per the 2026-08 A0 pre-flight) — rename those exports to `IDSS_*` too. - The workstation, elitebook-03 and session-runner clones, crontab and env wrappers were cut over inside #473's window — nothing there is this ticket's.
Author
Owner

Done on Ben's machine (2026-08-20, agent-executed at Ben's "do these 3")

  1. Design checkout: ~/Documents/1.projects/idss → idss-design; origin re-pointed to Matou/idss-design.git (it had been Matou/idss.git, which since #473 resolves to the product — the trap this ticket's ordering exists for). Fetched clean; local main still ahead 3 of gitlab/main with its untracked docs/comms/milestone-2-report.html, untouched.
  2. Product checkout: ourcloud → idss; origin = Matou/idss.git, git pull --ff-only clean at 6b992d0.
  3. Claude memory: the design project's memory dir already occupied …-1-projects-idss, so it moved aside first to …-1-projects-idss-design (mirrors its checkout), then the product's …-ourcloud → …-idss; memory/MEMORY.md present at the new path. Loading-in-a-fresh-session is the one thing only the next session can confirm. The historical worktree-suffixed dirs (…-ourcloud--claude-worktrees-*, -home-benz-swarm-Matou-ourcloud) were left as-is.
  4. Credentials: ~/.git-credentials host-scoped, nothing changed; .sandcastle/.env key IDSS_LAB_DNS_TOKEN + secrets/idss_lab_dns_token moved with the dir.
  5. Local state: ~/.local/share/ourcloud → ~/.local/share/idss (14 GB kept, not re-downloaded); app/.dev/run-phase-a.sh exports now IDSS_GUEST_IMAGE/QEMU_IMG/QEMU_SYSTEM/PAYLOAD_DIR under the new path. No OURCLOUD_* in ~/.bashrc/~/.profile. Caveat: vm/nixos-guest.qcow2 was built from the pre-rename flake (fw_cfg key opt/ourcloud/…) — stale for any VM-mode run until rebuilt (nix build .#idss-guest-x86_64 on the workstation + rsync, per the A0 pre-flight recipe). Dev community state in ~/.config/Electron left for the next trial-reset.
  6. Proof: git pull clean, go build ./... OK from the renamed checkout. smoke-private-path.sh --dry-run ran its preflight from the new path and was refused by the host RAM floor (5.3 GiB < 6 GiB, earlyoom) — a host condition, not a path one.

Other Claude sessions that had their cwd in the old checkout need restarting.

  • Both local checkouts renamed and fetching from the renamed remotes.
  • Claude memory dir moved (load confirmation = next session).
  • Payload path moved + dev script renamed; guest image flagged stale; no OURCLOUD_* in shell profiles.
  • Local proof: pull clean + go build ./... (smoke dry-run refused by RAM floor, not paths).
## Done on Ben's machine (2026-08-20, agent-executed at Ben's "do these 3") 1. **Design checkout**: `~/Documents/1.projects/idss` → `idss-design`; `origin` re-pointed to `Matou/idss-design.git` (it had been `Matou/idss.git`, which since #473 resolves to the *product* — the trap this ticket's ordering exists for). Fetched clean; local `main` still ahead 3 of `gitlab/main` with its untracked `docs/comms/milestone-2-report.html`, untouched. 2. **Product checkout**: `ourcloud` → `idss`; `origin` = `Matou/idss.git`, `git pull --ff-only` clean at `6b992d0`. 3. **Claude memory**: the design project's memory dir already occupied `…-1-projects-idss`, so it moved aside first to `…-1-projects-idss-design` (mirrors its checkout), then the product's `…-ourcloud` → `…-idss`; `memory/MEMORY.md` present at the new path. Loading-in-a-fresh-session is the one thing only the next session can confirm. The historical worktree-suffixed dirs (`…-ourcloud--claude-worktrees-*`, `-home-benz-swarm-Matou-ourcloud`) were left as-is. 4. Credentials: `~/.git-credentials` host-scoped, nothing changed; `.sandcastle/.env` key `IDSS_LAB_DNS_TOKEN` + `secrets/idss_lab_dns_token` moved with the dir. 5. Local state: `~/.local/share/ourcloud` → `~/.local/share/idss` (14 GB kept, not re-downloaded); `app/.dev/run-phase-a.sh` exports now `IDSS_GUEST_IMAGE/QEMU_IMG/QEMU_SYSTEM/PAYLOAD_DIR` under the new path. No `OURCLOUD_*` in `~/.bashrc`/`~/.profile`. **Caveat:** `vm/nixos-guest.qcow2` was built from the pre-rename flake (fw_cfg key `opt/ourcloud/…`) — stale for any VM-mode run until rebuilt (`nix build .#idss-guest-x86_64` on the workstation + rsync, per the A0 pre-flight recipe). Dev community state in `~/.config/Electron` left for the next trial-reset. 6. Proof: `git pull` clean, `go build ./...` OK from the renamed checkout. `smoke-private-path.sh --dry-run` ran its preflight from the new path and was refused by the **host RAM floor** (5.3 GiB < 6 GiB, earlyoom) — a host condition, not a path one. Other Claude sessions that had their cwd in the old checkout need restarting. - [x] Both local checkouts renamed and fetching from the renamed remotes. - [x] Claude memory dir moved (load confirmation = next session). - [x] Payload path moved + dev script renamed; guest image flagged stale; no `OURCLOUD_*` in shell profiles. - [x] Local proof: pull clean + `go build ./...` (smoke dry-run refused by RAM floor, not paths).
ben closed this issue 2026-08-20 17:05:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#475
No description provided.