You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can see this getting pretty gnarly to manage as we iteratively make updates. Should we look to make it generic?
Differences I see that we may need to validate:
CLAUDE.md renamed verbatim to AGENTS.md for Codex - will it follow the rules links that the CLAUDE file specifies? I see Codex has something called rules which is different, but I do wonder if it would "just work"?
Cursor files are .mdc? Again, would it just work if we referenced the .md files or does it absolutely need to be mdc?
I can see this getting pretty gnarly to manage as we iteratively make updates. Should we look to make it generic?
Differences I see that we may need to validate:
CLAUDE.md renamed verbatim to AGENTS.md for Codex - will it follow the rules links that the CLAUDE file specifies? I see Codex has something called rules which is different, but I do wonder if it would "just work"?
Cursor files are .mdc? Again, would it just work if we referenced the .md files or does it absolutely need to be mdc?
Thanks for raising this. I've been researching about this, and we have a few options.
There's an option to just use an AGENTS.md file and referencing .md files to specific rules. But as I've read online, this is not good for discoverability. The agent doesn't reliably read the rules in this setup.
There's also an in-between option where we could have a shared ai-rules folder (or some other naming) and the "native" agent files, like we have them now, would symlink to these core ai documents. I've read that this gives native-like discoverability, while reducing the maintenance burden (although it doesn't completely eliminate it). I'm researching more about this option currently.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before, we only had Rails AI rules for Claude. This PR adds them for Codex and Cursor as well.