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
{{ message }}
Repository navigation
Running droid doesn't see AGENTS.md file in user's .factory folder if it's a symlink #38
Not Windows-only. Same on macOS (Darwin 25.6.0) with Droid 0.212.0, and it affects project-level AGENTS.md too, not just ~/.factory/AGENTS.md. Relative and absolute symlinks are both skipped; the same content in a regular file loads.
R=$(mktemp -d); mkdir "$R/linked""$R/regular"echo'The canary word is PLUM-7731.'>"$R/rules.md"
ln -s ../rules.md "$R/linked/AGENTS.md"
cp "$R/rules.md""$R/regular/AGENTS.md"
Q='What canary word do your project instructions (AGENTS.md) give? Reply with only the word, or NONE if no project instructions are in your context.'
(cd "$R/linked"&& droid exec --only-tools LS "$Q") # never PLUM-7731 (usually NONE)
(cd "$R/regular"&& droid exec --only-tools LS "$Q") # PLUM-7731
It's not the model: in ~/.factory/sessions/, each regular-file run's JSONL has a Project Instructions block with the file's contents, and none of the four symlink runs has one.
Impact: instructions versioned in a git repo can't be symlinked into place, so every machine needs a hand-synced copy.
Still happens in Droid 0.228.0 on macOS. Relative and absolute symlinks at ~/.factory/AGENTS.md are both skipped. A hard link or plain copy loads. I use GNU Stow, which links files into place, so this affects anyone who keeps their dotfiles that way.
Additional data point on macOS (droid CLI 1.12.1): symlink handling is inconsistent across user-level config surfaces.
~/.factory/output-styles/<style>.md as a symlink fails: /diagnostics reports "Output style file could not be read" and /settings marks the style as Invalid. Replacing the symlink with a regular copy of the same file fixes it.
.factory/droids as a symlink to a directory of droid definitions works fine — custom droids are discovered and usable.
Repro for the output style case:
Create a valid style file, e.g. ~/styles/mystyle.md.
Activity
Emre-C commentedon Sep 24, 2026
Not Windows-only. Same on macOS (Darwin 25.6.0) with Droid 0.212.0, and it affects project-level
AGENTS.mdtoo, not just~/.factory/AGENTS.md. Relative and absolute symlinks are both skipped; the same content in a regular file loads.It's not the model: in
~/.factory/sessions/, each regular-file run's JSONL has aProject Instructionsblock with the file's contents, and none of the four symlink runs has one.Impact: instructions versioned in a git repo can't be symlinked into place, so every machine needs a hand-synced copy.
mikirejf commentedon Sep 28, 2026
Still happens in Droid 0.228.0 on macOS. Relative and absolute symlinks at
~/.factory/AGENTS.mdare both skipped. A hard link or plain copy loads. I use GNU Stow, which links files into place, so this affects anyone who keeps their dotfiles that way.sashalab commentedon Nov 18, 2026
Additional data point on macOS (droid CLI 1.12.1): symlink handling is inconsistent across user-level config surfaces.
~/.factory/output-styles/<style>.mdas a symlink fails:/diagnosticsreports "Output style file could not be read" and/settingsmarks the style as Invalid. Replacing the symlink with a regular copy of the same file fixes it..factory/droidsas a symlink to a directory of droid definitions works fine — custom droids are discovered and usable.Repro for the output style case:
~/styles/mystyle.md.ln -s ~/styles/mystyle.md ~/.factory/output-styles/mystyle.mddroid→/diagnosticsshows "Output style file could not be read";/settingsshows the style as Invalid.Ideally all user-level config files and directories would resolve symlinks consistently.