8000 Deploy first, defer all deletion to one batched cleaner step by Thoan · Pull Request #3 · Thoan/ai · GitHub
[go: up one dir, main page]

Skip to content

Deploy first, defer all deletion to one batched cleaner step - #3

Merged
Thoan merged 1 commit into
mainfrom
lane/A
Oct 30, 2026
Merged

Thoan merged 1 commit into
mainfrom
lane/A

Conversation

@Thoan
@Thoan Thoan commented Oct 30, 2026
Copy link
Copy Markdown
Owner

What changed (docs only: orchestration, land, agents, README):

  • Scratch lives only under .orchestration//, never /tmp
  • Deploy right after gate/bump/notes, before the PR waits
  • Only the cleaner deletes, once at the end, in one inline batched Bash call
  • Landed test for lane branches after rebase-merge
  • Clean commits/PRs only

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

🤖 Generated with Claude Code

https://claude.ai/code/session_01LwG41BKPezSJuGPH9JGBuM

Every rm prompts the user on their phone, and agents were writing scratch
to /tmp and deleting it before deploying, so the deploy waited behind a
string of approvals.

- Scratch lives only in <repo>/.orchestration/<slug>/; never /tmp,
  $TMPDIR or a bare mktemp (land skill's /tmp/land.log fixed).
- No agent but the cleaner deletes: simulators are shut down by their
  creator and deleted by the cleaner; the integrator no longer removes
  worktrees or branches.
- The lander deploys as soon as the gate is green, before PR waits and
  any cleanup; the cleaner runs strictly after land + relay.
- The cleaner inventories first, then deletes in one batched script.
- Clean commits only: stage paths by name, verify git status, unstage
  strays instead of follow-up delete commits, no wip/fixup commits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwG41BKPezSJuGPH9JGBuM
@Thoan
Thoan merged commit 10c3a87 into main Oct 30, 2026
1 check passed
@Thoan
Thoan deleted the lane/A branch October 30, 2026 10:53
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