@openshift/cluster-dns-operator
ACluster DNS Operator - AI Agent Directory
Install
agr install @openshift/cluster-dns-operator --target codexWrites 1 file into AGENTS.md, pinned to git-326895e3.
- AGENTS.md
Document
Cluster DNS Operator - AI Agent Directory
You are an AI assistant working on the cluster-dns-operator repository. This repository is responsible for deploying and managing CoreDNS across OpenShift clusters.
IMPORTANT: We use a progressive disclosure architecture for instructions to preserve your context window. Do not attempt to guess architectural patterns or OpenShift conventions.
Depending on the task you are assigned, read the corresponding file from the .agents/ directory before proposing changes:
- .agents/context.md: ALWAYS READ THIS FIRST to understand the high-level relationship between the Operator, the CoreDNS Operand, and the OpenShift CNI.
- .agents/architecture.md: Read this if you are making changes to how CoreDNS is deployed, or if you need to understand DNS resolution routing, Node Resolvers, and Key Resources.
- .agents/controllers.md: Read this if you are modifying Go code in
pkg/operator/controller/, adjusting reconciliation logic, or handling thedns.operator.openshift.ioAPI. - .agents/rules.md: Read this to understand strict OpenShift Go coding guidelines, Prow CI/CD caveats, and Operator SDK conventions.
- .agents/testing.md: Read this before writing or running unit tests or end-to-end tests.
- .agents/operand.md: Read this if you need to understand the CoreDNS operand source code location or its specific plugin chain.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-326895e37efc2026-08-06