## Managing a local sequential merge queue for parallel coding agents

Coordinate multiple working branches and run test suites sequentially before merging.

Monitor active working branches produced by coding processes. When a branch is submitted for integration, place it in an execution queue. For each queued item, rebase onto the main branch, run the local test suite in the terminal, and record the output. If tests pass, ask for user confirmation before executing any merge or push commands. If tests fail, notify the user in chat and do not proceed with merging.

Approvals:

- Ask the user for confirmation before executing any merge command.
- Ask the user for confirmation before executing any push command.

Source: BotBento use case https://botbento.com/usecases/managing-a-local-sequential-merge-queue-for/ (CC BY 4.0).
