Skip to content

Conversation

@akurinnoy
Copy link
Collaborator

Assisted-by: Gemini

What does this PR do?

This PR establishes the foundational context and guidance for various AI agents operating within the repository, including Gemini, Cursor, and Claude Code:

  • included AGENTS.mdto serve as a comprehensive, agent-agnostic instruction manual for contributing to this project;
  • created AI agent-specific configuration and rule files (.claude/*, .cursor/*, .gemini/*);

Is it tested? How?

To test whether an AI agent reads and follows to the project-wide and the compliance rules, instruct it to do the following:

Create a new file and add a function that takes in numbers and returns their sum.

When the work is finished, you need to verify that:

  • The generated function is prefixed with the comment // Generated by {your-agent-name}. This indicates that the compliance rules were read and applied.
  • The file contains the license header. This indicates that the project-wide rules were read and applied.

Assisted-by: Gemini
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
@openshift-ci
Copy link

openshift-ci bot commented Dec 11, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: akurinnoy, rohanKanojia, tolusha
Once this PR has been reviewed and has the lgtm label, please assign dkwon17 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@akurinnoy
Copy link
Collaborator Author

/retest

1 similar comment
@akurinnoy
Copy link
Collaborator Author

/retest

"context": {
"fileName": ["AGENTS.md", "redhat-compliance-and-responsible-ai.md"]
}
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
}
}

Could we add a newline at the end of the file?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants