:book: Rewrite AGENTS.md, drop CLAUDE.md symlink #3919
/override metal3-centos-e2e-integration-test-main
/override metal3-ubuntu-e2e-integration-test-main
@tuminoid: Overrode contexts on behalf of tuminoid: metal3-centos-e2e-integration-test-main, metal3-ubuntu-e2e-integration-test-main
<details>
In response to this:
>/override metal3-centos-e2e-integration-test-main
>/override metal3-ubuntu-e2e-integration-test-main
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
</details>
/copilot-review
Copilot code review has been requested by @tuminoid. Please allow a few moments for the review to be added.
Please limit the manifest prohibition to the actual generated files. config/rbac/role_binding.yaml, config/webhook/service.yaml, and the conversion patches under config/crd/patches/ are maintained directly; make generate does not generate replacements for them. Grouping all CRD, RBAC, and webhook manifests under this rule would prevent agents from making necessary deployment or conversion-webhook changes in their source files.
Please exempt hack/ensure-golangci-lint.sh from this wildcard restriction. On a checkout without the linter binary, the required make test runs make lint, whose prerequisite invokes that script (Makefile:430-431,482). It installs a checksum-verified binary into the repository's tools directory, not privileged host infrastructure. As written, completing the mandatory test command also runs a script this section forbids without explicit permission.
Requiring every field change in both API versions would unnecessarily extend the deprecated v1beta1 API for hub-only fields. For example, FailureDomainDataTemplates exists only in v1beta2 and is restored from conversion data in api/v1beta1/conversion.go:148-149. Require checking both versions and preserving round trips rather than always modifying both types.
<!-- ccr-overview-v2 -->
🟡 Changes recommended
AGENTS.md imposes overly broad rules that would unnecessarily extend the deprecated API, block edits to hand-maintained manifests, and prohibit a script required by the mandatory test command.
<details open>
<summary><strong>3 open issues</strong></summary>
</details>
<details>
<summary><strong>What changed in this PR</strong></summary>
This documentation-only PR rewrites CAPM3’s agent guidance around project-specific workflows and invariants rather than a broad repository checklist.
Changes:
| File | Description |
| ---- | ----------- |
| AGENTS.md | Reorganizes agent guidance around contribution rules, testing workflows, and CAPM3 invariants. |
</details>
<sub>Review effort: Balanced</sub>
Fixed.
Fixed.
Fixed.
/override metal3-centos-e2e-integration-test-main
/override metal3-ubuntu-e2e-integration-test-main
@tuminoid: Overrode contexts on behalf of tuminoid: metal3-centos-e2e-integration-test-main, metal3-ubuntu-e2e-integration-test-main
<details>
In response to this:
>/override metal3-centos-e2e-integration-test-main
>/override metal3-ubuntu-e2e-integration-test-main
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
</details>
/approve
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: <a href="https://github.com/metal3-io/cluster-api-provider-metal3/pull/3919#pullrequestreview-6127171444" title="Approved">adilGhaffarDev</a>, <a href="https://github.com/metal3-io/cluster-api-provider-metal3/pull/3919#pullrequestreview-6126936473" title="Approved">smoshiur1237</a>
The full list of commands accepted by this bot can be found here.
The pull request process is described here
<details >
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
</details>
<!-- META={"approvers":[]} -->
/lgtm
adilGhaffarDev
tuminoid
Claude reads AGENTS.md now. AGENTS.md trimmed to non-inferable facts, adds AI policy, testing, security and tenancy rules, and API, CAPI contract and dependent API invariants.