Skip to content

chore: remove AGENTS.md symlink to reduce duplicate context - #4282

Merged
skwowet merged 1 commit into
mainfrom
chore/remove-agents-md-symlink
Jun 30, 2026
Merged

chore: remove AGENTS.md symlink to reduce duplicate context#4282
skwowet merged 1 commit into
mainfrom
chore/remove-agents-md-symlink

Conversation

@skwowet

@skwowet skwowet commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Remove the root AGENTS.md symlink that pointed to CLAUDE.md
  • Keep CLAUDE.md as the single source of truth for agent instructions in Cursor and Claude Code
  • Avoids duplicating the same workspace rules in the context window

Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
@skwowet skwowet self-assigned this Jun 30, 2026
Copilot AI review requested due to automatic review settings June 30, 2026 17:51
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Jira Issue Key Missing

Your PR title doesn't contain a Jira issue key. Consider adding it for better traceability.

Example:

  • feat: add user authentication (CM-123)
  • feat: add user authentication (IN-123)

Projects:

  • CM: Community Data Platform
  • IN: Insights

Please add a Jira issue key to your PR title.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.md symlink, keeping CLAUDE.md as the canonical agent-instruction file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@skwowet
skwowet merged commit ed3308a into main Jun 30, 2026
11 checks passed
@skwowet
skwowet deleted the chore/remove-agents-md-symlink branch June 30, 2026 17:56
skwowet added a commit that referenced this pull request Jul 3, 2026
Signed-off-by: Yeganathan S <63534555+skwowet@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants