core-framework 5.0.0__tar.gz → 6.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- core_framework-6.0.0/.agents/skills.json +11 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/error-boundary.mdc +1 -1
- core_framework-6.0.0/.cursor/skills/sync-host-rules/SKILL.md +85 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/ci/package_smoke.py +49 -7
- {core_framework-5.0.0 → core_framework-6.0.0}/CHANGELOG.md +51 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/PKG-INFO +2 -3
- core_framework-6.0.0/alembic/user/alembic/versions/a7893e6ed9c3_user_add_email_baselines.py +57 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/cache/router.py +11 -1
- core_framework-6.0.0/core_framework/api/admin/cache/schemas.py +124 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/auth/router.py +5 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/auth/schemas.py +4 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/dependencies.py +2 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/events/router.py +10 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/system/router.py +6 -9
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/shared/schemas.py +3 -8
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/auth/access_service.py +4 -8
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/auth/auth_service.py +9 -5
- core_framework-6.0.0/core_framework/application/auth/token_verification.py +18 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/bootstrap.py +2 -2
- core_framework-6.0.0/core_framework/application/cache/invalidate_service.py +83 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/cache/models.py +4 -6
- core_framework-6.0.0/core_framework/application/cache/registry.py +181 -0
- core_framework-6.0.0/core_framework/application/cache/repopulate_service.py +81 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/webhook_service.py +6 -12
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/README.md +11 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/event_service.py +50 -15
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/avatar_service.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/banner_service.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/appeal_service.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/user_service.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/enums.py +1 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/client_ingest.py +32 -33
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/account_removal/contributors.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/account_removal/runner.py +1 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/admin_service.py +2 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/authenticated_service.py +2 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/public_service.py +5 -17
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/__init__.py +8 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/exception_handlers/setup.py +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/observability/__init__.py +1 -1
- core_framework-6.0.0/core_framework/core/redis/__init__.py +114 -0
- core_framework-6.0.0/core_framework/core/redis/cache.py +793 -0
- core_framework-6.0.0/core_framework/core/redis/client.py +375 -0
- core_framework-6.0.0/core_framework/core/redis/codecs.py +221 -0
- core_framework-6.0.0/core_framework/core/redis/dedup.py +165 -0
- core_framework-6.0.0/core_framework/core/redis/keys.py +309 -0
- core_framework-6.0.0/core_framework/core/redis/policy.py +76 -0
- core_framework-5.0.0/core_framework/core/redis.py → core_framework-6.0.0/core_framework/core/redis/queue.py +2 -0
- core_framework-6.0.0/core_framework/core/redis/quota.py +264 -0
- core_framework-6.0.0/core_framework/core/redis/rate_limit.py +352 -0
- core_framework-6.0.0/core_framework/core/redis/sets.py +250 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/runtime.py +9 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/settings.py +15 -4
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/README.md +2 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/models.py +2 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/ports/auth.py +2 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/README.md +26 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/__init__.py +3 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/constants.py +5 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/repository.py +117 -6
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/service.py +102 -7
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/utils.py +51 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/firebase/firebase_auth_adapter.py +8 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/main.py +19 -16
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/auth.py +1 -1
- core_framework-6.0.0/core_framework/testing/redis.py +606 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/main.py +4 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/__init__.py +11 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_cache_pattern_invalidation.py +3 -5
- core_framework-6.0.0/core_framework/worker/tasks/process_cache_repopulation.py +12 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/e2e-smoke-tests-design.md +7 -7
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/edge-rate-limits.md +7 -7
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/cloudflare-setup.md +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/redis-setup.md +28 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/README.md +45 -41
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/cache-invalidation-design.md +46 -12
- core_framework-6.0.0/docs/design/change-history-email-design.md +277 -0
- core_framework-6.0.0/docs/design/change-history-email-implementation.md +347 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/event-outbox-design.md +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/events-ingest-design.md +60 -41
- core_framework-6.0.0/docs/design/redis-capability-layer-design.md +1402 -0
- core_framework-6.0.0/docs/design/redis-capability-layer-implementation.md +811 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/telemetry-design.md +15 -6
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/README.md +19 -19
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/auth/access_control.md +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/auth/registration.md +4 -4
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/cache/admin_cache_invalidation.md +68 -9
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/events/events.md +27 -17
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/post-comment-attachments-design.md +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/telemetry/actions.md +9 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/account.md +2 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/admin_users.md +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/change_history.md +8 -6
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/check_username_exists.md +5 -4
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/friendship-system-design.md +5 -5
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/api.md +1 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/capability-wiring.md +51 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/core-framework-migration.md +10 -10
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/overview.md +3 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/package-api.md +185 -36
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/workers.md +5 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/architecture-decisions.md +136 -38
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/client-error-visibility.md +3 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/conventions.md +6 -5
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/database-triggers.md +23 -7
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/glossary.md +4 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/response-composition-and-caching.md +2 -2
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/reviews/slices.md +23 -23
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/todo.md +0 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/pyproject.toml +4 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/smoke/system_test.py +1 -1
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/_auth_cases.py +2 -0
- core_framework-6.0.0/tests/integration/api/admin/cache/router_test.py +712 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/entitlements/entitlement_integration_test.py +3 -3
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/rate_limit_test.py +80 -1
- core_framework-6.0.0/tests/integration/api/system/router_test.py +98 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/telemetry/router_test.py +4 -5
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/authenticated/profile_media_upload_test.py +1 -1
- core_framework-6.0.0/tests/integration/api/users/email_change_history_integration_test.py +609 -0
- core_framework-6.0.0/tests/integration/redis/capabilities_test.py +491 -0
- core_framework-6.0.0/tests/integration/redis/conftest.py +17 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/telemetry_prune_test.py +1 -1
- core_framework-6.0.0/tests/unit/api/admin/cache/admin_cache_request_schemas_test.py +79 -0
- core_framework-6.0.0/tests/unit/api/auth/auth_user_schema_test.py +78 -0
- core_framework-6.0.0/tests/unit/api/events/events_router_test.py +105 -0
- core_framework-6.0.0/tests/unit/application/auth/token_verification_test.py +104 -0
- core_framework-6.0.0/tests/unit/application/cache/invalidate_service_test.py +239 -0
- core_framework-6.0.0/tests/unit/application/cache/registry_test.py +212 -0
- core_framework-6.0.0/tests/unit/application/cache/repopulate_service_test.py +53 -0
- core_framework-6.0.0/tests/unit/application/events/event_service_test.py +459 -0
- core_framework-6.0.0/tests/unit/application/telemetry/client_ingest_test.py +94 -0
- core_framework-6.0.0/tests/unit/core/redis/cache_test.py +591 -0
- core_framework-6.0.0/tests/unit/core/redis/client_lifecycle_test.py +338 -0
- core_framework-6.0.0/tests/unit/core/redis/codecs_test.py +429 -0
- core_framework-6.0.0/tests/unit/core/redis/key_template_test.py +269 -0
- core_framework-6.0.0/tests/unit/core/redis/lifespan_order_test.py +166 -0
- core_framework-6.0.0/tests/unit/core/redis/quota_test.py +215 -0
- core_framework-6.0.0/tests/unit/core/redis/rate_limit_handler_test.py +31 -0
- core_framework-6.0.0/tests/unit/core/redis/rate_limit_test.py +347 -0
- core_framework-6.0.0/tests/unit/core/redis/sets_dedup_test.py +241 -0
- core_framework-6.0.0/tests/unit/core/redis/settings_test.py +51 -0
- core_framework-6.0.0/tests/unit/domains/user/repository_test.py +61 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/domains/user/service_test.py +109 -0
- core_framework-6.0.0/tests/unit/infrastructure/__init__.py +0 -0
- core_framework-6.0.0/tests/unit/infrastructure/firebase/firebase_auth_adapter_test.py +49 -0
- core_framework-6.0.0/tests/unit/infrastructure/media/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/uv.lock +3 -36
- core_framework-5.0.0/.cursor/skills/sync-host-rules/SKILL.md +0 -60
- core_framework-5.0.0/core_framework/api/admin/cache/schemas.py +0 -91
- core_framework-5.0.0/core_framework/application/auth/token_verification.py +0 -32
- core_framework-5.0.0/core_framework/application/cache/invalidate_service.py +0 -54
- core_framework-5.0.0/core_framework/core/cache.py +0 -229
- core_framework-5.0.0/core_framework/core/rate_limit.py +0 -354
- core_framework-5.0.0/tests/integration/api/admin/cache/router_test.py +0 -310
- core_framework-5.0.0/tests/integration/api/system/router_test.py +0 -56
- core_framework-5.0.0/tests/unit/application/events/event_service_test.py +0 -230
- {core_framework-5.0.0 → core_framework-6.0.0}/.agents/skills/building-pydantic-ai-agents +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.agents/skills/fastapi +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.agents/skills/library-skills/.library-skills.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.agents/skills/library-skills/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/alembic-migrations.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/api-layer.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/api-reference-docs.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/api-validation.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/application-layer.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/constants-final.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/constitution.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/database-triggers.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/dependency-security-floors.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/docstrings.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/domain-caller-context.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/domain-imports.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/domain-input-guards.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/domain-repository-exceptions.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/domain-services-and-adapters.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/flow-documentation.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/ignore-analytics-warehouse.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/inline-raise-messages.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/integration-test-strategy.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/layer-boundaries.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/no-code-in-docs.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/no-live-migrations.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/postgres-config-conventions.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/repository-schema-isolation.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/strong-reads.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/rules/structured-logging.mdc +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/add-config/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/add-domain/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/building-pydantic-ai-agents +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/code-review/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/design-review/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/fastapi +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/grill/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/implement-feature/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/recommend-features/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.cursor/skills/write-flow-doc/SKILL.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.dockerignore +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/ci/package-lock.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/ci/package-smoke.sh +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/ci/package.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/_deploy.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/dev-ci-cd.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/manual-deployment.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/manual-observability-deployment.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/publish-pypi.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.github/workflows/test.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.gitignore +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.pre-commit-config.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/.python-version +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/LICENSE +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/versions/1a56925ef752_analytics_drop_utm_events.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/versions/2d61a5e88d76_analytics_utm_events_add_kind.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/versions/585105e1149e_analytics_add_utm_events.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/versions/5b9ac98bb150_analytics_daily_fact.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic/versions/7f2a9c1d4e8b_analytics_daily_fact_day_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/analytics/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_add_comment_attachments.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_add_comment_create_idempotency.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_add_comment_create_idempotency_created_at_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_add_comment_mentions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_subject_kind_varchar.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/comment_tombstone_status_model.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic/versions/v1_comment_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/comment/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/versions/244cc7430989_entitlement_standalone_grants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/versions/8ef1f563ccb4_entitlement_paid_grant_nullable_expiry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic/versions/b7ed2400e94e_entitlement_schema.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/entitlement/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/extension/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/extension/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/extension/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/extension/alembic/versions/v1_ext_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/extension/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/versions/media_add_attachment_staging_registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/versions/media_add_banner_staging_and_lease.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/versions/media_attachment_staging_registry_published_at.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic/versions/v1_media_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/media/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/3027828c2c80_align_dead_outbox_keyset_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/5be85718122a_moderation_add_review_reports.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/moderation_add_event_outbox.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/moderation_add_event_outbox_dead_indexes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/moderation_add_event_outbox_pending_created_at_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic/versions/v1_mod_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/moderation/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/2fdd68777706_notification_read_at_retention_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/a5f29155815d_notification_add_friendship_types.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/b1263ed1a303_notification_inbox_redesign_preview.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/c6b9941065ec_notification_add_group_invite_type.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/fbe8476b4437_notification_add_rating_owner_cue_labels.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic/versions/v1_notif_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/notification/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/0a89b4c23746_post_stats_like_created_post_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/954f00734f36_post_add_post_discovery_rank.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/b3c61daef9b5_post_add_post_bookmarks.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_add_post_attachments.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_add_post_create_idempotency.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_add_post_create_idempotency_created_at_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_add_post_mentions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_post_views_retention_high_water_mark.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/post_tombstone_status_model.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic/versions/v1_post_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/post/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic/versions/04182d734619_rating_list_indexes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic/versions/2ef924b0be4c_rating_schema.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/rating/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/telemetry/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/telemetry/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/telemetry/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/telemetry/alembic/versions/5d83ec2a6e8d_telemetry_schema.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/telemetry/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/README +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/env.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/script.py.mako +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/089f4398f943_user_add_preference_switches.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/1c8c7efde747_user_drop_legacy_telemetry_tables.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/24ba262c4ef2_user_add_account_removal_started_at.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/2dc1d398a840_user_add_groups.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/44df70a45ba6_user_add_signup_events.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/7078e4313554_user_add_friendships.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/922eece707db_align_dead_outbox_keyset_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/d438cfba40c0_user_login_events_user_created_at_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_avatar_ingest_sequences.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_banner_ingest_sequences.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_date_of_birth_to_profiles.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_event_outbox.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_event_outbox_dead_indexes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_add_event_outbox_pending_created_at_index.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/user_reserve_sentinel_user_ids.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic/versions/v1_user_init_baseline.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/alembic/user/alembic.ini +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/config.toml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/config.toml.template +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/agent/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/agent/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/analytics/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/analytics/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/analytics/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/cache/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/comments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/comments/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/comments/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/entitlements/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/moderation/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/moderation/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/moderation/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/outbox/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/outbox/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/outbox/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/posts/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/posts/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/posts/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/ratings/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/ratings/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/users/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/users/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/admin/users/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/attachments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/attachments/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/attachments/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/auth/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/authenticated/mappers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/authenticated/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/authenticated/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/public/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/public/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/comments/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/entitlements/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/entitlements/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/entitlements/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/events/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/events/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/groups/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/groups/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/idempotency/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/idempotency/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ingest_guards.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/notifications/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/notifications/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/notifications/authenticated/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/notifications/authenticated/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/notifications/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/pagination.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/authenticated/mappers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/authenticated/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/authenticated/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/public/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/public/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/posts/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ratings/authenticated/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ratings/pagination.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ratings/public/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ratings/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/ratings/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/system/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/telemetry/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/telemetry/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/telemetry/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/upload.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/authenticated/mappers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/authenticated/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/authenticated/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/public/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/public/schemas.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/router.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/shared/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/api/users/shared/mappers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/agent/probe.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/bucket_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/prune_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/read_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/refresh_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/sources/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/sources/comment_created.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/sources/post_created.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/sources/post_viewed.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/analytics/sources/user_registered.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/auth/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/auth/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/cache/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/admin_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/aggregation_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/authenticated_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/cleanup_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/host_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/kind_registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/post_subject.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/public_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/comments/rating_subject.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/email/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/email/account_deletion_scheduled.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/email/enqueue.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/email/registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/email/send.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/core_user.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/grant_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/signature.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/entitlement/sync_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/event_token.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/events/utm_capture_kinds.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/groups/authenticated_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/groups/cleanup_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/groups/group_invite_link_token.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/groups/strip_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/attachment_read.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/attachment_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/media/read_url_config.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/moderator_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/report_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/heals.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/mirrors.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/reactions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/restriction_fanout/runner.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/moderation/scheduled_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/friendship_notification_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/group_invite_notification_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/inbox_hint.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/inbox_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/inbox_type_switch.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/mute_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/notification_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/preview.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/prune_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/notifications/wipe_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/block_mirrors.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/events.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/follow_mirrors.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/handlers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/ops_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/polling_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/processing_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/outbox/restriction_mirrors.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/admin_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/aggregation_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/authenticated_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/cleanup_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/posts/public_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/admin_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/aggregation_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/authenticated_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/kind_registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/public_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/purge_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/serialization.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/ratings/subject_existence.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/deletion_cleanup_ledger.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/request_context.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/shared/worker_jobs.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/account_events.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/action_rules.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/name_registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/prune_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/telemetry/server_record.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/account_removal/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/account_removal/registry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/aggregation_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/deletion_audit.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/identity_enrichment.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/scheduled_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/application/users/user_deletion_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/asgi.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/bundled_alembic.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/client_address.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/context.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/database.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/exception_handlers/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/exception_handlers/application.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/exception_handlers/common.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/firebase.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/http_client.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/http_probes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/logging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/middleware.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/observability/contract.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/observability/logfire.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/observability/otlp.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/pagination.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/core/process.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/agent/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/agent/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/agent/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/agent/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/ports/activity_source.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/analytics/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/auth/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/ports/subject.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/comment/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/ports/send.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/email/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/ports/revenuecat.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/entitlement/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/components/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/components/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/components/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/components/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/ports/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/ports/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/ports/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/attachment/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/components/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/components/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/components/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/components/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/ports/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/ports/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/ports/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/avatar/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/components/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/components/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/components/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/components/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/ports/finals_publisher.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/ports/staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/ports/variant_encoder.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/banner/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/media/shared/utils.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/outbox_repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/outbox_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/moderation/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/ports/inbox_hint.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/notification/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/ports/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/ports/admin.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/ports/consumer.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/ports/producer.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/outbox/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/discovery_rank.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/post/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/ports/subject_existence.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/rating/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/repository_sql.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/constants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/telemetry/service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/dependencies.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/enums.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/exceptions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/group_repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/group_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/models.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/outbox_repository.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/outbox_service.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/user/outcomes.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/domains/utils.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/agent/anthropic_agent_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/agent/openai_agent_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/email/resend_email_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/firebase/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/attachment_staging_display_geometry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/local_attachment_staging_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/local_avatar_staging_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/local_banner_staging_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/pillow_attachment_variant_encoder_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/pillow_avatar_variant_encoder_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/pillow_banner_variant_encoder_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/pillow_staging_image.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/ssh_attachment_finals_publisher_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/ssh_banner_finals_publisher_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/ssh_finals_publisher_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/media/staging_paths.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/notification/redis_inbox_hint_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/outbox/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/outbox/outbox_consumer_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/outbox/outbox_producer_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/infrastructure/revenuecat/revenuecat_entitlement_adapter.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/migrate_cli.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/py.typed +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/arq.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/blockbuster.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/config.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/containers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/firebase.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/firebase_identity_toolkit.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/hookspecs.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/httpx_test_client.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/media.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/migrations.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/testing/plugin.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/analytics_refresh_cron.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_aggregate_comment_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_aggregate_post_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_aggregate_rating_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_aggregate_rating_subject_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_aggregate_user_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_expired_account_deletions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_expired_mute_lifts.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_poll_outbox.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_prune_analytics_daily_facts.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_prune_post_views.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_prune_read_notifications.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_prune_telemetry.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_purge_expired_create_idempotency_keys.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_purge_expired_group_invites.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_refresh_analytics.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_restriction_heals.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_sweep_stale_attachment_staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_sweep_stale_avatar_staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/schedules/schedule_sweep_stale_banner_staging.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/delete_attachment_finals.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/delete_superseded_avatar_finals.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/delete_superseded_banner_finals.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_account_deletion.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_account_deletion_scheduled_email.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_admin_user_deletion.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_aggregate_comment_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_aggregate_post_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_aggregate_rating_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_aggregate_rating_subject_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_aggregate_user_stats.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_attachment_asset_variants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_banner_asset_variants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_block_notification_wipe.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_comment_tombstone_cleanup.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_destructive_comment_delete.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_destructive_post_delete.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_friendship_pair_notification_wipe.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_group_invite_notification_wipe.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_media_asset_variants.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_mute_lift.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_outbox_row.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_post_private_notification_wipe.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_post_tombstone_cleanup.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_refresh_analytics_bucket.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_restriction_reactions.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_transactional_email.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/tasks/process_user_content_deletion.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/core_framework/worker/worker_context.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/app/docker-compose.dev.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/app/docker-compose.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/app/dockerfile +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/.env.example +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/docker-compose.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/dashboards/application/api-http.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/dashboards/application/worker-jobs.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/dashboards/infrastructure/node-exporter.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/dashboards/infrastructure/postgres-exporter.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/dashboards/infrastructure/redis-exporter.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/provisioning/dashboards/dashboards.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/grafana/provisioning/datasources/datasources.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/loki.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/otel-collector-config.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/prometheus.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets/node/.gitkeep +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets/postgres/.gitkeep +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets/redis/.gitkeep +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets.default/node.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets.default/postgres.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets.default/redis.yml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/targets.example/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/deploy/observability/tempo.yaml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/deploy-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/edge-upload-limits.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/examples/Caddyfile.example +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/examples/Caddyfile.observability.example +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/examples/image-server-known-hosts.example +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/playbook/api-concurrency-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/playbook/postgres-backup-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/playbook/py-spy-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/app-server-deploy-ssh.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/caddy-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/image-server-ssh.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/observability-lgtm-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/postgres-backup-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/postgres-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/py-spy-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/guides/setup/ubuntu-server-setup.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/host-config-defaults-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/host-config-defaults-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/postgres-backup-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/deployments/release-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/account-removal-spine-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/account-removal-spine-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/analytics-rollup-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/analytics-warehouse-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/bookmark-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/comment-subject-kinds-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/create-idempotency-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/entitlement-admin-sync-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/entitlement-admin-sync-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/entitlement-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/entitlement-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/list-sort-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/list-sort-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/media-cpu-off-api-refactor.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/media-storage-topology.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/model-call-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/model-call-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/moderation-restriction-fanout-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/moderation-restriction-fanout-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/moderator-surfaces-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/moderator-surfaces-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/observability-backend-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/observability-lgtm-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/outbox-admin-ops-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/preference-enhancement-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/preference-enhancement-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/rating-implementation-plan.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/rating-thread-owner-cue-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/rating-thread-owner-cue-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/restriction-and-block-visibility-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/restriction-and-block-visibility-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/standalone-tier-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/standalone-tier-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/telemetry-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/transactional-email-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/design/utm-events-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/agent/model_call_probe.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/analytics/admin_analytics_reads.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/admin_comments.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/comment_like.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/comment_report.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/comment_stats_aggregation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/create_comment.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/delete_comment.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/edit_comment.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/comments/retrieve_comments.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/deletion/comments.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/deletion/overview.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/deletion/posts.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/deletion/ratings.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/deletion/users.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/entitlement/entitlements.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/attachment_upload.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/avatar-upload-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/banner-upload-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/upload-pipeline-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/media/upload_pipeline.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/mentions/mentions_in_content.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/appeals.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/internal_notes.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/moderator_actions.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/reports.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/moderation/restrictions.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/notifications/inbox-hint-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/notifications/inbox-hint-implementation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/notifications/inbox-redesign-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/notifications/notification_inbox.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/outbox/admin_outbox_ops.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/admin_posts.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/author_context.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/bookmark-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/bookmark.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/create_post.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/delete_post.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/edit_post.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/hashtag_discovery.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/post_like.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/post_report.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/post_stats_aggregation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/post_visibility.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/posts/retrieve_posts.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/admin_ratings.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/delete_rating.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/edit_rating.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/rating-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/rating_report.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/rating_stats_aggregation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/rating_upvote.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/retrieve_ratings.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/ratings/upsert_rating.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/account_deletion.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/avatar.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/banner.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/blocks.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/follow-system-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/follow.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/friendship.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/groups-system-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/groups.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/login-history-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/login_history.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/my_posts_and_comments.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/preferences.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/profile.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/public_profile.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/user_removal.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/user_stats_aggregation.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/domains/users/username_suggest.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/library/testing-plugin-design.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/domain-services-and-adapters.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/layers-and-boundaries.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/platform/patch-update-typed-payload.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/reviews/README.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/reviews/log.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/reviews/review-playbook.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/docs/testing.md +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/firebase_config.example.json +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/makefile +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tach.toml +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/conftest.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/_auth.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/_canaries.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/_media.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/_settings.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/_upload_payloads.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/conftest.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/media/pipeline_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/smoke/agent_probe_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/smoke/canary_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/smoke/media_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/e2e/smoke/tls_host_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/_http_error_details.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/_poll.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/analytics/_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_auth_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_destructive_delete_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_http_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_outbox_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_user_deletion_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/_user_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/analytics/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/analytics/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/cache/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/comments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/comments/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/moderation/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/moderation/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/moderator_surfaces_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/outbox/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/outbox/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/posts/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/posts/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/users/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/admin/users/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/attachments/_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/attachments/attachment_upload_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/attachments/conftest.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/auth/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/auth/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/authenticated/comment_writes_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/comment_attachments_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/comment_kind_registry_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/public/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/comments/rating_comment_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/create_idempotency_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/events/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/groups/groups_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/list_sort_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/media/ingest_contract_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/mentions/mentions_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/notifications/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/notifications/inbox_hint_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/notifications/inbox_redesign_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/notifications/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/authenticated/post_writes_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/bookmark_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/comment_count_aggregation_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/followers_visibility_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/post_attachments_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/post_deletion_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/post_stats_dirty_marking_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/posts/public/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/public_read_by_id_unavailable_detail_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/ratings/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/ratings/_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/ratings/conftest.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/ratings/ratings_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/ratings/ratings_visibility_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/restriction_visibility_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/system/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/telemetry/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/telemetry/_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/account_deletion_email_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/authenticated/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/authenticated/friendship_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/authenticated/preference_switches_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/authenticated/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/deletion_audit_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/public/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/public/router_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/api/users/user_deletion_integration_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/conftest.py +0 -0
- {core_framework-5.0.0/tests/integration/worker → core_framework-6.0.0/tests/integration/redis}/__init__.py +0 -0
- {core_framework-5.0.0/tests/unit → core_framework-6.0.0/tests/integration/worker}/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/_aggregate_stats_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/_arq_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/_media_upload_helpers.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/account_deletion_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/aggregate_comment_stats_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/aggregate_post_stats_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/aggregate_rating_stats_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/aggregate_user_stats_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/analytics_prune_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/analytics_refresh_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/attachment_upload_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/conftest.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/create_idempotency_retention_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/expired_group_invite_purge_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/moderation_outbox_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/mute_lift_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/profile_media_upload_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/read_notifications_retention_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/restriction_fanout_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/stale_staging_sweep_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/integration/worker/user_outbox_test.py +0 -0
- {core_framework-5.0.0/tests/unit/application/comments → core_framework-6.0.0/tests/unit}/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/api/comments/authenticated/comment_request_schemas_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/api/dedupe_preserving_order_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/api/posts/authenticated/post_update_mapper_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/api/ratings/review_pagination_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/api/users/profile_update_mapper_test.py +0 -0
- {core_framework-5.0.0/tests/unit/domains → core_framework-6.0.0/tests/unit/application/cache}/__init__.py +0 -0
- {core_framework-5.0.0/tests/unit/domains/comment → core_framework-6.0.0/tests/unit/application/comments}/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/comments/kind_registry_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/email/account_deletion_scheduled_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/moderation/restriction_fanout_registry_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/notifications/preview_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/ratings/kind_registry_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/shared/request_context_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/telemetry/name_registry_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/telemetry/server_record_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/users/account_removal_registry_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/users/account_removal_runner_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/application/users/deletion_audit_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/core/bundled_alembic_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/core/cors_origin_fill_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/core/migrate_cli_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/core/pagination_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/docs/_api_reference.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/docs/api_routes_test.py +0 -0
- {core_framework-5.0.0/tests/unit/infrastructure → core_framework-6.0.0/tests/unit/domains}/__init__.py +0 -0
- {core_framework-5.0.0/tests/unit/infrastructure/media → core_framework-6.0.0/tests/unit/domains/comment}/__init__.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/domains/post/models_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/infrastructure/media/ssh_finals_publisher_adapter_test.py +0 -0
- {core_framework-5.0.0 → core_framework-6.0.0}/tests/unit/worker/tasks_registration_test.py +0 -0
|
@@ -31,7 +31,7 @@ Platform contract: **`docs/platform/client-error-visibility.md`**. Domain import
|
|
|
31
31
|
## Handler registration
|
|
32
32
|
|
|
33
33
|
- Use **`register_exception_handler`** from **`core_framework.core.exception_handlers.common`** — not raw **`app.add_exception_handler`** elsewhere.
|
|
34
|
-
- Register handlers in **`core_framework/core/exception_handlers/setup.py`** and **`application.py`**: application types (specific before any base), **`InvalidPageTokenError`**,
|
|
34
|
+
- Register handlers in **`core_framework/core/exception_handlers/setup.py`** and **`application.py`**: application types (specific before any base), **`InvalidPageTokenError`**, core **`RateLimitError`** from **`core_framework.core.redis`** (**429**), **`DomainValidationError`**, one **`BaseDomainException`** leak handler, then **`Exception`** unmapped.
|
|
35
35
|
- No per-domain handler modules for typed exceptions. Handlers translate only — no business logic or repository calls.
|
|
36
36
|
- Do not log **error** for expected application 4xx; **`DomainValidationError`** at **warning**/**info**.
|
|
37
37
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sync-host-rules
|
|
3
|
+
description: Sync core-framework rules, skills, and platform docs to consuming host applications. Use when the user asks to sync rules to a host, bump core-framework in a host, upgrade a host dependency, or port shared cursor/docs content.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Sync Host Rules and Docs
|
|
7
|
+
|
|
8
|
+
Consuming applications embed **core-framework** as a dependency.
|
|
9
|
+
|
|
10
|
+
## Default (core-framework work)
|
|
11
|
+
|
|
12
|
+
When changing **core-framework** code, migrations, tests, or **`docs/`**:
|
|
13
|
+
|
|
14
|
+
- **Do not** edit host repos in the same task.
|
|
15
|
+
- **Do not** port **`docs/platform/`**, **`docs/design/`**, **`docs/deployments/`**, **`.cursor/rules/`**, or **`.cursor/skills/`** to hosts proactively.
|
|
16
|
+
- Mention that host sync is **deferred until the host bumps its core-framework version** (unless the user asked otherwise).
|
|
17
|
+
|
|
18
|
+
## When host changes are allowed
|
|
19
|
+
|
|
20
|
+
1. User explicitly scopes work to a host repo.
|
|
21
|
+
1. User explicitly asks to sync or upgrade the core dependency in a host.
|
|
22
|
+
1. You are editing a host repo directly — follow that repo's rules.
|
|
23
|
+
|
|
24
|
+
## Sync procedure
|
|
25
|
+
|
|
26
|
+
Diff by **basename** against the host's **`.cursor/`** and applicable **`docs/`** paths. Port shared content and **adapt**:
|
|
27
|
+
|
|
28
|
+
- globs: **`core_framework/**`** → host source tree where applicable
|
|
29
|
+
- imports: **`core_framework....`** → host package prefix
|
|
30
|
+
- strong reads: **`strong-reads`** → host equivalent rule if present
|
|
31
|
+
|
|
32
|
+
**Do not overwrite** host-only rules, skills, or product docs.
|
|
33
|
+
|
|
34
|
+
### Transactional email (when the bumped core ships it)
|
|
35
|
+
|
|
36
|
+
Remind the host (via upgrade notes / playbook, not code changes here):
|
|
37
|
+
|
|
38
|
+
1. Put **`register_email_content`** in the **same** shared host bootstrap helper API and worker already call — worker is load-bearing.
|
|
39
|
+
1. Register branded renderers **before** **`EMAIL_ENABLED=true`** (core default deletion copy is generic English).
|
|
40
|
+
1. Do **not** **`enqueue_transactional_email`** for **`account_deletion_scheduled`** unless the host re-implements gated checks — use the core gated task.
|
|
41
|
+
|
|
42
|
+
### Redis capability layer (when the bumped core ships `6.0.0` or later)
|
|
43
|
+
|
|
44
|
+
Remind the host (via upgrade notes / playbook, not code changes here). Full contract:
|
|
45
|
+
**`docs/library/package-api.md`** → *Host upgrade (6.0.0 — Redis capability layer)*;
|
|
46
|
+
checklist: **`CHANGELOG.md`** → *Host upgrade checklist*.
|
|
47
|
+
|
|
48
|
+
1. Move every **`core_framework.core.cache`** and **`core_framework.core.rate_limit`** import to **`core_framework.core.redis`** (or the **`core_framework.core`** convenience re-exports). Both old modules are deleted with no shim.
|
|
49
|
+
1. In a custom worker, replace **`init_cashews_backend`** / **`close_cashews_backend`** with **`runtime.redis_cache.connect()`** / **`disconnect()`**, and disconnect **first**. A host that reuses the stock core `startup` / `shutdown` already does this.
|
|
50
|
+
1. **`cashews`** and **`mashumaro`** are no longer core dependencies. Host code that imported either as transitive core dependencies must declare it in the host's own **`pyproject.toml`** or migrate that code to **`core_framework.core.redis`**. The choice is host-specific — record it in the host's design docs, not here. Keeping `cashews` requires the host to own the lifecycle too: core no longer calls `cache.setup(...)`, `init()`, or `close()`, so the host must run `cache.setup(...)` and `init()` before first use and `close()` on shutdown; without host-owned `cache.setup(...)`, `cashews` silently runs disabled (every read misses and writes no-op) rather than failing loudly.
|
|
51
|
+
1. Rename **`cashews_cache_status`** to **`redis_cache_status`** in readiness consumers: probes, alerts, dashboards, and any smoke or integration assertion. This is a wire contract change, so a grep of the host tree is not enough — check deploy and monitoring config too.
|
|
52
|
+
1. Catch the core-owned **`RateLimitError`** where the host caught the third-party type, and move host **`@rate_limit(key=...)`** templates to an unprefixed host namespace (**`cf`** and the capability tags are rejected; an existing `cashews:` namespace stays valid).
|
|
53
|
+
1. Replace **`cashews.cache`** test monkeypatches with **`core_framework.testing.redis`** (`NullRedisClient`, `FakeRedisClient`, `override_redis_cache`).
|
|
54
|
+
1. Confirm the host **`[redis]`** config satisfies the new **`RedisConfig`** guard: **`cache_db`** and **`queue_db`** non-negative and distinct. Check tracked **`config.toml`**, deploy templates, and env overlays.
|
|
55
|
+
1. Optional: register host admin cache resources on **API and worker** after **`configure_core_framework_runtime`**. An API-only registration leaves the worker unable to resolve the resource, so pattern and repopulation jobs fail terminally.
|
|
56
|
+
1. Port **`docs/design/redis-capability-layer-*.md`** and **`docs/deployments/guides/setup/redis-setup.md`** in the same upgrade. The ops cutover below lives there.
|
|
57
|
+
|
|
58
|
+
Operator cutover. **Roll forward only** — there is no supported downgrade once the API and worker run the new major, so plan this as one way:
|
|
59
|
+
|
|
60
|
+
1. Set production Redis **`maxmemory-policy`** to **`volatile-lru`** (or **`noeviction`**) before deploying. **`allkeys-lru`** (or any other `allkeys-*` policy) silently drops the TTL-less `taken_usernames` set.
|
|
61
|
+
1. Deploy the API and the worker together. While any prior-major replica runs, its post-commit invalidation only deletes old-style keys, so new `cache:cf:` entries can stay stale until the 86,400 s (±5% jitter, up to ~25.2 h) hard TTL (SWR refreshes start after the 60,480 s ± 5% early TTL, the triggering read still returns the stale value, and deleted-account entries are not overwritten by SWR).
|
|
62
|
+
1. After the last prior-major worker has stopped, run **`POST /admin/cache/repopulate`** for **`taken_usernames`**. A prior-major worker that takes the job fails it as function-not-found and keeps the result key for 3,600 s, so later requests return **202** without enqueueing until it expires or is deleted. Skipping this leaves the set empty, so **`GET /users/usernames/exists`** reports every username as available.
|
|
63
|
+
1. After the last prior-major process has stopped, run **`POST /admin/cache/invalidate-pattern`** for **`user_detail_v2`** and again for **`user_public_profile`**, each with an empty `params` object. **`user_stats_v2`** expires within five minutes and needs no flush.
|
|
64
|
+
1. Never use **`FLUSHDB`**. It also drops **`set:cf:taken_usernames`** and resets live `rl:`, `quota:`, and `dedup:` counters.
|
|
65
|
+
1. Verify before closing the change: **`GET /readiness`** reports **`redis_cache_status`** as **`OK`**, a known-taken handle reports as taken, and the repopulate job logged a non-zero item count.
|
|
66
|
+
|
|
67
|
+
### `docs/deployments/guides/` layout
|
|
68
|
+
|
|
69
|
+
Core walkthroughs live under **`docs/deployments/guides/setup/`** (one-time install) and **`docs/deployments/guides/playbook/`** (ops / incident runbooks) — not a flat **`guides/`** directory.
|
|
70
|
+
|
|
71
|
+
When syncing **`docs/deployments/`** to a host:
|
|
72
|
+
|
|
73
|
+
1. **Match the directory layout** — create **`guides/setup/`** and **`guides/playbook/`** on the host; move or rewrite files into those paths. Do **not** leave stale flat **`guides/*.md`** copies beside the new tree.
|
|
74
|
+
1. **Basename alone is not enough** — a host may still have **`guides/ubuntu-server-setup.md`** while core has **`guides/setup/ubuntu-server-setup.md`**. Diff by relative path under **`docs/deployments/`**, then port.
|
|
75
|
+
1. **Renames** — e.g. **`postgres-backup-ops.md`** → **`guides/playbook/postgres-backup-playbook.md`**. Delete the old host path after porting.
|
|
76
|
+
1. **Adapt host paths** in playbooks (Compose project dir, image names, **`app_configs/<host>/`**) — keep Henry-specific notes in host **`deploy-playbook.md`** / **`release-playbook.md`**.
|
|
77
|
+
|
|
78
|
+
## Docs boundaries
|
|
79
|
+
|
|
80
|
+
**Core `docs/` must stay host-agnostic** — no references to specific consuming applications.
|
|
81
|
+
|
|
82
|
+
| Core path | Host behavior |
|
|
83
|
+
| ----------------------------------------------------------------- | ------------------------------------------------------------- |
|
|
84
|
+
| **`docs/platform/`**, **`docs/design/`**, **`docs/deployments/`** | Sync on dependency upgrade or explicit sync request |
|
|
85
|
+
| **`docs/domains/`**, **`docs/library/`** | Canonical in core only — do not mirror product trees to hosts |
|
|
@@ -41,6 +41,7 @@ def smoke_core() -> None:
|
|
|
41
41
|
configure_application_dependencies,
|
|
42
42
|
configure_core_framework_runtime,
|
|
43
43
|
)
|
|
44
|
+
from core_framework.application.cache.registry import register_admin_cache_resource
|
|
44
45
|
from core_framework.application.comments import (
|
|
45
46
|
destructively_delete_comments_for_subjects,
|
|
46
47
|
register_comment_kind,
|
|
@@ -70,14 +71,16 @@ def smoke_core() -> None:
|
|
|
70
71
|
)
|
|
71
72
|
from core_framework.bundled_alembic import alembic_ini_path, bundled_alembic_root, iter_alembic_ini_paths
|
|
72
73
|
from core_framework.core import (
|
|
74
|
+
CacheKey,
|
|
75
|
+
RateLimitError,
|
|
73
76
|
RateLimitKey,
|
|
74
77
|
clear_all_rate_limit_counters,
|
|
75
78
|
clear_rate_limit_counters,
|
|
76
79
|
configure_core_runtime,
|
|
77
80
|
rate_limit,
|
|
81
|
+
redis_cache,
|
|
78
82
|
seed_rate_limit_counters,
|
|
79
83
|
)
|
|
80
|
-
from core_framework.core.cache import CacheKey, close_cashews_backend, init_cashews_backend
|
|
81
84
|
from core_framework.core.database import Postgres
|
|
82
85
|
from core_framework.core.exception_handlers import setup_exception_handlers
|
|
83
86
|
from core_framework.core.exception_handlers.common import (
|
|
@@ -103,6 +106,26 @@ def smoke_core() -> None:
|
|
|
103
106
|
encode_datetime_page_token,
|
|
104
107
|
encode_username_page_token,
|
|
105
108
|
)
|
|
109
|
+
from core_framework.core.redis import (
|
|
110
|
+
CACHE_ALL,
|
|
111
|
+
TAKEN_USERNAMES,
|
|
112
|
+
CacheSpec,
|
|
113
|
+
DedupMarker,
|
|
114
|
+
FailurePolicy,
|
|
115
|
+
QuotaCounter,
|
|
116
|
+
QuotaReserveOutcome,
|
|
117
|
+
RedisClient,
|
|
118
|
+
RedisSet,
|
|
119
|
+
cached,
|
|
120
|
+
cached_early,
|
|
121
|
+
invalidate_cache,
|
|
122
|
+
invalidate_cache_best_effort,
|
|
123
|
+
invalidate_cache_pattern,
|
|
124
|
+
)
|
|
125
|
+
from core_framework.core.redis import CacheKey as CapabilityCacheKey
|
|
126
|
+
from core_framework.core.redis import RateLimitError as CapabilityRateLimitError
|
|
127
|
+
from core_framework.core.redis import RateLimitKey as CapabilityRateLimitKey
|
|
128
|
+
from core_framework.core.redis import rate_limit as capability_rate_limit
|
|
106
129
|
from core_framework.core.runtime import CoreRuntime, build_core_runtime, unconfigured_dependency
|
|
107
130
|
from core_framework.core.settings import PostgresSchemasConfig, RetentionConfig, Settings, load_default_settings
|
|
108
131
|
from core_framework.domains.analytics import ActivityCount, ActivitySourcePort
|
|
@@ -218,9 +241,30 @@ def smoke_core() -> None:
|
|
|
218
241
|
assert shutdown_observability is not None
|
|
219
242
|
assert rate_limit is not None
|
|
220
243
|
assert RateLimitKey is not None
|
|
244
|
+
assert RateLimitError is not None
|
|
245
|
+
assert RateLimitError is CapabilityRateLimitError
|
|
246
|
+
assert RateLimitKey is CapabilityRateLimitKey
|
|
247
|
+
assert rate_limit is capability_rate_limit
|
|
248
|
+
assert redis_cache is not None
|
|
221
249
|
assert clear_rate_limit_counters is not None
|
|
222
250
|
assert clear_all_rate_limit_counters is not None
|
|
223
251
|
assert seed_rate_limit_counters is not None
|
|
252
|
+
assert CacheKey is CapabilityCacheKey
|
|
253
|
+
assert CacheSpec is not None
|
|
254
|
+
assert RedisClient is not None
|
|
255
|
+
assert RedisSet is not None
|
|
256
|
+
assert TAKEN_USERNAMES is not None
|
|
257
|
+
assert DedupMarker is not None
|
|
258
|
+
assert QuotaCounter is not None
|
|
259
|
+
assert QuotaReserveOutcome is not None
|
|
260
|
+
assert CACHE_ALL is not None
|
|
261
|
+
assert cached is not None
|
|
262
|
+
assert cached_early is not None
|
|
263
|
+
assert invalidate_cache is not None
|
|
264
|
+
assert invalidate_cache_best_effort is not None
|
|
265
|
+
assert invalidate_cache_pattern is not None
|
|
266
|
+
assert FailurePolicy is not None
|
|
267
|
+
assert register_admin_cache_resource is not None
|
|
224
268
|
assert OffsetQueryParams is not None
|
|
225
269
|
assert PaginationCursorType is not None
|
|
226
270
|
assert PaginationResponse is not None
|
|
@@ -234,12 +278,6 @@ def smoke_core() -> None:
|
|
|
234
278
|
assert decode_datetime_page_token is not None
|
|
235
279
|
assert encode_username_page_token is not None
|
|
236
280
|
assert decode_username_page_token is not None
|
|
237
|
-
assert init_cashews_backend is not None
|
|
238
|
-
assert close_cashews_backend is not None
|
|
239
|
-
assert CacheKey.USER_DETAIL_V2 is not None
|
|
240
|
-
assert CacheKey.USER_STATS_V2 is not None
|
|
241
|
-
assert CacheKey.USER_PUBLIC_PROFILE is not None
|
|
242
|
-
assert CacheKey.TAKEN_USERNAMES is not None
|
|
243
281
|
assert init_firebase is not None
|
|
244
282
|
assert enqueue_job is not None
|
|
245
283
|
assert enqueue_from_worker is not None
|
|
@@ -275,6 +313,7 @@ def smoke_testing() -> None:
|
|
|
275
313
|
minimal_png_bytes,
|
|
276
314
|
reconfigure_media_for_testing,
|
|
277
315
|
)
|
|
316
|
+
from core_framework.testing.redis import FakeRedisClient, NullRedisClient, override_redis_cache
|
|
278
317
|
|
|
279
318
|
assert TestConfig is not None
|
|
280
319
|
assert create_firebase_user_token is not None
|
|
@@ -289,6 +328,9 @@ def smoke_testing() -> None:
|
|
|
289
328
|
assert avatar_upload_files is not None
|
|
290
329
|
assert banner_upload_files is not None
|
|
291
330
|
assert attachment_upload_files is not None
|
|
331
|
+
assert NullRedisClient is not None
|
|
332
|
+
assert FakeRedisClient is not None
|
|
333
|
+
assert override_redis_cache is not None
|
|
292
334
|
|
|
293
335
|
|
|
294
336
|
def main() -> None:
|
|
@@ -4,6 +4,55 @@ Notable changes to **core-framework** (import **`core_framework`**). Format foll
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [6.0.0] - 2026-11-27
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **Redis capability layer:** core-framework owns a direct `redis-py` (`redis.asyncio`) capability layer under `core_framework/core/redis/`, replacing `cashews[redis]` and the unused `mashumaro[orjson]`. It has three tiers: a runtime substrate (`RedisClient` on `CoreRuntime.redis_cache` on `settings.redis.cache_db`, key templates, typed JSON codecs, explicit failure policies), typed primitives, and signature-preserving decorators.
|
|
12
|
+
- **`CoreRuntime.redis_cache`:** a managed cache client on DB `0` that connects in the API lifespan and standalone worker startup, and disconnects **first** on teardown — cancelling and draining stale-while-revalidate refreshes within a **2.0s** cap before the Postgres pools, queue, HTTP client, agent and inbox-hint clients, and observability providers close. Every capability raises `RuntimeError` when the client is unconfigured or disconnected, including on fail-open paths. Hot-path commands use `1.0s` connect/socket timeouts, `50` pooled connections, and zero per-command retries. Lua scripts are rebound on every `connect()`.
|
|
13
|
+
- **Caching:** `CacheSpec`, `CacheKey`, `CacheStore`, `@cached`, `@cached_early`, `CACHE_ALL`, and split exact/pattern invalidation (`invalidate_cache`, `invalidate_cache_best_effort`, `invalidate_cache_pattern`). Structured values are typed JSON through `pydantic.TypeAdapter` — unsigned `pickle` is gone. `@cached` and `@cached_early` keep the wrapped signature, take a `key_args` extractor that fully replaces automatic parameter matching, and skip `None` results unless the caller passes `condition=CACHE_ALL`. Stale-while-revalidate writes commit through one atomic token-checked Lua script, so an invalidation that lands mid-refresh aborts the stale writeback. A failed or skipped refresh leaves its `swrlock:` key to expire, giving a 30-second cooldown.
|
|
14
|
+
- **Key grammar:** capability-first keys (`cache:`, `swrlock:`, `set:`, `rl:`, `quota:`, `dedup:`, plus future `bf:` and `lock:`) over `<capability>:<namespace>:<resource>[:<field>:{<field>}...]`. Callers pass unprefixed logical templates and constructed handles expose the full physical key or template. Bound values percent-encode `%` and `:` and are glob-escaped before a `SCAN MATCH` pattern; set members stay raw. Binding rejects `None`, `""`, and unsupported types with `ValueError`. Core reserves namespace `cf`; host constructors reject `cf` and every capability tag, while an existing `cashews` namespace stays valid.
|
|
15
|
+
- **Native sets:** `RedisSet` with `TAKEN_USERNAMES` at the TTL-less `set:cf:taken_usernames` (`SADD` on prime through `prime_taken_username_best_effort`, `SISMEMBER` on the availability read, `SREM` on exact admin invalidation, one `O(1)` `UNLINK` on a full flush), plus `DedupMarker` and `ENTITLEMENT_GRANT_REFUSED_DEDUP` for TTL-bounded presence markers.
|
|
16
|
+
- **Atomic rate limits and quotas:** `@rate_limit` runs one Lua script that increments, sets the window, self-heals a missing TTL, and applies the ban TTL; over-quota raises the core-framework `RateLimitError`. `QuotaCounter.reserve` returns `QuotaReserveOutcome` (`RESERVED`, `REJECTED`, `BYPASSED`) with `.allowed` and `.should_release`, and `release` is `EXISTS`-guarded and floored at zero. Telemetry daily ingest runs on `TELEMETRY_DAILY_QUOTA`.
|
|
17
|
+
- **Host-extensible admin cache registry:** `configure_admin_cache_resources()` seeds `user_detail_v2`, `user_public_profile`, `user_stats_v2`, and `taken_usernames`; `register_admin_cache_resource(...)` adds host `CacheSpec` / `RedisSet` resources with optional param validators and optional repopulators, registered in the shared API and worker bootstrap. Pure `validate_user_id_str` / `validate_username_str` validators live in `domains/user/utils.py` and are shared with the API schemas.
|
|
18
|
+
- **`POST /admin/cache/repopulate`:** admin-only **202**, deduplicated on `_job_id = cache_repopulate:<resource>`, enqueue errors propagate as **500**. **422** for read-through families, sets without a repopulator, the internal token-verification resource, and unknown names. Worker task `process_cache_repopulation` registers with `max_tries=1` and `keep_result=0`. The built-in `taken_usernames` repopulator pages `user.users.username` from the read replica by `user_id` and adds each page without flushing first.
|
|
19
|
+
- **Test doubles:** `core_framework.testing.redis` (the `testing` extra) ships `NullRedisClient`, `FakeRedisClient` (injectable clock, `fail()` / `clear_fault()`, `wait_for_swr_refreshes()`), and `override_redis_cache`. A double used with `@cached_early` must expose a float `now` property.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **`POST /admin/cache/invalidate-keys`** dispatches through the registry: a `CacheSpec` is deleted by exact `UNLINK` (entry plus refresh lock) and a `RedisSet` member by `SREM`. Per-item `(RedisError, OSError)` failures are logged and skipped so the batch keeps **204**; an unconfigured or disconnected client raises `RuntimeError` and becomes **500**. 0-field singleton specs accept `params: {}`.
|
|
24
|
+
- **`POST /admin/cache/invalidate-pattern`** keeps **202** and dispatches through the registry: a `CacheSpec` runs `SCAN` + batched `UNLINK` over both entry and lock keys, and a `RedisSet` flushes with one `O(1)` `UNLINK`. A full exact key and a 0-field singleton are **422**.
|
|
25
|
+
- **`GET /readiness`** renames `cashews_cache_status` to `redis_cache_status`. The probe pings `runtime.redis_cache` inside the existing **2s** cap and contributes to the 503 `app_status`; `agent_status` stays outside `service_statuses`.
|
|
26
|
+
- **Rate limits** over-quota raise the core `RateLimitError` → **429** with `GENERIC_TOO_MANY_REQUESTS_DETAIL`. Host `@rate_limit(key=...)` takes an unprefixed host-namespace template and prepends `rl:`.
|
|
27
|
+
- **`RedisConfig`** rejects negative `cache_db` / `queue_db` and `cache_db == queue_db` at Settings load time. Field defaults stay `0` / `1`.
|
|
28
|
+
|
|
29
|
+
### Breaking
|
|
30
|
+
|
|
31
|
+
- **Breaking (hosts — Redis cutover):** `cashews[redis]` and `mashumaro[orjson]` are removed, and core depends on `redis[hiredis]>=5.3.0,<6` directly. `core_framework.core.cache` and `core_framework.core.rate_limit` are deleted with no shim. `init_cashews_backend`, `close_cashews_backend`, `configure_cashews_backend`, and `api_resource_name` are gone; `runtime.redis_cache.connect()` / `disconnect()` replace them. `CacheKey.TAKEN_USERNAMES` is gone (`TAKEN_USERNAMES` is a `RedisSet`). The readiness field is `redis_cache_status`. A host that imported any of these must update on the `6.0.0` bump. No Alembic migration is required.
|
|
32
|
+
- **Breaking (operators — cutover order):** deploy the API and worker together, ensure production Redis runs `maxmemory-policy volatile-lru` (or `noeviction`), then — once the last `5.0.0` worker has stopped — run `POST /admin/cache/repopulate` for the `taken_usernames` resource. A `5.0.0` worker that takes the job fails it as function-not-found and keeps the `arq:result:cache_repopulate:taken_usernames` key for 3,600 s, so later requests return **202** without enqueueing until it expires or is deleted. After the last `5.0.0` process has stopped, also run `POST /admin/cache/invalidate-pattern` for `user_detail_v2` and again for `user_public_profile`, each with an empty `params` object: an old process's post-commit invalidation only deletes old-style keys, so a ban, mute, rename, or account removal handled there can leave a new `cache:cf:` entry stale until the 86,400 s (±5% jitter, up to ~25.2 h) hard TTL (SWR refreshes start after the 60,480 s ± 5% early TTL, the triggering read still serves the stale value, and deleted-account entries are not overwritten by SWR). Do not use `FLUSHDB` — it also drops `set:cf:taken_usernames` and resets `rl:`, `quota:`, and `dedup:` counters. See **Host upgrade — 6.0.0** in `docs/library/package-api.md`.
|
|
33
|
+
|
|
34
|
+
### Tests
|
|
35
|
+
|
|
36
|
+
- **Unit suites:** `tests/unit/core/redis/` covers `KeyTemplate` grammar, value normalization, and pattern escaping; the codecs and SWR envelopes; cache reads, write conditions, jitter, SWR cooldown and mid-refresh aborts, and exact/pattern invalidation; `RedisSet`, `DedupMarker`, and the null double; `QuotaCounter` and `QuotaReserveOutcome`; rate limiting and its test helpers; the managed client's connect/disconnect and SWR drain; `RedisConfig`; the **429** handler; and lifespan teardown order. `tests/unit/application/cache/` covers the admin registry, `invalidate_cache_targets`'s **204**-vs-**500** boundary, and repopulation failure logging. `tests/unit/application/telemetry/client_ingest_test.py` covers the quota release on a failed insert (released after `RESERVED`, never after `BYPASSED`). The codec suite round-trips every cached catalog type (`UserDetail`, `UserWithProfile`, `UserStats`, `VerifiedTokenClaims`) through both the plain and SWR-envelope encodings, and `tests/unit/api/admin/cache/` covers the admin request-schema rules for host resources (0-field singletons, custom param validators, name normalization).
|
|
37
|
+
- **Integration suites:** `tests/integration/redis/capabilities_test.py` exercises the real `redis:8` Testcontainer for the four Lua scripts (window and ban TTL, missing-TTL self-heal, atomic quota reserve/release, token-checked SWR commit), exact and pattern invalidation, raw set members, negative caching, and script survival across a reconnect. `tests/integration/api/admin/cache/` adds `POST /admin/cache/repopulate` auth, validation, dedup, and worker backfill cases.
|
|
38
|
+
|
|
39
|
+
### Host upgrade checklist (6.0.0)
|
|
40
|
+
|
|
41
|
+
**Roll forward only.** There is no supported downgrade once the API and worker run `6.0.0`. Plan the cutover as one way.
|
|
42
|
+
|
|
43
|
+
1. Remove host imports of `core_framework.core.cache`, `core_framework.core.rate_limit`, `cashews`, and `mashumaro`; import caching, sets, dedup, rate limits, and quotas from `core_framework.core.redis`.
|
|
44
|
+
1. Keep `runtime.redis_cache.connect()` / `disconnect()` symmetrical in any custom worker `on_startup` / `on_shutdown`, and disconnect it first.
|
|
45
|
+
1. Update readiness checks, alerts, and smoke tests to `redis_cache_status`.
|
|
46
|
+
1. Catch the core `RateLimitError` if the host caught the old third-party type.
|
|
47
|
+
1. Move host `@rate_limit(key=...)` templates off any old prefix requirement to an unprefixed host namespace.
|
|
48
|
+
1. Replace `cashews.cache` test monkeypatches with `core_framework.testing.redis`.
|
|
49
|
+
1. Register host admin cache resources in the shared API and worker bootstrap, after `configure_core_framework_runtime`.
|
|
50
|
+
1. Set `maxmemory-policy` to `volatile-lru` (or `noeviction`) before cutover, then run the two cutover steps above. Skipping the `taken_usernames` repopulate makes `GET /users/usernames/exists` report every username as available.
|
|
51
|
+
|
|
52
|
+
Expected after cutover, accepted rather than defects: legacy DB `0` keys (`cashews:*`, `early:v2:cashews:*`, `rate_limit:cashews:*`, and `entitlement_grant_refused:*`) are ignored and expire on their own TTL (former `cashews:taken_usernames:*` strings carry a 10-year TTL, so they linger until pruned), and rate-limit windows, entitlement-refusal dedup marks, and the current-day telemetry quota reset once as they move to `rl:cf:*`, `dedup:cf:*`, and `quota:cf:*`. Edge/WAF limits stay active through the gap.
|
|
53
|
+
|
|
54
|
+
A host that keeps `cashews` must own its lifecycle: core no longer calls `cache.setup(...)`, `init()`, or `close()`, so the host must run `cache.setup(...)` and `init()` on startup and `close()` on shutdown. Without host-owned `cache.setup(...)`, `cashews` silently runs disabled (every read misses and writes no-op) rather than failing loudly.
|
|
55
|
+
|
|
7
56
|
## [5.0.0] - 2026-11-23
|
|
8
57
|
|
|
9
58
|
### Added
|
|
@@ -901,4 +950,5 @@ First **SemVer-stable** release per **`docs/library/package-api.md`**.
|
|
|
901
950
|
[4.2.1]: https://github.com/NepNepFFXIV/core-framework/compare/v4.2.0...v4.2.1
|
|
902
951
|
[4.3.0]: https://github.com/NepNepFFXIV/core-framework/compare/v4.2.1...v4.3.0
|
|
903
952
|
[5.0.0]: https://github.com/NepNepFFXIV/core-framework/compare/v4.3.0...v5.0.0
|
|
904
|
-
[
|
|
953
|
+
[6.0.0]: https://github.com/NepNepFFXIV/core-framework/compare/v5.0.0...v6.0.0
|
|
954
|
+
[unreleased]: https://github.com/NepNepFFXIV/core-framework/compare/v6.0.0...HEAD
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: core-framework
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.0.0
|
|
4
4
|
Summary: Core framework package (import as core_framework)
|
|
5
5
|
Project-URL: Homepage, https://github.com/NepNepFFXIV/core-framework
|
|
6
6
|
Project-URL: Repository, https://github.com/NepNepFFXIV/core-framework
|
|
@@ -14,7 +14,6 @@ Requires-Dist: asyncer>=0.0.20
|
|
|
14
14
|
Requires-Dist: asyncpg>=0.32.0
|
|
15
15
|
Requires-Dist: asyncssh>=2.24.1
|
|
16
16
|
Requires-Dist: brotli-asgi>=1.7.0
|
|
17
|
-
Requires-Dist: cashews[redis]>=7.6.0
|
|
18
17
|
Requires-Dist: device-detector<6.6,>=6.5.1
|
|
19
18
|
Requires-Dist: fastapi[standard]>=0.165.0
|
|
20
19
|
Requires-Dist: firebase-admin>=7.8.0
|
|
@@ -22,7 +21,6 @@ Requires-Dist: httpx2<3,>=2.16.2
|
|
|
22
21
|
Requires-Dist: httpx[http2]>=0.28.1
|
|
23
22
|
Requires-Dist: itsdangerous>=2.2.0
|
|
24
23
|
Requires-Dist: logfire<6.1,>=6.0.0
|
|
25
|
-
Requires-Dist: mashumaro[orjson]>=3.23
|
|
26
24
|
Requires-Dist: openai<3.58,>=3.57.0
|
|
27
25
|
Requires-Dist: opentelemetry-api<1.46,>=1.45.2
|
|
28
26
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http<1.46,>=1.45.2
|
|
@@ -38,6 +36,7 @@ Requires-Dist: pillow>=13.0.0
|
|
|
38
36
|
Requires-Dist: pydantic-ai-slim[anthropic,openai]<3,>=2.71.0
|
|
39
37
|
Requires-Dist: pyinstrument>=5.1.3
|
|
40
38
|
Requires-Dist: python-ulid>=4.2.0
|
|
39
|
+
Requires-Dist: redis[hiredis]<6,>=5.3.0
|
|
41
40
|
Requires-Dist: resend[async]>=2.55.0
|
|
42
41
|
Requires-Dist: structlog>=26.1.0
|
|
43
42
|
Requires-Dist: tenacity>=9.2.1
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"""add user_email_baselines table and email change-history trigger
|
|
2
|
+
|
|
3
|
+
Revision ID: a7893e6ed9c3
|
|
4
|
+
Revises: 1c8c7efde747
|
|
5
|
+
Create Date: 2026-11-23 15:15:00.000000
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from collections.abc import Sequence
|
|
10
|
+
|
|
11
|
+
from alembic import op
|
|
12
|
+
|
|
13
|
+
revision: str = "a7893e6ed9c3"
|
|
14
|
+
down_revision: str | Sequence[str] | None = "1c8c7efde747"
|
|
15
|
+
branch_labels: str | Sequence[str] | None = None
|
|
16
|
+
depends_on: str | Sequence[str] | None = None
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def upgrade() -> None:
|
|
20
|
+
op.execute("""
|
|
21
|
+
create table user_email_baselines (
|
|
22
|
+
user_id varchar(128) primary key references users (user_id) on delete cascade,
|
|
23
|
+
email text not null,
|
|
24
|
+
token_issued_at bigint not null,
|
|
25
|
+
constraint user_email_baselines_email_non_blank check (btrim(email) <> ''),
|
|
26
|
+
constraint user_email_baselines_token_issued_at_non_negative check (token_issued_at >= 0)
|
|
27
|
+
);
|
|
28
|
+
""")
|
|
29
|
+
|
|
30
|
+
op.execute("""
|
|
31
|
+
create or replace function log_user_email_baseline_change()
|
|
32
|
+
returns trigger as $$
|
|
33
|
+
begin
|
|
34
|
+
if tg_op = 'UPDATE' and lower(new.email) is distinct from lower(old.email) then
|
|
35
|
+
execute format(
|
|
36
|
+
'insert into %I.user_change_history (user_id, actor_id, entity_type, field, old_value, new_value) values ($1, $2, $3, $4, $5, $6)',
|
|
37
|
+
tg_table_schema
|
|
38
|
+
)
|
|
39
|
+
using new.user_id, current_setting('app.actor_id', true), 'users', 'email', old.email, new.email;
|
|
40
|
+
end if;
|
|
41
|
+
return new;
|
|
42
|
+
end;
|
|
43
|
+
$$ language plpgsql;
|
|
44
|
+
""")
|
|
45
|
+
|
|
46
|
+
op.execute("""
|
|
47
|
+
create trigger user_change_history_email_baselines_trigger
|
|
48
|
+
after update on user_email_baselines
|
|
49
|
+
for each row
|
|
50
|
+
execute function log_user_email_baseline_change();
|
|
51
|
+
""")
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def downgrade() -> None:
|
|
55
|
+
op.execute("drop trigger if exists user_change_history_email_baselines_trigger on user_email_baselines;")
|
|
56
|
+
op.execute("drop function if exists log_user_email_baseline_change();")
|
|
57
|
+
op.execute("drop table if exists user_email_baselines;")
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
from fastapi import APIRouter, Depends, status
|
|
2
2
|
|
|
3
|
-
from core_framework.api.admin.cache.schemas import
|
|
3
|
+
from core_framework.api.admin.cache.schemas import (
|
|
4
|
+
CacheInvalidatePatternRequest,
|
|
5
|
+
CacheInvalidateRequest,
|
|
6
|
+
CacheRepopulateRequest,
|
|
7
|
+
)
|
|
4
8
|
from core_framework.api.dependencies import RequiredUserID, check_admin_role
|
|
5
9
|
from core_framework.application.cache.invalidate_service import (
|
|
6
10
|
enqueue_cache_pattern_invalidation,
|
|
7
11
|
invalidate_cache_targets,
|
|
8
12
|
)
|
|
13
|
+
from core_framework.application.cache.repopulate_service import enqueue_cache_repopulation
|
|
9
14
|
|
|
10
15
|
router = APIRouter(
|
|
11
16
|
prefix="/cache",
|
|
@@ -25,3 +30,8 @@ async def invalidate_cache_pattern(actor_id: RequiredUserID, request_body: Cache
|
|
|
25
30
|
actor_id=actor_id,
|
|
26
31
|
target=request_body.to_pattern_target(),
|
|
27
32
|
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
@router.post("/repopulate", status_code=status.HTTP_202_ACCEPTED)
|
|
36
|
+
async def repopulate_cache(actor_id: RequiredUserID, request_body: CacheRepopulateRequest) -> None:
|
|
37
|
+
await enqueue_cache_repopulation(actor_id=actor_id, resource=request_body.resource)
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
from typing import Annotated, Final, Self
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel, Field, model_validator
|
|
4
|
+
|
|
5
|
+
from core_framework.application.cache.models import CacheInvalidatePatternTarget, CacheInvalidateTarget
|
|
6
|
+
from core_framework.application.cache.registry import (
|
|
7
|
+
AdminCacheResource,
|
|
8
|
+
get_admin_cache_repopulatable_resource_names,
|
|
9
|
+
get_admin_cache_resource,
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
_DEFAULT_PARAM_MIN_LENGTH: Final[int] = 1
|
|
13
|
+
_DEFAULT_PARAM_MAX_LENGTH: Final[int] = 128
|
|
14
|
+
_MAX_RESOURCE_NAME_LENGTH: Final[int] = 64
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
AdminCacheResourceName = Annotated[str, Field(min_length=1, max_length=_MAX_RESOURCE_NAME_LENGTH)]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def _require_admin_cache_resource(*, name: str) -> AdminCacheResource:
|
|
21
|
+
"""Return the registered resource for a wire name, normalized for compatibility."""
|
|
22
|
+
normalized = name.strip().lower()
|
|
23
|
+
entry = get_admin_cache_resource(name=normalized)
|
|
24
|
+
if entry is None:
|
|
25
|
+
raise ValueError(f"unknown admin cache resource: {normalized!r}")
|
|
26
|
+
return entry
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _validate_param_value(*, entry: AdminCacheResource, field_name: str, value: str) -> str:
|
|
30
|
+
"""Validate one param value with its registered normalizer, else the default length rule."""
|
|
31
|
+
validator = entry.param_validators.get(field_name)
|
|
32
|
+
if validator is None:
|
|
33
|
+
if not _DEFAULT_PARAM_MIN_LENGTH <= len(value) <= _DEFAULT_PARAM_MAX_LENGTH:
|
|
34
|
+
raise ValueError(
|
|
35
|
+
f"param {field_name!r} for resource {entry.name!r} must be "
|
|
36
|
+
f"{_DEFAULT_PARAM_MIN_LENGTH} to {_DEFAULT_PARAM_MAX_LENGTH} characters"
|
|
37
|
+
)
|
|
38
|
+
return value
|
|
39
|
+
# A custom validator replaces the default cap but never an empty result:
|
|
40
|
+
# ``KeyTemplate.bind`` rejects "" (decision #19).
|
|
41
|
+
normalized = validator(value)
|
|
42
|
+
if not normalized:
|
|
43
|
+
raise ValueError(f"param {field_name!r} for resource {entry.name!r} must not be empty")
|
|
44
|
+
return normalized
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class CacheInvalidateItem(BaseModel):
|
|
48
|
+
resource: AdminCacheResourceName
|
|
49
|
+
params: dict[str, str]
|
|
50
|
+
|
|
51
|
+
@model_validator(mode="after")
|
|
52
|
+
def validate_and_normalize_params(self) -> Self:
|
|
53
|
+
entry = _require_admin_cache_resource(name=self.resource)
|
|
54
|
+
expected_fields = set(entry.param_names)
|
|
55
|
+
actual_fields = set(self.params.keys())
|
|
56
|
+
if actual_fields != expected_fields:
|
|
57
|
+
raise ValueError(f"params keys must be exactly {sorted(expected_fields)} for resource {entry.name!r}")
|
|
58
|
+
|
|
59
|
+
self.resource = entry.name
|
|
60
|
+
self.params = {
|
|
61
|
+
field_name: _validate_param_value(entry=entry, field_name=field_name, value=self.params[field_name])
|
|
62
|
+
for field_name in entry.param_names
|
|
63
|
+
}
|
|
64
|
+
return self
|
|
65
|
+
|
|
66
|
+
def to_target(self) -> CacheInvalidateTarget:
|
|
67
|
+
return CacheInvalidateTarget(name=self.resource, params=self.params)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class CacheInvalidateRequest(BaseModel):
|
|
71
|
+
items: Annotated[list[CacheInvalidateItem], Field(min_length=1, max_length=100)]
|
|
72
|
+
|
|
73
|
+
def to_targets(self) -> list[CacheInvalidateTarget]:
|
|
74
|
+
return [item.to_target() for item in self.items]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class CacheInvalidatePatternRequest(BaseModel):
|
|
78
|
+
resource: AdminCacheResourceName
|
|
79
|
+
params: dict[str, str]
|
|
80
|
+
|
|
81
|
+
@model_validator(mode="after")
|
|
82
|
+
def validate_partial_params(self) -> Self:
|
|
83
|
+
entry = _require_admin_cache_resource(name=self.resource)
|
|
84
|
+
expected_fields = set(entry.param_names)
|
|
85
|
+
actual_fields = set(self.params.keys())
|
|
86
|
+
unknown_fields = actual_fields - expected_fields
|
|
87
|
+
if unknown_fields:
|
|
88
|
+
raise ValueError(
|
|
89
|
+
f"unknown params keys {sorted(unknown_fields)} for resource "
|
|
90
|
+
f"{entry.name!r}; allowed keys are {sorted(expected_fields)}"
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
if actual_fields == expected_fields:
|
|
94
|
+
# Every field supplied is already an exact key, and a 0-field
|
|
95
|
+
# singleton has no pattern to widen (decision #20).
|
|
96
|
+
raise ValueError(
|
|
97
|
+
f"params specify all key fields for resource {entry.name!r}; "
|
|
98
|
+
"use POST /admin/cache/invalidate-keys for exact keys"
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
self.resource = entry.name
|
|
102
|
+
self.params = {
|
|
103
|
+
field_name: _validate_param_value(entry=entry, field_name=field_name, value=value)
|
|
104
|
+
for field_name, value in self.params.items()
|
|
105
|
+
}
|
|
106
|
+
return self
|
|
107
|
+
|
|
108
|
+
def to_pattern_target(self) -> CacheInvalidatePatternTarget:
|
|
109
|
+
return CacheInvalidatePatternTarget(name=self.resource, params=self.params)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
class CacheRepopulateRequest(BaseModel):
|
|
113
|
+
resource: Annotated[str, Field(min_length=1, max_length=64)]
|
|
114
|
+
|
|
115
|
+
@model_validator(mode="after")
|
|
116
|
+
def validate_repopulatable_resource(self) -> Self:
|
|
117
|
+
"""Accept only a registered resource that declares a repopulator."""
|
|
118
|
+
self.resource = self.resource.strip().lower()
|
|
119
|
+
if self.resource not in get_admin_cache_repopulatable_resource_names():
|
|
120
|
+
raise ValueError(
|
|
121
|
+
f"resource {self.resource!r} is not repopulatable; "
|
|
122
|
+
f"choose one of: {sorted(get_admin_cache_repopulatable_resource_names())}"
|
|
123
|
+
)
|
|
124
|
+
return self
|
|
@@ -26,7 +26,11 @@ async def post_register(
|
|
|
26
26
|
request_context: RequestContext,
|
|
27
27
|
client_ip: Annotated[str, Depends(require_client_ip)],
|
|
28
28
|
) -> Any:
|
|
29
|
-
created_user = await register_user(
|
|
29
|
+
created_user = await register_user(
|
|
30
|
+
user_id=auth_user.user_id,
|
|
31
|
+
email=auth_user.email,
|
|
32
|
+
token_issued_at=auth_user.token_issued_at,
|
|
33
|
+
)
|
|
30
34
|
# Registration application logic stays telemetry-free; the route schedules the row.
|
|
31
35
|
background_tasks.add_task(
|
|
32
36
|
record_signup,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
from
|
|
1
|
+
from typing import Annotated
|
|
2
|
+
|
|
3
|
+
from pydantic import BaseModel, EmailStr, Field
|
|
2
4
|
|
|
3
5
|
from core_framework.api.users.shared.schemas import UserID, Username
|
|
4
6
|
|
|
@@ -13,3 +15,4 @@ class AuthUser(BaseModel):
|
|
|
13
15
|
email: EmailStr
|
|
14
16
|
email_verified: bool
|
|
15
17
|
sign_in_provider: str
|
|
18
|
+
token_issued_at: Annotated[int, Field(strict=True, ge=0)]
|
|
@@ -33,6 +33,7 @@ def _build_auth_user_from_claims(claims: VerifiedTokenClaims) -> AuthUser | None
|
|
|
33
33
|
email=claims.email,
|
|
34
34
|
email_verified=claims.email_verified,
|
|
35
35
|
sign_in_provider=claims.sign_in_provider,
|
|
36
|
+
token_issued_at=claims.token_issued_at,
|
|
36
37
|
)
|
|
37
38
|
except ValidationError:
|
|
38
39
|
return None
|
|
@@ -192,6 +193,7 @@ def require_client_ip() -> str:
|
|
|
192
193
|
return ip
|
|
193
194
|
|
|
194
195
|
|
|
196
|
+
OptionalAuthUser = Annotated[AuthUser | None, Depends(_get_auth_user)]
|
|
195
197
|
RequiredAuthUser = Annotated[AuthUser, Depends(_get_required_auth_user)]
|
|
196
198
|
OptionalUserID = Annotated[UserID | None, Depends(_get_user_id)]
|
|
197
199
|
RequiredUserID = Annotated[UserID, Depends(_get_required_user_id)]
|
|
@@ -3,7 +3,7 @@ from typing import Annotated, Any
|
|
|
3
3
|
from fastapi import APIRouter, BackgroundTasks, Depends, status
|
|
4
4
|
from structlog import get_logger
|
|
5
5
|
|
|
6
|
-
from core_framework.api.dependencies import RequestContext, require_client_ip
|
|
6
|
+
from core_framework.api.dependencies import OptionalAuthUser, RequestContext, require_client_ip
|
|
7
7
|
from core_framework.api.events.schemas import EventRequest, EventTokenResponse
|
|
8
8
|
from core_framework.application.events.event_service import (
|
|
9
9
|
get_event_handlers,
|
|
@@ -11,6 +11,7 @@ from core_framework.application.events.event_service import (
|
|
|
11
11
|
)
|
|
12
12
|
from core_framework.application.events.event_token import generate_token, verify_token
|
|
13
13
|
from core_framework.application.events.models import Event
|
|
14
|
+
from core_framework.application.shared.enums import EventType
|
|
14
15
|
from core_framework.core import RateLimitKey
|
|
15
16
|
|
|
16
17
|
logger = get_logger(__name__)
|
|
@@ -33,6 +34,7 @@ async def post_events(
|
|
|
33
34
|
request_body: EventRequest,
|
|
34
35
|
background_tasks: BackgroundTasks,
|
|
35
36
|
request_context: RequestContext,
|
|
37
|
+
auth_user: OptionalAuthUser,
|
|
36
38
|
client_ip: Annotated[str, Depends(require_client_ip)],
|
|
37
39
|
) -> None:
|
|
38
40
|
if not verify_token(token=request_body.token):
|
|
@@ -41,6 +43,11 @@ async def post_events(
|
|
|
41
43
|
events = [Event(**e.model_dump()) for e in request_body.events]
|
|
42
44
|
handlers = get_event_handlers(request_body.type)
|
|
43
45
|
if handlers:
|
|
46
|
+
email: str | None = None
|
|
47
|
+
token_issued_at: int | None = None
|
|
48
|
+
if request_body.type == EventType.LOGIN and auth_user is not None:
|
|
49
|
+
email = auth_user.email
|
|
50
|
+
token_issued_at = auth_user.token_issued_at
|
|
44
51
|
background_tasks.add_task(
|
|
45
52
|
run_event_handlers,
|
|
46
53
|
handlers,
|
|
@@ -48,6 +55,8 @@ async def post_events(
|
|
|
48
55
|
token=request_body.token,
|
|
49
56
|
request_context=request_context,
|
|
50
57
|
event_type=request_body.type,
|
|
58
|
+
email=email,
|
|
59
|
+
token_issued_at=token_issued_at,
|
|
51
60
|
)
|
|
52
61
|
else:
|
|
53
62
|
logger.warning(
|