Summary: Table of contents for the technical intelligence layer. Sources: initial architecture Last updated: 2026-05-15
Technical Intelligence
This layer covers every repo, shared package, piece of infrastructure, and cross-repo integration pattern in the 7Mind system. Agents should read their own repo note before any significant task, and consult integration notes when a change spans multiple repos.
Repos
One file per repository. Named to match the GitHub repo slug exactly.
- 7mind-mobile-apps-monorepo — iOS/Android 7Mind app (Flutter monorepo)
- elixir-backend — primary API and business logic (Elixir)
- nuxt-website — marketing and web app (Nuxt SSR)
- api-contracts — shared API type definitions and contracts
Add additional repo notes here as they are created.
Shared NPM Packages
- (none documented yet — add pkg-*.md files as packages are catalogued)
Infrastructure
- infra-overview — high-level system topology
- google-cloud — GCP projects, regions, services
- cloudflare — DNS zones, routing rules, Workers, Pages
- github-actions — pipeline topology, deploy flows, secrets conventions
- terraform — module layout, state backend, conventions
Concepts
System-wide architectural patterns and service configurations that span multiple repos or require cross-cutting context. Read these before editing code that touches the named concern.
- modulith-domain-model — domain isolation, per-domain databases, event-only coupling (elixir-backend)
- dual-brand-routing — how one backend serves both 7Mind and 7Sleep
- supertokens-auth — JWT auth via SuperTokens + Cloudflared, how validation works
- chargebee-billing — subscription billing, dual namespaces for 7Mind vs 7Sleep
- typespec-contracts — TypeSpec-authored API contracts, OpenAPI emit, Redoc publishing pipeline
- api-versioning-headers — version negotiation via
user-agentandacceptheaders across all clients - mobile-deep-linking — URL schemes, Adjust shortlink resolution, Aury webview route alias
- mobile-analytics-stack — Rudderstack / Adjust / Braze / Sentry / ConfigCat / Amplitude on the mobile app
- aury-companion — the two distinct meanings of “Aury” in the 7Mind system
- storyblok-cms — headless CMS powering marketing pages, magazin, and dynamic routes on the web
- multi-domain-hostname-rewriting — how the web SSR build serves
7mind.de/6mind.de/8mind.de/9mindfrom one image - theme-build-multiplexing —
THEMEbuild arg producing separate 7Mind/7Sleep frontend images from one codebase
Integrations
Cross-repo connection patterns. Add notes here when a multi-repo interface is non-obvious.
- backend-event-bus — Google Pub/Sub + Broadway as the async event spine connecting backend domains
- mobile-build-pipeline — Codemagic owns mobile production builds, GitHub Actions handles CI