Skip to content

docs: v0.19 doc sweep — fix drift, stale versions, broken commands - #2148

Merged
mchmarny merged 1 commit into
NVIDIA:mainfrom
yuanchen8911:docs/v0.19-doc-sweep
Aug 10, 2026
Merged

mchmarny merged 1 commit into
NVIDIA:mainfrom
yuanchen8911:docs/v0.19-doc-sweep

Conversation

@yuanchen8911

@yuanchen8911 yuanchen8911 commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documentation-only sweep ahead of the v0.19.0 release: fixes verified drift against code and pinned versions, broken documented commands, stale release references, contradictions with current behavior, and navigation gaps. 35 files, no code changes.

Motivation / Context

Pre-release doc health pass for v0.19.0 (current RC: v0.19.0-rc1). Three parallel audits covered docs/ (user/integrator/contributor), root/governance docs, and demos/ + package READMEs; every fix below was verified against its source of truth before applying.

Fixes: N/A
Related: N/A

Type of Change

  • Documentation update

Component(s) Affected

  • Docs/examples (docs/, examples/)
  • Other: root governance docs, demos/, .github/actions/README.md, package/test READMEs, docs/index.yml (Fern nav)

Implementation Notes

Enum drift (checked against pkg/recipe/criteria.go, pkg/recipe/oskind, api/aicr/v1/server.yaml): added metal3, gb300, l40s, and ol where missing from documented criteria value lists (README dimensions table, API reference, contributor recipe doc, agent-deployment).

Broken documented commands: aicr version → aicr --version; the demos/images/e2e.md commands fixed end to end (invalid short flags -a/-i/-p/-f replaced, --service eks --os ubuntu added so the recipe criteria actually resolve to a leaf, --attest added to match the attestation caption); removed the nonexistent --deploy-agent test-suite row; --system-node-selector in demos/validation-acceptance.md passed a taint value instead of the node label.

Stale versions: SECURITY.md supported-versions table bumped 0.16.x → 0.19.x (timed to this release — merge with/after v0.19.0 final, or I can hold it at 0.18.x); gpu-operator/nfd pins in air-gap and provenance examples (→ v26.3.3 / v0.19.0 per recipes/registry.yaml); go get pin in the Go-library guide; agent image tag examples; ministack image pin (.settings.yaml); two action defaults in .github/actions/README.md. Replaced DEVELOPMENT.md's hand-pinned tools-check sample output with a version-free skeleton pointing at .settings.yaml so it can't re-drift.

Make-target drift: make qualify / make lint compositions corrected everywhere they are enumerated (DEVELOPMENT.md ×3, CONTRIBUTING.md, .claude/CLAUDE.md + AGENTS.md mirror resynced via tools/check-agents-sync); added missing bump-rc, bump-promote, kwok-*, and license-check rows; CONTRIBUTING.md now links the make-targets table instead of re-enumerating the gate (kills a recurring drift source).

Contradictions with current code: validator-extension.md still described the pre-#2121 warn-and-continue behavior for unknown check names (now documents the fail-closed aicr validate exit 2, explicitly distinguished from the validator-container exit-code contract); kubernetes-deployment.md claimed the allowlist vars are "the only environment variables the API server reads" (signing env vars exist); CONTRIBUTING.md still hedged the SLSA level on #1536 — now states image Build Level 3 via the reusable attestation workflow since v0.17.0, plus Build Provenance v1 for CLI binaries; validate phase order corrected to deployment → conformance → performance (pkg/validator/phases.go), and "readiness" removed as a phase in examples/recipes/README.md.

Demo/tooling guidance corrected against behavior: the "comment out sections in deploy.sh" advice for a pre-installed nodewright now points at the supported --set nodewright:enabled=false --set nodewrightcustomizations:enabled=false bundle-time toggles (deploy.sh deploys numbered directories generically); the uat-broker README now describes nightly-intents as the leg-level enrollment summary/opt-out (per-cell dispatch comes from the broker schedule with per-version gates); the ai-conformance NFD row states the suite has no dedicated NFD assertion, and its overlay list is labeled as inheritance chain plus criteria-wildcard overlays (monitoring-hpa, h100-any).

