Repository navigation
Ground AI architecture claims in sources - #55304
Merged
Merged
Conversation
Link high-value SDK architecture, ownership, and product claims to primary sources, correct stale command-dispatch and template-engine summaries, and teach code review to flag ungrounded AI context. Co-authored-by: Copilot App <[email protected]>
|
Azure Pipelines: Successfully started running 1 pipeline(s). 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
25 of 39 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR strengthens the repository’s AI/contributor-facing documentation by grounding high-value architecture/ownership/product claims in primary sources and by teaching the code-review skill to flag ungrounded or unsupported claims in AI context.
Changes:
- Expand the code-review SKILL guidance to flag ungrounded or unsupported architecture/ownership/product claims (not just stale docs).
- Add a “Grounding architecture and product claims” section to
.github/copilot-instructions.md, setting expectations for sourcing and linking evidence. - Replace/augment several high-level architecture descriptions in
.github/copilot-instructions.mdwith repo-relative links to the concrete code and build/layout entry points they describe.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/skills/code-review/SKILL.md |
Updates review guidance to flag newly added/changed important claims that lack durable primary-source citations. |
.github/copilot-instructions.md |
Adds sourcing guidance and links key SDK architecture/dispatch/layout/template claims to concrete in-repo sources (and external ownership repos). |
lbussell
reviewed
Jul 15, 2026
| 14. **Documentation & explanatory comments for non-obvious SDK behavior** — subtle target/property decisions, runtime mapping, or cross-repo ownership boundaries that a future maintainer cannot infer from types or names and that lack a durable comment; stale comments that contradict the code; workaround comments without a tracking link. | ||
| 15. **Repository convention violations** — the change breaks a rule documented in the [repository guardrails](../../copilot-instructions.md#guardrails) or the nearest area `AGENTS.md`. Read those files (they govern the directories being changed) and flag violations the build won't already catch — for example, hand-editing generated or regenerated files, or fixing behavior in this repo that another repo owns. | ||
| 16. **Stale AI context / instructions / docs** — the change makes something an AI- or contributor-facing artifact says no longer true: a documented command, file path or location, guardrail, build/test workflow, convention, or architecture description that the change has invalidated (for example, moving or renaming a file that a doc references), and that artifact wasn't updated in the same PR. Name the exact file — `.github/copilot-instructions.md`, any `AGENTS.md` in an affected subdirectory, a `.github/skills/*/SKILL.md`, a `.github/agents/*.agent.md`, or a file under `documentation/` — and the concrete drift. Don't flag internal changes that no artifact describes. | ||
| 16. **Stale or ungrounded AI context / instructions / docs** — the change makes something an AI- or contributor-facing artifact says no longer true: a documented command, file path or location, guardrail, build/test workflow, convention, or architecture description that the change has invalidated (for example, moving or renaming a file that a doc references), and that artifact wasn't updated in the same PR. Also flag newly added or materially changed important claims about architecture, product behavior, or ownership when they lack a durable primary-source link (code or project files, an ADR or design document, or an issue or PR). Flag citations that do not support the claim and inferences presented as established facts. Name the exact artifact — `.github/copilot-instructions.md`, any `AGENTS.md` in an affected subdirectory, a `.github/skills/*/SKILL.md`, a `.github/agents/*.agent.md`, or a file under `documentation/` — and the concrete drift or unsupported claim. Don't flag internal changes that no artifact describes, and don't demand citations for routine instructions or obvious code-local facts. |
Member
There was a problem hiding this comment.
We don't have ADRs, right? (at least not yet?)
Member
Author
There was a problem hiding this comment.
Correct, not yet. I didn't see a reason to exclude them from here.
lbussell
approved these changes
Jul 16, 2026
baronfel
approved these changes
Jul 16, 2026
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.
Link high-value SDK architecture, ownership, and product claims to primary sources, correct stale command-dispatch and template-engine summaries, and teach code review to flag ungrounded AI context.