{"agent":"claude","input":"Add roles and permissions to this Filament admin panel. Read composer.json, the panel providers under app/Providers/Filament, app/Models/User.php, database/seeders/DatabaseSeeder.php, tests/Pest.php and .github/workflows/tests.yml first. Install spatie/laravel-permission, publish its migration and add HasRoles to User. Seed an admin role and one role per navigation group, giving the seeded demo user admin so the prefilled login still works. Write a policy per model under app/Policies with viewAny, view, create, update, delete, deleteAny, restore and forceDelete checking permissions named after the model, so Filament hides actions and navigation a role may not use; authorize the custom order actions against the order update permission. Make canAccessPanel require a role for the admin panel. Add an admin state to UserFactory and use it in Pest.php so the existing suite still runs as an admin, then add Pest tests for a shop manager who can open the orders pages, an editor who is forbidden from them, and a user with no role who cannot access the panel. Run composer test:pest, composer test:phpstan and pint --test. Open a pull request with the role and permission matrix and the test output. Do not change the resources' forms or tables beyond authorization.","resources":[{"url":"https://github.com/your-org/your-app"}]}