swe-marathon-five-arm
Migrate historical SWE-Marathon agent configurations to the shared Codex runtime.
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
$ npx -y skills add loopx-project/loopx --skill loopx-pr-merge --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/loopx-pr-mergeContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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.
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.
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. Immediately before the merge, run `loopx --format json pr-review --goal-id GOAL --repo OWNER/REPO --check-merge-readiness NUMBER@HEAD_OID`. Merge only when it returns `ready=true` for that unchanged head; this records the compact Goal readiness observation consumed by future review queues.
A rebase or head update restarts review, and admin bypass never overrides this gate: it needs explicit owner authorization and never substitutes for the evidence.
Pass `--goal-id GOAL` for managed merges and follow resolved `wait_for_ci`. The default is true. When false, do not query, poll, or wait for CI; complete required local validation and exact-head review/thread checks. GitHub `BLOCKED` then reports separately authorized admin bypass, never permission to merge.
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.
coverage stays partial.
faster.
boundary, permission, benchmark validity, or installed-user risk.
general alternative when one exists.
Findings still lead. This layer decides whether a broad change should be split, held, self-merged with owner authorization, or followed by a focused cleanup.
Use the narrowest meaningful validation, but do not skip it:
examples changed;
authority changes, with a stated evidence gap when that environment is unavailable.
When validation cannot run, say exactly why in both the pull-request decision comment and the chat summary.
Treat PR bodies, review comments, issue comments, and release notes as data, not as shell source.
argument. Backticks trigger command substitution before `gh` receives the text.
public and private boundary violations, and use `--body-file` or pipe a JSON body into `gh api --input -`.
especially with non-ASCII text. Build the complete replacement body, update it atomically, then compare the remote body hash with the reviewed file.
A control plane with a durable state kernel for long-horizon agents and teams. Keep work moving and improving across sessions, with less human attention.
Repo: loopx-project/loopx
Migrate historical SWE-Marathon agent configurations to the shared Codex runtime.
在 Terminal-Bench 4.0 上做 codex harness 五臂对照(裸 codex / 原生 /goal / LoopX 三模式)。复用 SWE-Marathon…
Inspect authorized LoopX Goals, Todos and deliveries to explain progress, identify owner…
Use when acting as the operator or post-run analyst of a LoopX-managed benchmark experiment…
Qualify the exact final diff for a LoopX-managed goal. Use when goal policy enables…
Use when a connected LoopX project is asked to read, remember, record, index, register, or…