nemoclaw-maintainer-cross-issue-sweep

작성자: nvidia

다른 열린 이슈들을 스캔하여 주어진 PR이 함께 수정하거나 실수로 망가뜨릴 수 있는 이슈를 찾습니다. 인접 수정 기회와 모순 위험을 file:line…과 함께 출력합니다.

npx skills add https://github.com/nvidia/nemoclaw --skill nemoclaw-maintainer-cross-issue-sweep

Cross-Issue Regression Sweep

Surfaces the issues a single PR may also fix or accidentally break beyond the one it claims to address. Two outputs:

  • Adjacent fixes — "PR may also close #X" → bundling intel (ship one PR, close multiple issues)
  • Contradicting risks — "PR may break what #Y wants" → coordination needed before merge

Prerequisites

  • gh CLI authenticated
  • A target repository with open issues
  • An open PR to scan

Repo policy

Defaults assume NemoClaw conventions. Edit repo-policy.md to override per-repo (bot logins, candidate caps, language regex).

Workflow

Copy this checklist into your response and check off each step:

Cross-issue sweep progress:
- [ ] Step 1: Extract fingerprint (files, symbols, error strings, primary issue)
- [ ] Step 2: Search candidate issues (capped at 30, primary excluded)
- [ ] Step 3: Classify each candidate (4-class with evidence)
- [ ] Step 4: Apply reverse-link boost
- [ ] Step 5: Filter (drop UNRELATED, SAME_ISSUE_DIFF, low-confidence)
- [ ] Step 6: Render report using templates/report.md

Step 1: Extract fingerprint

scripts/extract-fingerprint.sh <pr-number>

Pulls four dimensions: touched files, touched symbols (per-language regex), error-string tokens, and the PR's primary linked issue (for exclusion). See checks/fingerprint-extraction.md.

Step 2: Search candidate issues

scripts/search-candidate-issues.sh <fingerprint-json>

Three search dimensions, capped at 30 total candidates:

  • Per symbol: top 10 by recency
  • Per file path: top 5 by recency
  • Per error string: top 5 by recency

Dedupes; excludes the PR's primary linked issue.

Step 3: Classify each candidate

For each candidate, the LLM classifies as one of four classes per checks/relationship-judgment.md:

  • ADJACENT_FIX — PR's changes likely also resolve this issue
  • CONTRADICTING — PR's approach blocks what this issue wants
  • SAME_ISSUE_DIFF — same root bug as PR's primary issue (dedup filter)
  • UNRELATED — no meaningful relationship

Required for ADJACENT_FIX or CONTRADICTING:

  • Cite specific PR diff line
  • Cite specific issue symptom
  • Confidence: high / medium / low

If no specific evidence can be cited, the LLM must answer UNRELATED. This floors hallucination.

Step 4: Reverse-link boost

If the candidate issue's body or comments already mention this PR's number, the relationship is already in someone's mental model. Boost confidence by one tier (low → medium, medium → high).

Step 5: Filter

  • Suppress UNRELATED + SAME_ISSUE_DIFF
  • Drop low-confidence judgments
  • Keep ADJACENT_FIX and CONTRADICTING with high or medium confidence

Step 6: Render report

scripts/render-report.py < classifications.json

See templates/report.md for the format.

Reference files

  • repo-policy.md — configurable per-repo defaults
  • relationship-rules.md — 4-class definitions with worked examples
  • checks/fingerprint-extraction.md — what to pull from the diff, per language
  • checks/relationship-judgment.md — LLM judgment criteria + evidence requirement
  • templates/report.md — output template
  • validation/backtest.md — backtest the skill against historical PRs

Scripts (execute, do not read)

  • scripts/extract-fingerprint.sh — symbols + paths + error strings, deterministic
  • scripts/search-candidate-issues.sh — GitHub Search wrapper, dedupe, cap
  • scripts/render-report.py — report renderer

Composition with other skills

This skill is a separate, optional follow-up to nemoclaw-maintainer-pr-comparator. The comparator does not call it or include its findings in the deterministic score. Run the sweep explicitly when a maintainer wants adjacent-fix or contradiction evidence alongside the comparator verdict, and report that evidence separately.

What this skill does NOT do (deferred)

These would raise the ceiling but require infrastructure beyond GitHub API + LLM:

  • Run PR code against adversarial inputs (sandboxed)
  • Static-analyzer dataflow tracing (CodeQL, Semgrep)
  • ML-based symbol disambiguation across codebases

nvidia의 다른 스킬

compileiq-debug
nvidia
Use when something is wrong: Search() hangs, all evaluations return INVALID_SCORE, scores aren't improving, every config returns the same number, ptxas errors…
official
create-github-pr
nvidia
gh CLI를 사용하여 GitHub 풀 리퀘스트를 생성합니다. 사용자가 새 PR을 만들거나, 코드 리뷰를 제출하거나, 풀 리퀘스트를 열고자 할 때 사용합니다. 트리거 키워드 -…
official
diagnose-perf
nvidia
First-responder performance triage for Isaac Sim and Isaac Lab. Identifies bottleneck category (GPU-bound, CPU-bound, VRAM, loading) using nvidia-smi and…
official
eagle3-review-logs
nvidia
Review EAGLE3 pipeline experiment logs from the launcher's experiments/ directory. Summarizes pass/fail status for all 4 tasks, diagnoses failures with root…
official
karpathy-guidelines
nvidia
일반적인 LLM 코딩 실수를 줄이기 위한 행동 지침입니다. 코드 작성, 검토 또는 리팩토링 시 과도한 복잡성을 피하고 정밀한 변경을 위해 사용하세요.
official
fhir-basics
nvidia
에이전트에게 FHIR R4 API의 작동 방식, 사용 가능한 리소스, 검색 매개변수를 사용한 쿼리 방법, 모든 응답 형식을 올바르게 파싱하는 방법을 가르칩니다…
official
underdeclared-agent
nvidia
A helpful assistant agent
official
compileiq-validate-result
nvidia
검색이 완료된 후, 속도 향상을 청구하거나 ACF를 발송하기 전에 사용합니다. dump_results CSV를 로드하고, 상위 K개 후보(단일 목표)를 추출합니다…
official