计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
nvidia-nemoclaw-maintainer-pr-comparator【效率与协作】Compares competing PRs that target the same issue and recommends which one to merge. Runs gate, correctness, and quality checks; outputs a deterministic scorecard with reasoning trace. Use when an issue has two or more open PRs and a maintainer needs to decide which to merge.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Picks the merge winner among competing PRs for a single issue. Tier 0 gates eliminate plumbing failures; Tiers 1-2 score correctness and quality; Tier 3 applies deterministic tiebreakers. Degraded mode handles the case where no PR passes gates.
gh CLI installed and authenticatedDefaults assume NemoClaw conventions (security CODEOWNERS, DCO, CodeRabbit, docs/ directory). For other repos, edit repo-policy.md to override.
Copy this checklist into your response and check off each step:
PR Comparison Progress:
- [ ] Step 1: Parse issue (body + comments) for acceptance criteria
- [ ] Step 2: Discover candidate PRs (default-order search with stop conditions)
- [ ] Step 3: Detect supersession (parse PR bodies)
- [ ] Step 4: Run Tier 0 gates per PR
- [ ] Step 5: Run Tier 1 correctness checks per PR
- [ ] Step 6: Run Tier 2 quality checks per PR
- [ ] Step 7: Compute weighted scores
- [ ] Step 8: Apply Tier 3 ranking (happy path or degraded mode)
- [ ] Step 9: Emit verdict using templates/verdict.md
Extract acceptance criteria from issue body and all comments:
gh issue view <issue-number> --json title,body,comments
Read every comment — commenters often add asks the body doesn't capture.
scripts/find-candidates.sh <issue-number>
Applies a single default order with stop conditions.
scripts/parse-supersession.sh <pr-number-1> <pr-number-2> ...
Parses each PR body for supersedes #N, replaces #N, closes in favor of #N, folds in #N. A PR that supersedes another wins ties immediately.
scripts/collect-gates.sh <pr-number>
scripts/check-coderabbit-threads.sh <pr-number>
Five gates, all mandatory. See checks/tier-0-gates.md for the full list and interpretation.
Six checks, all LLM judgments. See checks/tier-1-correctness.md for evidence requirements per check.
Three checks, all LLM judgments. See checks/tier-2-quality.md.
Branch on whether any PR passes all Tier 0 gates. See tiebreakers.md for happy-path tiebreakers, degraded-mode distance-to-ready ranking, and the behavior-coverage matrix.
Use templates/verdict.md. Every judgment must carry evidence (file:line refs, diff snippets), reasoning chain, and the score it contributed.
repo-policy.md — configurable defaults per target repochecks/tier-0-gates.md — plumbing gateschecks/tier-1-correctness.md — six correctness checkschecks/tier-2-quality.md — three quality checkstiebreakers.md — Tier 3 ranking and degraded modetemplates/verdict.md — output templatevalidation/backtest.md — backtest the skill against historical casesscripts/find-candidates.sh — PR discoveryscripts/collect-gates.sh — Tier 0 gate evaluationscripts/check-coderabbit-threads.sh — GraphQL thread resolutionscripts/parse-supersession.sh — body parsing for supersession refsscripts/render-verdict.py — verdict scorecard rendererThese require infrastructure beyond GitHub API + LLM and are deferred to v2 modules: