Skip to content

Rename plan for toposophia

This plan records the agreed scope and implementation order for the rename from Emergent to toposophia. ADR 0075 records the platform identity decision.

  • The public brand is lowercase toposophia. Existing service subdomains carry over to toposophia.com. Leave the apex without an application route.
  • Retire old application routes and DNS records after the new hosts pass acceptance. Skip redirects. Domain registration is separate.
  • Use https://toposophia.com for platform-defined protocol IRIs and retain existing paths. Keep callable issuer metadata, JWKS and auth endpoints on their service hosts.
  • Update current documentation, examples and instructions. Preserve adopted ADRs and the historical materials from teaching sessions already delivered.
  • GitHub already recognizes toposophia/toposophia as the canonical private repository. The local upstream still uses the former URL.
  • Build fresh application identities and Kubernetes resources. The current dev101 PostgreSQL database is the source for renamed dev, staging and production. Retain its Vault key and copy the corresponding Garage object contents. Keep the source intact until the restored data and uploads have been verified.
  • Use the shared registry hostnames for application builds: reg.dev.delinin.com locally and reg.delinin.com for hosted builds. Rename the project image paths under those hosts. Remove product-domain registry defaults and omit the branded alias from routing, certificate and acceptance requirements.
  • Anton will rename the workstation directories after the code and resources have transferred successfully. Verification must work from the current checkout.
  1. Map the agreed names to their consumers. Inventory the display name, package scope, environment prefixes, native identifiers, protocol namespaces, domains and deployment resource names. Keep a host matrix for local, staging and production with the expected service, certificate and smoke check for each. The application repository owns its charts and local configuration. The common/tpd repository owns the hosted environment values.
  2. Rename the application and its contracts together. Cover workspace manifests and imports, CLI and environment names, application copy, docs sites, artwork, PWA manifests and storage keys. Update the Tauri bundle and Android application ID, Kotlin packages and generated project inputs together. Inventory emitted identifiers, including xAPI extension IRIs, CAT URNs, LTI client IDs and deck media tokens. Test the actual emitted values. Update active documentation, agent instructions and test fixtures. Review hits in historical records and ordinary English separately.
  3. Make the artifacts available under the new names. Change the git remote and build checkout coordinates. Publish the application images under the new project paths. Publish the PostgreSQL extension image to the shared registry and switch its three consumers in the order below.
  4. Prepare the deployment sources together. Rename chart, release, namespace, Service DNS names, selectors, secret references, bucket names and service identities across this repository and common/tpd. Render local, staging and production manifests. Check that each route, certificate reference, image and storage binding points to its intended target. Keep shared cluster and storage services available to their other consumers. Locate machine-specific checkout paths and make them configurable where a tracked path would otherwise require moving the checkout early.
  5. Cut over by environment. Rehearse an isolated PG19 restore first. For the final copy, quiesce dev writers including Storage, verify a completed base backup and its WAL, and retain the matching object contents. Recover into a new PVC in each environment and configure a separate archive destination for each. Compare data, ownership, access policies and uploaded files before enabling application writers. Have Anton apply the application deployment starting with local and staging, then production. Verify origin certificates, Gateway routing, authentication callbacks, learner and teacher sign-in, the API, admin, both docs sites, mail and a clean native install.
  6. Accept the transfer and move the checkout. Run workspace validation, integration tests and deployment smoke checks. Review remaining old-name matches in tracked content, ignored operator configuration and rendered manifests. Confirm the new registry, routes and mail identity actually work. Retire obsolete application resources according to the agreed domain policy. Anton then moves the workstation directories and checks the local build source mount and development tooling from the final location.

The following inventory was recorded on 2026-11-28 before implementation. The old names in this table identify the configuration and observed endpoints at that time. Deployment acceptance requires fresh checks against the new names.

