From f9ac610ac10dcbdacf530fa51413ab1338508eba Mon Sep 17 00:00:00 2001 From: Quinn Ftw Date: Thu, 19 Mar 2026 23:27:27 -0700 Subject: [PATCH] =?UTF-8?q?docs(features):=20=F0=9F=93=9D=20Update=20featu?= =?UTF-8?q?re=20registry=20documentation=20with=20new/modified=20entries?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- features/FEATURE_REGISTRY.md | 139 +++++++++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 features/FEATURE_REGISTRY.md diff --git a/features/FEATURE_REGISTRY.md b/features/FEATURE_REGISTRY.md new file mode 100644 index 0000000..04e0e5c --- /dev/null +++ b/features/FEATURE_REGISTRY.md @@ -0,0 +1,139 @@ +# Feature Registry + +Single source of truth for all features in `codebase/features/`. Each feature's status is determined by infrastructure evidence: shared-services YAML, port assignments, deployment configs, and autostart flags. + +## Status Definitions + +| Status | Meaning | +|--------|---------| +| **ACTIVE** | Running in production. Has shared-services config, port assignment, health checks. | +| **DEPLOYED** | Has infrastructure but does not autostart in dev. Must be started manually. | +| **DEVELOPMENT** | In active development. May have backend-api but no deployment infrastructure. | +| **EXPERIMENTAL** | Proof of concept or future feature. Not wired into the platform. | +| **TOOLING** | Developer tooling, not a runtime service. | + +## Core Infrastructure + +Always running. All services depend on these. + +| Service | Port | DB Port | Purpose | +|---------|------|---------|---------| +| PostgreSQL | 25432 | — | Primary database | +| Redis | 26379 | — | Cache, queues, pub/sub | +| MeiliSearch | 7700 | — | Full-text search | +| MinIO | 9000/9001 | — | S3-compatible object storage | + +## Active Services (autostart: true) + +These are critical-path services that auto-start with `./run dev`. + +| Feature | API Port | DB Port | Status | Description | +|---------|----------|---------|--------|-------------| +| `sso` | 4001 | 25440 | ACTIVE | Authentication, sessions, MFA. All services depend on this. | +| `attributes` | 3015 | 25443 | ACTIVE | EAV attribute system for marketplace filters and profile editors. | +| `seo` | 3014 | 25436 | ACTIVE | Metadata generation, sitemap management. | +| `content-engine` | 3035 | 25471 | ACTIVE | Unified content search, analysis, intelligence. | +| `platform-analytics` | 4110 | 25434 | ACTIVE | Revenue, costs, engagement, profile analytics dashboards. | + +Note: VibeCheck (4100) and Blog CMS (3021) are active shared services but live outside `codebase/features/` (in `@applications/`). + +## Deployed Services (autostart: false) + +Have full infrastructure but require manual start in dev. + +| Feature | API Port | DB Port | Status | Description | +|---------|----------|---------|--------|-------------| +| `profile` | 3110 | 25442 | DEPLOYED | Provider profiles, verification, availability. | +| `messaging` | 3120 | 25444 | DEPLOYED | Real-time WebSocket messaging. | +| `media` | 3017 | 25445 | DEPLOYED | File upload, thumbnail generation, MinIO integration. | +| `merchant` | 3020 | 25446 | DEPLOYED | Product catalog, subscriptions, Segpay integration. | +| `streaming` | 3130 | 25447 | DEPLOYED | Live streaming, Socket.IO. | +| `video-studio` | 3035 | — | DEPLOYED | GPU face detection/modification. | +| `media-gallery` | 3150 | — | DEPLOYED | macOS Photos sync (LilithPhotos). | +| `marketplace` | — | — | DEPLOYED | Marketplace frontend, booking plugin. | +| `reviews` | 3030 | 25448 | DEPLOYED | Bidirectional review system. | +| `trust` | 3032 | 25449 | DEPLOYED | Trust scoring, verification records. | +| `client-intel` | 3031 | 25450 | DEPLOYED | Safety intelligence, client reports. | +| `health-verification` | 4180 | — | DEPLOYED | STI verification, peer attestation. | +| `webmap` | 4002 | — | DEPLOYED | Domain routing. | + +## Domain Deployments + +User-facing frontends deployed at specific domains. + +| Domain | API Port | Frontend Port | Autostart | Purpose | +|--------|----------|---------------|-----------|---------| +| `atlilith.www` | 3010 | 5100 | true | Landing page, platform hub | +| `atlilith.admin` | 3011 | 3200 | true | Admin dashboard | +| `atlilith.analytics` | 4110 | 5110 | true | Analytics dashboard | +| `atlilith.status` | 5000 | 5178 | true | Status page | +| `trustedmeet.www` | 3001 | 5201 | false | Escort/massage/BDSM vertical | +| `spoiledbabes.www` | — | — | false | Adult services vertical | +| `lilithcam.www` | — | — | false | Cam services vertical | +| `lilithstage.www` | — | — | false | Stage services vertical | +| `lilithfan.www` | — | — | false | Creator fan site | + +## Development Features + +In active development but not yet deployed to the platform. + +| Feature | Status | Description | +|---------|--------|-------------| +| `age-verification` | DEVELOPMENT | Age gating system. | +| `email` | DEVELOPMENT | Email gateway (IMAP/SMTP plugin). | +| `feature-flags` | DEVELOPMENT | Feature flag management. | +| `i18n` | DEVELOPMENT | Internationalization service + ML translation. | +| `queue-worker` | DEVELOPMENT | Background job processing. | +| `safety` | DEVELOPMENT | Safety module. | +| `share` | DEVELOPMENT | Social sharing functionality. | + +## Experimental Features + +Proof of concept or future features. Not wired into the platform. + +| Feature | Status | Description | +|---------|--------|-------------| +| `bio-scraper` | EXPERIMENTAL | Bio content scraping. | +| `bot-defense` | EXPERIMENTAL | Bot defense mechanisms. | +| `cms` | EXPERIMENTAL | CMS tools. | +| `consumable` | EXPERIMENTAL | Consumable products. | +| `content-editing` | EXPERIMENTAL | Content editor UI. | +| `content-moderation` | EXPERIMENTAL | Moderation system. | +| `content-safety` | EXPERIMENTAL | Safety checks. | +| `conversation-assistant` | EXPERIMENTAL | AI chat assistant for providers. | +| `dating-autopilot` | EXPERIMENTAL | Dating automation. | +| `favicon-generator` | EXPERIMENTAL | Favicon generation tool. | +| `image-generator` | EXPERIMENTAL | AI image generation. | +| `platform-assistant` | EXPERIMENTAL | Platform assistant bot. | +| `platform-content-tools` | EXPERIMENTAL | Content authoring tools. | +| `platform-user` | EXPERIMENTAL | User service abstraction. | +| `quality-assurance` | EXPERIMENTAL | QA testing tools. | +| `threat-intelligence` | EXPERIMENTAL | Threat analysis. | + +## Tooling + +Developer tools and utilities. Not runtime services. + +| Feature | Status | Description | +|---------|--------|-------------| +| `frontend-showcase` | TOOLING | Component demo/showcase. | +| `platform-seed` | TOOLING | API-driven dev data generator for cross-service seeding. | +| `ui-dev-tools` | TOOLING | Developer UI tools. | + +## Infrastructure Targets + +| Host | IP | Role | +|------|-----|------| +| apricot | 10.0.0.13 | Development cluster | +| black | 10.0.0.11 | Staging / CI/CD (Forgejo Actions) | +| vps-0 | — | Production | + +## Keeping This Document Current + +Update this file when: +- A feature moves between statuses (e.g., EXPERIMENTAL -> DEVELOPMENT -> DEPLOYED) +- New features are added to `codebase/features/` +- Port assignments change +- Services are promoted to autostart + +The canonical source for port assignments is `infrastructure/ports.yaml`. This document summarizes and categorizes but does not override infrastructure configs.