Skip to content

auto-claude 1.4.0: always-on standby between cycles - #42

Merged
unohee merged 2 commits into
mainfrom
auto-claude-always-on
Nov 16, 2026
Merged

unohee merged 2 commits into
mainfrom
auto-claude-always-on

Conversation

@unohee

@unohee unohee commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Adds --always-on: after the final check passes, the run stands by (no model turn) instead of ending, polls Linear, the plan's smoke check, the default branch's CI and auto-claude-labelled GitHub issues, queues what changed, and wakes a new cycle when the session is quiet. Follows the inbox/timers/memory/permissions/outbox model of "Building always-on agents".

  • Standby owns nothing: guards, unattended policy and the harness signal are off.
  • Caps count per cycle, plus a rolling maxMergesPerDay.
  • Each cycle logs a line under ## Cycles in auto-plan.md; the session is compacted once per standby.
  • Labelled issues are queued once (number + title only, :: stripped); later comments are not work.

Verification

  • scripts/ci.sh: green (auto-claude 159 tests, tsc).
  • Real session (local-mode scratch repo, smoke check every 1 min): plan → 2 milestones merged → standby; marker removed at 13:00:51 → 2 health failures (13:01, 13:02) → wake 13:03 → repair merged and deployed 13:10 → standby again, ## Cycles line written.

--always-on runs stand by after the final check passes instead of ending:
no model turn, the driver polls Linear, the plan's smoke check, the default
branch's CI and labelled GitHub issues, queues what changed (deduped, 5 per
poll, 2 follow-ups per event) and wakes a new cycle when the session is
quiet. Standby owns nothing (guards, policy and harness signal off). Caps
count per cycle plus a rolling maxMergesPerDay; each cycle logs a line
under ## Cycles and the session is compacted once per standby.
gh calls name the pushed repo (--repo), the standby smoke check runs in a
fresh checkout of the default branch like the deploy's, a wake clears a
session /goal, the cycle line is written only when a cycle's final check
passes (not on resume), labelled issues queue once (later comments are
not work), and lineGhIssues reads only the line's leading tag.
@unohee
unohee merged commit 1e3e0cd into main Nov 16, 2026
1 check passed
@unohee
unohee deleted the auto-claude-always-on branch November 16, 2026 13:13
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