From e8f61cdac93ad7028298f14479b312df7fe6c0cb Mon Sep 17 00:00:00 2001 From: autocommit Date: Sat, 16 May 2026 21:41:38 -0700 Subject: [PATCH] =?UTF-8?q?chore(infrastructure):=20=F0=9F=94=A7=20Update?= =?UTF-8?q?=20port=20mappings=20and=20MCP=20runtime=20configurations=20in?= =?UTF-8?q?=20ports.yaml=20and=20.mcp.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- .mcp.json | 20 ++++++++ @platform/infrastructure/ports.yaml | 71 +++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 .mcp.json create mode 100644 @platform/infrastructure/ports.yaml diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..95221f7 --- /dev/null +++ b/.mcp.json @@ -0,0 +1,20 @@ +{ + "mcpServers": { + "objectives": { + "command": "node", + "args": [ + "/var/home/lilith/Code/@packages/@ts/@mcp/mcp-objectives/dist/index.js" + ], + "env": { + "PROJECT_ROOT": "/var/home/lilith/Code/@projects/@atlilith" + } + }, + "experts": { + "command": "node", + "args": [ + "/var/home/lilith/Code/@projects/@atlilith/@platform/node_modules/@lilith/mcp-experts/dist/index.js" + ], + "env": {} + } + } +} diff --git a/@platform/infrastructure/ports.yaml b/@platform/infrastructure/ports.yaml new file mode 100644 index 0000000..7136736 --- /dev/null +++ b/@platform/infrastructure/ports.yaml @@ -0,0 +1,71 @@ +# atlilith V3 platform — canonical service port registry +# Single source of truth. Edit here; .env.ports is committed alongside. +# +# Service names are provider-generic (no `quinn.*` in the code path). +# Quinn's specific deployed instances still live at `quinn.*` domains, +# but the underlying service identifiers here are generic. +# +# Port ranges chosen to NOT conflict with v2 (.live) running in parallel +# during the cutover. Once .live is decommissioned, V3 may reclaim the +# .live ranges if desired. +# +# Ranges (V3): +# 3040-3059 API backends (v2 used 3020-3039) +# 3140-3149 Messaging services (v2 used 3100-3109) +# 3810-3819 Background workers (v2 used 3800-3809) +# 4200-4399 Analytics cluster (v2 used 4000-4199) +# 5210-5300 Frontend dev servers (v2 used 5110-5200) +# 9100-9101 Object storage MinIO (v2 used 9000-9001) +# 25440 Platform PostgreSQL (unified) +# 25441 Messenger PostgreSQL +# 25442 mac-sync PostgreSQL (raw, read-only mirror) +# 25443 TimescaleDB (org-analytics) +# 26380 Redis (queue + cache) + +gateways: + platform.ai-gateway: 8091 + +apis: + platform.data-api: 3042 # org-analytics + platform.admin-api: 3043 + platform.portal-api: 3044 # provider-portal backend (was: quinn.my-api) + platform.sso: 3045 + platform.newsletter-api: 3046 + platform.ai-api: 3048 # ai-assistant backend (was: quinn.ai-api) + platform.api: 3050 # main Hono gateway (was: quinn.api) + platform.image-protection: 3052 + platform.m-sync: 3140 + platform.m-api: 3145 + platform.m-relationship: 3813 + +frontends: + platform.analytics.frontend: 5211 + platform.www: 5220 # provider-site default (was: quinn.www) + platform.admin: 5221 + platform.analytics.website: 5222 + platform.newsletter: 5226 + platform.portal: 5274 # provider-portal (was: quinn.my) + platform.m: 5275 # messenger UI (was: quinn.m) + platform.ai: 5276 # ai-assistant (was: quinn.ai) + platform.vip: 5278 + +analytics: + platform.analytics.collector: 4201 + platform.analytics.processor: 4202 + platform.analytics.query-api: 4203 + platform.analytics.website-api: 4205 + platform.analytics.api: 4310 + +tooling: + platform.docs: 3091 + +infrastructure: + platform.db.pg: 25440 # platform.db (was: quinn.db.pg 25435) + platform.db.pg.macsync: 25442 # mac-sync raw mirror (was: quinn.db.pg.icloud 25436) + platform.m-db: 25441 # messenger PG (was: 25433) + platform.analytics.db: 25443 # TimescaleDB (was: 25434) + platform.analytics.redis: 26380 # Redis (was: 26379) + platform.db.minio: 9100 + platform.db.minio.console: 9101 + platform.mail: 1026 # Mailpit dev SMTP (was: 1025) + platform.mail.ui: 8026 # Mailpit web UI (was: 8025)