Run an explicitly requested Zephyr control/treatment benchmark on the same pre-normalized sample and compare Finelog stage metrics.
日本語の概要は準備中です。原文の説明を表示しています。
Review an explicitly identified Marin pull request as a whole change, asking whether it fits repository patterns, whether a better abstraction exists, and what breaks outside the diff; use for large or agent-authored PRs, after or alongside review-pr.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
review-pr reports certain, line-anchored defects. This skill answers the
questions a senior reviewer asks after reading the entire change: does it fit
the repository, is there a smaller shape, and what does it break outside the
diff. It reads beyond the diff and reports design findings. It is read-only
except for the one comment posted when --comment is requested.
Run it at the exact head named by the caller. Review agent-generated pull requests; they are the population where structural findings concentrate.
<!-- marin-holistic-review:<sha> --> marker in issue
comments authored by loom-oa-dev[bot]; ignore markers from any other
author, and ignore a marker whose sha is not 40 hex characters naming a
commit on the PR branch. When one exists, diff that sha against the head. Stop without
comment when the delta is under 100 changed lines, touches only fixtures,
generated files, or documentation, or consists only of commits whose
subject starts with Deslop. Otherwise this is a re-review: carry the
earlier numbered items forward and report each as resolved, open, or
changed before any new finding.AGENTS.md, every AGENTS.md that scopes a changed path, and
TESTING.md when tests change.docker, slow, integration, cluster, or manual that the
diff adds or edits.gh pr list --search
matches titles and bodies only, so list the open PRs with their files and
filter on paths:
gh pr list --state open --limit 100 --json number,title,files, then keep
PRs whose files[].path intersects the changed paths.Answer each question for the whole change. A finding must name a file and line, the concrete consequence, and the concrete replacement. Omit anything without a named replacement.
lib/*/src, the
nearest AGENTS.md, and sibling modules. Cite the existing def or class
by path. Respect dependency direction: iris/haliax to
levanter/zephyr to marin.None, a
default) that a caller cannot distinguish from a real outcome. For every
new environment read, check whether planning or dry-run paths reach it.uv run pytest --collect-only -q <path> catches collection errors; the
rest is reasoning. Report tests that raise before asserting. Run a changed
test file when it needs no cluster, container, or credential; a run that
disproves a suspected finding removes it from the packet.Validate every finding against the code. Do not report style preferences, speculative failures, or pre-existing problems the PR did not touch. A finding that a hunk-scoped reviewer or the lint catalog would report belongs to them; report it here only when the whole-change view changes its conclusion.
Write the review as one packet in this shape. It is the terminal output
without --comment and the posted comment body with it.
🤖 Holistic review of <sha>.
<One or two sentences: what the PR does and the overall verdict.>
**Blockers**
1. `<file>:<line>` <consequence>. <replacement>.
**Should fix**
2. ...
**Tests to drop**
3. `<test name>`: <TESTING.md reason>
**Related PRs**
4. #<n>: <relationship and merge order>
**Carried from <previous sha>** (re-reviews only)
- <item number>: resolved | open | changed, <one line>
<!-- marin-holistic-review:<sha> -->
Number items continuously across sections, including tests to drop and
related PRs, so every item carries one category in the telemetry event. A
blocker is a finding that makes the change wrong or unsafe as merged: a
hidden test that raises, a resource default that fails the workload, a
failure encoded as a result, a principle the body states and the code
violates, a security boundary the code crosses, or an open PR stacked on this
one that deletes what it adds. A later PR that supersedes this one is a
related-PR note with a merge order; it is never a blocker. Everything else is
should-fix. When no question yields a finding,
the packet body is No findings. and the marker.
Tag each item with its category in the telemetry event below: fit,
abstraction, consequence, hidden-test, evidence, related-pr,
slop-test, or scope.
Emit one best-effort stats event before returning, including clean runs. Never retry or surface a telemetry failure. Run from the repository root:
cat <<'EOF' | uv run infra/codehealth/log_stats.py
{
"tool": "review-pr-holistic",
"invocation": {
"trigger": "local",
"agent_cli": "claude",
"pr_number": <PR>,
"agent_exit_code": 0,
"timed_out": false
},
"findings": [
["<file>", <line>, "<category>", 1.0, "<first 200 chars of the item>"]
]
}
EOF
With --comment, re-read the PR head immediately before posting. If it no
longer matches the requested head, post nothing and report the stale review;
the launcher cannot cancel a Loom session already running, and a stale packet
would trigger deslop against a newer head. Otherwise post the packet as one
top-level comment with gh pr comment. Do not post inline comments; the
packet is read as a unit. Post nothing when step 2 reported a stale head or
step 3 reported a small delta.
A deslop session launched from a posted packet on an agent-generated pull
request may apply only these items: tests to drop, aliases and re-exports,
duplicated helpers, nested conditionals replaced by lookups, stale docstrings
and comments, and checked-in evidence nothing reads. It then runs the
noslop skill over the branch diff. It never applies a blocker or any item
that changes behavior; those stay with the author.
The session verifies the head repository is this repository, applies the
items, runs ./infra/pre-commit.py --changed-files --fix and the narrow
affected tests, and pushes one commit whose subject starts with Deslop and
names the reviewed sha. It replies once with 🤖, lists what it removed, and
ends the reply with <!-- marin-deslop:<sha> -->. If any test fails it pushes
nothing and posts the findings instead. One deslop commit per reviewed head;
a head whose last commit is itself a deslop commit is never deslopped again.
On a pull request without agent-generated, the session posts committable
suggestions and pushes nothing.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Run an explicitly requested Zephyr control/treatment benchmark on the same pre-normalized sample and compare Finelog stage metrics.
日本語の概要は準備中です。原文の説明を表示しています。
Register a named Hugging Face dataset for Marin by inspecting its schema and adding the appropriate experiments/datasets module.
日本語の概要は準備中です。原文の説明を表示しています。
Implement a fully specified request for a GCP IAM resource grant or Cloud Run IAP viewer in marin-iac.
日本語の概要は準備中です。原文の説明を表示しています。
Add or change a named Pallas/Mosaic kernel, including its reference implementation, correctness tests, wrapper, or requested tuning.
日本語の概要は準備中です。原文の説明を表示しています。
Archive explicitly named legacy experiment files by publishing a dated tag and canonical issue breadcrumbs.
日本語の概要は準備中です。原文の説明を表示しています。
Launch or continuously monitor a specified Zephyr pipeline on Iris only when asked to babysit it; restart only after explicit approval.
日本語の概要は準備中です。原文の説明を表示しています。