agentleFS
NVIDIAKnown publisherNVIDIA/nvcf/src/libraries/rust/stargate/AGENTS.md

nvcf / stargate

AGENTS.md230 starsChanged 59 days agoApache-2.0View on GitHub

This guidance covers the Rust workspace, including stargate-k8s-router and the shared stargate-forwarding crate. - stargate-k8s-router supports raw-quic and webtransport tunnel traffic. Plain http3 tunnel traffic uses an L4 path and does not pass through this router. - Raw QUIC request streams are bidirectional. During drain, prioritizing bidirectional acceptance over unidirectional acceptance is intentional. - WebTransport uses a separate session bridge. Do not infer a plain HTTP/3 stream fairness requirement for the raw QUIC relay from that implementation. For router transport…

The file

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

2 rules. About 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run commands from this directory.

    line 22
  2. Very specific:

    Use Rust 2024 and the workspace formatter and Clippy rules.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

Stargate agent guide

This guidance covers the Rust workspace, including stargate-k8s-router and the shared stargate-forwarding crate.

Assumed deployment invariants

  • stargate-k8s-router supports raw-quic and webtransport tunnel traffic. Plain http3 tunnel traffic uses an L4 path and does not pass through this router.
  • Raw QUIC request streams are bidirectional. During drain, prioritizing bidirectional acceptance over unidirectional acceptance is intentional.
  • WebTransport uses a separate session bridge. Do not infer a plain HTTP/3 stream fairness requirement for the raw QUIC relay from that implementation.

For router transport changes, inspect crates/stargate-k8s-router/src/quic.rs and crates/stargate-forwarding/src/lib.rs. The transport guide describes available protocol implementations and their routing paths.

Build and verification

Run commands from this directory. For router and relay Rust changes:

cargo build --locked -p stargate-k8s-router
cargo test --locked -p stargate-k8s-router -p stargate-forwarding -- --test-threads=1
cargo clippy --locked -p stargate-k8s-router -p stargate-forwarding --all-targets -- -D warnings
cargo fmt --all -- --check

For other Rust changes, select the affected workspace packages with -p. For documentation changes, check whitespace and link targets.

Code style

Use Rust 2024 and the workspace formatter and Clippy rules. Match existing crate structure and use tracing for structured logs. Keep deployment assumptions explicit when reviewing transport behavior.

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.