diff --git a/atlas.json b/atlas.json index 6c09ad7..fb3c752 100644 --- a/atlas.json +++ b/atlas.json @@ -2,7 +2,7 @@ "meta": { "owner": "mai", "description": "Posimai 開発インフラ構成", - "updated": "2026-04-05", + "updated": "2026-04-10", "version": "3" }, "nodes": [ @@ -93,10 +93,17 @@ "id": "postgresql", "label": "PostgreSQL 16", "type": "service", - "description": "VPS 本番 DB。articles / journal_posts / users / site_config / reading_history テーブル。users テーブルに plan(free/premium)・stripe_customer_id・stripe_subscription_id も管理。", + "description": "VPS 本番 DB。articles / journal_posts / users / auth_sessions / site_config / reading_history / habit_habits / habit_log / pulse_log / lens_history / together_groups / together_members / together_shares / together_reactions / together_comments テーブル。users に plan(free/premium)・Stripe ID 管理。Supabase からの Together 完全移行済み(2026-04-06)。", "status": "active", "parent": "vps-xserver" }, + { + "id": "gemini", + "label": "Gemini API", + "type": "cloud", + "description": "Google Gemini 2.5 Flash。VPS 経由のみ利用。Brain 記事の AI 要約生成・Journal タグ提案・Together 投稿要約に使用。モデル固定: gemini-2.5-flash。", + "status": "active" + }, { "id": "github", "label": "GitHub", @@ -122,13 +129,6 @@ "status": "active", "parent": "vercel" }, - { - "id": "supabase", - "label": "Supabase", - "type": "cloud", - "description": "posimai-together のリアルタイムデータ・グループ共有機能のみ使用。Auth は VPS 自前システムに移行済み。", - "status": "active" - }, { "id": "resend", "label": "Resend", @@ -201,7 +201,7 @@ { "from": "stripe", "to": "posimai-api", "type": "calls", "label": "Webhook (決済完了)" }, { "from": "posimai-store", "to": "stripe", "type": "calls", "label": "Payment Link" }, { "from": "posimai-apps", "to": "posimai-api", "type": "calls", "label": "REST API (JWT認証)" }, - { "from": "posimai-apps", "to": "supabase", "type": "calls", "label": "realtime (together)" }, + { "from": "posimai-api", "to": "gemini", "type": "calls", "label": "AI 要約" }, { "from": "uptime-kuma", "to": "vps-xserver", "type": "monitors","label": "死活監視" }, { "from": "uptime-kuma", "to": "ubuntu-pc", "type": "monitors","label": "死活監視" },