Repository navigation
auto-claude 1.1.0: never rest while work is queued - #38
Merged
Merged
Conversation
…e a PR waits on CI, wake at 1 min, refuse in-turn waits - startBase: with a PR shipping, the next milestone starts on its branch (up to MAX_AHEAD=2 ahead), its start commit recorded; never while a deploy is broken; fix goals keep their own base - stacked ship items wait their turn; when the one ahead lands or is held, git rebase --onto <default> <recorded commit> drops its commits; a branch that does not rebase gets a fix goal that does it by hand - final check waits for every unfinished ship, stacked ones included - the diagnose prompt waits until the milestone being built is done (no prompt mid-milestone) - watchdog wakes an idle milestone at 1, 3, 6 min, blocks at 12; planning reminder after 1 min - guard refuses long sleeps (>=60 s or computed), gh run watch, gh pr checks --watch, Monitor, CronCreate, ScheduleWakeup during a run
…hip, lease-push rebased branches, ask before holding - while a deploy repair is under way nothing new is stacked and nothing stacked ships; the repair ships first and clears on merge, hold or block - a stacked branch rebased by the driver is pushed with --force-with-lease - a repeating ship error is held only after the model was asked and had 10 min (held unasked after 60 min)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
In 1.0.0 the run was strictly serial: while a PR waited on CI (10–90 min), the session sat idle. The watchdog's first wake came after 3 min, and nothing stopped the model from waiting inside a turn (long sleeps, CI watches, cron/wake-ups).
What
git rebase --onto <default> <recorded commit>and pushes with--force-with-lease. A branch that does not rebase gets a fix goal that rebases it by hand. Fix goals keep their own base.sleepof 60 s or more (or a computed duration),gh run watch,gh pr checks --watch,Monitor,CronCreateandScheduleWakeup.Verification
bash scripts/ci.sh: green (auto-claude 127 tests, tsc).rebase --onto, with the parent fixed after the child started:testing/stack_rebase_261111_v1.sh(local, excluded).