feat: add .agentrules with project-specific AI guardrails
This commit is contained in:
parent
2264612e23
commit
53e10fbf2e
1 changed files with 17 additions and 0 deletions
17
.agentrules
Normal file
17
.agentrules
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: AGENTS.md — pryscraper
|
||||
repo: backend
|
||||
stack: Python 3.12 + FastAPI + Docker
|
||||
domain: pryscraper.rugmunch.io
|
||||
deploy: Docker on Talos (/srv/pry/)
|
||||
status: active
|
||||
---
|
||||
|
||||
## Rules
|
||||
1. No bare except — use specific exceptions or except Exception
|
||||
2. No sync I/O in async routes — use httpx.AsyncClient
|
||||
3. All public API routes must have type hints and docstrings
|
||||
4. Dual licensed: MIT (core) + BSL 1.1 (stealth)
|
||||
5. MCP tools must be typed and documented
|
||||
6. No hardcoded credentials — use gopass or env vars
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue