Add CLAUDE.md defining operational boundaries for AI#14
Open
Tosinibikunle wants to merge 1 commit intoVictorVVedtion:masterfrom
Open
Add CLAUDE.md defining operational boundaries for AI#14Tosinibikunle wants to merge 1 commit intoVictorVVedtion:masterfrom
Tosinibikunle wants to merge 1 commit intoVictorVVedtion:masterfrom
Conversation
This document outlines strict operational boundaries and workflows for AI assistants and contributors in a Django REST Framework project, highlighting critical areas that require careful handling.
Owner
|
Thanks for the Django/DRF example @Tosinibikunle — the content quality is excellent, especially the auth/payments/migrations DANGER ZONES. However, there's a compatibility issue with the Ouro Loop framework parser. What the parser expects (see ## BOUND
### DANGER ZONES
- `accounts/` — Django auth app, never modify without security review
- `payments/webhooks.py` — Stripe signature verification
- `migrations/` — Applied migrations are immutable
### NEVER DO
- Never remove DRF permission classes from views
- Never hardcode secrets or API keys
- Never run `migrate --fake` without explicit instruction
### IRON LAWS
- All views must use permission classes (no AllowAny in production)
- Payment state transitions must follow the FSM
- Query optimization: select_related for FK, prefetch_related for M2MKey differences to fix:
The restructured version would work with Happy to help with the restructuring if you'd like! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This document outlines strict operational boundaries and workflows for AI assistants and contributors in a Django REST Framework project, highlighting critical areas that require careful handling.
Fixes #4