Skip to content

Loops: user-created scheduled agent sessions only; drop the auto reconciler loops - #132

Merged
pallaoro merged 2 commits into
mainfrom
let-s-disable-loops-currently-only-the
Aug 20, 2026
Merged

Loops: user-created scheduled agent sessions only; drop the auto reconciler loops#132
pallaoro merged 2 commits into
mainfrom
let-s-disable-loops-currently-only-the

Conversation

@pallaoro

Copy link
Copy Markdown
Member

A Loop is now one thing the user deliberately creates: on a fixed interval it starts a coding agent in a fresh task with the same prompt, on this Mac or a box (whichever engine owns the loop's project).

  • Remove the auto-registered board-reconciler and the pr-ci-watcher / auto-merge-when-green templates; prune their stale rows on start. Nothing registers a loop on the user's behalf.
  • One template remains: agent-session — each tick creates a fresh task (" #") and launches the chosen agent with the stored prompt, through the same task-create + spawn path as the composer (extracted into sessions.ts, shared with the dispatcher).
  • Ticks skip only while the previous run has a live PTY (daemon ground truth), so a status stranded at 'running' by an exit-while-closed can't wedge the loop.
  • Local vs remote: the aggregate routes loop create by the target project's engine and toggle/run-now/delete by the learned loop id; the panel labels projects and loops with their environment.
  • Loops panel rewritten: name, agent, project · environment, interval (min 1m), prompt.

Note: main's auto-merge hardening (draft skip + verifyChecksGreen) is kept in merge-queue/git-core; only its deleted template caller is gone.

…nciler loops

A Loop is now one thing the user deliberately creates: on a fixed interval it
starts a coding agent in a fresh task with the same prompt, on this Mac or a
box (the engine that owns the loop's project). Board-reconciler and the
pr-ci-watcher/auto-merge-when-green templates are removed; stale rows are
pruned on start. Task-create + agent-spawn extracted into sessions.ts, shared
by the dispatcher and the loop tick. Ticks skip only while the previous run
has a live PTY, so a status stranded at 'running' can't wedge the loop.
…urrently-only-the

# Conflicts:
#	packages/server/src/loops/templates.ts
@pallaoro
pallaoro enabled auto-merge (squash) August 20, 2026 15:15
@pallaoro
pallaoro merged commit 9bbc664 into main Aug 20, 2026
1 check passed
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