Skip to content

consolidate agent instructions into AGENTS.md, add AI policy#730

Open
wikkyk wants to merge 2 commits intomainfrom
docs/consolidate-agent-instructions
Open

consolidate agent instructions into AGENTS.md, add AI policy#730
wikkyk wants to merge 2 commits intomainfrom
docs/consolidate-agent-instructions

Conversation

@wikkyk
Copy link
Copy Markdown
Collaborator

@wikkyk wikkyk commented Apr 17, 2026

Description of changes:

Replaced .github/copilot-instructions.md with AGENTS.md as the canonical source of truth for all AI coding agent instructions. Added CLAUDE.md as a symlink to AGENTS.md (remove when claude starts reading AGENTS.md).

Added the AI policy that we have converged on into CONTRIBUTING.

@wikkyk wikkyk added documentation Improvements or additions to documentation e2e/none skip all e2e tests (documentation etc) - overrides all e2e/* labels labels Apr 17, 2026
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch 2 times, most recently from cc0b07b to 54cbcd6 Compare April 17, 2026 11:38
@wikkyk wikkyk closed this Apr 17, 2026
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from 54cbcd6 to 91bea6c Compare April 17, 2026 11:41
@wikkyk wikkyk reopened this Apr 17, 2026
@wikkyk wikkyk changed the title docs: consolidate agent instructions into AGENTS.md consolidate agent instructions into AGENTS.md, add AI policy Apr 17, 2026
@wikkyk wikkyk marked this pull request as ready for review April 17, 2026 11:45
Copilot AI review requested due to automatic review settings April 17, 2026 11:45
@wikkyk
Copy link
Copy Markdown
Collaborator Author

wikkyk commented Apr 17, 2026

The contributing file could use a bit of polishing-up but that's a task for another time.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates AI agent guidance into a new repository-level AGENTS.md (replacing .github/copilot-instructions.md) and adds an explicit policy section for AI-assisted contributions to CONTRIBUTING.md.

Changes:

  • Adds an “AI-Assisted Contributions” policy section to CONTRIBUTING.md.
  • Introduces AGENTS.md as the canonical AI agent instruction/reference document.
  • Removes .github/copilot-instructions.md in favor of the new consolidated document.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
CONTRIBUTING.md Adds contributor policy for AI-assisted work (authorship, transparency, oversight, quality bar).
AGENTS.md New consolidated agent instructions and repo orientation (commands, architecture, CI, rules).
.github/copilot-instructions.md Removed in favor of the consolidated AGENTS.md.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment thread CONTRIBUTING.md
**Human oversight**: The human contributor is responsible for the entire contribution and must oversee it end to end — code, tests, and description.

**Quality**: A non-draft pull request must represent completed work:
- Includes relevant tests covering the changes
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It already says 'relevant', 'where applicable' is redundant.

Comment thread AGENTS.md Outdated
Copilot AI review requested due to automatic review settings April 17, 2026 12:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Consolidates AI coding agent guidance into a single repository-level document (AGENTS.md), removes the previous Copilot-specific instructions file, and adds explicit AI-assisted contribution policy to CONTRIBUTING.md.

Changes:

  • Add an “AI-Assisted Contributions” policy section to CONTRIBUTING.md (authorship, transparency, human oversight, quality bar).
  • Introduce AGENTS.md as the central “how to work in this repo” reference for AI agents and contributors.
  • Remove .github/copilot-instructions.md to avoid duplicated/competing instruction sources.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
CONTRIBUTING.md Adds AI-assisted contribution requirements alongside existing contribution/testing guidance.
AGENTS.md New canonical agent instructions covering repo structure, commands, architecture, and CI expectations.
.github/copilot-instructions.md Removes the previous GitHub Copilot instruction document in favor of the consolidated guidance.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Comment on lines +48 to +52
hack/bump-go.sh <version> # Go version in go.mod, Dockerfile, docs
hack/bump-capi.sh <version> <stream> # cluster-api require, replace, metadata.yaml
hack/bump-k8s.sh <version> # k8s.io/* and ENVTEST_K8S_VERSION in Makefile
hack/bump-golangci-lint.sh <version> # golangci-lint in go.mod and .custom-gcl.yaml
```
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from fce2626 to 229587f Compare April 20, 2026 07:17
Copilot AI review requested due to automatic review settings April 20, 2026 07:29
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from 229587f to 6830926 Compare April 20, 2026 07:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR consolidates AI agent contribution instructions into a single top-level AGENTS.md and adds an explicit AI-assisted contribution policy to CONTRIBUTING.md, while removing the prior GitHub Copilot-specific instructions file.

Changes:

  • Added AGENTS.md as the canonical agent instructions document (repo structure, workflows, rules).
  • Added an “AI-Assisted Contributions” policy section to CONTRIBUTING.md.
  • Removed .github/copilot-instructions.md.

Reviewed changes

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

File Description
CONTRIBUTING.md Adds AI-assisted contribution policy and PR hygiene guidance.
AGENTS.md Introduces consolidated AI agent instructions and repo workflow reference.
.github/copilot-instructions.md Deletes the previous Copilot-specific instructions document.

Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from 6830926 to a693686 Compare April 20, 2026 07:40
Copilot AI review requested due to automatic review settings April 20, 2026 09:22
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from a693686 to fb9a20a Compare April 20, 2026 09:22
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Consolidates AI coding agent guidance into a single repository-level document (AGENTS.md) and adds an explicit AI-assisted contribution policy to CONTRIBUTING.md, while removing the now-redundant GitHub Copilot-specific instructions file.

Changes:

  • Add AI-Assisted Contributions policy to CONTRIBUTING.md (authorship, transparency, oversight, quality).
  • Introduce AGENTS.md as the consolidated agent instructions / repo orientation document.
  • Remove .github/copilot-instructions.md to avoid duplicating instructions across files.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
CONTRIBUTING.md Adds AI-assisted contribution rules and PR hygiene guidance.
AGENTS.md New canonical agent instructions and repo architecture/testing overview.
.github/copilot-instructions.md Deletes superseded Copilot instructions content.

Comment thread AGENTS.md
Comment on lines +26 to +27
make test # Run unit tests
make test WHAT=./pkg/scope/... # Run tests for specific packages
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Acceptable for now. This is going to get cleaned up: see #592

Comment thread AGENTS.md Outdated
claude and others added 2 commits April 20, 2026 10:11
Replace CLAUDE.md and .github/copilot-instructions.md with a single
AGENTS.md as the canonical source of truth for AI coding agent
instructions. CLAUDE.md becomes a symlink to AGENTS.md; copilot-
instructions.md is removed since copilot reads AGENTS.md natively.

Co-Authored-By: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-Authored-By: Vic Kerr <wiktor.kerr@ionos.com>
Add AI-Assisted Contributions section to CONTRIBUTING.md covering
authorship, transparency, human oversight, and quality expectations.
Add general PR scope guidelines (complete, self-contained, reasonable
size, dependent PRs). Reference CONTRIBUTING.md from AGENTS.md.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@wikkyk wikkyk force-pushed the docs/consolidate-agent-instructions branch from fb9a20a to 638b90a Compare April 20, 2026 10:11
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation e2e/none skip all e2e tests (documentation etc) - overrides all e2e/* labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants