-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Description
Laravel Package Version
1.0.21
Laravel Version
12.21.0
PHP Version
8.4.8
System Info
Windows 11 with native PHP installed
Description
After creating an AI guideline override in .ai/guidelines/inertia-laravel/core.blade.php
with empty contents and running php artisan boost:install --silent
, the rendered guideline in .github/copilot-instructions.md
incorrectly includes the package's Inertia core guideline, when run on Windows. When a guideline exists in the user's directory, its contents should be used over the package's.
Related to #124
Output from the command:
PS C:\project> php artisan boost:install --silent
╭────────────────────────┬────────────────────────┬────────────────────────┬────────────────────────╮
│ .ai/core │ .ai/project │ boost │ foundation │
├────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┤
│ inertia-laravel/core │ inertia-laravel/v2 │ laravel/core │ laravel/v12 │
├────────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┤
│ php │ tailwindcss/core │ tailwindcss/v3 │ │
╰────────────────────────┴────────────────────────┴────────────────────────┴────────────────────────╯
Enjoy the boost 🚀 Next steps: https://boost.laravel.com/installed
Running the same command with the same file contents on macOS yields this output, which indicates that certain guidelines were overridden. Additionally, the outputted guidelines are rendered as expected.
~/project git:[production]
php artisan boost:install --silent
╭─────────────────────────┬─────────────────────────┬─────────────────────────┬─────────────────────────┬─────────────────────────╮
│ .ai/project* │ boost │ foundation │ inertia-laravel/core* │ inertia-laravel/v2* │
├─────────────────────────┼─────────────────────────┼─────────────────────────┼─────────────────────────┼─────────────────────────┤
│ laravel/core │ laravel/v12 │ php │ tailwindcss/core │ tailwindcss/v3 │
╰─────────────────────────┴─────────────────────────┴─────────────────────────┴─────────────────────────┴─────────────────────────╯
Enjoy the boost :rocket: Next steps: https://boost.laravel.com/installed
Steps To Reproduce
On Windows 11:
- Install boost
- Create a guideline override for a package that would otherwise be included in your project's rendered guidelines. For example, create an empty file in
.ai/guidelines/inertia-laravel/core.blade.php
. - Run
php artisan boost:install --silent
- View the rendered guidelines in
.github/copilot-instructions.md
-- you'll find the Boost package's rules for=== inertia-laravel/core rules ===
included when they shouldn't be.
Metadata
Metadata
Assignees
Labels
No labels