PM Ops Workspace

先看 mission,再決定今天哪些內容值得被放大

目前主控帳號:Threads @newfinlab2025 · 最後同步 2026/5/31 13:52:39

今天主線

PM Ops → Accounts → Review → Factory

例外 / 覆蓋

656 個例外待處理

今日已發 13 · 還缺 0

Console Status

高自動營運中

@newfinlab2025

Ops

環境診斷台

這裡專門用來確認目前這份 app 到底連的是哪個環境、哪些關鍵變數有沒有設、以及帳號資料是不是像你預期。

DB

Ready

connected to 54.65.5.120/zeabur

Threads Accounts

1

目前資料庫中的 Threads 帳號數

WordPress Sites

0

目前資料庫中的 WordPress 站台數

Tracked Sources

22

目前資料庫中的來源追蹤數

AI Health

Check

Gemini API error (429): { "error": { "code": 429, "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your cur

Gemini Model

gemini-2.5-flash-lite

310ms

OpenAI

Missing

目前是否有 OPENAI_API_KEY

Schema

Aligned

目前抽查到的新欄位都已存在。

Automation Runtime

背景排程最近有沒有真的跑

CRON Heartbeat

good

2026/6/13 13:31:27

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

CRON Scheduler

warn

2026/6/13 13:30:23

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

ops_heartbeat

executed

2026/6/13 13:31:27

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

ops_scheduler

executed

2026/6/13 13:30:23

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

ops_heartbeat

executed

2026/6/13 13:17:22

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

ops_scheduler

executed

2026/6/13 13:15:17

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

ops_heartbeat

executed

2026/6/13 13:01:37

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

ops_scheduler

executed

2026/6/13 13:00:29

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

ops_heartbeat

executed

2026/6/13 12:47:44

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

ops_scheduler

executed

2026/6/13 12:45:17

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

ops_heartbeat

executed

2026/6/13 12:31:25

heartbeat ok | persona 1/1 | promoted 0/0 | published 0/0 | seo 0/2

ops_scheduler

executed

2026/6/13 12:30:24

scheduler ok | promoted 0/0 | published 0/0 | approval 0 | skipped 0 | failed 0

Deploy Checklist

部署前檢查

DATABASE_URL / DB 連線

pass

已連到 54.65.5.120/zeabur

Schema 已同步

pass

抽查到的新欄位都已存在。

Threads 基本 env

pass

Threads OAuth 需要的基本變數已存在。

AI Provider 健康

check

Gemini 健康檢查未過,但仍有其他 AI provider 可作為備援。

GA4 / GSC 讀取憑證

pass

已設定 Google OAuth 使用者憑證,可直接讀 GA4 / Search Console。

每日日報 / Discord / Telegram

pass

Discord 已設定,每日日報會優先送到 Discord。

Inngest / 排程

pass

Inngest 主要 env 已存在。

External cron fallback

pass

已可安全呼叫 `/api/cron/heartbeat` 或 `/api/cron/scheduler` 當作排程備援。

已有 Threads 帳號

pass

目前資料庫裡有 1 個 Threads 帳號。

Schema Checks

資料庫欄位抽查

editorialDirection

present

editorialGoal

present

missionTitle

present

autopilotMode

present

wordpressPublishMode

present

Environment Checks

關鍵環境變數

DATABASE_URL

present

54.65.5.120/zeabur

ADMIN_PASSWORD

present

configured

ADMIN_SESSION_SECRET

present

configured

THREADS_APP_ID

present

configured

THREADS_APP_SECRET

present

configured

THREADS_REDIRECT_URI

present

configured

TOKEN_ENCRYPTION_KEY

present

configured

DISCORD_DAILY_WEBHOOK_URL

present

configured

TELEGRAM_BOT_TOKEN

missing

not set

TELEGRAM_CHAT_ID

missing

not set

GOOGLE_OAUTH_CLIENT_ID

present

configured

GOOGLE_OAUTH_CLIENT_SECRET

present

configured

GOOGLE_OAUTH_REFRESH_TOKEN

present

configured

GSC_SITE_URL

present

configured

GSC_CLIENT_EMAIL

missing

not set

CRON_SECRET

present

configured

INNGEST_EVENT_KEY

present

configured

INNGEST_SIGNING_KEY

present

configured

INNGEST_SERVE_ORIGIN

present

configured

Warnings

目前觀察

最近一次 scheduler 超過 5 分鐘,排程發文鏈可能沒有持續在跑。
Gemini health check 失敗:Gemini API error (429): { "error": { "code": 429, "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your cur

Recovery Hints

下一步建議

確認 `/api/cron/scheduler` 或舊 scheduler 排程是否還在正常執行。
如果你主要靠 Gemini 產文,先確認 `GEMINI_API_KEY`、`GEMINI_MODEL` 是否正確,再測一次 `/api/ai/health`。
目前資料庫裡有帳號資料,若前台仍看不到,優先檢查是不是看錯 project / environment 或 session 狀態。

Threads Callback

最近授權寫庫紀錄

2026/5/31 13:52:39

executed

redirect=https://social.zeabur.app/api/threads/callback | profileId=25726647237015208 | username=@newfinlab2025 | accountId=cmp9uqb1900010q0i12emtgyc

2026/5/17 16:11:57

executed

redirect=https://social.zeabur.app/api/threads/callback | profileId=25726647237015208 | username=@newfinlab2025 | accountId=cmp9uqb1900010q0i12emtgyc

2026/5/17 16:11:44

failed

redirect=https://social.zeabur.app/api/threads/callback | invalid_oauth_state

2026/5/17 16:10:51

executed

redirect=https://localhost:8080/api/threads/callback | profileId=25726647237015208 | username=@newfinlab2025 | accountId=cmp9uqb1900010q0i12emtgyc

2026/5/17 16:02:07

executed

redirect=https://localhost:8080/api/threads/callback | profileId=25726647237015208 | username=@newfinlab2025 | accountId=cmp9uqb1900010q0i12emtgyc