RELEASING.md: documented the 7th released image (aicr-gate) in the image table and the attestation verify block (on-tag.yaml publishes seven).

Reference/nav gaps: spec.recipe.configuration.slurm.accounting.mode added to cli-config.md; Fern nav entries added for user/tutorial.md, user/bundling.md, contributor/evidence-dashboard-publish.md; four missing rows in the user-guide index table; demos table now lists slinky-slurm-demo.html.

Out-of-scope follow-ups (deliberately not in this PR):

  • fern/versions/ has no v0.18.0 entry (released docs never published; nothing in CI catches it) — needs a RELEASING.md checklist item
  • make server sets unprefixed LOG_LEVEL, which pkg/logging ignores — Makefile (code) fix
  • make changelog-file contradicts RELEASING.md's "changelog is not committed"
  • tests/chainsaw/README.md file-structure listing has drifted ~45% (wants a generator or gate, not a manual patch)
  • demos/images/*.md hand-copied statistics drift every release (wants a "snapshot as of" marker or generated numbers)
  • Intra-file EKS/GKE duplication across CUJ demos; cli-config.md vs cli-reference.md schema duplication; testgrid/evidence-dashboard table duplication
  • demos/cuj2-inference.md validates --phase all on EKS but --phase conformance on GKE with no stated reason — needs an owner decision

Testing

Doc-only change; full make qualify skipped (tests/e2e/Go lint cannot regress from Markdown/nav-YAML edits). Scoped checks run instead:

make check-agents-sync     # OK — AGENTS.md in sync with .claude/CLAUDE.md
make check-docs-filenames  # OK
make check-docs-mdx        # OK (fast approximation; check-docs-mdx-parse unavailable offline, enforced by the docs-mdx merge gate)
make lint-yaml             # OK

All cross-doc anchors touched by this PR verified against their target headings (#make-targets-reference, #deployer-coverage-matrix, #automated-tests, #server-side-signing); all files referenced by new nav/table entries exist. The lychee link check runs in CI on docs/** PRs.

Risk Assessment

  • Low — Isolated change, well-tested, easy to revert

Rollout notes: The SECURITY.md supported-versions bump to 0.19.x assumes v0.19.0 ships; hold the merge until the release if that matters.

Checklist

  • Tests pass locally (make test with -race) — N/A, doc-only; scoped checks above
  • Linter passes (make lint) — docs-relevant subset run locally; Go lint unaffected
  • I did not skip/disable tests to make CI green
  • I added/updated tests for new functionality — N/A
  • I updated docs if user-facing behavior changed
  • Changes follow existing patterns in the codebase
  • Commits are cryptographically signed (git commit -S) — GPG signing info

@github-actions

Copy link
Copy Markdown
Contributor

@coderabbitai

coderabbitai Bot commented Aug 10, 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
📝 Walkthrough

Walkthrough

The pull request updates documentation for qualification and maintenance workflows, tool and release versions, provenance requirements, supported environments, API and CLI options, validator behavior, deployment configuration, demos, test procedures, and operational tools. It also adds documentation navigation entries and release verification guidance.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • NVIDIA/aicr#2060: The documentation adds the api-diff qualification gate introduced by this PR.
  • NVIDIA/aicr#2138: The documentation adds the coverage-check qualification gate introduced by this PR.

Suggested reviewers: mchmarny

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly summarizes the documentation sweep and its main corrections to drift, stale versions, and broken commands.
Description check ✅ Passed The description directly explains the documentation-only changes, motivation, affected areas, validation, and release-related considerations.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@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: 12

🤖 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 @.github/actions/README.md:
- Around line 72-74: Update the README’s “Outputs” description to claim only the
outputs explicitly defined in load-versions/action.yml, removing the assertion
that every .settings.yaml pin is exposed and the broad examples that imply
omitted pins are included.

In `@demos/cuj2-inference.md`:
- Line 120: Update the GKE aicr validate command to include the
nvidia.com/gpu=present:NoSchedule toleration alongside the existing
dedicated=gpu-workload:NoSchedule option, matching the tolerations used by the
GKE bundle so validation pods can schedule on GPU pools with both taints.

In `@demos/images/e2e.md`:
- Line 25: Update the Step 2 bundle command or its accompanying artifact
description so they agree on attestation behavior: either add the --attest
option to the aicr bundle invocation, or remove the claim that the generated
artifacts include Cosign attestations.

In `@DEVELOPMENT.md`:
- Around line 221-224: Update the DEVELOPMENT.md lint documentation to clarify
that make lint invokes the mutating license target and may modify files. Change
the make license description from “License header check” to “Add/verify license
headers,” and distinguish license-check as running only through make qualify.
- Around line 57-62: Update the tool summary table in DEVELOPMENT.md to match
the tools installed by make tools-setup: either add pinned installation paths
for both kwok and cosign, including the macOS Cosign brew installation, or
remove their entries and related claims from the table.

In `@docs/index.yml`:
- Around line 129-130: Run the repository’s required full qualification checks
for YAML changes, including the applicable **/*.{go,yaml,yml} gates and make
qualify, and complete them successfully before submitting or updating the pull
request.

In `@docs/integrator/go-library.md`:
- Line 34: Run the repository-wide make qualify check before merging this
documentation change; if it cannot be run, record an approved exception as
required by the repository guidelines.

In `@docs/user/cli-reference.md`:
- Line 1417: Remove the standalone --wait-for-jobs entry from the CLI reference
and document its behavior under the --readiness-hooks option instead. Explain
that Helm uses --wait for post-install Job hooks, Argo CD uses sync waves and
built-in Job health, and the gate is emitted only for components containing
readiness.yaml.

In `@RELEASING.md`:
- Line 233: Update all seven attestation verification commands in RELEASING.md
to reference each image’s authoritative immutable digest instead of the mutable
${TAG} tag, and add --source-digest with the release commit for every command
while preserving the existing repository and signer-workflow options.

In `@SECURITY.md`:
- Around line 76-81: Update the SECURITY.md support table to treat 0.18.x as the
latest supported minor release and keep versions below 0.18 end-of-life. Do not
reference 0.19.x or mark 0.18.x end-of-life until v0.19.0 is officially
published.

In `@tests/chainsaw/README.md`:
- Around line 24-25: Create the dist/e2e directory with mkdir -p immediately
before the go build command in the test setup instructions, ensuring the
existing AICR_BIN assignment and build flow remain unchanged.

In `@tools/bom/README.md`:
- Around line 52-53: Update the make bom target to pass the -deterministic flag
to the BOM generation command, matching make bom-docs, so generated artifacts
omit run-specific metadata by default.
🪄 Autofix

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: ASSERTIVE

Plan: Enterprise

Run ID: 4b83d4f2-bf18-4e4a-bcea-51178ea38dbc

📥 Commits

Reviewing files that changed from the base of the PR and between a222923 and c2f1264.

📒 Files selected for processing (35)
  • .claude/CLAUDE.md
  • .github/actions/README.md
  • AGENTS.md
  • CONTRIBUTING.md
  • DEVELOPMENT.md
  • README.md
  • RELEASING.md
  • SECURITY.md
  • demos/README.md
  • demos/cuj1-slinky-slurm.md
  • demos/cuj1-training.md
  • demos/cuj2-inference.md
  • demos/images/e2e.md
  • demos/private-signing.md
  • demos/validation-acceptance.md
  • docs/contributor/recipe.md
  • docs/index.yml
  • docs/integrator/go-library.md
  • docs/integrator/index.md
  • docs/integrator/kubernetes-deployment.md
  • docs/integrator/validator-extension.md
  • docs/user/agent-deployment.md
  • docs/user/air-gap-mirror.md
  • docs/user/api-reference.md
  • docs/user/cli-config.md
  • docs/user/cli-reference.md
  • docs/user/index.md
  • examples/recipes/README.md
  • pkg/validator/v1/README.md
  • recipes/README.md
  • tests/chainsaw/README.md
  • tests/chainsaw/ai-conformance/README.md
  • tests/e2e/README.md
  • tools/bom/README.md
  • tools/uat-broker/README.md
💤 Files with no reviewable changes (1)
  • tests/e2e/README.md

Comment thread .github/actions/README.md Resolved
Comment thread demos/cuj2-inference.md Resolved
Comment thread demos/images/e2e.md Resolved
Comment thread DEVELOPMENT.md Resolved
Comment thread DEVELOPMENT.md Resolved
Comment thread docs/user/cli-reference.md Resolved
Comment thread RELEASING.md Resolved
Comment thread SECURITY.md Resolved
Comment thread tests/chainsaw/README.md Resolved
Comment thread tools/bom/README.md Resolved
@yuanchen8911
yuanchen8911 force-pushed the docs/v0.19-doc-sweep branch 2 times, most recently from 3679c06 to d1bd105 Compare August 10, 2026 18:07

@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: 4

🤖 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 @.github/actions/README.md:
- Around line 72-75: Update the Outputs description in the README to explicitly
include the Go version loaded from .go-version, while retaining that the
remaining outputs are selected exposed values from .settings.yaml and
referencing load-versions/action.yml as the authoritative list.

In `@demos/cuj2-inference.md`:
- Around line 134-135: Update the bundle-generation instructions in the
Nodewright deployment section to pass --set nodewright-operator:enabled=false
and --set nodewright-customizations:enabled=false to aicr bundle when those
components are preinstalled, and remove the guidance to edit or skip sections in
generated deploy.sh. Keep generated files and their checksums unchanged after
bundling.

In `@demos/images/e2e.md`:
- Line 48: Run the repository’s full qualification workflow, including coverage,
linting, tuning, end-to-end, vulnerability, license, and API-diff checks, rather
than only the scoped deployment/conformance/performance validation shown in the
command. Resolve any failures before merge.

In `@DEVELOPMENT.md`:
- Line 27: Run the repository’s full qualification workflow with make qualify
before submitting the pull request, or obtain and record an approved exception
before merge.
🪄 Autofix

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: ASSERTIVE

Plan: Enterprise

Run ID: 7c4d3e1d-31e6-4e4c-b1cf-5b61524096c7

📥 Commits

Reviewing files that changed from the base of the PR and between c2f1264 and 3679c06.

📒 Files selected for processing (5)
  • .github/actions/README.md
  • DEVELOPMENT.md
  • demos/cuj2-inference.md
  • demos/images/e2e.md
  • docs/user/cli-reference.md

Comment thread .github/actions/README.md Resolved
Comment thread demos/cuj2-inference.md Resolved
Comment thread demos/images/e2e.md Resolved
Comment thread DEVELOPMENT.md Resolved

@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 `@RELEASING.md`:
- Line 177: Run make qualify before merging and record its result in the release
documentation or PR description, including any failures that must be resolved
before submission.
🪄 Autofix

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: ASSERTIVE

Plan: Enterprise

Run ID: 75cdab3a-e23e-4e25-b13c-b02041dfc86f

📥 Commits

Reviewing files that changed from the base of the PR and between 3679c06 and d1bd105.

📒 Files selected for processing (2)
  • README.md
  • RELEASING.md

Comment thread RELEASING.md Resolved

@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 `@demos/cuj1-slinky-slurm.md`:
- Line 205: Replace both Nodewright override keys with nodewright-operator and
nodewright-customizations in the bundle-generation instructions at
demos/cuj1-slinky-slurm.md lines 205-205, demos/cuj1-training.md lines 140-140,
and demos/cuj2-inference.md lines 134-135; keep the enabled=false values and
surrounding guidance unchanged.
🪄 Autofix

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: ASSERTIVE

Plan: Enterprise

Run ID: 3bfb10d1-41e5-48f5-a0c6-f0a60c87c5f4

📥 Commits

Reviewing files that changed from the base of the PR and between d1bd105 and bf0b8f7.

📒 Files selected for processing (5)
  • demos/cuj1-slinky-slurm.md
  • demos/cuj1-training.md
  • demos/cuj2-inference.md
  • tests/chainsaw/ai-conformance/README.md
  • tools/uat-broker/README.md

Comment thread demos/cuj1-slinky-slurm.md Resolved
@yuanchen8911
yuanchen8911 force-pushed the docs/v0.19-doc-sweep branch 3 times, most recently from dd62f17 to 7768d98 Compare August 10, 2026 18:40
@yuanchen8911
yuanchen8911 marked this pull request as ready for review August 10, 2026 18:40
@yuanchen8911
yuanchen8911 requested review from a team as code owners August 10, 2026 18:40
@yuanchen8911
yuanchen8911 requested a review from mchmarny August 10, 2026 18:40

