The canonical technical documentation lives in docs/. This
file is a short top-level overview; for runtime detail follow the
links below.
- Backend: Go (single module rooted at
github.com/openfoundry/openfoundry-go) with 41 service binaries underservices/and 32 shared packages underlibs/. - Frontend: React 19 + Vite + TypeScript in
apps/web/. - Contracts: Protobuf in
proto/, Go code generated tolibs/proto-gen/viabuf(runmake gen). - SDKs: TypeScript / Python / Java in
sdks/, generated from the proto + OpenAPI surface. - Storage: Postgres (CNPG + PgBouncer), Cassandra, Kafka (Strimzi
- MM2), Iceberg (Lakekeeper), Vespa (search + RAG), Temporal (workflow), Ceph S3.
- Infra: Helm + ArgoCD + Terraform under
infra/.
For agent-facing onboarding (commands, gotchas, what NOT to read), see
the root CLAUDE.md.
Services are grouped into Helm releases ("ownership boundaries") rather than physically merged crates. The current grouping:
βββββββββββββββββββββββββββββββ
β apps/web (React 19 + Vite) β
ββββββββββββββββ¬βββββββββββββββ
β
βββββββββββββββββββββ¬ββββββββ΄ββββββββββββ¬βββββββββββββββββββββββ¬ββββββββββββββββββββββ
β of-platform β of-data-engine β of-ontology β of-ml-aip β
β edge-gateway β connector-mgmt β ontology-definition β model-catalog β
β identity-fed. β ingestion-repl β ontology-actions β model-deployment β
β authorization β dataset-versioni β ontology-query β agent-runtime β
β tenancy-orgs β lineage β object-database β llm-catalog β
β β media-sets β ontology-indexer* β retrieval-context β
β β pipeline-build β β ai-evaluation β
β β sql-bi-gateway β β ai-sink* β
βββββββββββββββββββββ΄ββββββββββββββββββββ΄βββββββββββββββββββββββ΄ββββββββββββββββββββββ
β
ββββββββββββββββ΄βββββββββββββββββββββββββββββββββββ
β of-apps-ops β
β application-composition notebook-runtime β
β ontology-exploratory solution-design β
β workflow-automation notification-alerting β
β audit-compliance + audit-sink* β
β telemetry-governance β
β federation-product-exchange β
β code-repository-review sdk-generation β
β entity-resolution β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β
ββββββββββββ¬ββββββββββββ¬βββββ΄ββββββ¬ββββββββββ¬ββββββββββ¬ββββββββββββ¬ββββββββββββββ
β Cassandraβ Postgres β Kafka β Iceberg β Vespa β Temporal β Ceph (S3) β
β β (CNPG + β (Strimzi β (Lake- β (search β (workflow β (multisite) β
β β PgBoun) β + MM2) β keeper)β + RAG) β engine) β β
ββββββββββββ΄ββββββββββββ΄βββββββββββ΄ββββββββββ΄ββββββββββ΄ββββββββββββ΄ββββββββββββββ
* = Kafka sinks (counted separately from ownership boundaries).
The grouping is consolidation by ownership and Helm release, not a
claim that the source tree has been physically merged. The ownership
boundaries are defined in
docs/architecture/adr/ADR-0030-service-consolidation-30-targets.md
and the per-service status lives in
docs/architecture/service-consolidation-map.md.
docs/index.mdβ capability-oriented documentation home.docs/guide/repository-map.mdβ monorepo layout.docs/architecture/index.mdβ system overview.docs/architecture/adr/β numbered, dated decisions.docs/operations/ci-cd.mdβ delivery and automation flows.
These contracts are pinned by tests in libs/core-models/**/*_test.go
and must not drift:
/healthzpayload shape (status,service,version,timestamp).- JWT claims field names + JSON tags
(
libs/auth-middleware/claims.go). - Dataset RID format
ri.foundry.main.dataset.<uuid-v7>. - Transaction state / type tokens (
open|committed|aborted,snapshot|append|update|delete). - Marking source discriminator
(
{"kind": "direct"}/{"kind": "inherited_from_upstream", ...}). - Media reference camelCase keys
(
mediaSetRid,mediaItemRid,branch,schema). - Schema field type discriminator
(
{"type": "DECIMAL", "precision": ..., "scale": ...}).
| Domain | Service / library | README |
|---|---|---|
| Identity & federation | services/identity-federation-service |
README |
| Authorization (Cedar/ABAC/RBAC) | services/authorization-policy-service |
README |
| Datasets, branches, transactions | services/dataset-versioning-service |
README |
| Media sets | services/media-sets-service |
README |
| Ontology kernel (shared) | libs/ontology-kernel |
CLAUDE.md |
| AI kernel (shared) | libs/ai-kernel-go |
CLAUDE.md |
| Edge / proxy | services/edge-gateway-service |
README |
| Audit pipeline | libs/audit-trail, services/audit-sink |
README |