CNTRLPLANE-3718: Replace standalone CLAUDE.md with symlink to AGENTS.md - #363
CNTRLPLANE-3718: Replace standalone CLAUDE.md with symlink to AGENTS.md#363sanchezl wants to merge 1 commit into
Conversation
|
@sanchezl: This pull request references CNTRLPLANE-3718 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
WalkthroughCLAUDE.md is replaced with a single-line symbolic link marker pointing to AGENTS.md, removing the previously inlined guideline text from the file. ChangesDocumentation link update
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@ARCHITECTURE.md`:
- Around line 29-37: The controller package paths in the architecture table are
inconsistent with the repo layout and should be normalized. Update the Package
column entries to use the actual controller paths from the codebase, especially
the serving cert controller path referenced by starter.go, so the table matches
the navigable package structure. Keep the same controller names, but correct
each package reference to the real `pkg/controller/...` locations used in the
repository.
- Around line 57-65: The CA rotation timeline example is internally inconsistent
because the automated rotation trigger does not line up with the 26-month
lifetime and the “remaining < 13m” condition. Update the timeline in
ARCHITECTURE.md so the rotation point referenced by the example is consistent
with the trigger logic in the signing CA lifetime explanation, either by
changing the trigger threshold or adjusting the T+13m event to reflect when the
condition actually becomes true.
In `@README.md`:
- Line 34: The README link is pointing to the wrong location because the
`enhancements/` path segment is missing from the GitHub URL. Update the existing
documentation link in README so it matches the adjacent link pattern and points
to the correct `openshift/enhancements` path for the “Testing a
ClusterOperator/Operand image in a cluster” section.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 6902ad55-1fe2-40cc-a076-0323fe97b2b5
📒 Files selected for processing (6)
AGENTS.mdARCHITECTURE.mdCLAUDE.mdCLAUDE.mdCONTRIBUTING.mdREADME.md
CLAUDE.md was added in PR openshift#333 as a standalone file. PR openshift#362 later added AGENTS.md (with the same content restructured) plus ARCHITECTURE.md and CONTRIBUTING.md, which together cover everything in the original CLAUDE.md. Replace the standalone file with a symlink so Claude Code discovers the same content as other AI tools reading AGENTS.md — one source of truth, zero duplication.
aa84198 to
9488716
Compare
|
@sanchezl: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Summary
CLAUDE.md(101 lines, from PR NO-JIRA: Add CLAUDE.md #333) with a symlink toAGENTS.mdCLAUDE.mdis now covered byAGENTS.md+ARCHITECTURE.md+CONTRIBUTING.md(added in PR CNTRLPLANE-3718: Add AI SDLC context files #362)Test plan
readlink CLAUDE.md→AGENTS.mddiff <(cat CLAUDE.md) <(cat AGENTS.md)→ no output (identical content)CLAUDE.mdchanged vs mainSummary by CodeRabbit