agentleFS
NVIDIAKnown publisherNVIDIA/nvcf/docs/AGENTS.md

nvcf

AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub

Use this file when navigating or editing NVCF documentation under docs/. This docs/ tree is the canonical source for NVCF product documentation. Do not route documentation changes to an external documentation repository or an external workspace index. The published site has one docs edition menu and six tabs: Overview, Self-Managed, Compute Plane, Observability, Manifest, and Release Notes. An edition records one qualified combination; stack artifact versions remain independent. - docs/overview/: shared customer guides, compatibility matrix, manifest, images, and samples. These…

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use this file when navigating or editing NVCF documentation under docs/.

    line 3
  2. Very specific:

    Use explicit page slugs, and keep section skip-slug behavior intact.

    line 45
  3. Very specific:

    When adding, moving, or removing a current page, update fern/navigation.yml.

    line 46
  4. Distinctive:

    Use relative source-file links between current pages, including cross-tab links, so the selected edition is retained.

    line 50
  5. Very specific:

    Use umbrella docs-revise to prepare a reviewed canonical registry update.

    line 67
  6. Distinctive:

    Do not change the production default before the mixed-version preview gate.

    line 68
  7. Distinctive:

    Do not hand-edit the generated manifest block.

    line 82
  8. Distinctive:

    Before finishing SVG changes, render light and dark previews for every changed SVG and compare them together for consistent background …

    line 100
  9. Very specific:

    Use --update-catalog to synchronize artifact versions and registry paths.

    line 102
  10. Distinctive:

    Do not cut per-stack documentation folders or docs release tags.

    line 138
  11. Distinctive:

    Keep the marker comments intact.

    line 147
  12. Distinctive:

    Check the staged candidate without publishing a preview:

    line 181
  13. Distinctive:

    Run the narrow version check after catalog or generated block changes:

    line 202
  14. Distinctive:

    Run full docs validation before finishing docs changes:

    line 208
  15. Distinctive:

    Run the external check against a base ref:

    line 225

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md - Documentation Guidance

Use this file when navigating or editing NVCF documentation under docs/.

Ownership

This docs/ tree is the canonical source for NVCF product documentation. Do not route documentation changes to an external documentation repository or an external workspace index.

Layout

The published site has one docs edition menu and six tabs: Overview, Self-Managed, Compute Plane, Observability, Manifest, and Release Notes. An edition records one qualified combination; stack artifact versions remain independent.

  • docs/overview/: shared customer guides, compatibility matrix, manifest, images, and samples. These belong to the selected edition. Manifest and Image Mirroring share the Manifest tab; compatibility and upgrade guides use Release Notes.
  • docs/self-managed/, docs/compute-plane/, docs/observability/: current stack sources, published under Development from main.
  • docs/dev/: contributor guides. Only pages reached through navigation or a navigated symlink are published.
  • docs/ngc-managed/: legacy platform guides reached through Overview.
  • docs/<stack>-<version>/ and docs/v*/: frozen archives. Do not edit these trees without explicit authorization for a historical docs fix.
  • docs/version-catalog/main.yaml: current artifact and development edition metadata. docs/edition-manifest.json is generated from it.
  • fern/docs.yml: canonical edition selector, site settings, and redirects.
  • fern/editions.yml: exact release-branch commits used by the canonical site.
  • fern/navigation.yml: six-tab navigation for current and prepared editions.
  • fern/changelog/: native, dated release-note entries.
  • fern/products/: retained navigation for frozen historical routes.

Navigation and links

For current pages, start with fern/navigation.yml. Legacy editions build from immutable docs/releases/X.Y.Z branches. Umbrella versions build the approved docs/versions/X.Y.Z commit in fern/editions.yml. Inspect that approved source when answering a version-specific question. Historical product routes use the matching file under fern/products/.

Confirm each path: exists. Treat href: as an external destination. Use explicit page slugs, and keep section skip-slug behavior intact. When adding, moving, or removing a current page, update fern/navigation.yml. Point edition navigation directly at shared source files, not symlink aliases. Fern can render a symlinked page while failing to resolve links to that page.

Use relative source-file links between current pages, including cross-tab links, so the selected edition is retained. Use absolute product/version URLs only when intentionally linking to a frozen historical version. Preserve anchors and downloads. Do not rewrite frozen sources to current destinations.

rg -n "<term>" docs/overview docs/self-managed docs/compute-plane docs/observability docs/dev

Editing

Edit the owning current source tree for customer changes and docs/dev/ for contributor guides. Changes on main update Development. Legacy docs/releases/ branches are immutable; corrections require a new patch edition. Opt-in umbrella entries use maintained docs/versions/X.Y.Z sources. Their approved docs commit can advance under the same product version, while the bound product manifest and artifact pins stay immutable. Use umbrella docs-revise to prepare a reviewed canonical registry update. Do not change the production default before the mixed-version preview gate.

Artifact manifest

For the maintainer workflow, including automatic stack releases, public publication updates, and new artifact registration, see tools/docs-version-sync/README.md.

The generated tables in docs/overview/manifest.md use catalog artifacts and manifest.entries from docs/version-catalog/main.yaml. For each entry, set its deployment plane, kind, requirement, public-safe description, and public GitHub or upstream source links. Use artifact_id for catalog artifacts and static fields only for prerequisites that are not in the catalog.

Do not hand-edit the generated manifest block. Regenerate and test it with:

go run -C tools/docs-version-sync . --target main
go test -C tools/docs-version-sync ./...

The generator must reject unclassified artifacts, unexpected EA-only entries, and load_tester_supreme.

SVG Assets

Documentation SVGs must work in both light and dark mode. Add SVG-local CSS with color-scheme: light dark, a prefers-color-scheme: dark media query, and shared variables for background, panel, muted panel, border, text, muted text, connector line, NVIDIA green, blue, red, and amber accents.

Replace visible hard-coded fills and strokes with CSS variables. Keep transparent shapes, fill="none", invisible strokes such as stroke-opacity="0", embedded image data, dimensions, text, paths, and file references unchanged unless the user asks for a redraw.

NVIDIA Cloud Functions glyphs inside green icon boxes must stay white in both modes. Use a stable icon foreground token, for example --svg-icon-on-accent: #fff, instead of tying those glyphs to --svg-panel.

Before finishing SVG changes, render light and dark previews for every changed SVG and compare them together for consistent background tone, panel contrast, connector contrast, text readability, and accent brightness.

Use --update-catalog to synchronize artifact versions and registry paths. It selects the latest stable releases of all three stacks by default. For an assembled umbrella candidate, pass --release-manifest and --inventories together to preserve its exact selection; see the maintainer workflow above. This does not qualify or publish the candidate. Presentation-only changes to manifest.entries use the regeneration command above.

To synchronize the development catalog and generated blocks from the latest stable releases of all three stacks:

go run -C tools/docs-version-sync . --target main --update-catalog
./tools/ci/check-doc-version-sync

The first command reads the inventories attached to the latest stable GitHub stack releases and writes a development release set. The second command is an offline consistency check. CI runs the offline check before this separate current-release check:

./tools/ci/check-doc-version-current-release

The current-release check does not discover public NGC availability. Keep exact public locations in publications and mark unavailable versions in publication_pending. Identify publication records by name, type, and version so charts, images, and resources with the same name remain distinct. Version overrides also require name and type.

Publish an umbrella or docs edition only after the complete selected three-stack combination is qualified. Independent stack source releases and inventories can precede that qualification. For umbrella versions, follow the product and maintained docs workflow. For legacy immutable editions, use edition prepare, then protect and register docs/releases/X.Y.Z; see the edition workflow. Do not cut per-stack documentation folders or docs release tags.

Generated blocks are marked with comments such as:

{/* docs-version-sync:BEGIN marker-name */}
{/* docs-version-sync:END marker-name */}

Keep the marker comments intact.

Local preview

Render the docs locally with Fern in a Docker container. Serves on http://localhost:3000:

docker run --rm -it \
  -v "$(pwd):/workspace" \
  -w /workspace \
  -p 3000:3000 \
  node:24-alpine \
  sh -c "apk add --no-cache bash git && tools/ci/run-fern docs dev"

Preview an alternate site configuration without changing the working tree:

DOCS_PREVIEW_ID=nvcf-candidate DOCS_PREVIEW_SKIP_COMMENT=1 \
  DOCS_PREVIEW_CONFIG=fern/candidate.yml tools/ci/preview-docs

The optional override must exist directly under fern/ and is used as supplied. The helper always stages docs/ and fern/ in a temporary clone with the original Git remote for branch refs. CI and local helpers use the pin in fern/fern.config.json; CI uses the Node version in fern/.node-version.

Without an override, the helper uses Go to derive a Development-first preview from fern/docs.yml and normalize current cross-tab links. A prepared release branch uses its local default instead. Keep explicit page slugs in fern/navigation.yml. Run edition preview and edition links only in a disposable clone, never against frozen documentation trees.

Check the staged candidate without publishing a preview:

tools/ci/preview-docs --check

Native release notes live in fern/changelog/YYYY-MM-DD.mdx. Keep full release notes in Releases and procedures in the Upgrade Notes sidebar. Use one ## release heading per entry, lower-level section headings, and frontmatter tags for filtering. Record stack artifact versions separately from the docs edition. Retained standalone notes are historical compatibility sources; author current release notes in the changelog.

See tools/docs-version-sync/README.md for edition preparation and registration. Release branches use their own path-based default navigation, with hidden legacy versions retained for historical links. Only the canonical registry owns the published edition history. Hosted previews are required to test remote refs; local Fern development previews show working-tree versions only.

Validation

Run the narrow version check after catalog or generated block changes:

./tools/ci/check-doc-version-sync

Run full docs validation before finishing docs changes:

./tools/ci/check-docs

The required docs PR check validates canonical and Development links with Fern, then checks public HTTP links in every added or modified .md and .mdx file under docs/ and fern/. The same check runs in the merge queue. Failed links fail the required check. Previews and publication also use Fern's strict broken-link validation.

External checks use checksum-pinned Lychee 0.24.2. Results appear in the docs job log and its docs-link-report artifact. There is no recurring audit. Code examples are excluded; exact NGC login-page exceptions are documented in tools/ci/docs-links.toml. Do not suppress whole domains or all 401/403 errors.

Run the external check against a base ref:

./tools/ci/check-doc-links origin/main /tmp/docs-link-report.md

For pure routing or AGENTS.md-only changes, git diff --check plus targeted rg checks are usually sufficient.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.