Skip to content

📄 Add structured AGENTS.md with nested module guides#373

Open
xroynard wants to merge 3 commits intomainfrom
feature/agents-md
Open

📄 Add structured AGENTS.md with nested module guides#373
xroynard wants to merge 3 commits intomainfrom
feature/agents-md

Conversation

@xroynard
Copy link
Copy Markdown
Contributor

@xroynard xroynard commented Apr 17, 2026

Summary

Add a comprehensive AGENTS.md with nested guides for key modules.

Checklist

  • Typing enforced
  • Documentation updated
  • Changelog updated
  • Tests and Example updates
  • Coverage should be 100%

Changes

Root AGENTS.md

  • Project identity: role in the PLAID ecosystem, PyPI package name, downstream impact
  • Expected agent behavior: role, decision priorities, when-in-doubt rules
  • Confidentiality section: rules for not leaking private repo names in public content
  • Tech stack: language, package manager, build backend, linter, test framework, docs
  • Project structure: annotated directory tree
  • Architecture and key concepts: core abstractions table, storage pattern
  • Code conventions: ruff config details, type hints rules, docstring conventions
  • Testing: framework, commands, guidelines
  • Pull request rules: emoji title convention and checklist from .github/pull_request_template.md
  • Commands: quick reference for all common operations
  • Contribution workflow: step-by-step checklist

Nested src/plaid/containers/AGENTS.md

  • Key classes table (Dataset, Sample, Features, FeatureIdentifier, DefaultManager)
  • Design constraints (god class warning, value objects, immutability)
  • Downstream impact notice
  • Testing guidance

Nested src/plaid/storage/AGENTS.md

  • Registry pattern architecture diagram
  • How-it-works explanation
  • Step-by-step guide for adding a new backend
  • Design constraints (stateless, data integrity, contract-first)
  • Testing guidance (round-trip tests)

Add a comprehensive root AGENTS.md following modeles_d_agents best practices,
plus nested AGENTS.md files for the containers and storage modules.
@xroynard xroynard requested a review from a team as a code owner April 17, 2026 22:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Member

@casenave casenave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is still mention of the large Dataset class, but we're on the verge to remove it. Could it be safer top wait for V1 ? There is a ProtoV1 branch where current work towards V1 is beeing done by Felipe. I think it would be better to adapt the agents to the V1 and merge it there instead of having obsololete references here and having to modify them later

@casenave casenave changed the title docs: add structured AGENTS.md with nested module guides 📄 Add structured AGENTS.md with nested module guides Apr 18, 2026
@xroynard xroynard changed the title 📄 Add structured AGENTS.md with nested module guides 📝 docs: add structured AGENTS.md with nested module guides Apr 18, 2026
@casenave casenave changed the title 📝 docs: add structured AGENTS.md with nested module guides 📄 docs: add structured AGENTS.md with nested module guides Apr 18, 2026
…nd confidentiality section

- Remove all mentions of scimm and maestro (private repos) from public-facing content
- Add confidentiality section warning agents not to mention private repos
- Add PR title emoji rules from .github/pull_request_template.md
- Add PR checklist reference
@xroynard xroynard changed the title 📄 docs: add structured AGENTS.md with nested module guides 📄 Add structured AGENTS.md with nested module guides Apr 18, 2026
@xroynard
Copy link
Copy Markdown
Contributor Author

Bien vu. En effet, si le Dataset est en cours de refonte dans la branche ProtoV1, on peut :

  1. Soit attendre la V1 et merger les AGENTS.md directement là-bas (adapté à la nouvelle architecture)
  2. Soit merger maintenant en retirant la mention du "god class" et de la taille du Dataset, pour éviter d'ancrer des références obsolètes

Je pencherais pour l'option 2 : merger maintenant avec une version allégée (sans référence à la taille de Dataset ni au warning "god class"), puis faire un second pass post-V1 pour adapter les AGENTS.md à la nouvelle architecture. Qu'en penses-tu ?

@casenave
Copy link
Copy Markdown
Member

Bien vu. En effet, si le Dataset est en cours de refonte dans la branche ProtoV1, on peut :

  1. Soit attendre la V1 et merger les AGENTS.md directement là-bas (adapté à la nouvelle architecture)
  2. Soit merger maintenant en retirant la mention du "god class" et de la taille du Dataset, pour éviter d'ancrer des références obsolètes

Je pencherais pour l'option 2 : merger maintenant avec une version allégée (sans référence à la taille de Dataset ni au warning "god class"), puis faire un second pass post-V1 pour adapter les AGENTS.md à la nouvelle architecture. Qu'en penses-tu ?

ok pour option 2

@xroynard
Copy link
Copy Markdown
Contributor Author

Apologies for the previous comment in French -- switching to English as per repo convention.

Regarding the Dataset class mention: two options:

  1. Merge now with a lighter version (remove the "large class" warning from containers/AGENTS.md) and adapt post-V1
  2. Wait for V1 to land and merge AGENTS.md directly there

I lean towards option 1 to avoid blocking on V1 timeline. The containers AGENTS.md can be updated in a follow-up once the ProtoV1 architecture stabilizes. What do you prefer?

@casenave
Copy link
Copy Markdown
Member

Apologies for the previous comment in French -- switching to English as per repo convention.

Regarding the Dataset class mention: two options:

  1. Merge now with a lighter version (remove the "large class" warning from containers/AGENTS.md) and adapt post-V1
  2. Wait for V1 to land and merge AGENTS.md directly there

I lean towards option 1 to avoid blocking on V1 timeline. The containers AGENTS.md can be updated in a follow-up once the ProtoV1 architecture stabilizes. What do you prefer?

ok for option 1, Xavier-bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants