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
|
│ ├── scripts/generate.ts # Token generator
|
||||||
│ └── generated/ # Output: tokens.css, tokens.ts, MindLystTokens.kt, MindLystTheme.swift
|
│ └── generated/ # Output: tokens.css, tokens.ts, MindLystTokens.kt, MindLystTheme.swift
|
||||||
├── services/ # @lysnrai/* product-agnostic microservices
|
├── services/ # @lysnrai/* product-agnostic microservices
|
||||||
│ ├── platform-service/ # Auth, audit, flags, notifications, blob (port 4003)
|
│ ├── platform-service/ # Consolidated: auth, audit, flags, notifications, blob,
|
||||||
│ ├── billing-service/ # Subscriptions, Stripe, usage, licenses (port 4002)
|
│ │ # invitations, referrals, promos, subscriptions, usage,
|
||||||
│ ├── growth-service/ # Invitations, referrals, promos (port 4001)
|
│ │ # plans, licenses, stripe, items, comments, votes, public (port 4003)
|
||||||
│ ├── tracker-service/ # Items, comments, votes, public roadmap (port 4004)
|
|
||||||
│ ├── extraction-service/ # LangExtract text extraction + Python sidecar (port 4005)
|
│ ├── extraction-service/ # LangExtract text extraction + Python sidecar (port 4005)
|
||||||
│ └── monitoring/ # Loki + Grafana config, health-check script
|
│ └── monitoring/ # Loki + Grafana config, health-check script
|
||||||
├── docs/ # Architecture docs, roadmap, analysis
|
├── docs/ # Architecture docs, roadmap, analysis
|
||||||
@ -121,18 +120,18 @@ learning_ai_common_plat/
|
|||||||
| **Audit log** | `services/platform-service/` | `src/modules/audit/` |
|
| **Audit log** | `services/platform-service/` | `src/modules/audit/` |
|
||||||
| **Notifications** | `services/platform-service/` | `src/modules/notifications/` |
|
| **Notifications** | `services/platform-service/` | `src/modules/notifications/` |
|
||||||
| **Rate limiting** | `services/platform-service/` | `src/modules/rate-limit/` |
|
| **Rate limiting** | `services/platform-service/` | `src/modules/rate-limit/` |
|
||||||
| **Subscriptions** | `services/billing-service/` | `src/modules/subscriptions/` |
|
| **Subscriptions** | `services/platform-service/` | `src/modules/subscriptions/` |
|
||||||
| **Stripe webhooks** | `services/billing-service/` | `src/modules/stripe/` |
|
| **Stripe webhooks** | `services/platform-service/` | `src/modules/stripe/` |
|
||||||
| **Usage tracking** | `services/billing-service/` | `src/modules/usage/` |
|
| **Usage tracking** | `services/platform-service/` | `src/modules/usage/` |
|
||||||
| **Plans** | `services/billing-service/` | `src/modules/plans/` |
|
| **Plans** | `services/platform-service/` | `src/modules/plans/` |
|
||||||
| **Licenses** | `services/billing-service/` | `src/modules/licenses/` |
|
| **Licenses** | `services/platform-service/` | `src/modules/licenses/` |
|
||||||
| **Invitations** | `services/growth-service/` | `src/modules/invitations/` |
|
| **Invitations** | `services/platform-service/` | `src/modules/invitations/` |
|
||||||
| **Referrals** | `services/growth-service/` | `src/modules/referrals/` |
|
| **Referrals** | `services/platform-service/` | `src/modules/referrals/` |
|
||||||
| **Promos** | `services/growth-service/` | `src/modules/promos/` |
|
| **Promos** | `services/platform-service/` | `src/modules/promos/` |
|
||||||
| **Tracker items** | `services/tracker-service/` | `src/modules/items/` |
|
| **Tracker items** | `services/platform-service/` | `src/modules/items/` |
|
||||||
| **Public roadmap** | `services/tracker-service/` | `src/modules/public/` |
|
| **Public roadmap** | `services/platform-service/` | `src/modules/public/` |
|
||||||
| **Tracker comments** | `services/tracker-service/` | `src/modules/comments/` |
|
| **Tracker comments** | `services/platform-service/` | `src/modules/comments/` |
|
||||||
| **Tracker votes** | `services/tracker-service/` | `src/modules/votes/` |
|
| **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 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 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 |
|
| **Extraction Python** | `services/extraction-service/` | `python/src/` — LangExtract sidecar (FastAPI :4006), extractor, task registry, language detection |
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
"name": "@lysnrai/platform-service",
|
"name": "@lysnrai/platform-service",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"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",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "tsx watch src/server.ts",
|
"dev": "tsx watch src/server.ts",
|
||||||
|
|||||||
@ -49,7 +49,7 @@ describe('VoteDoc', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('voteRoutes export', () => {
|
describe('voteRoutes export', () => {
|
||||||
it('exports voteRoutes function', async () => {
|
it('exports voteRoutes function', { timeout: 15_000 }, async () => {
|
||||||
const mod = await import('./routes.js');
|
const mod = await import('./routes.js');
|
||||||
expect(typeof mod.voteRoutes).toBe('function');
|
expect(typeof mod.voteRoutes).toBe('function');
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user