init
This commit is contained in:
232 files changed
+25416
No files matched your search
@@ -0,0 +1,9 @@
|
||||
---
|
||||
paths:
|
||||
- 'app/{Jobs,Services/CafeBazaar,Console/Commands}/**'
|
||||
---
|
||||
|
||||
# Commands
|
||||
|
||||
## Reconcile Cafe Bazaar data through per-app sync jobs
|
||||
Cafe Bazaar purchase/subscription synchronization can only revalidate tokens already learned through API validation calls; Bazaar has no global token export. Keep per-app jobs unique and cache-locked, refresh subscriptions at the tenant interval, purchases daily, reviews cursor-incrementally, and expose sync health on MobileApp.
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
paths:
|
||||
- 'app/**,database/{factories,seeders}/**,tests/Feature/LocalDevelopmentSeederTest.php'
|
||||
---
|
||||
|
||||
# Feature
|
||||
|
||||
## Keep local development seed data current and idempotent
|
||||
Whenever models, relationships, statuses, features, or admin-visible fields change, update LocalDevelopmentSeeder and its Pest test. Repeated runs must not duplicate data, and the seeder must continue to show relationship direction explicitly with factory has() and for() calls.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Project Rules Index
|
||||
|
||||
Before planning or editing, find the row whose globs match the file's path and read that rule file.
|
||||
|
||||
| Applies to | Rule file |
|
||||
| --- | --- |
|
||||
| app/{Jobs,Services/CafeBazaar,Console/Commands}/** | .ai/rules/commands.md |
|
||||
| app/**,database/{factories,seeders}/**,tests/Feature/LocalDevelopmentSeederTest.php | .ai/rules/feature.md |
|
||||
| routes/api.php,app/Http/Controllers/Api/**,app/Http/Middleware/** | .ai/rules/middleware.md |
|
||||
| app/{Models,Providers,Filament,Http}/**,routes/** | .ai/rules/models-providers-filament-http.md |
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
paths:
|
||||
- 'routes/api.php,app/Http/Controllers/Api/**,app/Http/Middleware/**'
|
||||
---
|
||||
|
||||
# Middleware
|
||||
|
||||
## Separate client and management API credentials
|
||||
Every app route requires X-App-Key. Refunds, subscription cancellation, review replies, and all publishing operations must also require X-Management-Key; never weaken these routes for Android clients.
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
paths:
|
||||
- 'app/{Models,Providers,Filament,Http}/**,routes/**'
|
||||
---
|
||||
|
||||
# Models Providers Filament Http
|
||||
|
||||
## Use Android package name as the app identifier
|
||||
MobileApp has no slug. Use the globally unique package_name for Filament tenant URLs, API route resolution, rate-limit keys, commands, and public configuration; do not introduce a second app identifier.
|
||||
Reference in new issue
Block a user