Skip to content

Stop agent factory loops: finish the list, one PR, no recursive hunts - #150

Merged
jmjava merged 1 commit into
mainfrom
cursor/stop-agent-factory-loop-9e4f
Sep 11, 2026
Merged

Stop agent factory loops: finish the list, one PR, no recursive hunts#150
jmjava merged 1 commit into
mainfrom
cursor/stop-agent-factory-loop-9e4f

Conversation

@jmjava

@jmjava jmjava commented Sep 8, 2026

Copy link
Copy Markdown
Owner

The 2ccd cloud agent ran ~22 hours and opened PRs #73#149 by hunting the next YAML key / fail-closed hole after each micro-PR, spawning recursive “hunt remaining bugs” children, and stopping to ask for merges mid-list.

This adds a hard session contract so the next agent:

  • Finishes the user’s task list in one run on one branch / one PR
  • Does not ask the user to merge, rebase, or continue
  • Batches isomorphic leftover keys instead of one-key-per-PR
  • Stops when the assigned work is done (empty milestones/README.md Active means stop, not “pick the next config key”)
  • Hard-stops if the next patch is the same shape as the last

Changes

What this cannot do by itself

Repo rules cannot override Cursor Cloud’s platform prompt. If an agent still opens a second isomorphic PR or starts a hunt you did not ask for, kill that run. Prompt new work with: “Do the whole list on one PR. Do not ask me to merge. Stop when the list is done.”

Open in Web Open in Cursor 

@jmjava
jmjava marked this pull request as ready for review September 8, 2026 01:34
The 2ccd run opened PRs #73-#149 over ~22 hours by hunting the next
YAML key after each micro-PR. Add a session contract so agents finish
the user's list on one PR, do not ask to merge, and stop when the work
is done.

Co-authored-by: jmjava <jmjava@gmail.com>
@jmjava
jmjava force-pushed the cursor/stop-agent-factory-loop-9e4f branch from 0f921c1 to 1efb9f4 Compare September 11, 2026 01:34
@jmjava
jmjava merged commit d78a755 into main Sep 11, 2026
6 checks passed
@jmjava
jmjava deleted the cursor/stop-agent-factory-loop-9e4f branch September 11, 2026 01:34
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.

2 participants