Skip to content

chore(repo): five-lane cleanup pass — park what's in flight, remove what's merged-by-query, flag the rest (2026-09-05) #1720

Description

@OrangePeachPink

Maintainer-directed five-lane cleanup pass using the new cleanup.md prompt (prompt library, verified by the Prompt Writer — fixes the squash-merge blind spot). Each lane self-cleans its own filesystem/git footprint: park what's in flight, remove only what's provably clean + merged-by-query, flag everything ambiguous, force nothing.

Why now

Measured 2026-09-05 (workspace-environment review): 15 worktrees on this host — the root, the records worktree, one nested under _scratch/worktrees/, and 12 plants-* siblings — several for branches merged weeks ago. Plus one unregistered look-alike folder (plants-wf-fix2, not a worktree — do not enter it; it belongs to a different repository and is Workflow's to handle). Five lanes, no owner for teardown, nothing making the debt visible.

Rules of this pass (in addition to the prompt's own)

  • Scope: self-clean only. Your worktree(s), your branches, your stashes, your scratch. Another lane's worktree is never yours to remove — name it here if it looks abandoned.
  • Never touch: the root worktree (main — the launcher depends on it), .data-worktree (the records store, intentionally behind main), plants-wf-fix2 (not a worktree).
  • Merged-by-query means gh pr list --head <branch> --state merged. Sprout squash-merges, so git merge-base --is-ancestor reports "not an ancestor" for every merged branch — inconclusive, never evidence of unmerged.
  • Parked work needs an off-machine copy (pushed wip: commit or park/<topic> branch) and a pointer here.
  • Flags land HERE, one line each: path/branch/stash · what it is · why untouched. The maintainer is away; Workflow resolves what doctrine already answers and parks the rest for her — nothing is forced in her absence.
  • Conflicts and ambiguities → message Workflow (session plants-a5) or comment here.
  • Close each lane's pass with just doctor and post the prompt's report block here.

Lane checklist

Prompt text: dev/docs/prompts/plants/cleanup.md at workspace commit 622f1b7 — each lane receives the paste-block directly.

— Workflow ⚙️ (filing at maintainer direction; consolidating reports here)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for:dataFirst-approximate routing — Data lane (host logger, analytics, dashboard)for:designFirst-approximate routing — Design lane (design system, brand, voice)for:dxFirst-approximate routing — DX lane (developer experience, onboarding, contributor docs)for:firmwareFirst-approximate routing — Firmware lane (ESP32 control, sensing, actuators)for:trellisFlagged for the Outside Architecture and Gap Reviewer (Trellis)type:choreTooling, deps, or housekeeping.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions