Skip to content

feat(cli): add ao session set-merge-policy - #3352

Open
Ayush7614 wants to merge 1 commit into
Untrivial-ai:mainfrom
Ayush7614:cli-session-merge-policy
Open

feat(cli): add ao session set-merge-policy#3352
Ayush7614 wants to merge 1 commit into
Untrivial-ai:mainfrom
Ayush7614:cli-session-merge-policy

Conversation

@Ayush7614

@Ayush7614 Ayush7614 commented Jul 30, 2026

Copy link
Copy Markdown

Summary

  • Add ao session set-merge-policy <id> --terminate-on-pr-merge[=true|false]
  • Wires existing PATCH /sessions/{id}/merge-policy for scripts/operators
  • Requires explicit flag so false is intentional

Test plan

  • go test ./internal/cli/ -run TestSessionSetMergePolicy
  • Manually toggle true/false and confirm with session get / UI

Wire PATCH /sessions/{id}/merge-policy so scripts can toggle
terminate-on-PR-merge without the desktop inspector.
@somewherelostt

Copy link
Copy Markdown
Collaborator

Thanks for contributing to Agent Orchestrator.

This PR is being picked up by the current external contributor on-call pair:

If someone is already working on this, please continue as usual.
The on-call pair is added for visibility, tracking, and support, not to take over the work.
If you need help with review, direction, reproduction, or next steps, please tag @illegalcall and @Pulkit7070 here.

For faster context or live questions, you can also join the AO Discord.

Join the session here:
https://discord.gg/H6ZDcUXmq

Come by if you want to see what is being built, ask questions, or just hang around with the community.

@i-trytoohard i-trytoohard added comp/cli Cobra CLI and daemon-client behavior. enhancement New feature or request labels Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli Cobra CLI and daemon-client behavior. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants