Files
service-finder/backend/.roo/audit_ledger_94.md
2026-03-22 18:59:27 +00:00

13 KiB

Codebase Audit Ledger (#42)

Generated: 2026-03-22 11:28:32 Total files scanned: 240

📋 Audit Checklist

Check each file after audit completion. Use this ledger to track progress.

API Endpoints (backend/app/api_endpoints/...)

  • api/deps.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'" [MEGTART]: Függőségi segédmodul, kritikus a biztonsághoz
  • api/recommend.py - No docstring or definitions found [MEGTART]: Szigorú RBAC bevezetve, zárt ökoszisztéma megkövetelve
  • api/v1/api.py - No docstring or definitions found [MEGTART]: Fő API router összekapcsoló, nem tartalmaz végpontokat
  • api/v1/endpoints/admin.py - Classes: ConfigUpdate, OdometerStatsResponse, ManualOverrideRequest [MEGTART]: Védett admin végpontok, RBAC ellenőrzéssel
  • api/v1/endpoints/analytics.py - "Analytics API endpoints for TCO (Total Cost of Ownership) dashboard." [MEGTART]: Szigorú RBAC bevezetve, zárt ökoszisztéma megkövetelve
  • api/v1/endpoints/assets.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/auth.py - Classes: VerifyEmailRequest [MEGTART]: Autentikációs végpontok, nem igényel további védelmet
  • api/v1/endpoints/billing.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/catalog.py - No docstring or definitions found [MEGTART]: Szigorú RBAC bevezetve, zárt ökoszisztéma megkövetelve
  • api/v1/endpoints/documents.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'" [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/evidence.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/expenses.py - Classes: ExpenseCreate [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/finance_admin.py - "Finance Admin API endpoints for managing Issuers with strict RBAC protection." [MEGTART]: Strict RBAC védelme van, más Depends függőséggel
  • api/v1/endpoints/gamification.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'" [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/notifications.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/organizations.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/providers.py - No docstring or definitions found [MEGTART]: Szigorú RBAC bevezetve, zárt ökoszisztéma megkövetelve
  • api/v1/endpoints/reports.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/search.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/security.py - "Dual Control (Négy szem elv) API végpontok." [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/services.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/social.py - No docstring or definitions found [MEGTART]: Szigorú RBAC bevezetve, zárt ökoszisztéma megkövetelve
  • api/v1/endpoints/system_parameters.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/translations.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'" [MEGTART]: Fordítási végpontok, védve (hibás scanner eredmény)
  • api/v1/endpoints/users.py - No docstring or definitions found [MEGTART]: Védett végpontok, megfelelő RBAC
  • api/v1/endpoints/vehicles.py - "Jármű értékelési végpontok a Social 1 modulhoz." [MEGTART]: Védett végpontok, megfelelő RBAC

Core (backend/app/core/...)

  • core/config.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • core/email.py - No docstring or definitions found
  • core/i18n.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • core/rbac.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • core/scheduler.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • core/security.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • core/validators.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"

Models (backend/app/models/...)

  • models/audit.py - No docstring or definitions found
  • models/core_logic.py - Classes: SubscriptionTier, OrganizationSubscription, CreditTransaction, ServiceSpecialty
  • models/gamification/gamification.py - Classes: PointRule, LevelConfig, PointsLedger, UserStats, Badge (+3 more)
  • models/identity/address.py - Classes: GeoPostalCode, GeoStreet, GeoStreetType, Address, Rating
  • models/identity/identity.py - Classes: UserRole, Person, User, Wallet, VerificationToken (+3 more)
  • models/identity/registry.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/identity/security.py - Classes: ActionStatus, PendingAction
  • models/identity/social.py - Classes: ModerationStatus, SourceType, ServiceProvider, Vote, Competition (+2 more)
  • models/marketplace/finance.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/marketplace/logistics.py - Classes: LocationType, Location
  • models/marketplace/organization.py - Classes: OrgType, OrgUserRole, Organization, OrganizationFinancials, OrganizationMember (+2 more)
  • models/marketplace/payment.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/marketplace/service.py - Classes: ServiceStatus, ServiceProfile, ExpertiseTag, ServiceExpertise, ServiceStaging (+1 more)
  • models/marketplace/service_request.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/marketplace/staged_data.py - Classes: StagedVehicleData, ServiceStaging, DiscoveryParameter
  • models/reference_data.py - Classes: ReferenceLookup
  • models/system/audit.py - Classes: SecurityAuditLog, OperationalLog, ProcessLog, LedgerEntryType, WalletType (+2 more)
  • models/system/document.py - Classes: Document
  • models/system/legal.py - Classes: LegalDocument, LegalAcceptance
  • models/system/system.py - Classes: ParameterScope, SystemParameter, InternalNotification, SystemServiceStaging
  • models/system/translation.py - Classes: Translation
  • models/vehicle/asset.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/vehicle/external_reference.py - Classes: ExternalReferenceLibrary
  • models/vehicle/external_reference_queue.py - Classes: ExternalReferenceQueue
  • models/vehicle/history.py - Classes: LogSeverity, AuditLog
  • models/vehicle/motorcycle_specs.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/vehicle/vehicle.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • models/vehicle/vehicle_definitions.py - Classes: VehicleType, FeatureDefinition, VehicleModelDefinition, ModelFeatureMap

Other (backend/app/other/...)

  • admin_ui.py - No docstring or definitions found
  • database.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • db/base.py - No docstring or definitions found
  • db/base_class.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • db/middleware.py - No docstring or definitions found
  • db/session.py - No docstring or definitions found
  • main.py - No docstring or definitions found
  • test_billing_engine.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • test_hierarchical.py - "Gyors teszt a hierarchikus paraméterekhez."

Schemas (backend/app/schemas/...)

  • schemas/admin.py - No docstring or definitions found
  • schemas/admin_security.py - Classes: PendingActionResponse, SecurityStatusResponse
  • schemas/analytics.py - "Analytics Pydantic schemas for TCO (Total Cost of Ownership) API responses." - Classes: TCOResponse, TCOSummaryStats, TCOSummaryResponse, TCOErrorResponse, Config (+1 more)
  • schemas/asset.py - Classes: AssetCatalogResponse, AssetResponse, AssetCreate
  • schemas/asset_cost.py - Classes: AssetCostBase, AssetCostCreate, AssetCostResponse
  • schemas/auth.py - Classes: DocumentDetail, ICEContact, UserLiteRegister, UserKYCComplete, Token
  • schemas/evidence.py - Classes: RegistrationDocumentExtracted, OcrResponse, Config
  • schemas/finance.py - "Finance-related Pydantic schemas for API requests and responses." - Classes: IssuerType, IssuerResponse, IssuerUpdate
  • schemas/fleet.py - Classes: EventCreate, TCOStats
  • schemas/gamification.py - Classes: SeasonResponse, UserStatResponse, LeaderboardEntry, Config, Config (+1 more)
  • schemas/organization.py - Classes: ContactCreate, CorpOnboardIn, CorpOnboardResponse
  • schemas/security.py - "Dual Control (Négy szem elv) sémák." - Classes: PendingActionCreate, PendingActionApprove, PendingActionReject, UserLite, PendingActionResponse (+3 more)
  • schemas/service.py - Classes: ContactCreate, CorpOnboardIn, CorpOnboardResponse
  • schemas/service_hunt.py - Classes: ServiceHuntRequest
  • schemas/social.py - Classes: ServiceProviderBase, ServiceProviderCreate, ServiceProviderResponse, ServiceReviewBase, ServiceReviewCreate (+5 more)
  • schemas/system.py - Classes: SystemParameterBase, SystemParameterCreate, SystemParameterUpdate, SystemParameterResponse
  • schemas/token.py - Classes: Token, TokenData
  • schemas/user.py - Classes: UserBase, UserResponse, UserUpdate
  • schemas/vehicle.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • schemas/vehicle_categories.py - No docstring or definitions found

Scripts (backend/app/scripts/...)

  • scripts/audit_scanner.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/check_mappers.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/check_robots_integrity.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/check_tables.py - "Check tables in system and gamification schemas."
  • scripts/correction_tool.py - No docstring or definitions found
  • scripts/fix_imports_diag.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/link_catalog_to_mdm.py - No docstring or definitions found
  • scripts/monitor_crawler.py - No docstring or definitions found
  • scripts/morning_report.py - No docstring or definitions found
  • scripts/move_tables.py - "Move tables from system schema to gamification schema." [TÖRÖLHETŐ] (Soft delete kész, archiválva)
  • scripts/rename_deprecated.py - "Rename tables in system schema to deprecated to avoid extra detection." [TÖRÖLHETŐ] (Soft delete kész, archiválva)
  • scripts/seed_system_params.py - No docstring or definitions found
  • scripts/seed_v1_9_system.py - No docstring or definitions found [REFAKTORÁL] (Később modernizálandó seed szkript)
  • scripts/smart_admin_audit.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/sync_engine.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/sync_python_models_generator.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/unified_db_audit.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/unified_db_sync.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'"
  • scripts/unified_db_sync_1.0.py - "Error reading file: 'FunctionDef' object has no attribute 'parent'" [TÖRÖLHETŐ] (Soft delete kész, archiválva)

Services (backend/app/services/...)

  • services/ai_ocr_service.py - [MEGTART] Modern OCR service, part of AI pipeline.
  • services/ai_service.py - [MEGTART] Uses os.getenv; should use ConfigService. (os.getenv és print() hívások javítva)
  • services/ai_service1.1.0.py - [REFAKTORÁL] Versioned AI service with os.getenv; consider merging with ai_service.py.
  • services/ai_service_googleApi_old.py - [TÖRÖLHETŐ] Deprecated old version; remove. (Soft delete kész)
  • services/analytics_service.py - [MEGTART] Analytics service; scanner error due to complex AST.
  • services/asset_service.py - [MEGTART] Asset management service.
  • services/auth_service.py - [MEGTART] Authentication service.
  • services/billing_engine.py - [MEGTART] Contains print statements; replace with logger. (print() hívások javítva)
  • services/config_service.py - [MEGTART] Core configuration service.
  • services/cost_service.py - [MEGTART] Cost calculation service.
  • services/deduplication_service.py - [MEGTART] Deduplication logic; scanner error.
  • services/document_service.py - [MEGTART] Document handling service.
  • services/dvla_service.py - [MEGTART] DVLA API integration.
  • services/email_manager.py - [MEGTART] Uses os.getenv; migrate to ConfigService. (os.get