Repository navigation
docs: add guidance for coding agents - #1868
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1868 +/- ##
=======================================
Coverage 87.80% 87.80%
=======================================
Files 143 143
Lines 13435 13435
=======================================
Hits 11796 11796
Misses 1639 1639
Flags with carried forward coverage won't be shown. Click here to find out more. |
dgedon
reviewed
Jul 15, 2026
AGENTS.md is the tool-agnostic entry point for AI coding agents with environment setup, testing, code style, repo structure, and an explicit no-prescribed-workflow for agent tooling. ARCHITECTURE.md is sbi's domain glossary (trainer hierarchy, posterior types, design patterns, key APIs) — useful as both human documentation and an agent-discoverable vocabulary reference.
- Update 19_flowmatching_and_scorematching link to vector_field_methods - Add how-to entries for 24_abstraction_levels and 25_choosing_vector_field_options - Serve docs/llms.txt at the docs URL root via Sphinx html_extra_path - Cross-reference llms.txt from AGENTS.md
- ARCHITECTURE.md: add NPE_PFN as a direct NeuralInference child; fix MarginalTrainer annotation (unconditional density, not mixed discrete-continuous); clarify the ConditionalEstimatorBuilder generic; caption the pipeline as an NPE example; point Dependencies to pyproject.toml (nflows, not pyknos); drop the Key APIs section - AGENTS.md: e.g. consistency, 'AI-generated' wording, 'contributors'; drop mkdocs/ line (Sphinx/docs is canonical) - add root CLAUDE.md that imports AGENTS.md via @AGENTS.md so Claude Code picks up the shared instructions (portable across Windows checkouts) - add monthly Docs Link Check workflow (lychee, GITHUB_TOKEN-authenticated)
Contributor
Author
|
thanks for the review @dgedon , very good points! I looked into this again and also came to the conclusion that additional So I suggest we remove And a review by GPT 5.6 Sol itself, suggested to additionally trim down please have another look |
dgedon
approved these changes
Jul 21, 2026
7 tasks done
dgedon
added a commit
to dgedon/sbi
that referenced
this pull request
Nov 13, 2026
It repeated the README, and agents learn more from the code (sbi-dev#1868). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds concise, shared guidance for coding agents working in sbi and makes the
documentation easier for tools to navigate.
AGENTS.mdwith setup, validation, conventions, and a smallcode map
CLAUDE.mdshim that imports the shared instructionsllms.txtindex at the documentation rootThe code map intentionally points to the current exports and implementation
directories instead of duplicating class hierarchies in a manually maintained
architecture inventory.