Commit Graph

200 Commits

Author SHA1 Message Date
9f8bf1932f accounting_automation, этап 2 (часть A): роль cfo по сумме, флажки fraud, проверка и оплата инвойсов
- approval.ts: роль подтверждающего при создании задачи категоризации (порог approvalThresholdUsd, первая оплата вендору)
- fraud.ts: красные флажки по картам (первая оплата, рост суммы от медианы), задание fraud-flags
- invoice-check.ts: заключение по инвойсу и задача invoice_approval; задание invoice-check
- invoice-paid.ts: markPaid и задание invoice-paid (paid_on, paid_amount контракта)
- MCP: acc_invoice_to_approve, acc_invoice_decide; миграция 041; документы proposed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:44:33 +03:00
f636836f47 accounting_automation: Gmail читается от имени agents@ (участник группы invoice@), поиск по письмам на группу
All checks were successful
ci / test (push) Successful in 41s
ci / deploy (push) Successful in 2m44s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:30:08 +03:00
7d4098f03a Журнал: проверка Gmail-делегирования (Client ID совпадает)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m4s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:26:03 +03:00
d3df50f6bd AGENTS.md: всегда давать URL; журнал: проверка Gmail-делегирования
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:25:55 +03:00
785056fa8e Журнал ручных шагов, уже выполненных людьми (docs/agent_memories/07), ссылка в AGENTS.md
All checks were successful
ci / test (push) Successful in 37s
ci / deploy (push) Successful in 2m1s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:21:45 +03:00
00ec0f300c approved: документы бухгалтерского помощника (нужны образу accounting_automation: промпт категоризации)
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Successful in 36s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:19:15 +03:00
4d7e1487e9 Требования бухгалтерии: правки Анастасии, fraud и chargeback к контракту в виде утверждений, задание ассистенту менеджера
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m43s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 16:01:00 +03:00
47f060c0b2 Требования Intuit: M1, M5, M7, M8 done; анкета сверена со скринами
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 14:10:29 +03:00
d1e3f18817 Версия и дата сборки на странице ручных тестов (BUILD_DATE в образе); исправление теста
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 10:20:07 +03:00
62dfe89f96 Версия и дата сборки на странице ручных тестов (BUILD_DATE в образе)
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 10:19:46 +03:00
a35240165b qbo_auth: на странице ручных тестов краткие сценарии со ссылками
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Successful in 38s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 10:18:17 +03:00
065eee0bad qbo_auth: после invalid_grant статус сохраняется (не откатывается), sync отвечает 409 reauth_needed; найдено ручным тестом M1
Some checks failed
ci / test (push) Successful in 39s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 10:16:11 +03:00
6d6b8aa22d Требования Intuit: M3 и M4 done
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m47s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 10:06:50 +03:00
721a9d0742 Требования Intuit: M2 подтверждён журналом приложения
All checks were successful
ci / deploy (push) Successful in 2m39s
ci / test (push) Successful in 41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:52:17 +03:00
4fe5a849fd Требования Intuit: итоги ручных тестов M1(а,в), M2; M5 назначена задачей по расписанию
Some checks failed
ci / test (push) Successful in 38s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:49:37 +03:00
081ab16915 qbo_auth: журнал действий страницы ручных тестов (ручной тест: действие и результат)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:34:06 +03:00
9a1a2a8a6b qbo_auth: вебхук cloudevents+json (был 415), страница тестов по секретной ссылке, allowedRealmIds; требования Intuit
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 2m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:28:24 +03:00
e90b9f352d qbo_auth: realmId шифруется, /callback отвечает 302, no-cache; требования Intuit: раздел E по оригиналу, ручные тесты через /tests
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m38s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:21:39 +03:00
b0a68930b1 qbo_auth: заголовки no-store/Referrer-Policy; требования Intuit: раздел E (безопасность), M7 по решению Юрия
All checks were successful
ci / test (push) Successful in 42s
ci / deploy (push) Successful in 2m39s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 09:01:39 +03:00
0d3fb7eedb Требования Intuit: страница /tests, M5 по расписанию, MFA: No
All checks were successful
ci / test (push) Successful in 42s
ci / deploy (push) Successful in 2m46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:48:44 +03:00
6cca0c508b qbo_auth: страница ручных тестов /tests, разбор CloudEvents в вебхуке; список тестовых событий
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:48:28 +03:00
2f90f49c69 Требования Intuit: ручные тесты переписаны под браузер, Verifier token внесён
All checks were successful
ci / test (push) Successful in 44s
ci / deploy (push) Successful in 2m49s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 08:36:56 +03:00
014082102c Заметка: выгрузка требований бухгалтерии на Drive
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m8s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:32:32 +03:00
46d0fbab6d qbo_auth: discovery-документ, клиент API с разбором Fault, отключение с отзывом токена; анкета и требования Intuit
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:18:06 +03:00
98930c5b40 qbo_auth: захват intuit_tid в логах и ошибках; документ требований Intuit (intuit_requirements.md)
All checks were successful
ci / test (push) Successful in 41s
ci / deploy (push) Successful in 2m49s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 20:03:33 +03:00
92a85f8d9d Повтор деплоя (расписание qbo_sync исправлено на сервере)
All checks were successful
ci / test (push) Successful in 40s
ci / deploy (push) Successful in 2m15s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 23:26:22 +03:00
2806941fb3 qbo_auth: вебхуки Intuit (/webhook, подпись HMAC, фоновая загрузка по событиям); токены вебхуков в настройках
Some checks failed
ci / test (push) Successful in 40s
ci / deploy (push) Failing after 2m48s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 23:21:57 +03:00
dc224e375b qbo_auth: инкрементальная загрузка зеркала через QuickBooks CDC (полная раз в 7 дней, при первом запуске, full=1 и переполнении лимита)
All checks were successful
ci / test (push) Successful in 42s
ci / deploy (push) Successful in 2m45s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 22:56:20 +03:00
28cce78169 Страницы Intuit: использование данных для DWH, отчётности и сверок
All checks were successful
ci / test (push) Successful in 43s
ci / deploy (push) Successful in 2m39s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 22:31:27 +03:00
d0168ee6ea Заявка Intuit: страницы Privacy/EULA/Launch/Connect/Disconnect, ответы анкеты
Some checks failed
ci / test (push) Successful in 43s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 22:28:56 +03:00
cba424c86a MCP-таблица: ui/message с content массивом блоков (хост отклонял объект)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 20:22:27 +03:00
053b5018c0 MCP: server/discover (2026-07-28), resultType и кэш-подсказки; таблица передаёт выделение в контекст Claude (ui/update-model-context) и кнопка «Спросить Claude про выбранные» (ui/message)
All checks were successful
ci / deploy (push) Successful in 2m42s
ci / test (push) Successful in 40s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 19:44:53 +03:00
4b5e0444b9 MCP Apps: extensions в initialize, _meta.ui в результате вызова, CSP ресурса, URI с хэшем, надёжное рукопожатие ui/initialize (initialized с таймаутом)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 19:07:31 +03:00
2b285b5a3d Миграция 040: RLS для acc_mcp_log (тест миграций в CI)
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m44s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 18:59:17 +03:00
dd7d8ae21e MCP: таблицу очереди всегда выводить текстом (приложения нет), acc_review_list вызывать сразу без вопросов
Some checks failed
ci / test (push) Failing after 41s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 18:43:36 +03:00
66eefae745 MCP: поток GET /mcp (SSE) с notifications/tools/list_changed при подключении, capabilities.tools.listChanged
Some checks failed
ci / test (push) Failing after 41s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 17:43:17 +03:00
5b2470a369 MCP: автоочистка журнала acc_mcp_log (оставляем последние 100000 записей)
Some checks failed
ci / test (push) Failing after 39s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 11:41:17 +03:00
de20e0400f MCP: короткий id во всех инструментах, журнал вызовов acc_mcp_log и представление acc_mcp_error_rate, расширены instructions
Some checks failed
ci / test (push) Failing after 39s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 11:36:17 +03:00
6c061929a1 MCP: описание acc_review_list с ключевыми словами про дела на сегодня
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m40s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 10:20:10 +03:00
ac2436e0f0 MCP: instructions для Claude (что у нас на сегодня -> очередь бухгалтерии) и промпт today; текст в p-mcp-instructions.md
All checks were successful
ci / test (push) Successful in 37s
ci / deploy (push) Successful in 2m40s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 09:28:12 +03:00
aae7472010 MCP: пакетный acc_review_batch, компактная таблица очереди, интерактивное приложение (ui://) с кнопками Done/Delegate/Snooze, подсказки readOnly/destructive
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 09:21:34 +03:00
7638242a51 MCP: scopes_supported в описании защищённого ресурса (Claude иначе просит все scope realm)
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:53:04 +03:00
213ef36bcf Короткое напоминание только если осмысленное сообщение было менее 24 часов назад (last_meaningful, миграция 039, п.86)
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:47:46 +03:00
198eafa86f MCP: WWW-Authenticate с resource_metadata для OAuth-обнаружения
All checks were successful
ci / test (push) Successful in 38s
ci / deploy (push) Successful in 2m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:36:18 +03:00
22d87d8d01 MCP: имя сервера accounting_automation
All checks were successful
ci / test (push) Successful in 39s
ci / deploy (push) Successful in 2m42s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:27:42 +03:00
b422309148 accounting_automation: этап 1 бухгалтерской автоматизации (инвойсы из почты, категоризация, ручной разбор, MCP), интервальные задания scheduler, миграции 033/034/038
All checks were successful
ci / test (push) Successful in 40s
ci / deploy (push) Successful in 2m41s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:05:28 +03:00
12e331efe9 Зеркало QuickBooks qbo_* (миграция 032) и загрузка POST /sync в qbo_auth, задание scheduler qbo_sync (п.85)
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 2m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 23:32:36 +03:00
d8926bc6dc Сервис qbo_auth: OAuth-токены QuickBooks Online (callback services/api/qbo/callback), исследование и предложение quickbooks_bookkeeper (п.84)
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 5m18s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 22:19:06 +03:00
6c4767c806 Письма подрядчикам: исправлена типизация после смягчения правила про телефон (CI)
All checks were successful
ci / test (push) Successful in 34s
ci / deploy (push) Successful in 2m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 13:23:12 +03:00
c129d9651e Письма подрядчикам: телефон менеджера необязателен (нет телефона - письмо без него)
Some checks failed
ci / test (push) Failing after 16s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 13:15:20 +03:00