docs: Phase 5 update AGENTS.md, package.json, monitoring for consolidated services
This commit is contained in:
parent
831e0cb810
commit
11ca4e95e3
31
AGENTS.md
31
AGENTS.md
@ -38,10 +38,9 @@ learning_ai_common_plat/
|
||||
│ ├── scripts/generate.ts # Token generator
|
||||
│ └── generated/ # Output: tokens.css, tokens.ts, MindLystTokens.kt, MindLystTheme.swift
|
||||
├── services/ # @lysnrai/* product-agnostic microservices
|
||||
│ ├── platform-service/ # Auth, audit, flags, notifications, blob (port 4003)
|
||||
│ ├── billing-service/ # Subscriptions, Stripe, usage, licenses (port 4002)
|
||||
│ ├── growth-service/ # Invitations, referrals, promos (port 4001)
|
||||
│ ├── tracker-service/ # Items, comments, votes, public roadmap (port 4004)
|
||||
│ ├── platform-service/ # Consolidated: auth, audit, flags, notifications, blob,
|
||||
│ │ # invitations, referrals, promos, subscriptions, usage,
|
||||
│ │ # plans, licenses, stripe, items, comments, votes, public (port 4003)
|
||||
│ ├── extraction-service/ # LangExtract text extraction + Python sidecar (port 4005)
|
||||
│ └── monitoring/ # Loki + Grafana config, health-check script
|
||||
├── docs/ # Architecture docs, roadmap, analysis
|
||||
@ -121,18 +120,18 @@ learning_ai_common_plat/
|
||||
| **Audit log** | `services/platform-service/` | `src/modules/audit/` |
|
||||
| **Notifications** | `services/platform-service/` | `src/modules/notifications/` |
|
||||
| **Rate limiting** | `services/platform-service/` | `src/modules/rate-limit/` |
|
||||
| **Subscriptions** | `services/billing-service/` | `src/modules/subscriptions/` |
|
||||
| **Stripe webhooks** | `services/billing-service/` | `src/modules/stripe/` |
|
||||
| **Usage tracking** | `services/billing-service/` | `src/modules/usage/` |
|
||||
| **Plans** | `services/billing-service/` | `src/modules/plans/` |
|
||||
| **Licenses** | `services/billing-service/` | `src/modules/licenses/` |
|
||||
| **Invitations** | `services/growth-service/` | `src/modules/invitations/` |
|
||||
| **Referrals** | `services/growth-service/` | `src/modules/referrals/` |
|
||||
| **Promos** | `services/growth-service/` | `src/modules/promos/` |
|
||||
| **Tracker items** | `services/tracker-service/` | `src/modules/items/` |
|
||||
| **Public roadmap** | `services/tracker-service/` | `src/modules/public/` |
|
||||
| **Tracker comments** | `services/tracker-service/` | `src/modules/comments/` |
|
||||
| **Tracker votes** | `services/tracker-service/` | `src/modules/votes/` |
|
||||
| **Subscriptions** | `services/platform-service/` | `src/modules/subscriptions/` |
|
||||
| **Stripe webhooks** | `services/platform-service/` | `src/modules/stripe/` |
|
||||
| **Usage tracking** | `services/platform-service/` | `src/modules/usage/` |
|
||||
| **Plans** | `services/platform-service/` | `src/modules/plans/` |
|
||||
| **Licenses** | `services/platform-service/` | `src/modules/licenses/` |
|
||||
| **Invitations** | `services/platform-service/` | `src/modules/invitations/` |
|
||||
| **Referrals** | `services/platform-service/` | `src/modules/referrals/` |
|
||||
| **Promos** | `services/platform-service/` | `src/modules/promos/` |
|
||||
| **Tracker items** | `services/platform-service/` | `src/modules/items/` |
|
||||
| **Public roadmap** | `services/platform-service/` | `src/modules/public/` |
|
||||
| **Tracker comments** | `services/platform-service/` | `src/modules/comments/` |
|
||||
| **Tracker votes** | `services/platform-service/` | `src/modules/votes/` |
|
||||
| **Extraction routes** | `services/extraction-service/` | `src/modules/extract/` — POST /extract, /extract/batch, /extract/jobs, /extract/models |
|
||||
| **Extraction tasks** | `services/extraction-service/` | `src/modules/tasks/` — predefined task library (triage, transcript, memory-insight, etc.) |
|
||||
| **Extraction Python** | `services/extraction-service/` | `python/src/` — LangExtract sidecar (FastAPI :4006), extractor, task registry, language detection |
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "@lysnrai/platform-service",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "Platform Service — auth, audit, notifications, feature flags",
|
||||
"description": "Platform Service — consolidated: auth, audit, notifications, flags, blob, invitations, referrals, promos, subscriptions, usage, plans, licenses, stripe, items, comments, votes, public",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "tsx watch src/server.ts",
|
||||
|
||||
@ -49,7 +49,7 @@ describe('VoteDoc', () => {
|
||||
});
|
||||
|
||||
describe('voteRoutes export', () => {
|
||||
it('exports voteRoutes function', async () => {
|
||||
it('exports voteRoutes function', { timeout: 15_000 }, async () => {
|
||||
const mod = await import('./routes.js');
|
||||
expect(typeof mod.voteRoutes).toBe('function');
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user