Skip to content

fix: register guidelines with boost:install via resources/boost/guidelines#19

Merged
chrisvasey merged 3 commits intomainfrom
fix/guidelines-bug
Mar 22, 2026
Merged

fix: register guidelines with boost:install via resources/boost/guidelines#19
chrisvasey merged 3 commits intomainfrom
fix/guidelines-bug

Conversation

@chrisvasey
Copy link
Copy Markdown
Owner

Relates to #10

Root Cause

Laravel Boost v2 auto-discovers third-party package guidelines by scanning vendor/<package>/resources/boost/guidelines/ during boost:install. The existing .ai/statamic/ directory structure was not picked up by this mechanism, so Statamic guidelines were never included in the generated AI context files.

Fix

Adds resources/boost/guidelines/core.blade.php — the path that laravel/boost v2 scans via Composer::packagesDirectoriesWithBoostGuidelines(). The file contains merged Statamic core guidelines (including Statamic 6 specifics).

The existing .ai/ files are kept for backwards compatibility (they're still published via statamic-boost-guidelines tag for users who manually vendor-publish them).

Also bumps laravel/boost requirement to ^2.0 as the two fixes go hand-in-hand.

@chrisvasey chrisvasey merged commit 119cfd2 into main Mar 22, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant