From 53e10fbf2e57e72023f6d8d365175f8f70f01a8d Mon Sep 17 00:00:00 2001 From: cryptorugmunch Date: Thu, 9 Jul 2026 15:06:09 +0200 Subject: [PATCH] feat: add .agentrules with project-specific AI guardrails --- .agentrules | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .agentrules diff --git a/.agentrules b/.agentrules new file mode 100644 index 0000000..e815ce7 --- /dev/null +++ b/.agentrules @@ -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 +