chore: remove AGENTS.md symlink to reduce duplicate context - #4282
Conversation
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
|
Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability. Example:
Projects:
Please add a Jira issue key to your PR title. |
There was a problem hiding this comment.
Pull request overview
This PR removes the root AGENTS.md symlink that pointed to CLAUDE.md, leaving CLAUDE.md as the single source of truth for agent/workspace instructions used by Cursor and Claude Code. The goal is to avoid tools that read both files pulling the same workspace rules into the context window twice. The change is configuration/tooling-only and touches no application code.
I verified the removal is clean: a repository-wide search found no remaining references to AGENTS.md (including in .github workflows, .cursor/rules/, .claude/ hooks/agents/skills, .gitignore, and docs), so nothing is left dangling. CLAUDE.md remains referenced and protected by .claude/hooks/guard-protected-files.sh.
One non-blocking process note: the PR title chore: remove AGENTS.md symlink to reduce duplicate context does not include a JIRA key (e.g. (CM-XXXX)), which .claude/rules/commit-workflow.md expects; CI surfaces this as a neutral (non-failing) check.
Changes:
- Delete the root
AGENTS.mdsymlink, keepingCLAUDE.mdas the canonical agent-instruction file.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Summary
AGENTS.mdsymlink that pointed toCLAUDE.mdCLAUDE.mdas the single source of truth for agent instructions in Cursor and Claude Code