Проводка в QuickBooks после Done по категоризации: задание categorize-post (агент, результат в истории), миграция 076, processes.md
Some checks failed
ci / test (push) Failing after 57s
ci / deploy (push) Has been skipped

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 17:02:00 +03:00
parent 4fe1f36063
commit 77deeab702
7 changed files with 234 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ import { runInvoiceReconcile } from "./invoice-reconcile.js";
import { GmailClient } from "./gmail.js";
import { GoogleAuth } from "./google.js";
import { runSpamRescue } from "./spam-rescue.js";
import { runCategorizePost } from "./categorize-post.js";
import { runHistoryWeekly } from "./history-report.js";
import { makeClaudeStatementReader, runMonthlyReconcile } from "./reconcile.js";
import { buildApi } from "./http-api.js";
@@ -154,6 +155,7 @@ const app = buildApi({
},
"history-weekly": () => runHistoryWeekly({ pool, ...reportSlack() }),
"fraud-weekly": () => runFraudWeekly({ pool, ...reportSlack() }),
"categorize-post": async () => runCategorizePost({ pool, claude, log, notify }),
"spam-rescue": async () => {
if (!auth || !s.google) throw new Error("не настроены google (ключ сервисного аккаунта)");
return runSpamRescue({ pool, auth, log, mailboxes: s.google.spamRescue.mailboxes, sourceMailbox: s.google.gmailUser, dryRun: s.google.spamRescue.dryRun });