agentleFS
NVIDIAKnown publisherNVIDIA/storage-scale-test/AGENTS.md

storage-scale-test

AGENTS.md3 starsChanged 14 days agoApache-2.0View on GitHub

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> Canonical…

  • Installs packages
  • 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,542 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 repositoryOne other file it gives its agents.

The file

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

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After changing .github/, parse every .yml/.yaml beneath it with a YAML parser.

    line 73
  2. Very specific:

    License header: every text file carries the NVIDIA Apache-2.0 header (the block at the top of this file) in its comment syntax.

    line 98
  3. Very specific:

    elbencho behavior: do not rely on elbencho source older than 3.0.37.

    line 102
  4. Distinctive:

    Python: keep each function's cognitive complexity <= 15 (not linter-enforced).

    line 104
  5. Very specific:

    No external contributions currently.

    line 115

≈ “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
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -->

AGENTS.md

Canonical instructions for AI coding agents; CLAUDE.md imports this file. Humans: start with README.md. Depth lives in docs to read on demand:

  • Coding standards (Python/shell detail, linting): docs/CODING_STANDARDS.md
  • Architecture, design decisions, error patterns, recent work: docs/CONTEXT.md — read before non-trivial work; update it afterward.

Delegation (mandatory)

You MUST run every independent task (searches, reviews, checks, per-file work) as concurrent sub-agents, maximizing parallelism. Give each the most cost-efficient model that can do it well.

What this is

Shell and Python tooling that runs distributed storage benchmarks across a fleet of client nodes and turns the raw output into readable tables and plots. It orchestrates third-party benchmark binaries (elbencho for filesystem/network, Warp for S3-compatible object storage) as separate processes — they are never bundled or vendored into this repo; users download or build them.

Architecture

  • storage-tests/{fs,object,network}/ — test entry points with ssh/ and sbatch/ substrate code; filesystem tests also have kubectl/.
  • lib/ — shared Bash libraries (env_*.sh, _*_functions.sh) + a few Python helpers.
  • utils/ — self-bootstrapping Python result tools (extract-*.py) and build helpers (build_tarball.sh, build/).
  • tests/ — pytest unit tests (Python and shell).
  • integration-tests/ — kind-based real-infrastructure lifecycle (see its README).
  • docs/ — user guides (*_TESTING.md, HTML_REPORT.md, MACHINE_READABLE_RESULTS.md, VERSIONING.md), KUBERNETES_ELBENCHO_LIFECYCLE.md, DESIGN.md, REQUIREMENTS.md, ARCHITECTURE_DIAGRAMS.md, CONTEXT.md, CODING_STANDARDS.md, plans/ (unimplemented proposals only).
  • Config is environment-driven (env.sh); EXECUTION_SUBSTRATE explicitly selects Slurm, passwordless SSH, or kubectl for filesystem sweeps.

Setup

cp env.sh.template env.sh        # then edit for your environment
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements.txt  # matplotlib, numpy, PyYAML, zstandard
./validate_env.sh                # iterate until it runs cleanly

See the README "Getting started" section for the full quickstart and BENCHMARK_RECIPES_FILESYSTEM.md for tuned settings.

Checks (run before committing)

CI lint and pytest must find nothing these checks missed. Commit or push only after the full script exits 0; judge it by exit status and full output, never a grep of the score. Report any failure you cannot fix.

./utils/run_ci_checks.sh

After changing .github/, parse every .yml/.yaml beneath it with a YAML parser. After changing shell traps or signals, also run pytest as non-root under CI's bash 5.2 (e.g. an ubuntu:24.04 container); trap semantics differ across bash versions.

Install any missing check tool into the repo's local environment and rerun; never skip required tooling.

The script reuses .venv-ci with the pinned tools. Pass lint, compliance, shellcheck, black, pylint, or pytest to run one check. Set CI_CHECK_JOBS=1 in a constrained sandbox; in a network-restricted one, set CI_BOOTSTRAP=0 and use CI_PYTHON/CI_SHELLCHECK. Run tests and lint only through this script or an environment populated from both requirements files; ambient tooling, preloaded sandbox packages, and .venv-ci do not prove CI readiness. When changing runtime imports or CI entry points, also reproduce the workflow's dependency bootstrap and smoke-test its command in a clean environment.

black must be 25.9.0+; pylint must report zero messages (its score rounds to 10.00 despite a warning). Details: docs/CODING_STANDARDS.md.

Key conventions (non-obvious; don't restate linter-enforced rules)

  • Do not vendor third-party binaries or code (elbencho is GPL-3.0, Warp is AGPL-3.0). They are invoked as separate processes; keep it that way.
  • License header: every text file carries the NVIDIA Apache-2.0 header (the block at the top of this file) in its comment syntax; copy it verbatim. LICENSE is exempt; README.md carries the notice in its Copyright section at the bottom.
  • elbencho behavior: do not rely on elbencho source older than 3.0.37; prefer a local checkout at tmp/elbencho-src when present over web snippets.
  • Python: keep each function's cognitive complexity <= 15 (not linter-enforced); avoid duplicating a literal string 3+ times (use a constant).
  • Kubernetes probe diagnosis: kubectl exec returning -9 does not prove OOM or broken Pod networking. Check OOM evidence, then run the socket operation from a Pod-resident script. If only exec-carried socket code is killed, keep network I/O in the Pod and use exec for bounded request/result transfer.

Pull requests

Wrap commit-message lines at about 72 characters.

No external contributions currently. Maintainer PRs: stay focused, pass the checks above, and update README.md/docs/ when behavior or configuration changes.

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.