docs: add Claude AI assistant rules and configuration
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 45s
CVE Scan & Docker Build / build-and-push (push) Successful in 1m53s

Add comprehensive rule documentation for AI-assisted development covering
authentication surfaces, outbound-call safety invariants, and other project
conventions to guide Claude's understanding of critical system behaviors.
This commit is contained in:
2026-07-28 19:01:38 -04:00
parent 016d8be71d
commit 4a3c14d4af
40 changed files with 2851 additions and 202 deletions

View File

@@ -9,7 +9,6 @@ through the shared data layer in services/call_persistence.py.
import httpx
import pytest
from pydantic import SecretStr
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
from sqlalchemy.pool import StaticPool
@@ -116,7 +115,9 @@ class TestInboundPolicy:
@pytest.fixture
async def client(monkeypatch):
monkeypatch.setattr(get_settings(), "api_token", SecretStr(""))
# Dev-owner mode: tokenless requests resolve to the owner. auth's DB
# session comes through the same get_db override below.
monkeypatch.setattr(get_settings().casdoor, "enabled", False)
engine = create_async_engine(
"sqlite+aiosqlite:///:memory:",