Repository navigation
Replace the AGENTS.md and .agents symlinks with regular agent files - #405
Conversation
A Windows clone without symlink support checks the links out as plain files, and the Adafruit Arduino libraries dropped the same links because arduino-lint LS005 keeps a release holding one out of the Library Manager (adafruit/Adafruit_SPIFlash#202).
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
[Medium impact] The PR appears safe to merge.
|
Problem
The repository tracks two symlinks added with the agent contracts:
AGENTS.md->CLAUDE.mdand.agents->.claude. A Windows clone without symlink support checks them out as plain files holding the target path, so Codex andCopilot lose the instructions there. The Adafruit Arduino libraries dropped the same links because arduino-lint rule
LS005 keeps a release holding one out of the Library Manager (adafruit/Adafruit_SPIFlash#202), and agentrc now
prescribes the link-free layout for Arduino libraries and cores (hathach/agentrc#571).
Solution
The layout adafruit/Adafruit_SPIFlash#203 and adafruit/Adafruit_TinyUSB_Arduino#635 adopted:
AGENTS.mdis a regular file holding the instructions, unchanged, plus an "Agent files" section;CLAUDE.mdimportsit (
@AGENTS.md);.agentsis removed. Skills stay in.claude/skills/.no-symlinkspre-commit hook, copied unchanged from SPIFlash, fails on any symlink in the index; CI's pre-commitjob runs it.
pre-commit run --all-filespasses (clang-format, no-symlinks, agent contract tests);check_build.pyselects nothingto build.