Skip to content

Let the proposing agent withdraw an undecided proposal - #21

Merged
soerenmeier merged 2 commits into
mainfrom
feat/withdraw-proposal
Nov 17, 2026
Merged

soerenmeier merged 2 commits into
mainfrom
feat/withdraw-proposal

Conversation

@noah-meierlabs

Copy link
Copy Markdown
Contributor

Agents could not take back a proposal they replaced; only an admin could reject it. New POST /api/proposals//withdraw (propose scope, own proposals only, planning or pending): status withdrawn, planner result discarded, mail links end, no webhook. Panel shows 'withdrawn'. noah gets a matching noah genco withdraw command.

🤖 Generated with Claude Code

noah-meierlabs and others added 2 commits November 17, 2026 12:00
An agent that replaces a proposal (e.g. the same reboot now instead of
at night) had no way to take the old one back; only an admin could
reject it. POST /api/proposals/<id>/withdraw, with the propose scope and
only for the agent's own proposal, sets the status withdrawn while it
is still planning or pending: a running planner throws its plan away,
the mail links stop working and no webhook goes out. The panel shows it
as withdrawn and the agents dialog has the call among its examples.

A withdrawal doesn't stop a planner that already works, so withdrawn
proposals count towards the 10 undecided ones for a day; otherwise a
propose and withdraw loop could still run up the planner's bill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mail checked the status once before the loop over the admins: a
proposal rejected or withdrawn while the mails went out still sent the
rest a link that no longer works. The status is checked before each
admin now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@soerenmeier
soerenmeier merged commit 05c600d into main Nov 17, 2026
1 check passed
@noah-meierlabs
noah-meierlabs deleted the feat/withdraw-proposal branch November 17, 2026 12:01
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