Skip to content
Agent Orchestration
Skill

/loopx-pr-merge

Optional maintainer workflow for the approval, merge-readiness, or authorized self-merge decision on a LoopX pull request. Requires the exact-head review evidence from `loopx pr-review`. Review depth, verdicts, review comments, and the published review format belong to

From plugin
loopx
6.7k15 skills1 command

Claude Code

$ npx -y skills add loopx-project/loopx --skill loopx-pr-merge --agent claude-code

SKILL.md

loopx-pr-merge.SKILL.md
name: loopx-pr-merge
description: Optional maintainer workflow for the approval, merge-readiness, or authorized self-merge decision on a LoopX pull request. Requires the exact-head review evidence from `loopx pr-review`. Review depth, verdicts, review comments, and the published review format belong to loopx-pr-review.

LoopX PR Merge

Optional maintainer workflow. It lives in the repository and stays outside the default installed skill set, so a host that never merges LoopX pull requests is not affected by it. Install or copy it deliberately when a host needs to make merge decisions.

The built-in `pull-request-review` capability owns review depth, evidence requirements, completeness, and verdict policy. This skill owns one narrower decision: whether this pull request may be approved or merged now, under which authority, and with what recorded validation.

Decision Precondition

A merge, approval, self-merge, or admin-bypass decision requires review evidence for the exact head being merged. A merge decision without this evidence is not authorized: a diff read, green CI, or pull-request metadata is not a substitute.

1. Run `loopx --format json pr-review --state all`, or use the installed `loopx-pr-review` skill, and preserve `agent_response_contract.review_execution_contract`. Execute the review plan, `review_template`, and `evidence_commands` it names for every changed surface. 2. Apply `completion_gate` literally, and re-read the remote head immediately before the decision. 3. For this repository, run `python3 scripts/check_rfc_bilingual.py --base origin/main --head HEAD` from the exact reviewed checkout before merge; substitute the PR's actual target branch and verify local HEAD matches the remote reviewed head. The source-checkout `loopx canary premerge` includes the same direct blocking check. A failed check holds merge regardless of CI waiting or authorized admin bypass. Working-tree changes cannot satisfy it. 4. Record the readiness result immediately before merge: run `loopx --format json pr-review --repo OWNER/REPO --check-merge-readiness NUMBER@HEAD_OID`. `ready=true` permits the normal merge path. With explicit maintainer authorization, admin bypass may override a readiness or GitHub policy hold. The bypass does not replace valid exact-head review, required validation, complete review threads without unresolved findings, an open unchanged mergeable head, or the separately granted merge authority. For Goal-managed work, pass `--goal-id GOAL` to retain its configured CI policy and record the compact readiness observation. Standalone work needs no Goal, registration or binding; its readiness check performs no Goal write.

A rebase or head update restarts review and readiness qualification.

Configured CI Waiting

Pass `--registry` (when running outside the primary repo root, such as a worktree) and `--goal-id GOAL` for managed merges and follow resolved `wait_for_ci`. Omitting `--registry` or `--goal-id` silently falls back to the unconfigured default (`wait_for_ci=true`) and reports false CI waits. When `wait_for_ci=false` (`ci_policy=not_consulted`), do not query, poll, or wait on remote CI during review/readiness or when an eligible or explicitly authorized merge/self-merge is executed: complete required local validation (`canary premerge`, targeted tests, `check_rfc_bilingual.py` when RFCs change) and exact-head review/thread checks, then leave the PR open for maintainer handoff by default, or run `--match-head-commit HEAD_OID --admin` only when owner or maintainer merge/self-merge authorization is separately held and branch protection blocks solely on author-owned `COMMENTED` approvals or unconsulted status checks. `wait_for_ci=false`, `ready=true`, and GitHub `BLOCKED` never grant merge authority or turn ordinary/low-risk PRs into automatic self-merges without owner/maintainer authorization; `BLOCKED` only documents why admin bypass applies once readiness and authorization both hold.

Decision Workflow

1. Read the repository `AGENTS.md`, the pull-request diff, the changed paths, the local validation results, and the latest comments. 2. Confirm that the repository's own self-merge policy covers the changed surfaces. The usual LoopX shape is single-purpose and validated work with no private state, no public evidence-policy change, no destructive git action, and no unreviewed runtime, permission, benchmark, or storage-authority behavior. 3. Write the product and architecture judgment below, then produce the exact-scope change-quality receipt when the goal enables that policy. 4. Decide: approve, self-merge with owner authorization, request changes, or hold for the maintainer path. Record the decision on the pull request with the changed surfaces, the checks that ran, failures and skips, manual holds, and the reason that coverage is enough. Record it as a published review on the exact head, not as a summary in another channel: on an author-owned PR GitHub blocks formal self-approval, so the record is the `COMMENTED` review carrying the approval conclusion and the English verdict. A self-merge whose head carries no such record is a process gap to repair, not an authorized merge. 5. After the merge, sync the local default branch, leave unrelated dirty worktree state alone, and update LoopX todo or evidence when the work is tracked.

Self-Merge Eligibility And Benchmark Exceptions

Control-plane, runtime and product surfaces require explicit maintainer merge authorization. This includes behavior in `loopx/**`, `apps/**` or `packages/**`, permissions or authority, persisted state/receipts, quota/scheduler/todo rules, and CLI/API contracts. Propose and review the exact head, pass required validation, and run readiness for that unchanged head. An explicit maintainer authorization may then use admin bypass when readiness remains false for a readiness or GitH

Read more
@loopx-project
Ships withloopx

The control plane for 24/7 always-on agents. Turn long-horizon goals into verifiable results across Codex, Claude Code, and custom runtimes—from local SQLite to team scale.

Stars on GitHub

Momentum

stars in total
6.7k
Star history of loopx-project/loopx on GitHub, a chart by star-history.com

Other skills on loopx.

loochat-ask

loochat-ask

把飞书里转来的消息或问题交给 LooChat 助手(私人事项 Router),由它找到相关事项和会话,直接给答案或交给 agent 推进,再把它的回复原样发回。用户转发一条飞书消息、引用别人的 @、说「交给 loochat」「问问助手」「跟进下」时使用。

@loopx-project@loopx-projectInstall Skill
loochat-tools

loochat-tools

需要借用其他 Agent 的能力时,通过 LooChat CLI 按需发现、调用和读取结果。支持生图、搜索、网页读取,以及由 Codex 操作 LooChat 独立浏览器的 Computer use。

@loopx-project@loopx-projectInstall Skill
tb4-five-arm

tb4-five-arm

在 Terminal-Bench 4.0 上做 codex harness 五臂对照(裸 codex / 原生 /goal / LoopX 三模式)。复用 SWE-Marathon 那套驱动,靠 WEN_BENCH 切换。重点是 TB4 相对…

@loopx-project@loopx-projectInstall Skill
loopx-manager

loopx-manager

Inspect authorized LoopX Goals, Todos and deliveries to explain progress, identify owner decisions and delegate intent to the…

@loopx-project@loopx-projectInstall Skill
loopx-benchmark

loopx-benchmark

Operate or analyze LoopX-managed benchmark experiments through benchmark-toolkit, including trajectory-based effectiveness and…

@loopx-project@loopx-projectInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw7d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca5d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip6d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about loopx-pr-merge.

Which coding agents can use loopx-pr-merge?
loopx-pr-merge installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.