diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 64c6c533..cae1c222 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -9,6 +9,9 @@ by CI (`.github/workflows/ci.yml`) - suggestions that break them fail the build. - When asked to "take notes" on a future idea, capture it in the notes file only - do not implement it, and do not expand on it at length in replies. - Use a temp file for multi-line git commit messages instead of heredoc syntax: `git commit -F `. - Avoid using `powershell.exe -File` for launching scripts, as it fails if the script file is missing or quarantined. +- Long-running commands (pytest suites, npm builds, container rolls) must be redirected to a log file under `devnotes/` (e.g. `devnotes/_pytest.log`) and launched non-blocking; never run as a blocking foreground command. Do not poll or tail the output; the user watches the file and will say when it is done. +- Before taking any action that modifies code or files, warn the user first if a test run or build may be in progress, so discussion about the project can continue without altering files underneath a running test. +- Always invoke shell scripts with the explicit Git Bash path: `& "C:\Program Files\Git\bin\bash.exe" scripts/