AI: add AGENTS.md and path-scoped review instructions - #578
Open
Gaurav Sharma (bewithgaurav) wants to merge 1 commit into
Open
Conversation
…ons) Add AGENTS.md and .github/instructions/ so GitHub Copilot code review reviews mssql-django with the backend's real conventions and known failure modes instead of generic advice. AGENTS.md holds durable project facts and cross-cutting review judgment; the eight path-scoped files (schema, compiler, operations, functions, base, features, introspection, testapp) load only when a matching path changes. Small dedup edits to copilot-instructions.md point at AGENTS.md so nothing is stated twice. Docs/config only. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
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 repository context so GitHub Copilot code review reviews mssql-django with the backend's actual conventions and known failure modes, instead of generic advice. First step of the AI-assisted review initiative.
What's added
AGENTS.md— durable project facts (default branchdev, version/support matrix, module map, commit/PR prefix grammar, history rules) plus cross-cutting review judgment (root-cause over workaround, classify by blast radius, silent-wrong-results severity, whole-file sweep when migrating off a deprecated API, exclusion comments as documentation)..github/instructions/*.instructions.md— path-scoped review guidance loaded only when a matching file changes. One per backend area (schema, compiler, operations, functions, base, features, introspection) plustestapp/. Each encodes checks drawn from real prior issues/PRs (e.g.isinstancevs exact-type dispatch, ORDER BY dedup, MARS connection-string opt-out, feature-flag overrides on a new Django minor, mandatory regression tests undertestapp/tests/)..github/copilot-instructions.md— small dedup edits: a header describing the three-file split and pointers toAGENTS.md, so nothing is stated twice.Documentation/configuration only. No backend code, no workflow, no test changes.