8000 Hold cleanup until tested; no prompts before deploy by Thoan · Pull Request #4 · Thoan/ai · GitHub
[go: up one dir, main page]

Skip to content

Hold cleanup until tested; no prompts before deploy - #4

Merged
Thoan merged 2 commits into
mainfrom
lane/B
Oct 30, 2026
Merged

Thoan merged 2 commits into
mainfrom
lane/B

Conversation

@Thoan
@Thoan Thoan commented Oct 30, 2026
Copy link
Copy Markdown
Owner
  • Nothing that needs approval runs before deploy, and no workarounds via other commands.
  • Simulators are deleted right after deploy; everything else is held until the user says "looks good".
  • Fix cycles reuse held worktrees on lane/-fix.
  • Safer stray unstaging (git rm --cached on new files).
  • TaskStop for agents' background processes.

Verified: sensitive-check passes; reviewer approved after 3 rounds.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LwG41BKPezSJuGPH9JGBuM

Thoan and others added 2 commits October 30, 2026 04:08
Every step through the deploy now uses only commands that run without an
approval: no deletes, kill, chmod, push, merge, restore/reset/rebase or
amend. Strays stay out via explicit-pathspec commits instead of
unstaging; scripts run with bash instead of chmod +x. Push and merge come
after the deploy, stated in the router, lander, land skill and README.

Cleanup splits in two. Right after deploy + relay the cleaner (MODE:
simulators) deletes only the run's simulators and leftover processes, and
reports what is held and its size. Worktrees, lane branches, build caches
and scratch wait until the user says "lo
8000
oks good" (MODE: full, one
approval); a reported problem reuses the held worktree for the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwG41BKPezSJuGPH9JGBuM
…ling

Restructuring a pre-deploy step means not needing the gated operation,
never routing it through another command: no commit-tree/update-ref/
checkout -B/branch -f to move a branch, no mv-to-trash or find/xargs
deletes. Review-round fixes land as new descriptive commits on the lane
branch; the integrator may squash-merge if one commit matters.

Corrects the previous commit's body: new-file strays are unstaged with
`git rm -r --cached -q` (only on paths showing A; on a tracked path it
stages a deletion), not kept out via pathspec commits. A pathspec commit
is only a lane-worktree fallback; the lander, committing after the
deploy, may use `git restore --staged` for a tracked-file stray.

Also: fix branches are named lane/<id>-fix<n> in the implementer rules,
and the cleaner's HELD line lists held PIDs with their command.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwG41BKPezSJuGPH9JGBuM
@Thoan
Thoan merged commit 64fe9eb into main Oct 30, 2026
1 check passed
@Thoan
Thoan deleted the lane/B branch October 30, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0