Instruct AGENT to use correct precommit command
This commit is contained in:
@@ -125,6 +125,7 @@ mix ecto.rollback
|
|||||||
YOU'RE NOT ALLOWED TO TOUCH PRODUCTION IN ANY POSSIBLE WAY.
|
YOU'RE NOT ALLOWED TO TOUCH PRODUCTION IN ANY POSSIBLE WAY.
|
||||||
|
|
||||||
Available commands for monitoring (view only):
|
Available commands for monitoring (view only):
|
||||||
|
|
||||||
- `mise run prod:backup` - Backup the production database to local dev env
|
- `mise run prod:backup` - Backup the production database to local dev env
|
||||||
- `mise run prod:prune-backups` - Remove locally downloaded production database backups
|
- `mise run prod:prune-backups` - Remove locally downloaded production database backups
|
||||||
- `mise run prod:test` - Run HTTP tests against production
|
- `mise run prod:test` - Run HTTP tests against production
|
||||||
@@ -137,10 +138,12 @@ Deployment is handled via Coolify using a Docker Compose strategy.
|
|||||||
### Database Structure
|
### Database Structure
|
||||||
|
|
||||||
The application uses SQLite with two databases:
|
The application uses SQLite with two databases:
|
||||||
|
|
||||||
- Main database (`Repo`): Primary data storage
|
- Main database (`Repo`): Primary data storage
|
||||||
- Background database (`BackgroundRepo`): For background jobs and workers
|
- Background database (`BackgroundRepo`): For background jobs and workers
|
||||||
|
|
||||||
Key tables and schemas:
|
Key tables and schemas:
|
||||||
|
|
||||||
- `records` table stores all record data with embedded JSON for artists
|
- `records` table stores all record data with embedded JSON for artists
|
||||||
- `artist_infos` table stores additional artist metadata (bio, images, etc.)
|
- `artist_infos` table stores additional artist metadata (bio, images, etc.)
|
||||||
- `artist_records` view provides normalized artist-record relationships
|
- `artist_records` view provides normalized artist-record relationships
|
||||||
@@ -214,10 +217,7 @@ Run the following before commits to ensure code quality:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
# Run static checks to ensure code quality
|
# Run static checks to ensure code quality
|
||||||
mix do format --check-formatted, credo --strict, gettext.extract --check-up-to-date
|
mise run dev:precommit
|
||||||
|
|
||||||
# Or use the mise task
|
|
||||||
mise run dev:lint
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To set up a pre-commit hook:
|
To set up a pre-commit hook:
|
||||||
@@ -313,12 +313,16 @@ usage rules to understand the correct patterns, conventions, and best practices.
|
|||||||
<!-- usage-rules-header-end -->
|
<!-- usage-rules-header-end -->
|
||||||
|
|
||||||
<!-- igniter-start -->
|
<!-- igniter-start -->
|
||||||
|
|
||||||
## igniter usage
|
## igniter usage
|
||||||
|
|
||||||
_A code generation and project patching framework_
|
_A code generation and project patching framework_
|
||||||
|
|
||||||
[igniter usage rules](deps/igniter/usage-rules.md)
|
[igniter usage rules](deps/igniter/usage-rules.md)
|
||||||
|
|
||||||
<!-- igniter-end -->
|
<!-- igniter-end -->
|
||||||
<!-- usage_rules-start -->
|
<!-- usage_rules-start -->
|
||||||
|
|
||||||
## usage_rules usage
|
## usage_rules usage
|
||||||
_A dev tool for Elixir projects to gather LLM usage rules from dependencies_
|
_A dev tool for Elixir projects to gather LLM usage rules from dependencies_
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user