fix(agents): preserve existing rules during symlink installation

This commit is contained in:
Ryan Yin
2026-09-05 13:34:13 +08:00
parent 33b17baeff
commit a3bbb70508
3 changed files with 66 additions and 4 deletions
+2 -1
View File
@@ -39,7 +39,8 @@ Behavior:
- Each target is handled independently.
- Missing destination directories are skipped.
- Existing destination file/symlink is replaced with a symlink to this repo source file.
- Existing regular files are preserved as `.bak` backups (numbered when a backup already exists).
- Destination links are replaced atomically; a failed link creation leaves the destination intact.
The installer links only `AGENTS.md`; it does not install permission configuration, skills, or CLIs.
The repository-root `AGENTS.md` contains guidance for this Nix configuration repository. It is not