Skip to content

fix(pr-advisor): simplify E2E output and review guidance - #6832

Merged
cv merged 8 commits into
mainfrom
codex/simplify-pr-advisor-e2e-output
Jul 14, 2026
Merged

fix(pr-advisor): simplify E2E output and review guidance#6832
cv merged 8 commits into
mainfrom
codex/simplify-pr-advisor-e2e-output

Conversation

@cv

@cv cv commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

The PR advisor showed the same E2E jobs as recommended coverage and recommended selectors. Its output and maintainer guidance also used modifiers that did not change the meaning. This change shows each E2E job once and uses plain, consistent language across the advisor and skills. The fork maintainer path now states explicitly that approval records a credentialed-E2E skip: fork code does not run with repository secrets, and skipped jobs are never described as passing.

Changes

  • Show one Recommended E2E list and one Optional E2E list in comments and summaries while keeping coverage and selector data separate in JSON.
  • Use Blocker, Warning, and Suggestion consistently, with shorter next-action, footer, prompt, and model-lane wording.
  • Remove redundant uses of comprehensive, thorough, exact, and exactly from skills, contributor guidance, and the advisor.
  • Rename the internal changed-test evidence field from exactHeadCredentialFreeTests to changedCredentialFreeTests; the evidence still binds each changed test to the analyzed head SHA.
  • Replace exact-head terminology with head, PR head, or current head where the sentence needs that distinction.
  • Update the advisor README, PR template, packaged skills, workflow fallback, schema, budgets, and focused tests.
  • Rename the protected environment and manual fallback to say they approve skipping credentialed E2E for a fork PR, and explain why Review deployments may be absent.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Docs updated for user-facing behavior changes
  • Docs not applicable — justification: The maintainer-facing README, runbook, and skills were updated. A documentation audit found no published user docs that expose these labels or need a docs/ change.
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: Advisor workflow-boundary, provenance, security-boundary, and E2E controller tests passed. The workflow edit changes names, messages, and controller identifiers only; it does not change permissions, secret exposure, or execution behavior.
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run check:diff passed when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — latest rerun: 106 E2E gate and maintainer-skill tests passed; earlier advisor and skill suites passed as recorded in prior commits.
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — command/result:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • npm run docs builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: Carlos Villela cvillela@nvidia.com

Summary by CodeRabbit

  • New Features
    • PR reviews now present consolidated Recommended and Optional E2E guidance, with duplicate recommendations removed and long lists summarized.
    • Fork pull requests can record approved credentialed E2E skips with clearer statuses and approval messaging; skipped checks are not reported as passed.
  • Bug Fixes
    • Improved validation and handling for stale, mismatched, or missing E2E skip approvals.
  • Documentation
    • Updated review, E2E skip, release, contributor, and maintainer guidance to reflect the revised workflows and terminology.

@cv cv self-assigned this Jul 14, 2026
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 15ceba1b-c4dd-4d58-b880-8acf56365c29

📥 Commits

Reviewing files that changed from the base of the PR and between 4f3fef3 and 5d08db3.

📒 Files selected for processing (9)
  • .agents/skills/nemoclaw-maintainer-day/MERGE-GATE.md
  • .github/workflows/pr-e2e-gate.yaml
  • test/e2e/README.md
  • test/e2e/docs/README.md
  • test/pr-e2e-gate-command.test.ts
  • test/pr-e2e-gate-fork-skip.test.ts
  • test/pr-e2e-gate-workflow.test.ts
  • test/pr-e2e-gate.test.ts
  • tools/e2e/pr-e2e-gate.mts
🚧 Files skipped from review as they are similar to previous changes (1)
  • .agents/skills/nemoclaw-maintainer-day/MERGE-GATE.md

📝 Walkthrough

Walkthrough

The PR consolidates trusted E2E recommendations into capped Recommended and Optional sections, renames credential-free evidence to changed-test evidence, updates advisor comment and prompt contracts, and replaces fork E2E exception resolution with approved credentialed-E2E skip recording.

Changes

PR Review Advisor

Layer / File(s) Summary
E2E contracts and comment rendering
tools/advisors/e2e-recommendations.mts, tools/pr-review-advisor/comment.mts, tools/pr-review-advisor/analyze.mts, tools/pr-review-advisor/schema.json
Trusted E2E IDs use the renamed evidence shape, shared render limit, deduplication, unified sections, overflow indicators, and updated finding presentation.
Advisor validation and tests
test/pr-review-advisor*.test.ts, test/e2e-recommendations.test.ts, tools/pr-review-advisor/analyze.mts
Prompts, metadata serialization, schemas, workflow-boundary wording, fixtures, and rendering assertions are updated for the revised contracts.

Fork credentialed-E2E skip flow

Layer / File(s) Summary
Skip controller contract
tools/e2e/pr-e2e-gate.mts
Fork exception command types and modes are replaced with manual and approved credentialed-E2E skip commands, outputs, validation, and recording entry points.
Workflow wiring and tests
.github/workflows/pr-e2e-gate.yaml, test/pr-e2e-gate*.test.ts
Dispatch inputs, approval and recording jobs, output fields, controller invocations, and failure-path tests use the fork-skip flow.
Operational documentation
test/e2e/README.md, test/e2e/docs/README.md, .agents/skills/nemoclaw-maintainer-day/MERGE-GATE.md
Fork approval environments, skip metadata, approval requirements, and resulting check terminology describe credentialed-E2E skips.

Guidance and policy