@mchmarny mchmarny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One cross-file finding without a changed-line anchor: the criteria-enum sweep is incomplete. metal3 and/or gb300 are still absent from the public package GoDoc, field comments, CLI description, and bug template. Please update these remaining documented-value surfaces so they match the authoritative criteria enums.

Comment thread docs/user/cli-config.md Outdated
configuration: # typed desired-state inputs (not matched on)
slurm:
accounting:
mode: disabled # disabled | customer-managed | aicr-provided

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This makes the complete example invalid: the same recipe sets platform: kubeflow, while any explicit Slurm accounting mode is rejected unless the platform is slurm. Reproducing this through aicr recipe returns INVALID_REQUEST (exit 2). Please move this block to a Slurm-specific example or comment it out so the complete example remains usable.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Confirmed and fixed in 4163de2 — verified in pkg/recipe/accounting.go:108-112 that an explicit mode (even disabled) is rejected unless criteria.platform is slurm. The Complete Example now carries the block commented out with an "only valid when criteria.platform is slurm" note, and the spec.recipe field-table row states the same constraint. Thanks, Mark.

@mchmarny
mchmarny enabled auto-merge (squash) August 10, 2026 18:51
@yuanchen8911
yuanchen8911 requested a review from mchmarny August 10, 2026 18:51
mchmarny
mchmarny previously approved these changes Aug 10, 2026
Pre-v0.19.0 documentation-only sweep. Fixes verified against the
authoritative sources (Makefile, .settings.yaml, pkg/recipe/criteria.go,
api/aicr/v1/server.yaml, recipes/registry.yaml, pkg/cli, pkg/validator):

- Enum drift: add metal3, gb300, l40s, ol where missing from documented
  criteria value lists (README, api-reference, contributor/recipe,
  agent-deployment)
- Broken commands: aicr version -> aicr --version; invalid short flags
  in demos/images/e2e.md; removed --deploy-agent row; wrong
  --system-node-selector value in validation-acceptance
- Stale versions: SECURITY.md supported-versions table (0.16.x -> 0.19.x),
  gpu-operator/nfd pins in air-gap and provenance examples, go-library
  go get pin, agent image tags, ministack pin, action defaults; replace
  the hand-pinned tools-check sample output with a version-free skeleton
- make-target drift: correct qualify/lint compositions everywhere they
  are described; add missing bump-rc/bump-promote, kwok, and
  license-check rows to DEVELOPMENT.md tables (CLAUDE.md + AGENTS.md
  mirror resynced)
- Contradictions vs code: validator-extension warn-and-continue claim
  (now fail-closed per NVIDIA#2121), kubernetes-deployment 'only env vars'
  claim, SLSA level hedge in CONTRIBUTING (NVIDIA#1536 resolved as L3),
  validate phase order (deployment, conformance, performance) and the
  non-phase 'readiness' in three files
- RELEASING.md: document the 7th released image (aicr-gate) and its
  attestation verify line
- Reference/nav gaps: --wait-for-jobs flag row,
  spec.recipe.configuration in cli-config, Fern nav entries for
  tutorial/bundling/evidence-dashboard-publish, user index rows
- Link/format fixes: broken recipes/README anchor, misaligned ASCII
  diagram, missing demo table rows, minor wording

Signed-off-by: Yuan Chen <[email protected]>
@yuanchen8911
yuanchen8911 marked this pull request as draft August 10, 2026 18:59
auto-merge was automatically disabled August 10, 2026 18:59

Pull request was converted to draft

@yuanchen8911
yuanchen8911 marked this pull request as ready for review August 10, 2026 18:59
@yuanchen8911
yuanchen8911 requested review from mchmarny and removed request for mchmarny August 10, 2026 19:00
@yuanchen8911
yuanchen8911 enabled auto-merge (squash) August 10, 2026 19:01
@yuanchen8911

Copy link
Copy Markdown
Contributor Author

yes f2d60c0 is the PR head, no more changes, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants