Skip to content

6564: Improve agent and testing guidance - #6929

Draft
RitikaPahwa4444 wants to merge 6 commits into
mainfrom
codex/agent-friendly-repo-guidance
Draft

6564: Improve agent and testing guidance#6929
RitikaPahwa4444 wants to merge 6 commits into
mainfrom
codex/agent-friendly-repo-guidance

Conversation

@RitikaPahwa4444

@RitikaPahwa4444 RitikaPahwa4444 commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Description (required)

Fixes #6564

What changes did you make and why?

Used the format that GitHub Copilot uses (.agents.md) to make the agents discoverable. Added specific review instructions.

Note

Reason for Draft status: I generated this with the help of Codex. I'll review the changes and then open this up for review.

@github-actions

Copy link
Copy Markdown

This pull request appears to contain unrelated changes. A pull request should modify only the code that really needs to be modified to solve the issue at hand. Please review CONTRIBUTING.md and consider splitting this into separate pull requests.

@RitikaPahwa4444 RitikaPahwa4444 changed the title docs: improve agent and testing guidance Improve agent and testing guidance Jul 26, 2026
@RitikaPahwa4444 RitikaPahwa4444 changed the title Improve agent and testing guidance 6564: Improve agent and testing guidance Jul 26, 2026
@RitikaPahwa4444
RitikaPahwa4444 marked this pull request as ready for review July 26, 2026 13:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds repository-wide Copilot/agent and testing guidance to improve the quality and verifiability of Copilot-generated Android PRs, aligning instructions around architecture boundaries, test layering, and concrete Gradle validation commands.

Changes:

  • Introduces root-level AGENTS.md as the primary repository guidelines entrypoint (architecture + testing + workflow).
  • Adds docs/testing-strategy.md to document test layers, reliability rules, and recommended validation commands.
  • Updates/standardizes GitHub Copilot instructions and agent definitions (adds new *.agent.md agents; removes legacy .github/agents/pr-agent.md).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/testing-strategy.md Documents testing layers, reliability rules, and recommended Gradle commands for PR validation.
AGENTS.md Establishes the repo’s source-of-truth guidelines for structure, architecture boundaries, testing, and agent workflow.
.github/instructions/android.instructions.md Adds scoped Android/Kotlin coding boundary rules for kt/kts/java/xml files.
.github/copilot-instructions.md Defines Copilot-specific contribution/review rules and references AGENTS.md + testing strategy.
.github/agents/pr-agent.md Removes legacy agent definition file (superseded by *.agent.md).
.github/agents/pr-agent.agent.md Adds the PR implementation agent with required workflow and validation commands.
.github/agents/architecture-reviewer.agent.md Adds an architecture-focused review agent checklist and expectations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/testing-strategy.md Outdated
@RitikaPahwa4444
RitikaPahwa4444 marked this pull request as draft July 26, 2026 13:58
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

✅ Generated APK variants!

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.

Add agents.md file

2 participants