Skip to content

Conversation

@sg00dwin
Copy link
Member

@sg00dwin sg00dwin commented Jan 20, 2026

Update CLAUDE.md and .cursor/context.md and .coderabbit.yaml to direct AI agents to our primary entry point AGENTS.md and its linked documentation files for code generation.

Summary by CodeRabbit

  • Chores
    • Restructured internal AI context and configuration documentation. Consolidated AI guidance references and updated documentation file organization. No changes to application functionality or user-facing features.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 20, 2026

📝 Walkthrough

Walkthrough

The changes reorganize the AI context structure by removing the .ai/ directory's documentation (README.md and context.md) and redirecting AI assistant configurations to a new primary entry point at AGENTS.md. The .cursor/context.md and CLAUDE.md files are updated to reference AGENTS.md instead of .ai/context.md, adding mandatory startup instructions and cross-references to additional documentation files (ARCHITECTURE.md, CONVENTIONS.md, TESTING.md, README.md, CONTRIBUTING.md, STYLEGUIDE.md, INTERNATIONALIZATION.md). No functional code or runtime logic is affected; these are purely documentation and configuration changes for AI assistants.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately summarizes the main change: redirecting AI agents from scattered .ai/ and .cursor/ documentation to a centralized AGENTS.md hub.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Comment @coderabbitai help to get the list of available commands and usage tips.

@sg00dwin sg00dwin force-pushed the OCPBUGS-74178-funnel-ai-to-agents branch from 036325e to bab5a40 Compare January 20, 2026 21:14
@sg00dwin sg00dwin changed the title Direct AI agents to AGENTS.md documentation hub OCPBUGS-74178: Direct AI agents to AGENTS.md documentation hub Jan 20, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 20, 2026
@openshift-ci-robot
Copy link
Contributor

@sg00dwin: This pull request references Jira Issue OCPBUGS-74178, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @yapei

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Update CLAUDE.md and .cursor/context.md to direct AI to our primary entry point AGENTS.md and its linked documentation files for code generation.

Summary by CodeRabbit

  • Chores
  • Restructured internal AI context and configuration documentation. Consolidated AI guidance references and updated documentation file organization. No changes to application functionality or user-facing features.

✏️ Tip: You can customize this high-level summary in your review settings.

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.

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Jan 20, 2026
@openshift-ci openshift-ci bot requested a review from yapei January 20, 2026 21:15
@openshift openshift deleted a comment from openshift-ci-robot Jan 20, 2026
@openshift openshift deleted a comment from openshift-ci-robot Jan 20, 2026
Copy link
Member

@jhadvig jhadvig left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@jhadvig
Copy link
Member

jhadvig commented Jan 21, 2026

/retest

@jhadvig jhadvig added the verified Signifies that the PR passed pre-merge verification criteria label Jan 21, 2026
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jhadvig, sg00dwin

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2026
Copy link
Member

Choose a reason for hiding this comment

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

could we symlink context.md and CLAUDE.md to AGENTS.md to reduce duplicate documentation?

@sg00dwin
Copy link
Member Author

/test e2e-gcp-console

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2998cf8 and 2 for PR HEAD bab5a40 in total

@sg00dwin
Copy link
Member Author

/test e2e-gcp-console

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 22, 2026

@sg00dwin: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants