Skip to content

docs(contributing): align PR, code, and CI guidance - #3194

Merged
yaoyu-33 merged 12 commits into
mainfrom
docs/pr-checks-labels-skill
Sep 17, 2026
Merged

yaoyu-33 merged 12 commits into
mainfrom
docs/pr-checks-labels-skill

Conversation

@yaoyu-33

@yaoyu-33 yaoyu-33 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR establishes repo-wide contributor and AI-agent guidance for Gym:

  • documents PR titles, focused changes, simplicity-first code guidance, typing and public-API expectations, logging/error-handling conventions, DCO, and validation handoff in AGENTS.md and CONTRIBUTING.md
  • adds a nemo-gym-pr-checks-and-labels skill for affected-file history review, CI/check selection, missing-check diagnosis, and Gym's live label taxonomy
  • updates the PR template and contributor docs to request exact validation, compatibility impact, and rollout evidence when applicable
  • adds native Claude/Codex skill discovery links and regression coverage

The simplicity guidance distills the core idea from NVIDIA NeMo labs-molt's simplicity-first skill directly into Gym's always-loaded code-style rules: prefer the smallest clear solution for current requirements, avoid speculative abstractions, and preserve required behavior.

The guidance adapts only conventions that Gym currently supports. In particular, Gym uses Ruff rather than Black, area:* labels rather than Megatron Bridge title prefixes, and does not claim a repository-wide strict mypy or Ruff-docstring CI gate.

Part of #3122.

Relationship to #3123

This PR is independent of #3123 and can merge first.

The PRs overlap in a few documentation and skill-discovery files, so whichever lands second will need a mechanical rebase/conflict resolution. There is no semantic dependency, and reviewing #3123 first is not required.

What counts as a smoke rollout?

For behavior-changing environment or agent code, a representative real smoke rollout is the smallest model-backed end-to-end run that exercises the changed runtime path--normally one or a few representative tasks. The contributor should inspect the agent output or tool interactions and the verifier result, then record the command/configuration and observed outcome in the PR.

Unit tests, mocked requests, and health checks do not replace this evidence. A full evaluation, reward profile, or training run is not required. Docs-only and metadata-only catalog or manifest changes may record rollouts as N/A.

Compatibility and benchmark impact

None. This PR changes contributor policy, documentation, repository skills, discovery links, and their tests; it does not change runtime behavior or benchmark results.

Validation

  • Agent Skills structural validation
  • pytest tests/unit_tests/test_skills.py tests/unit_tests/test_blade_toolkit.py -q -- 26 passed
  • python tests/unit_tests/test_fern_docs_links.py -- 14/14 passed
  • pre-commit run --all-files
  • make docs-check -- 0 errors; redirect validation skipped because Fern authentication was unavailable locally
  • git diff --check
  • exercised the documented PR inspection, check, label, and REST fallback commands against live Gym PRs
  • forward-tested the affected-file history workflow against test: [1/3] add L1 environment verifier acceptance coverage #3127, including the constraint recorded in feat: unified judge failure handling #2113
  • three independent review rounds found no remaining correctness blockers

Rollouts

N/A. This PR does not change environment or agent runtime behavior.

Checklist

  • Focused change
  • Targeted tests and pre-commit pass
  • Documentation updated
  • DCO sign-off present

Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@yaoyu-33 yaoyu-33 added area:docs Generic documentation without another dominant domain docs Documentation-only updates or documentation debt labels Sep 9, 2026
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33 yaoyu-33 changed the title docs(skills): add PR checks and labels workflow docs(agents): define PR and code conventions Sep 9, 2026
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33 yaoyu-33 changed the title docs(agents): define PR and code conventions docs(skills): add PR checks and code conventions Sep 9, 2026
@yaoyu-33
yaoyu-33 marked this pull request as ready for review September 9, 2026 21:57
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33
yaoyu-33 requested a review from a team as a code owner September 9, 2026 22:27
@yaoyu-33 yaoyu-33 changed the title docs(skills): add PR checks and code conventions docs(contributing): align PR, code, and CI guidance Sep 9, 2026
@yaoyu-33 yaoyu-33 added the blocked Work cannot move forward until an external dependency is cleared label Sep 9, 2026
@github-actions github-actions Bot added the sla:triage-overdue Review assignment is over the one-business-day SLA label Sep 10, 2026
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>

# Conflicts:
#	CONTRIBUTING.md
@yaoyu-33

Copy link
Copy Markdown
Contributor Author

/ok to test 633c6f5

@yaoyu-33

Copy link
Copy Markdown
Contributor Author

/nvskills-ci

Comment thread .agents/skills/nemo-gym-pr-checks-and-labels/SKILL.md
ffrujeri
ffrujeri previously approved these changes Sep 15, 2026
@github-actions github-actions Bot removed the sla:triage-overdue Review assignment is over the one-business-day SLA label Sep 15, 2026
@yaoyu-33 yaoyu-33 added complexity:medium Single-domain change with interacting parts or a moderate review surface needs-review PR is ready for code review and waiting on a reviewer and removed blocked Work cannot move forward until an external dependency is cleared labels Sep 15, 2026
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33

Copy link
Copy Markdown
Contributor Author

/ok to test a00fa75

Signed-off-by: yaoyu-33 <yaoyu.094@gmail.com>
@yaoyu-33

Copy link
Copy Markdown
Contributor Author

/ok to test 6b1bcdf

@yaoyu-33
yaoyu-33 added this pull request to the merge queue Sep 17, 2026
Merged via the queue into main with commit a51b392 Sep 17, 2026
40 checks passed
@yaoyu-33
yaoyu-33 deleted the docs/pr-checks-labels-skill branch September 17, 2026 02:53

This branch was successfully deployed

1 active deployment
public 6b1bcdf5 Deployed Sep 16, 2026 by copy-pr-bot[bot] via release / finalize / notify #3048
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Generic documentation without another dominant domain complexity:medium Single-domain change with interacting parts or a moderate review surface docs Documentation-only updates or documentation debt needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants