agentleFS
NVIDIAKnown publisherNVIDIA/rumpelpod/AGENTS.md

rumpelpod

AGENTS.md21 starsChanged 6 months agoApache-2.0View on GitHub

This is a rust project implementing an isolated LLM agent runner (rumpelpod). - Comments and commit messages should explain "why", not "what". Don't paraphrase code next to the comment. - If you write code, you should commit your changes. - Every commit must be signed off (git commit -s). - Always run tests via cargo pipeline, not cargo xtest directly. The pipeline records xtest output to target/xtest/<timestamp>.log. --continue parses that log to skip already-passed tests. Running xtest directly loses that…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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 repository3 other files it gives its agents.

The file

Show its rules and text

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

21 rules. About 0 are common, 17 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    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. Distinctive:

    Don't paraphrase code next to the comment.

    line 4
  2. Distinctive:

    If you write code, you should commit your changes.

    line 5
  3. Distinctive:

    Every commit must be signed off (git commit -s).

    line 6
  4. Very specific:

    Always run tests via cargo pipeline, not cargo xtest directly.

    line 7
  5. Very specific:

    Run smoke tests first: enter_smoke_test, enter_verifies_user_and_repo_path, claude_smoke, gateway_pod_commit_triggers_push, plus tests …

    line 13
  6. Very specific:

    Use cargo pipeline --continue to resume from a previous run, skipping tests that already passed.

    line 17
  7. Distinctive:

    If a test takes longer, suspect a hang rather than normal slowness.

    line 19
  8. Distinctive:

    If a test fails flakily, rerun it in isolation to confirm before dismissing it as unrelated to your changes.

    line 24
  9. Very specific:

    Every test is automatically retried once on failure (subject to a global retry budget).

    line 29
  10. Distinctive:

    No unicode (e.g. emojis, em dashes) in comments, code, commit messages etc.

    line 36
  11. Distinctive:

    Only if needed to test unicode support etc.

    line 37
  12. Distinctive:

    Prefer integration tests/ over unit tests.

    line 39
  13. Distinctive:

    Never fall through to a "default" when matching known variants.

    line 42
  14. Distinctive:

    Prefer failing over continuing in degraded state in most cases.

    line 45
  15. Distinctive:

    When an error is expected in normal operation, be as specific about the error as possible.

    line 46
  16. Distinctive:

    When there's no choice but to continue after an error has occurred (e.g.

    line 48
  17. Distinctive:

    No local imports (use inside function bodies).

    line 49
  18. Distinctive:

    Prefer explicit control flow over anyhow macros like bail!

    line 53
  19. Distinctive:

    If you can't log on but your change should be tested on macos, report to the user.

    line 55
  20. Distinctive:

    Before awaiting review for a patch set, review your change relative to the merge base of your upstream, typically host/master.

    line 56
  21. Distinctive:

    Check which files you touched, then invoke git diff once per file.

    line 58

≈ “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

This is a rust project implementing an isolated LLM agent runner (rumpelpod).

  • Comments and commit messages should explain "why", not "what". Don't paraphrase code next to the comment.
  • If you write code, you should commit your changes.
  • Every commit must be signed off (git commit -s).
  • Always run tests via cargo pipeline, not cargo xtest directly. The pipeline records xtest output to target/xtest/<timestamp>.log. --continue parses that log to skip already-passed tests. Running xtest directly loses that record. The other pipeline steps (fmt, build, clippy, git-status) are cheap. cargo pipeline is expensive overall because of the tests. Run smoke tests first: enter_smoke_test, enter_verifies_user_and_repo_path, claude_smoke, gateway_pod_commit_triggers_push, plus tests related to what you changed. Changes in src/ that affect the rumpel binary need a full pipeline run after smoke and feature tests pass. cargo pipeline accepts a single substring filter for test names (not a regex, no alternation), e.g. cargo pipeline enter_. The pipeline runs all tests to completion even when some fail. Use cargo pipeline --continue to resume from a previous run, skipping tests that already passed. Most individual test cases finish in under 60 seconds with the localhost executor (the default). If a test takes longer, suspect a hang rather than normal slowness. The full pipeline takes around 300 seconds (including compilation, clippy, and ~394 tests). First run after a clean build is slower (~5 minutes) due to compilation. Subsequent runs reuse cached builds. Inside a rumpelpod, a parallel run in an adjacent devcontainer can slow things down. If a test fails flakily, rerun it in isolation to confirm before dismissing it as unrelated to your changes.
  • xtest is the test runner used by the pipeline. It builds cross-architecture binaries, sets up the test environment, and runs each test as a separate process with timeouts and retries. Flags: --test-threads N, --timeout SECS, --retries N. Every test is automatically retried once on failure (subject to a global retry budget). Runs all tests to completion even when some fail. --timeout / XTEST_TIMEOUT set the default per-test deadline (120s). Non-default deadlines live in tools/xtest-timeouts.json5 as integer multiples of that default. The suite starts highest-timeout tests first.
  • Unless prompted otherwise, don't try to remain backwards compatible. Assume all containers/files/databases were created with the current version.
  • No unicode (e.g. emojis, em dashes) in comments, code, commit messages etc. Only if needed to test unicode support etc.
  • Most features should have tests. Prefer integration tests/ over unit tests.
  • Readers should not require a lot of context to understand tests. Some fixtures are OK, but bias towards some duplication across test cases over introducing new helpers.
  • Never fall through to a "default" when matching known variants. Be explicit about every case and fail hard on unknown values rather than silently continuing in a potentially invalid state.
  • You should almost never ignore errors: Prefer failing over continuing in degraded state in most cases. When an error is expected in normal operation, be as specific about the error as possible. E.g. when reading a file that is not expected to exist, ignore only not found errors but not others. When there's no choice but to continue after an error has occurred (e.g. in Drop, or while cleaning up after a previous error), log to stderr.
  • No local imports (use inside function bodies). Place all imports at module level.
  • Multiline strings: Use indoc, formatdoc, printdoc etc.
  • Format strings: Prefer the format!("{var}") variant over format!("{}", v). Introduce variables if necessary, e.g. let var = var.display(); for paths.
  • Prefer explicit control flow over anyhow macros like bail! and ensure!.
  • For changes that require testing on macos, log onto a macbook via ssh macos and clone your checkout to /tmp/<your-hostname>/rumpelpod. If you can't log on but your change should be tested on macos, report to the user.
  • Before awaiting review for a patch set, review your change relative to the merge base of your upstream, typically host/master. You usually want to spawn a subagent for this. Check which files you touched, then invoke git diff once per file. Things to look out for: Is the latest version internally consistent? Clean up left-overs from earlier iterations. Comments should describe the code as it exists in the current version, not a change.

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.