Skip to content

docs: apply the NVIDIA style guidelines to the observability, references, resources, and security docs - #14669

Merged
cv merged 3 commits into
v1from
work/v1/docs-style-pass
Nov 19, 2026
Merged

cv merged 3 commits into
v1from
work/v1/docs-style-pass

Conversation

@jyaunches

Copy link
Copy Markdown
Contributor

Applies the NVIDIA style guidelines, including the Technical Documentation Conventions that #14665 gave precedence, to the hand-written pages under docs/observability, docs/references, docs/resources, and docs/security, so the troubleshooting, reference, and security pages read consistently for users.

Problem

These pages predate the style guide merged in #14664. They join independent clauses with semicolons, including inside table cells, and use slashes for "and" or "or". They write "see", "may", "above", "below", and "once" where the conventions ask for "refer to", "can" or "might", "previous" or "following", and "after". They mix contractions with full forms, name NVIDIA products without "NVIDIA" on first mention, and start several tables and lists without a lead-in sentence.

Change

Wording and formatting only. Commands, values, identifiers, quoted output, links, and heading anchors are unchanged, and no content moved between pages.

  • Split semicolon-joined clauses into sentences, one sentence per source line in prose. In table cells, semicolon-separated items became commas and "and", and joined clauses became sentences. A table column that holds a sentence ends every cell with a period.
  • Use full forms instead of contractions, as the conventions require in technical documentation.
  • Write "refer to" before links, "can" for capability, and "might" for possibility. Replace positional "above" and "below" with "previous", "preceding", or "following", "once" with "after" where it means sequence, and "at once" with "immediately".
  • Replace slash constructions such as gateway/engine and plan/apply with words. Windows/WSL stays, as in docs: apply the NVIDIA style guidelines to six v1 doc folders #14666.
  • Use title case in table headers, and capitalize "From" in two headings.
  • Introduce each table and list with a lead-in sentence that ends with a colon. Capitalize list items and the text after a term's colon, and add serial commas and thousands separators.
  • Prefix NVIDIA OpenShell, NVIDIA NeMo Fabric, NVIDIA DGX, NVIDIA NIM, and NVIDIA Nemotron at their first mention on each page. The Last Verified keys in limits.md keep their short names, because table cells use them.
  • Split a few sentences longer than about 40 words.

The generated configuration reference, docs/reference/configuration.md, is out of scope: its text comes from Rust field descriptions and needs a change to those sources. The pages that #14666 updated still use contractions and "once", which the conventions from #14665 ask to replace; this change does not rewrite them.

…ty pages

Apply the nvidia-style-guide skill from #14664 to the hand-written pages in
docs/observability, docs/references, docs/resources, and docs/security.

- Use contractions for negations.
- Replace semicolons with separate sentences, one per source line in prose,
  or with commas and conjunctions in table cells that list noun phrases.
- Replace slash constructions such as gateway/engine with "or" or "and".
- Use title case in table headers and terminal periods throughout any
  table column that holds sentences.
- Introduce tables and lists with a lead-in sentence ending in a colon.
- Capitalize list items, add serial commas and thousands separators, and
  split sentences longer than about 40 words.

docs/reference/configuration.md is generated from Rust field descriptions,
so this change leaves it alone.
The style guide now gives the Technical Documentation Writing Guide's
conventions precedence in technical documentation (#14665). Apply them to
the same 12 pages:

- Use full forms instead of contractions.
- Write "refer to" instead of "see" before a link.
- Use "can" for capability and "might" for possibility instead of "may".
- Replace "above" and "below" with "previous", "preceding", or
  "following", and "once" with "after" when it means sequence.
- Prefix NVIDIA OpenShell, NVIDIA NeMo Fabric, NVIDIA DGX, NVIDIA NIM, and
  NVIDIA Nemotron at their first mention on each page.
- Capitalize "From" in two headings; their anchors do not change.
- Keep Windows/WSL, matching #14666.
@jyaunches

Copy link
Copy Markdown
Contributor Author
Authoring session — opening
Field Status Value Evidence or limit
Harness partial Pi coding agent (TUI) with the Pit typescript tool Session record schema version 3; the record does not store the Pi release version
Skills recorded nemoclaw-contributor-create-pr (complete read) Reads through the cutoff; nvidia-style-guide was read with link URLs and blank lines removed, so it is not counted
Instruction files partial AGENTS.md (startup injection); WRITING.md (complete read); internal-docs/contributing/documentation.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read); three machine-local AGENTS.md files (startup injection); two machine-local worktree AGENTS.md files (complete read) Startup injections appear in the harness context but are not stored in the session record
Tool calls partial typescript: 58 Pi tool calls through the cutoff, including 3 failed calls; host calls nested inside each program are not recorded
Tokens recorded input: 8442816; cached input: 7993575; output: 113492 Sum of 56 assistant message.usage entries through the cutoff: input + cacheRead + cacheWrite, cacheRead, and output; later publishing requests are excluded
Session window recorded 2026-11-19T21:32Z to 2026-11-19T22:26Z; 54 min First event to the report cutoff, including idle time between the two requests
Compactions recorded 0 No compaction entries; Pit context edits such as notes, elisions, and summaries are not compactions
Models recorded nvidia-claude/aws/anthropic/bedrock-claude-opus-5-5 One model event at session start; no changes
Reasoning levels recorded high One thinking-level event at session start; no changes

@github-actions

Copy link
Copy Markdown
Contributor

@jyaunches
jyaunches requested a review from cv November 19, 2026 22:44
Resolve conflicts with the gerund heading renames from #14670 and the v1 style pass.
@cv
cv enabled auto-merge (squash) November 19, 2026 23:45
@cv
cv merged commit c2c7b52 into v1 Nov 19, 2026
54 checks passed
@cv
cv deleted the work/v1/docs-style-pass branch November 19, 2026 23:51
@cv cv added the v1 NemoClaw v1 branch label Nov 19, 2026
cv added a commit that referenced this pull request Nov 19, 2026
Resolve conflicts with the style pass from #14669.
cv added a commit that referenced this pull request Nov 19, 2026
Resolve conflicts with the style pass from #14669.
cv added a commit that referenced this pull request Nov 19, 2026
Resolve conflicts with the style pass from #14669.
cv added a commit that referenced this pull request Nov 20, 2026
## Outcome
Before: PRs into `v1` and PRs stacked on them got the `v1` label only
when someone added it by hand. After: a new workflow adds `v1` to every
PR whose base is `v1`, or whose chain of stacked PR bases reaches `v1`,
when the PR is opened, reopened, or retargeted. It also labels the open
PRs stacked on such a PR.

## Reason
cv asked for every PR into `v1`, including stacked PRs, to carry the
`v1` label from now on.

This PR targets `main`, not `v1`. Since December 8, 2025, GitHub [runs
`pull_request_target` from the default branch's copy of a
workflow](https://github.blog/changelog/2025-11-07-actions-pull_request_target-and-environment-branch-protections-changes/),
whatever the PR's base. A copy on `v1` would never run. This repository
shows that behavior: `require-maintainer-edits.yaml` exists only on
`main`, and it runs for `v1` PRs such as #14669. Workflows on `main`
that filter `branches: [main]`, such as
`label-merged-pr-release-target.yaml`, skip `v1` PRs. This workflow has
no branch filter.

## Changes
- `.github/workflows/label-v1-prs.yaml`: a `pull_request_target`
workflow for `opened`, `reopened`, and `edited`. The job skips edits
that don't change the base and PRs into the default branch. It runs an
inline `actions/github-script` step, pinned to the same SHA as the
repository's other workflows. The step only reads PR metadata and adds
labels. It never checks out or runs PR code, and its token has only
`pull-requests: write`.
- It follows the base branch through the open PR, or else the latest
merged PR, whose head is that branch in this repository. It stops at
`v1` (label), the default branch, a branch that isn't such a PR's head,
a loop, or after 10 ancestor PRs (no label).
- When the PR leads to `v1`, it labels the PR and the open PRs stacked
on it, up to 10 levels. Retargeting a parent onto `v1` therefore labels
its children. It doesn't descend from fork heads, `v1`, or the default
branch.
- Adding a label the PR already has is skipped, and it never removes
labels.
- `test/automation/pull-requests/label-v1-prs-workflow.test.ts` runs the
workflow's script against a fake GitHub API. It covers stacks of open
and merged PRs, every stopping case, the depth limit, labelling stacked
children, and existing labels. `test/helpers/vitest-watch-triggers.ts`
selects that test when the workflow changes.

Limitation: a child opened before its parent exists in the chain is
labelled only when the parent PR is later opened or retargeted onto the
chain. Retargeting a PR away from `v1` doesn't remove the label.

## Verification
- `npx vitest run
test/automation/pull-requests/label-v1-prs-workflow.test.ts` — 12
passed. Before the workflow existed, the suite failed. Raising the depth
limit to 11 failed the depth test. Removing the default-branch guard
failed the merge-into-`v1` test.
- `actionlint .github/workflows/label-v1-prs.yaml` — no findings.
- pre-commit and pre-push hooks, including publication validation,
passed.
- The workflow can't run on this PR: it exists only on this branch, and
GitHub reads `pull_request_target` workflows from `main`. After merge,
open a PR into `v1`, or a PR stacked on one. Then confirm that
**Automation / Label v1 Pull Requests** runs and adds `v1`.
- The diff contains no secrets, API keys, or credentials.

## Review notes
`.github/**` is a contributor sensitive path. This adds a
`pull_request_target` workflow with write access to PRs. No review
happened before publication, so the change awaits maintainer review.

---
Signed-off-by: Carlos Villela <[email protected]>


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

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **New Features**
* Pull requests targeting non-default branches are labeled `v1` when
their base branch chain leads to `v1`. The label is also applied to
eligible open pull requests stacked on those branches.
* **Tests**
* Added coverage for labeling behavior, including retargeted pull
requests, existing labels, and cases where the branch chain does not
qualify.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Carlos Villela <[email protected]>
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants