Skip to main content

Repository directory map

Where everything lives in the trustrelay-atlas repository, and which doc page explains it.

Backend — src/

PathWhatDocs
src/api/FastAPI app, routers, middlewareBackend, API
src/database/asyncpg pool, repositoriesData model
src/ontology/Resolution, reconciliation, survivorship, synthesisEntity resolution, Claims
src/integrations/Plugin loader, provider router, TranslationRegistryPlugins
src/graph/Neo4j/AGE clients, sync, parityGraph sync
src/temporal/Durable workflows & activitiesTemporal workflows
src/mutation_queue/Mutation & conflict provenanceMutation queue
src/risk_matrix/Configurable risk engineRisk scoring
src/reference_data/Versioned reference datasetsReference data
src/source_contracts/Provider field contractsSource contracts
src/ontology_schema/Schema versioning & field configsOntology
src/pipelines/LangGraph pipelines, model factoryIngestion
src/tools/MCP tool adaptersPlugins
src/services/Reports, MinIO, geocodingReporting
src/security/AES-GCM credential encryptionSecurity
src/observability/Langfuse tracingObservability
src/workflows/Low-code workflow engineADR-007
src/models/, src/events/, src/settings/Models, domain events, settingsBackend

Frontend — frontend/src/

PathWhatDocs
api/, hooks/Axios client, query keys, domain hooksFrontend
auth/Keycloak + tenant providersAuthentication
components/, pages/UI components and routesFrontend
stores/Zustand stateFrontend

Supporting trees

PathWhatDocs
plugins/_example, kvk, northdata, osintPlugins
schemas/ontology/ontology_v3.5.yamlActive ontologyOntology schema
migrations/130+ Flyway scriptsData model
charts/api, charts/ui, charts/workerHelm chartsDeployment
config/Workflow & risk-matrix schemas, reference dataRisk scoring
docs/, docs/adr/Source docs & ADRsADRs
.planning/Roadmap, phases, milestones

Phase context

The platform is built in numbered phases recorded under .planning/phases/. Several are referenced throughout these docs — for example Phase 85 (RLS), Phase 96.1 (protected fields & NorthData attrs), Phases 109–111 (entity claims), Phase 113.2 (ontology v3.5.2), and Phase 114 (TranslationRegistry). The phase history is the narrative behind the architecture decisions.