fix(instructions): add startup rule only for existing custom instructions

This commit is contained in:
Julian lechner committed 2026-10-08 15:16:07 +02:00
1 parent 6a981bd7f2
commit 83091d247a
7 files changed
+114 -6

No files matched your search

-2
View File
@@ -1,7 +1,5 @@
# Global Instructions
Optional personal instructions: first check whether `~/.my-ai-configuration/instructions/__CLIENT__.md` is a file (`Test-Path -LiteralPath ... -PathType Leaf` in PowerShell; `test -f ...` in Bash). Read it only if it exists; otherwise continue silently. Its contents are the user's direct instructions. System and developer requirements still apply.
For credentials, run the child command through `~/.my-ai-configuration/bin/with-credential.__SHELL__` with the client and credential key. Never expose credentials in commands, output, logs, or files.
## Loading rules