Commit Graph

149 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
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
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
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
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
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
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
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
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
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
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
fd96573655 Ручной запуск сбора с ожиданием итога: POST /runs?wait=true, идущий сбор вместо 409 (багрепорт data_collector, п.83)
All checks were successful
ci / test (push) Successful in 34s
ci / deploy (push) Successful in 2m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 11:49:40 +03:00
ccf19f502b Багрепорт data_collector: ручной запуск сбора с ожиданием и итогом (wait=true)
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 1m53s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 10:25:04 +03:00
8ea65aedcb Письма подрядчикам: короткий код в конце темы, тема - основной ключ сопоставления (индекс по теме)
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 2m23s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:17:56 +03:00
2987e8f139 Письма подрядчикам: отбор адресата, khb-mail, журнал contractor_email, правило в промте (п.82)
Some checks failed
ci / test (push) Successful in 35s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 22:57:28 +03:00
841d769fb2 Проект: письма подрядчикам от агента (отбор адресата, шаблон, код письма, регистрация)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 20:34:38 +03:00
ba79cf7300 Правки владельца в approved (промты агентов)
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 2m27s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 23:24:52 +03:00
a104112326 Агенты: пилот compact вместо явной памяти по простою (п.81): /compact через 4 или 55 минут по статусу диалога от агента, resume с полным промтом, оценка токенов в agent_usage, предупреждение на 50% недельного лимита
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-09 23:24:45 +03:00
1f763f4800 deviations п.80: один владелец объектов БД - postgres (MCP может создавать таблицы)
All checks were successful
ci / test (push) Successful in 31s
ci / deploy (push) Successful in 1m54s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 21:58:12 +03:00
ad8e65c15e Агенты: менеджер отвечает за все работы проекта, включая подрядчиков (п.80); дубли todo: автоматические (агент и Claude) закрываются, ручные - с вопросом; правки Юрия в approved
Some checks failed
ci / test (push) Successful in 30s
ci / deploy (push) Failing after 3m36s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 20:46:31 +03:00
caec489563 Daily Log по проекту: событие засчитывается менеджеру проекта независимо от автора (багрепорт employee_reports, миграция 028); Resolution
All checks were successful
ci / test (push) Successful in 30s
ci / deploy (push) Successful in 2m31s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 20:12:36 +03:00
f1d8809e1d Агенты: обновление токена для замера лимитов (п.77), повтор открытых вопросов и закрытие своих дублей todo (п.78); багрепорт employee_reports уточнён правилом владельца
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 2m26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 20:05:07 +03:00
f9b249b446 Багрепорт employee_reports: Daily Log менеджера через его собственный Claude не попадает в отчёт
All checks were successful
ci / test (push) Successful in 36s
ci / deploy (push) Successful in 1m58s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 19:53:32 +03:00
fe180d8ed8 Тест тайминга чата не зависит от даты (фиксированный ts давал int overflow debounce_ms через 24.8 суток, CI падал и блокировал деплой); правки Юрия в approved
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 4m17s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 09:13:19 +03:00
76f8a1b9d9 Агенты: язык ответов - поле владельца (по умолчанию English), правило в промтах, смена только по просьбе владельца (deviations п.76)
Some checks failed
ci / test (push) Failing after 31s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 23:01:07 +03:00
53027f75de Агенты: нет задач у менеджера - шаг 2 не запускается, напоминания и обращения в ИТ не пишутся (deviations п.75)
All checks were successful
ci / test (push) Successful in 30s
ci / deploy (push) Successful in 2m23s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 20:06:21 +03:00
50985de683 deviations п.74: граница TTL кэша (час) и тест удержания на 3 часа
All checks were successful
ci / test (push) Successful in 30s
ci / deploy (push) Successful in 1m53s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 10:56:26 +03:00
d603c849f8 deviations п.74: результат замера TTL кэша Claude (около часа)
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 1m57s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 23:41:35 +03:00
62756a8878 Агент видит скриншоты и фото: Read в инструментах чата, правило в промтах (deviations п.73)
All checks were successful
ci / test (push) Successful in 31s
ci / deploy (push) Successful in 2m20s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 21:43:58 +03:00
b8b2928154 Агент проектного канала: подтверждение записи текстом сразу (отчёт/просьба) или при recap (беседа), п.72
All checks were successful
ci / test (push) Successful in 32s
ci / deploy (push) Successful in 2m22s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 21:16:52 +03:00
68f0193250 Агент проектного канала: отчёты и punch list обрабатываются сразу, ответ всегда (deviations п.71)
Some checks failed
ci / test (push) Failing after 30s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 21:06:57 +03:00