nvcf / nvsnap
AGENTS.md261 starsChanged 9 days agoApache-2.0View on GitHub
Rules for anyone, person or agent, who adds to or changes nvsnap's documentation under this directory. make check-docs (and the nvsnap docs workflow) enforces the ones a script can check; the rest are for review. - Where a document goes - What every document does - Numbers - Figures - Generated pages - Before you push <!-- /toc --> The top level holds only START-HERE, ARCHITECTURE, RESULTS, GLOSSARY, REFERENCE, README and this file. A new document goes into README.md in…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-tooling/AGENTS.mdAGENTS.md
- deploy/helm/cassandra/AGENTS.mdAGENTS.md
- deploy/helm/cert-manager/AGENTS.mdAGENTS.md
- deploy/helm/cloud-functions/AGENTS.mdAGENTS.md
- deploy/helm/cloud-tasks/AGENTS.mdAGENTS.md
- deploy/helm/encrypted-secret-store/AGENTS.mdAGENTS.md
- deploy/helm/icms/AGENTS.mdAGENTS.md
- deploy/helm/llm-request-router/AGENTS.mdAGENTS.md
- deploy/helm/nats/AGENTS.mdAGENTS.md
- deploy/helm/notary/AGENTS.mdAGENTS.md
- deploy/helm/nvcf-pki/AGENTS.mdAGENTS.md
- deploy/helm/openbao/AGENTS.mdAGENTS.md
- deploy/helm/vanity-gateway/AGENTS.mdAGENTS.md
- deploy/releases/AGENTS.mdAGENTS.md
- deploy/stacks/AGENTS.mdAGENTS.md
- deploy/stacks/observability/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/AGENTS.mdAGENTS.md
- deploy/stacks/stargate-dev/benchmark/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- docs/overview/samples/scripts/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- infra/cassandra/AGENTS.mdAGENTS.md
- infra/openbao/AGENTS.mdAGENTS.md
- infra/openbao/plugins/vault-plugin-secrets-jwt/AGENTS.mdAGENTS.md
- infra/openbao/tests/AGENTS.mdAGENTS.md
- migrations/cassandra/AGENTS.mdAGENTS.md
- migrations/openbao/AGENTS.mdAGENTS.md
- src/compute-plane-services/byoo-otel-collector/AGENTS.mdAGENTS.md
- src/compute-plane-services/ess-agent/AGENTS.mdAGENTS.md
- src/compute-plane-services/image-credential-helper/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvca/AGENTS.mdAGENTS.md
- src/compute-plane-services/nvstor/AGENTS.mdAGENTS.md
- src/compute-plane-services/request-trace-uploader/AGENTS.mdAGENTS.md
- src/control-plane-services/admin-token-issuer-proxy/AGENTS.mdAGENTS.md
- src/control-plane-services/api-keys/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-functions/AGENTS.mdAGENTS.md
- src/control-plane-services/cloud-tasks/AGENTS.mdAGENTS.md
- src/control-plane-services/encrypted-secret-store/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/AGENTS.mdAGENTS.md
- src/control-plane-services/function-autoscaler/local_env/AGENTS.mdAGENTS.md
- src/control-plane-services/instance-cluster-management/AGENTS.mdAGENTS.md
- src/control-plane-services/nats-auth-callout/AGENTS.mdAGENTS.md
- src/control-plane-services/notary/AGENTS.mdAGENTS.md
- src/invocation-plane-services/grpc-proxy/AGENTS.mdAGENTS.md
- src/invocation-plane-services/http-invocation/AGENTS.mdAGENTS.md
- src/invocation-plane-services/llm-api-gateway/AGENTS.mdAGENTS.md
- src/invocation-plane-services/ratelimiter/AGENTS.mdAGENTS.md
- src/invocation-plane-services/vanity-gateway/AGENTS.mdAGENTS.md
- src/libraries/go/lib/AGENTS.mdAGENTS.md
- src/libraries/go/worker/AGENTS.mdAGENTS.md
- src/libraries/java/nv-boot-parent/AGENTS.mdAGENTS.md
- src/libraries/python/nv-cloud-function-helpers/AGENTS.mdAGENTS.md
- src/libraries/rust/nvcf-info/AGENTS.mdAGENTS.md
- src/libraries/rust/stargate/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/AGENTS.mdAGENTS.md
- src/uis/nvcf-ui/helm/AGENTS.mdAGENTS.md
- tests/bdd/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- tools/docs-version-sync/AGENTS.mdAGENTS.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 52
When it finds another document that disagrees with the code, adds a row to ARCHITECTURE.md §14 or fixes that document in the same PR.
- Distinctive: line 58
Every number names the hardware, the date and the nvsnap build ("not recorded" when the record does not say), and links the record it comes …
≈ “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.
Files
<!--
SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: Apache-2.0
-->AGENTS.md - nvsnap documentation
Rules for anyone, person or agent, who adds to or changes nvsnap's
documentation under this directory. make check-docs (and the nvsnap docs
workflow) enforces the ones a script can check; the rest are for review.
<!-- toc: generated by scripts/docs/docs-toc.py; edit the headings, not this list -->Contents
- Where a document goes
- What every document does
- Numbers
- Figures
- Generated pages
- Before you push
<!-- /toc -->Where a document goes
| Kind | Where |
| Entry points | START-HERE.md, then README.md (the index), then GLOSSARY.md |
| How nvsnap works | ARCHITECTURE.md: the one technical document. A behaviour change updates its section in the same PR |
| Every number | RESULTS.md, with the record it comes from under results/ |
| Working notes behind an architecture section | design/, each opening with a status line |
| Recipes: install, operate, develop | operate/ |
| A dated run: a benchmark, a test campaign | results/; a record, not maintained |
| A superseded document | Nowhere: delete it (git history keeps it), after moving any still-true rule into ARCHITECTURE.md and any result that has no other record into RESULTS.md |
The top level holds only START-HERE, ARCHITECTURE, RESULTS, GLOSSARY, REFERENCE, README and this file. A new document goes into README.md in the same commit that adds it, with what it answers and its status.
What every document does
- Uses the glossary's words with their meanings, and none of its retired words. A new term goes into the glossary in the same commit.
- Names the code behind a claim by path and symbol
(
internal/agent/criu_group.gocaptureOptedIn), not by line number. - States a rule as the condition and the code that enforces it; states a limit as what is not done.
- Describes a cluster by its hardware ("4x GB300, driver 610"; "H100, EKS with NVMesh storage"), never by its name, and names no internal host, address or personal path.
- Cites no file that is not in this repository, such as a personal agent instructions file.
- When it finds another document that disagrees with the code, adds a row to ARCHITECTURE.md §14 or fixes that document in the same PR.
Numbers
Every number names the hardware, the date and the nvsnap build ("not recorded" when the record does not say), and links the record it comes from. A number with no record is left out. A number found wrong is withdrawn in RESULTS.md, in place, with the reason; it is not silently replaced.
Figures
Review-grade figures follow the NVIDIA Cloud Architecture Diagrams style,
through the nvaf-architecture-diagrams skill in
.agents/skills/ (copied unchanged from the nvaf repository, as flashbox and
bedrock do). Each figure is an SVG drawn by its own script under
figures/scripts/, with a light and a dark PNG rendered beside it by
figures/scripts/render.sh; a document embeds the SVG with
. Look at both PNGs before committing, and commit
the script, the SVG and the PNGs together. Mermaid is for quick inline
sketches. How to regenerate: figures/README.md.
Generated pages
- REFERENCE.md is generated from the Go sources by
scripts/docs/reference.py; rerun it after changing an annotation, an environment variable or an agent route. - Tables of contents are generated by
scripts/docs/docs-toc.pybetween their marker comments; edit the headings, never the list.
Before you push
make -C src/compute-plane-services/nvsnap check-docsIt fails on a broken link, heading anchor or doc path (in documents, code,
scripts and the chart), a stale table of contents, a REFERENCE.md that no
longer matches the code, and a figure that no longer matches its script.
The repository's markdown-lint workflow checks style.
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
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.

