[autonomy] extend merge-queue cron beyond molecule-core (mcp-server/CP/internal self-merge) #2355

Open
opened 2026-06-06 08:42:48 +00:00 by devops-engineer · 0 comments
Member

The autonomous merge-queue cron (operator molecule-core-merge-queue, runs gitea-merge-queue.py from molecule-core/main) is CORE-ONLY — it reads molecule-core branch protection + the merge-queue label on molecule-core. Result: molecule-mcp-server / molecule-controlplane / internal PRs that are fully ready (2-genuine on current head + required-green + mergeable) do NOT self-merge; they require owner-merge. To extend autonomy to all repos, add per-repo merge-queue cron instances (or parameterize the existing one over a repo list) so mcp-server/CP/internal self-merge under the same 2-genuine+required-green+fail-closed bar. Each needs: its own branch-protection-derived policy read, merge-queue label handling, the same HOL/fail-closed fixes (#2349 + #2352/PR#2354). Until then, non-core ready PRs are owner-merged on the 2-genuine bar. Found during the 5h autonomy monitor (core#1408 + core#2346 self-merge via cron; mcp#44/#40/#43 needed owner-merge).

The autonomous merge-queue cron (operator molecule-core-merge-queue, runs gitea-merge-queue.py from molecule-core/main) is CORE-ONLY — it reads molecule-core branch protection + the merge-queue label on molecule-core. Result: molecule-mcp-server / molecule-controlplane / internal PRs that are fully ready (2-genuine on current head + required-green + mergeable) do NOT self-merge; they require owner-merge. To extend autonomy to all repos, add per-repo merge-queue cron instances (or parameterize the existing one over a repo list) so mcp-server/CP/internal self-merge under the same 2-genuine+required-green+fail-closed bar. Each needs: its own branch-protection-derived policy read, merge-queue label handling, the same HOL/fail-closed fixes (#2349 + #2352/PR#2354). Until then, non-core ready PRs are owner-merged on the 2-genuine bar. Found during the 5h autonomy monitor (core#1408 + core#2346 self-merge via cron; mcp#44/#40/#43 needed owner-merge).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#2355