Repository navigation
docs: expand agent instructions and enforce module layering - #467
Merged
Merged
Conversation
- Rewrite AGENTS.md: module ownership map, layer contracts, generated artifacts table, outliers, change recipes, known issues; fix wrong code samples and MySQL :execlastid description - Add nested AGENTS.md for Drivers/, end2end/ and docs/ - Fix docs/05_MySql.md :execlastid section (LAST_INSERT_ID is appended in both driver and Dapper modes) - Add ArchitectureTests enforcing the project reference graph and that CodeGenerator / Drivers/Generators do not use concrete drivers Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Release Assistant - PassedPR marked as |
1 similar comment
Contributor
Release Assistant - PassedPR marked as |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
AGENTS.mdto cover:AGENTS.md: the code samples, the MySQL:execlastiddescription, and the options and labels lists.Drivers/AGENTS.md(driver extension points, type mappings, nullability, per-database notes),end2end/AGENTS.md(test scaffolding, how test schemas load) anddocs/AGENTS.md(README is generated by the release flow).docs/05_MySql.md::execlastidappends; SELECT LAST_INSERT_ID()in both driver and Dapper modes, notLastInsertedId.unit-tests/RepositoryTests/ArchitectureTests.cs:CodeGenerator/(exceptInstantiateDriver) andDrivers/Generators/don't reference concrete driversGenerated output is unchanged; nothing under
examples/is affected.Testing
ArchitectureTestson .NET 9 and ran it against the repo: 10/10 passed. With a broken reference and a forbidden file allowed on purpose, the 2 matching cases failed as expected.dotnet test RepositoryTests) is the first full run on .NET 10.Checklist
skip-releaselabel set🤖 Generated with Claude Code