agentleFS
PydanticKnown publisherpydantic/monty/docs/limitations/AGENTS.md

monty / limitations

AGENTS.md8.6k starsChanged 3 months agoMITView on GitHub

This file is for contributors and agents editing this directory. It is excluded from the docs build (exclude_docs in mkdocs.yml, exclude in the unified-docs sync), so nothing here is published. Every pull request that changes a CPython divergence MUST update its topic page here. Docstrings and inline comments do not count: the divergence has to be written down here. Host-API contracts belong in the relevant docs/ topic and binding reference; implementation rationale belongs in crate READMEs or code comments, not…

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 2 mentionsFeb 2026: 26 mentionsMar 2026: 1 mentionApr 2026: 5 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 4 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the pydantic/monty repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about pydantic/monty

The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 40

Talked about on Bluesky, GitHub and Hacker News (40 times).

On Bluesky · 28

23 more on Bluesky

On GitHub · 8

3 more on GitHub

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Every pull request that changes a CPython divergence MUST update its topic page here.

    line 9
  2. Very specific:

    Do not record migration history or differences from a removed Monty API.

    line 13
  3. Distinctive:

    Check for an existing explanation before adding a caveat, and link to its owner rather than duplicating it.

    line 14
  4. Very specific:

    Add a section to an existing file when the feature is already documented.

    line 17
  5. Distinctive:

    Keep that section flat: unified-docs turns nested nav groups into subdirectories, which would break the relative links between pages.

    line 21
  6. Distinctive:

    Avoid implementation detail unless it explains a user-visible quirk.

    line 31
  7. Distinctive:

    Only divergences belong here.

    line 32
  8. Very specific:

    When a change alters the shape of the subset — a stdlib module becomes importable, a parse-time rejection is added or lifted — update …

    line 54

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

Writing limitations pages

This file is for contributors and agents editing this directory. It is excluded from the docs build (exclude_docs in mkdocs.yml, exclude in the unified-docs sync), so nothing here is published.

What goes here

Every pull request that changes a CPython divergence MUST update its topic page here. Docstrings and inline comments do not count: the divergence has to be written down here. Host-API contracts belong in the relevant docs/ topic and binding reference; implementation rationale belongs in crate READMEs or code comments, not a general limitations page. Do not record migration history or differences from a removed Monty API. Check for an existing explanation before adding a caveat, and link to its owner rather than duplicating it.

One file per feature, named after the builtin, module, or construct it covers (open.md, asyncio.md, re.md). Add a section to an existing file when the feature is already documented; create a new file only when there is no fit. A new file also needs an entry in the Limitations section of the mkdocs.yml nav, which orders these pages on the site. Keep that section flat: unified-docs turns nested nav groups into subdirectories, which would break the relative links between pages.

Structure each file around what a Python user would actually try:

  • Arguments/options that are rejected or ignored.
  • Methods/attributes that raise AttributeError.
  • Behaviour that differs from CPython even when the API exists.
  • Error types / messages that differ from CPython.

Avoid implementation detail unless it explains a user-visible quirk. Only divergences belong here; behaviour that matches CPython is not recorded.

Links and snippets

Link between pages with relative markdown links (see [classes.md](classes.md)) rather than naming the file in prose, so the reference works on the site as well as in the repository. mkdocs build --strict fails on a link to a page that does not exist. Host-side pydantic_monty types link to their API page as [MountDir][pydantic_monty.MountDir] and Rust items as [Checkout](../api/rust/monty-pool.md#checkout), per the docs rules in the root CLAUDE.md.

Python snippets on these pages are sandbox-side code, so they are marked ```python test="skip"; make test-docs would otherwise run them under CPython. Skipped snippets are still formatted and linted, so they need imports and definitions for every name they use.

Relationship to the rest of the docs

index.md is the one page here most users read: the shape of the subset, linking to the other pages for the detail. The pages outside this directory are conceptual and how-to material. They link here rather than restating divergences, and these pages never duplicate them. A divergence belongs here, not in a concept page.

When a change alters the shape of the subset — a stdlib module becomes importable, a parse-time rejection is added or lifted — update index.md as well as the page for the feature. The root README.md links to the subset overview rather than maintaining its own feature list. See "Documentation surfaces that must stay in sync" in the repository's CLAUDE.md.

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.