Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
| ln -snf .ai/AGENTS.md AGENTS.md | ||
| mkdir -p .agents | ||
| rm -rf .agents/skills | ||
| ln -snf ../.ai/skills .agents/skills |
There was a problem hiding this comment.
Symlinks target non-existent .ai/skills directory
Low Severity
The codex and claude Makefile targets create symlinks pointing to .ai/skills, and CONTRIBUTING.md tells developers to edit .ai/skills/..., but the .ai/skills directory does not exist in the repository (.ai/ only contains AGENTS.md). Running make codex or make claude will produce dangling symlinks for the skills path, which would cause failures if an AI agent tries to follow them.
Additional Locations (2)
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| /AGENTS.md | ||
| /CLAUDE.md | ||
| /.agents/skills | ||
| /.claude/skills No newline at end of file |
There was a problem hiding this comment.
.cursorrules missing from .gitignore
Medium Severity
The make cursor target creates a .cursorrules symlink, and clean-ai removes it, but .cursorrules is not added to .gitignore. The other generated artifacts (/AGENTS.md, /CLAUDE.md, /.agents/skills, /.claude/skills) are all properly gitignored, but /.cursorrules was missed. Running make cursor would produce an untracked file that could be accidentally committed.


See huggingface/transformers#44489. Please discuss directly in huggingface/transformers#44489. Ideally, comments here should only be about TRL specific points
Note
Low Risk
Low risk: repo meta/config changes only (docs, symlinks, gitignore, Makefile) with no runtime/library behavior impact beyond developer tooling.
Overview
Centralizes AI-agent configuration by moving the canonical guidance to
.ai/AGENTS.mdand exposing it via lightweight symlink files (AGENTS.md,CLAUDE.md,.cursorrules).Adds
Makefiletargets (codex,claude,cursor,clean-ai) to create/remove the expected symlinked skills directories, updatesCONTRIBUTING.mdwith the new workflow, and extends.gitignoreto exclude agent-generated skill artifacts (andwandb/).Written by Cursor Bugbot for commit 8ec6644. This will update automatically on new commits. Configure here.