Services depend only on src/core/ports: async with self.uow is one transaction, commit is explicit, leaving without it rolls back. A connection is held per step, the JSON routers keep a shared request deadline, and rollback runs under the block deadline. Adds service-tests with fakes, a repo contract run on both the fake and SQL, and make service_test / service_test_db. API, schema and settings are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
45 lines
565 B
Plaintext
45 lines
565 B
Plaintext
.git
|
|
.github
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
secrets
|
|
certs
|
|
volumes
|
|
data
|
|
backups
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
.venv
|
|
__pycache__
|
|
node_modules
|
|
evidence
|
|
.DS_Store
|
|
|
|
# свои: Dockerfile копирует только pyproject.toml, uv.lock, src/,
|
|
# alembic.ini и migrations/
|
|
# паттерн без **/ действует только в корне контекста
|
|
**/__pycache__
|
|
**/*.py[cod]
|
|
**/.DS_Store
|
|
config.toml
|
|
.claude
|
|
openspec
|
|
graphify-out
|
|
tests
|
|
student-tests
|
|
service-tests
|
|
bench
|
|
contracts
|
|
scripts
|
|
examples
|
|
infra
|
|
*.md
|
|
Makefile
|
|
.ruff_cache
|
|
.idea
|
|
.python-version
|