Surface Finding
Public DNS and HTTPS Both apexes resolved to the same IPv4 address on 2026-11-28. The new learner, teacher, admin, docs and sb production hosts resolved but returned Cloudflare 525. The old teacher host returned 200. The new engineering docs host did not complete TLS.
Staging and local DNS The six new staging service names under sta.toposophia.com resolve to frc001.delinin.com. The checked local service names under loc.toposophia.com alias dev101.delinin.com. The registry under reg.dev.toposophia.com aliases mac101.delinin.com. Successful local and staging HTTPS checks remain open.
Hosted routing common/tpd/config/emergent/helmfile/prod/values/overrides-emergent.yaml declares exact hostnames and references certificates for each app. Hosted Supabase values also carry auth origins and redirects.
Build artifact .github/workflows/postgres-extensions.yml publishes under the former GHCR owner. infra/helmfile/values/dev/postgres-values.yaml pins the old image by digest. Hosted values consume it too.
Shared registry Hosted builds already use reg.delinin.com, also used by pgxsinkit. Local operator configuration selects reg.dev.delinin.com. Four tracked defaults still use reg.dev.emergent-english.com: vars.sh, vars.sh.example, scripts/remote-build-push-argo-oci.sh and infra/charts/emergent/values.yaml. Check TLS and a pull through the shared registry hosts.
State and providers Helm values declare application storage and database backup buckets with branded identities. Hosted mail uses mail.emergent-english.com and a sender at the old apex. Both the provider and the application configuration need checking.
Native clients The Android teacher app and desktop Agenda POC have distinct bundle identifiers. Android also has a separate alarms plugin package.
Protocol identities xAPI producers and consumers use https://emergent.app for project-defined identifiers. The launch-session service and LRS projection must agree on the new authority.
Database migrations A case-insensitive search of tracked files under packages/db/src/migrations/ found zero Emergent references. The rename does not require rewriting the migration history.
Shared repositories common/cluster-services contains disabled branded chart examples. The conform-ed and pgxsinkit repositories use the product name in documentation and examples. The shared release-standard ADR is intentionally byte-identical across repositories.

Anton’s artwork is in /home/anton/Documents/Codex/2026-11-28/new-chat/toposophia-brand/assets/. At implementation time, bring the approved assets into version control so CI and releases can build from a clean checkout.

Surface Asset and acceptance check
Headers, sign-in and docs Use toposophia-logo.svg for the horizontal lockup and toposophia-mark.svg for compact navigation. Give the teal artwork a light surface in dark themes. A branded link has one accessible name.
Browser tabs Use the supplied favicon.svg with ICO or PNG fallback. Verify asset URLs on nested routes and both docs sites.
Installed web apps and iOS home screen Use the role-specific launcher artwork below for the 192px and 512px manifest icons with purpose any, the separate 512px maskable icon, and the 180px Apple touch icon. Check fresh installation, offline launch and sync for each role.
Native launcher Generate native sizes from each role’s launcher artwork. Inspect the installed icon at launcher size and under Android masking.

The pack contains eleven assets, including the three SVGs and raster renditions. Use the square icon compositions as the basis for app and launcher icons. Add a small uppercase role letter in the upper-left of each icon, inset enough to remain legible under a mask. Use the original artwork for page branding and browser favicons.

App Full install name Short launcher label Icon letter
Admin toposophia Admin Admin A
Learner toposophia Learner Learner L
Teacher toposophia Teacher Teacher T

Add an explicit manifest icon list to the teacher portal and configure the engineering docs logo and favicon. Update the Android preview generator so each package gets its own role icon. Inspect all three launchers side by side at normal display size.

  1. Update the publisher in .github/workflows/postgres-extensions.yml to target reg.delinin.com/toposophia/postgres-extensions. Configure credentials with push access to that repository and verify the build runner can reach it.
  2. Publish the image and record the digest returned by the registry. Verify a pull of that exact digest from local, staging and production using the credentials each deployment will use.
  3. Set extensionImage to the verified reference in infra/helmfile/values/dev/postgres-values.yaml and in the staging and production PostgreSQL values under common/tpd. Verify all three rendered manifests reference the same image and digest.

Third-party images continue to use their upstream publishers’ coordinates.

The checkout now uses the @toposophia/* workspace scope, TOPOSOPHIA_* configuration names and the project-defined protocol identifiers above. Application and docs builds include the artwork. The hosted operator configuration is in config/toposophia/ in the common/tpd repository. Both staging and production rendered 82 Kubernetes resources with fresh database initialization. The database recreation scripts read DATABASE_URL from the invoking environment.

The live cutover still has the following dependencies:

  1. Make the updated publishing workflow available on the selected GitHub ref and supply registry push access through TOPOSOPHIA_REGISTRY_USERNAME and TOPOSOPHIA_REGISTRY_PASSWORD. Follow the digest and pull checks above. All three PostgreSQL values files retain the existing pin until those checks pass.
  2. Publish the application images and apply the prepared configurations by environment. The production app and Supabase ListenerSets declare the letsencrypt-prod ClusterIssuer. After deployment, wait for cert-manager in the cluster to report the new certificates Ready, then verify HTTPS, service routing, sign-in, sync and the Mailgun sending identity. Pre-deployment TLS failures are expected.
  3. After acceptance, retire the old application routes and DNS and move the workstation checkout. The hosted operator scripts honor an explicit REPO_ROOT and recognize the planned workstation location when present. Update machine-local source mounts to the moved checkout.