Layer / File(s) Summary
Workflow and maintainer guidance
.agents/skills/**/*, AGENTS.md, CONTRIBUTING.md
Follow-up, release, maintainer, contributor, security-review, dependency, policy, and user-guide wording is revised, including removal of several “exact” qualifiers and updated sign-off instructions.
Supporting templates and checks
.github/PULL_REQUEST_TEMPLATE.md, .github/workflows/pr-review-advisor.yaml, ci/*.json, tools/advisors/turn-protocol.mts, test/*
Checklist text, validation messages, fixtures, test descriptions, and budget comments are aligned with the updated terminology.

Estimated code review effort: 4 (Complex) | ~45 minutes

Suggested labels: bug-fix, area: ci

Suggested reviewers: prekshivyas

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 14.63% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately reflects the main PR themes: simplified E2E output and updated review guidance.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/simplify-pr-advisor-e2e-output

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

github-code-quality Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall coverage remains at 96%, unchanged from the main branch.

TypeScript / code-coverage/cli

The overall coverage in the codex/simplify-pr-ad... branch remains at 79%, unchanged from the main branch.

Show a code coverage summary of the most impacted files.
File main ac97fdc codex/simplify-pr-ad... 5d08db3 +/-
src/lib/policy/tiers.ts 94% 80% -14%
src/lib/agent/dashboard-ui.ts 89% 83% -6%
src/lib/onboard...shboard-port.ts 94% 89% -5%
src/lib/state/config-io.ts 94% 91% -3%
src/lib/agent/m...fest-readers.ts 97% 95% -2%
src/lib/inferen...ollama/proxy.ts 35% 34% -1%
src/lib/state/sandbox.ts 85% 85% 0%
src/lib/messagi.../persistence.ts 86% 89% +3%
src/lib/messagi...n-validation.ts 96% 100% +4%
src/lib/adapter...shell/client.ts 83% 88% +5%

Updated July 14, 2026 08:31 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor — Informational

Advisor assessment: Informational / high confidence
Primary next action: No advisor follow-up required beyond maintainer review.
Findings: 0 blockers · 0 warnings · 0 optional suggestions
Status: No actionable findings remain in the canonical review ledger.

Model lanes

  • GPT-5.6 Terra (primary): Completed · high confidence · 0 blockers · 0 warnings · 0 suggestions
  • Nemotron 3 Ultra (non-blocking second opinion): Completed · high confidence · 0 blockers · 1 warning · 0 suggestions
  • Model comparison: normalized findings differ; normalized E2E selections differ; Nemotron reported the same number of blockers, 1 more warning, the same number of suggestions.

Nemotron is a non-blocking second opinion. Its prose, findings, and E2E guidance do not change the primary assessment above and remain in workflow artifacts only.

E2E guidance

Advisory only: coverage and selector recommendations are non-authoritative. E2E / PR Gate independently computes and dispatches trusted jobs without consuming this output.

Recommended coverage: cloud-onboard, credential-sanitization, security-posture
Recommended selectors: cloud-onboard, credential-sanitization, security-posture

  • cloud-onboard — Selected from the trusted checked-in E2E coverage inventory.

  • credential-sanitization — Selected from the trusted checked-in E2E coverage inventory.

  • security-posture — Selected from the trusted checked-in E2E coverage inventory.

  • cloud-onboard — Selected as a trusted checked-in E2E job.

  • credential-sanitization — Selected as a trusted checked-in E2E job.

  • security-posture — Selected as a trusted checked-in E2E job.

Workflow run details

This is an automated, non-authoritative review. Findings are inputs to maintainer adjudication. Warnings and optional suggestions do not require a response or follow-up. A human maintainer makes the final merge decision.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
tools/pr-review-advisor/analyze.mts (1)

2636-2636: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Share the E2E render limit constant

tools/pr-review-advisor/analyze.mts hardcodes 20 when truncating E2E IDs, while tools/pr-review-advisor/comment.mts already uses E2E_RENDER_LIMIT = 20. Reuse the shared constant here so the two summaries can’t drift.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tools/pr-review-advisor/analyze.mts` at line 2636, Replace the hardcoded 20
in the required-ID truncation loop within the E2E analysis flow with the
existing shared E2E_RENDER_LIMIT constant from comment.mts, importing or reusing
it through the established module boundary so both summaries use the same limit.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tools/pr-review-advisor/comment.mts`:
- Line 514: Update the required E2E rendering around renderE2eIds(requiredE2e)
to surface when requiredE2e exceeds E2E_RENDER_LIMIT, matching the optional
section’s compactCount behavior. Preserve the existing truncated ID display
while appending a clear overflow/total indication so reviewers cannot mistake
the truncated list for the complete required set.

---

Nitpick comments:
In `@tools/pr-review-advisor/analyze.mts`:
- Line 2636: Replace the hardcoded 20 in the required-ID truncation loop within
the E2E analysis flow with the existing shared E2E_RENDER_LIMIT constant from
comment.mts, importing or reusing it through the established module boundary so
both summaries use the same limit.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: e2dd4f8f-c0c4-4c61-9ea3-d453ff0aaeb9

📥 Commits

Reviewing files that changed from the base of the PR and between 4f64b0a and 8a756c8.

📒 Files selected for processing (6)
  • test/pr-review-advisor-comment-cli.test.ts
  • test/pr-review-advisor-security-boundaries.test.ts
  • test/pr-review-advisor.test.ts
  • tools/pr-review-advisor/README.md
  • tools/pr-review-advisor/analyze.mts
  • tools/pr-review-advisor/comment.mts

Comment thread tools/pr-review-advisor/comment.mts Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@test/pr-review-advisor-comment-cli.test.ts`:
- Around line 23-42: Strengthen the test in “reports required E2E
recommendations that do not fit” by asserting the first E2E_RENDER_LIMIT trusted
IDs are rendered in the required E2E output and the overflow ID is absent. Use
boundary-aware matching so duplicated or substring-matching IDs cannot satisfy
the assertions, while retaining the existing overflow and tag-count checks.

In `@tools/advisors/e2e-recommendations.mts`:
- Line 18: Make E2E_RENDER_LIMIT in e2e-recommendations.mts the single exported
source of truth. Remove the duplicate declarations from analyze.mts and
comment.mts, import the canonical value there, and update their usages to
preserve consistent summary and comment limits.

In `@tools/pr-review-advisor/README.md`:
- Around line 159-160: Update the overflow documentation near renderE2eDetails
to match the current optional-list rendering behavior: either document that only
required IDs explicitly report hidden counts, or change the optional rendering
to expose its hidden count consistently. Preserve duplicate suppression and the
existing display-limit behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 7caf1932-e414-40f8-b524-9631b58af058

📥 Commits

Reviewing files that changed from the base of the PR and between 8a756c8 and a707eae.

📒 Files selected for processing (5)
  • test/pr-review-advisor-comment-cli.test.ts
  • tools/advisors/e2e-recommendations.mts
  • tools/pr-review-advisor/README.md
  • tools/pr-review-advisor/analyze.mts
  • tools/pr-review-advisor/comment.mts
🚧 Files skipped from review as they are similar to previous changes (2)
  • tools/pr-review-advisor/analyze.mts
  • tools/pr-review-advisor/comment.mts

Comment thread test/pr-review-advisor-comment-cli.test.ts Outdated
Comment thread tools/advisors/e2e-recommendations.mts
Comment thread tools/pr-review-advisor/README.md
@cv cv changed the title fix(pr-advisor): simplify E2E guidance fix(pr-advisor): simplify review output Jul 14, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
tools/pr-review-advisor/analyze.mts (1)

2629-2661: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Reuse the shared E2E dedupe helper. combinedE2eIds() in analyze.mts and uniqueE2eIds() in comment.mts both do the same Set-based final dedupe after their own filtering. Exporting and reusing uniqueStrings() from tools/advisors/e2e-recommendations.mts would keep the two renderers from drifting.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tools/pr-review-advisor/analyze.mts` around lines 2629 - 2661, Update
combinedE2eIds() to reuse the shared uniqueStrings() helper from
e2e-recommendations.mts instead of performing its own Set-based deduplication,
exporting the helper if needed. Preserve the existing ordering and combined
target/coverage inputs, and align comment.mts uniqueE2eIds() with the same
shared helper.

Source: Path instructions

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@tools/pr-review-advisor/analyze.mts`:
- Around line 2629-2661: Update combinedE2eIds() to reuse the shared
uniqueStrings() helper from e2e-recommendations.mts instead of performing its
own Set-based deduplication, exporting the helper if needed. Preserve the
existing ordering and combined target/coverage inputs, and align comment.mts
uniqueE2eIds() with the same shared helper.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 216cba5d-1ba3-415f-8ec6-f6f8bedd9a54

📥 Commits

Reviewing files that changed from the base of the PR and between f498a2f and b3e203c.

📒 Files selected for processing (21)
  • .agents/skills/_shared/pr-follow-up.md
  • .agents/skills/nemoclaw-contributor-create-pr/SKILL.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/SKILL.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/references/release-ledger.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/scripts/collect-release-ledger.py
  • .agents/skills/nemoclaw-contributor-update-docs/SKILL.md
  • .agents/skills/nemoclaw-maintainer-cut-release-tag/SKILL.md
  • .agents/skills/nemoclaw-maintainer-day/MERGE-GATE.md
  • .agents/skills/nemoclaw-maintainer-day/SALVAGE-PR.md
  • .agents/skills/nemoclaw-maintainer-day/SKILL.md
  • .agents/skills/nemoclaw-maintainer-pr-comparator/SKILL.md
  • .agents/skills/nemoclaw-maintainer-pr-comparator/repo-policy.md
  • .agents/skills/nemoclaw-maintainer-security-code-review/SKILL.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/workflows/pr-review-advisor.yaml
  • test/pr-review-advisor-comment-cli.test.ts
  • test/pr-review-advisor-ledger-tools.test.ts
  • test/pr-review-advisor.test.ts
  • tools/pr-review-advisor/README.md
  • tools/pr-review-advisor/analyze.mts
  • tools/pr-review-advisor/comment.mts
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/pr-review-advisor-comment-cli.test.ts

@cv

cv commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@cv cv changed the title fix(pr-advisor): simplify review output fix(pr-advisor): simplify E2E output and review guidance Jul 14, 2026
@cv

cv commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.agents/skills/nemoclaw-contributor-update-dependencies/SKILL.md:
- Around line 18-20: Remove the duplicated “the” at the boundary between the
adjacent sentences in the contributor workflow guidance, so the text reads
“record the evidence and downstream gate.”
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 6fdf9cb3-39a9-44a6-af62-ad25d3aebd1f

📥 Commits

Reviewing files that changed from the base of the PR and between b3e203c and 1bf924a.

📒 Files selected for processing (54)
  • .agents/skills/_shared/git-github-hard-stop.md
  • .agents/skills/nemoclaw-contributor-create-pr/SKILL.md
  • .agents/skills/nemoclaw-contributor-onboard-messaging-channel/SKILL.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/SKILL.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/references/contract-audit.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/references/release-ledger.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/scripts/collect-release-ledger.py
  • .agents/skills/nemoclaw-maintainer-cross-issue-sweep/relationship-rules.md
  • .agents/skills/nemoclaw-maintainer-cross-issue-sweep/scripts/search-candidate-issues.sh
  • .agents/skills/nemoclaw-maintainer-cut-release-tag/SKILL.md
  • .agents/skills/nemoclaw-maintainer-day/MERGE-GATE.md
  • .agents/skills/nemoclaw-maintainer-day/PR-REVIEW-PRIORITIES.md
  • .agents/skills/nemoclaw-maintainer-evening/SKILL.md
  • .agents/skills/nemoclaw-maintainer-policies/references/daily-flow.md
  • .agents/skills/nemoclaw-maintainer-policies/references/label-taxonomy.md
  • .agents/skills/nemoclaw-maintainer-policies/references/project-workflow.md
  • .agents/skills/nemoclaw-maintainer-policies/references/release-train.md
  • .agents/skills/nemoclaw-maintainer-policies/references/triage-instructions.md
  • .agents/skills/nemoclaw-maintainer-pr-comparator/SKILL.md
  • .agents/skills/nemoclaw-maintainer-release-notes/SKILL.md
  • .agents/skills/nemoclaw-maintainer-triage/SKILL.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/SKILL.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/reference/brev-provisioning.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/reference/by-design.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/reference/candidate-selection.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/reference/reproduction-rubrics.md
  • .agents/skills/nemoclaw-maintainer-verify-stale/reference/scoring-comments-and-logging.md
  • .agents/skills/nemoclaw-user-guide/SKILL.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/workflows/pr-review-advisor.yaml
  • AGENTS.md
  • CONTRIBUTING.md
  • ci/onboard-performance-budget.json
  • ci/source-shape-test-budget.json
  • skills/nemoclaw-user-guide/SKILL.md
  • test/advisor-session-runner.test.ts
  • test/dependency-upgrade-skill.test.ts
  • test/e2e-recommendations.test.ts
  • test/maintainer-skills-policy.test.ts
  • test/onboard-performance-config-schema.test.ts
  • test/pr-e2e-gate-exceptions.test.ts
  • test/pr-review-advisor-provenance.test.ts
  • test/pr-review-advisor-security-boundaries.test.ts
  • test/pr-review-advisor-test-depth.test.ts
  • test/pr-review-advisor-turns.test.ts
  • test/pr-review-advisor-workflow-boundary.test.ts
  • test/pr-review-advisor.test.ts
  • tools/advisors/e2e-recommendations.mts
  • tools/advisors/turn-protocol.mts
  • tools/pr-review-advisor/README.md
  • tools/pr-review-advisor/analyze.mts
  • tools/pr-review-advisor/comment.mts
  • tools/pr-review-advisor/schema.json
  • tools/pr-review-advisor/workflow-boundary.mts
🚧 Files skipped from review as they are similar to previous changes (7)
  • .github/PULL_REQUEST_TEMPLATE.md
  • .agents/skills/nemoclaw-maintainer-pr-comparator/SKILL.md
  • .agents/skills/nemoclaw-contributor-update-dependencies/references/release-ledger.md
  • test/pr-review-advisor-security-boundaries.test.ts
  • tools/pr-review-advisor/README.md
  • test/pr-review-advisor.test.ts
  • tools/pr-review-advisor/comment.mts

Comment thread .agents/skills/nemoclaw-contributor-update-dependencies/SKILL.md
@cv

cv commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@cv

cv commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@cv
cv merged commit a5a2140 into main Jul 14, 2026
108 of 119 checks passed
@cv
cv deleted the codex/simplify-pr-advisor-e2e-output branch July 14, 2026 09:24
@wscurran wscurran added the area: skills Skills, agent behaviors, prompts, or skill packaging label Jul 29, 2026
jyaunches added a commit that referenced this pull request Aug 19, 2026
<!-- markdownlint-disable MD041 -->
## Summary

The PR Review Advisor should block material codebase-design defects
without sending authors through review-driven growth loops. This change
keeps the evidence and anti-noise safeguards from #6682 and #6832, makes
maintainability defects first-class blockers, and requires simplicity
feedback to point toward a smaller complete source-and-test design.

## Changes

- Define duplicated authority, unnecessary machinery, repeated setup,
widened dependencies, unrelated churn, and unsupported product scope as
present design defects when checked-in evidence supports a
behavior-preserving reduction.
- Require blocker severity when the advisor expects author action before
merge. Keep warnings optional only when maintainers can reasonably
accept the current design without author action.
- Require an unnecessary-complexity finding to name its reduction case
across source and tests. Prefer a negative total line delta; permit a
line-neutral result only for a material reduction in owners, concepts,
invalid combinations, or dependency width.
- Reject net-new helpers, registries, configuration surfaces,
compatibility layers, fallbacks, migrations, test frameworks, and
parallel fixture owners as simplification remedies unless current
consumers adopt them and the complete change removes more structure than
it adds.
- Preserve semantic regression coverage while allowing duplicated
fixtures, matrices, assertions, and test owners to be consolidated.
- Keep follow-on findings grounded in current code, scope ownership
findings to checked-in duplication, and classify merge-order-only
redundancy as superseded or a limitation.
- Keep a prior design root cause stable when a review response adds
machinery instead of creating a serial chain of architecture findings.
- Apply the same deletion and consolidation questions in the shared
code-change considerations and the issue implementation skill so agents
optimize the design before publication.
- Add prompt, shared-guidance, and skill contract coverage for the new
direction and retained anti-noise rules.

## Type of Change

- [ ] Code change (feature, bug fix, or refactor)
- [x] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Quality Gates

- [x] Tests added or updated for changed behavior
- [ ] Existing tests cover changed behavior — justification:
- [ ] Tests not applicable — justification:
- [ ] Sensitive paths changed (security, policy, credentials, preflight,
onboarding, inference, runner, sandbox, or messaging)
- [ ] Sensitive-path review completed or maintainer-approved waiver
recorded — reviewer/approval link/justification:
- [ ] Non-success, skipped, or missing CI check accepted by maintainer —
check name, approval link, and follow-up issue:

## DGX Station Hardware Evidence

- [ ] Tested on DGX Station
- Tested commit:
- Station profile/scenario:
- Result:
- Supporting evidence:

## Verification

- [x] PR description includes a `Signed-off-by:` line and every commit
appears as `Verified` in GitHub
- [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or
`npm run validate:pr` passed after refreshing `origin/main` when hooks
were skipped or unavailable
- [x] Targeted behavior tests pass for the current change set, or tests
are marked not applicable above — `npm exec -- vitest run
test/code-change-considerations.test.ts
test/pr-review-advisor-writing-guides.test.ts
test/pr-review-advisor-context.test.ts test/skills-frontmatter.test.ts`
(82 passed); `npm run test:changed` (growth guardrails: 32 passed; no
changed CLI, plugin, or E2E-support tests)
- [ ] Applicable broad gate passed — `npm test` for broad
runtime/test-harness changes; `npm run check` for repo-wide
validation/coverage changes — command/result:
- [x] Quality Gates section completed with required justifications or
waivers
- [x] No secrets, API keys, or credentials committed
- [ ] `npm run docs` builds without warnings (doc changes only)
- [ ] Doc pages follow the [style
guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md)
(doc changes only)
- [ ] New doc pages include SPDX header and frontmatter (new doc pages
only)

---
Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Review guidance now more consistently identifies material design,
security, authorization, scope, duplication, and complexity issues as
blockers when supported by evidence.
* Simplification recommendations favor reducing source and test
complexity, avoiding added mechanisms and unsupported future-use
justifications.
* Checks better distinguish current defects from hypothetical risks,
resolved behavior, and non-actionable concerns.
* Terminology reviews and retry handling now provide clearer, more
reliable outcomes.

* **Documentation**
* Clarified expectations for documenting reductions, line changes,
preserved regression coverage, ownership evidence, and independent
follow-on risks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Signed-off-by: Julie Yaunches <jyaunches@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: skills Skills, agent behaviors, prompts, or skill packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants