Commit Graph

292 Commits

Author SHA1 Message Date
8bf59ee68b mcp_gateway: передача дел единого MCP-шлюза (проблема, решение с MCP_fluent, инвентарь MCP, факты Keycloak/nginx)
All checks were successful
ci / test (push) Successful in 1m11s
ci / deploy (push) Successful in 3m36s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:57:25 +03:00
3016b301ab invoice-filing: пропускать инвойсы без drive_file_id (импортированные из Excel), иначе Drive 404 каждые 10 минут
All checks were successful
ci / test (push) Successful in 1m15s
ci / deploy (push) Successful in 3m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:48:56 +03:00
5c9b949d8a MCP-документ: эталонная форма, получение секрета, иконки не работают; правило про Greg в proposed-промтах
Some checks failed
ci / deploy (push) Has been cancelled
ci / test (push) Has started running
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:48:29 +03:00
9d58d9b87c Исправление: в тексте напоминания (вход 7) пропадала буква s (регэксп /s+/ вместо /\s+/); тест
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-12-06 17:47:58 +03:00
92e41c3c83 MCP-документ: полная таблица формы Add custom connector и списка OAuth client; правило давать полные списки выпадашек
All checks were successful
ci / test (push) Successful in 1m12s
ci / deploy (push) Successful in 2m39s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:38:27 +03:00
fd582aa18e Документ про MCP переименован (how_to_make_mcp_connector_for_claude.md), ссылки из deploy.md и AGENTS.md
All checks were successful
ci / test (push) Successful in 1m12s
ci / deploy (push) Successful in 2m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:33:42 +03:00
6dd1675c67 docs/new_mcp.md: как правильно делать MCP-коннектор (nginx, Keycloak-клиент, offline_access, проверка)
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-12-06 17:33:24 +03:00
595e69d57f MCP: у каждого коннектора KH Build своя иконка и название (serverInfo.icons/title)
All checks were successful
ci / test (push) Successful in 1m18s
ci / deploy (push) Successful in 3m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-06 17:01:07 +03:00
1e5e311962 Разбор встреч: прерванные перезапуском расшифровки возвращаются в очередь при старте
All checks were successful
ci / test (push) Successful in 55s
ci / deploy (push) Successful in 3m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 22:39:47 +03:00
fef474232c mcp_for_agents: постоянный MCP-сервер агентов (read_full_text, read_slack_message, agent_issues)
All checks were successful
ci / test (push) Successful in 54s
ci / deploy (push) Successful in 3m11s
- mcp-agents.ts: JSON-RPC MCP, аутентификация статическим токеном или JWT Keycloak (RS256 по JWKS, без новых зависимостей), allowedEmails
- маршрут POST /mcp/agents и метаданные OAuth; http-api пропускает их мимо токена сервиса
- SlackApi.message: сообщение целиком; настройки agentsMcp; тесты; документ mcp-for-agents.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 22:30:12 +03:00
6e777bca94 Шаг 2 читает proposed-промт с правилом про молчание; разбор всех записей встреч
All checks were successful
ci / deploy (push) Successful in 3m12s
ci / test (push) Successful in 54s
- p-step2-prepare.md (proposed): правило «молчание людей - не проблема ИТ»; step2.ts читает proposed, константа из кода убрана; тест: proposed = approved + правило
- meetings: minMinutes по умолчанию 0, пропуск только если в расшифровке нет речи (<100 символов)
- known-issues.md: актуализирован статус P6

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 22:25:53 +03:00
fd9fc8fa71 Политика размеров: MCP read_full_text для обрезанных данных, аудит без скрытого ограничения
All checks were successful
ci / test (push) Successful in 55s
ci / deploy (push) Successful in 3m13s
- fulltext.ts: хранилище полных текстов, clipForAgent (пометка ОБРЕЗАНО + ref), MCP-сервер khb_fulltext (POST /mcp/fulltext, read_full_text с offset/length)
- cli-runner: набор инструментов fulltext (--mcp-config, --strict-mcp-config, allowedTools только read_full_text)
- audit.ts: фрагмент 1500 символов, полный текст сообщения читается по ref; промт получает раздел «Доступ к полному тексту»
- убраны скрытые обрезки: reminder_history (текст, ответ), API истории агента, обращение в ИТ в Slack
- khb-sql: подсказка при лимите строк объясняет чтение по частям
- known-issues.md: политика размеров

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 22:10:26 +03:00
b331d145da Агенты: усечённый пакет в 11:50, вход 7 с текстом, аудит 3000 символов, правило про молчание менеджеров
All checks were successful
ci / test (push) Successful in 1m19s
ci / deploy (push) Successful in 3m30s
- jobs.ts: при дневной перепроверке агент шага 2 получает пакеты ВСЕХ проектов менеджера, если изменился хотя бы один (раньше только изменённые - агент считал пакет усечённым)
- queries.ts/step2.ts: во входе (7) показывается текст последнего напоминания (jt_task_id в reminder_history не заполнен)
- audit.ts: текст сообщения для классификатора 3000 символов вместо 700, пачки по 20
- p-manager-dialog.md и шаг 2 (из кода): молчание менеджеров - организационная проблема, игнорировать, не эскалировать в ИТ
- known-issues.md: реестр проблем агентов

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 22:00:00 +03:00
798580a908 acc_invoices: журнал без зависания (Proxy вместо подмены query), общий журнал /api/log, MCP-инструменты acc_inv_* (все функции WebUI и анализ журнала)
All checks were successful
ci / test (push) Successful in 55s
ci / deploy (push) Successful in 3m23s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 20:29:00 +03:00
76eafc995a acc_invoices: журнал изменений (триггеры, автор из WebUI, панель История, API log)
Some checks failed
ci / test (push) Failing after 3m42s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 20:18:26 +03:00
dd2b8f6df3 acc_invoices: OK в проверках принимается в любом регистре, латиницей и кириллицей (ОК), в базе хранится как OK
Some checks failed
ci / test (push) Successful in 52s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 20:15:24 +03:00
d0a22b8cec acc_invoices: внутренние проекты (acc_internal_projects), описание, ссылка для оплаты, «Файла Invoice пока нет», строки необязательны, ждёт автор по умолчанию
All checks were successful
ci / test (push) Successful in 52s
ci / deploy (push) Successful in 3m5s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 15:30:38 +03:00
ade259515f acc_invoices UI: у оплаченных нет кнопок согласования
All checks were successful
ci / deploy (push) Successful in 3m2s
ci / test (push) Successful in 51s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 15:18:00 +03:00
7541f0f69a Скрипт привязки перенесённых инвойсов к проводкам QuickBooks
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-12-04 15:17:27 +03:00
154d9be4ea acc_invoices UI: кнопки Drive и QuickBooks над строками инвойса и контракта (новая вкладка)
All checks were successful
ci / deploy (push) Successful in 3m15s
ci / test (push) Successful in 51s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 15:12:25 +03:00
4544383e8a acc_invoices UI: лоадер при смене фильтра, легенда колонки «Проверки», ссылки QuickBooks, множественный выбор, кнопки Копировать и Claude
All checks were successful
ci / test (push) Successful in 53s
ci / deploy (push) Successful in 3m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 15:07:58 +03:00
6855b42be5 acc_invoices: перенос текущего реестра Excel в acc_invoices (скрипт), у оплаченных нет ошибки «нет файла»
All checks were successful
ci / test (push) Successful in 52s
ci / deploy (push) Successful in 3m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:53:52 +03:00
8e747bca20 Keycloak тема: Google над формой с отступами, имя css с версией (кэш 30 дней)
All checks were successful
ci / deploy (push) Successful in 2m24s
ci / test (push) Successful in 52s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:49:35 +03:00
b878aa72bb acc_invoices: роль admin и переключатель роли CFO/accountant/employee; Keycloak: фирменный стиль KH Build
All checks were successful
ci / test (push) Successful in 55s
ci / deploy (push) Successful in 3m13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:36:45 +03:00
d79ebfda10 Keycloak: тема входа khb (крупная пульсирующая кнопка Google сверху)
All checks were successful
ci / deploy (push) Successful in 2m23s
ci / test (push) Successful in 55s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:31:41 +03:00
8a1daa131b acc_invoices: описание входа через Keycloak
All checks were successful
ci / test (push) Successful in 52s
ci / deploy (push) Successful in 3m13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:21:32 +03:00
4a351306bb acc_invoices: вход через Keycloak (PKCE, Google, только @khbuild.pro) вместо вставки токена
All checks were successful
ci / test (push) Successful in 54s
ci / deploy (push) Successful in 3m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 14:16:11 +03:00
16e9b2c085 acc_invoices: сервис WebUI и бэкенд платёжного процесса (миграция 082, правила статусов, согласования, ручная отметка оплаты), статусы оплат, предложения к ТЗ
All checks were successful
ci / test (push) Successful in 59s
ci / deploy (push) Successful in 3m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-04 12:44:58 +03:00
37778d8b11 deviations: п.91 записи встреч
All checks were successful
ci / test (push) Successful in 57s
ci / deploy (push) Successful in 3m0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 09:27:39 +03:00
630aacfbf6 Записи еженедельных встреч с Drive: расшифровка whisper, итоги (Daily Log и todo) ассистенту Arthur на согласование
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-12-01 09:27:29 +03:00
43b9c40312 monitor: отсрочка 290 с для проблем с контейнерами (упавшему даём полежать), одиночный перезапуск не тревога (только цикл от 3)
All checks were successful
ci / test (push) Successful in 53s
ci / deploy (push) Successful in 2m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:50:51 +03:00
efe9af0961 Задачи D1-D7, процессы (договоры, архив инвойсов, регулярные платежи Linode), вопросы к Анастасии, предложение по acc_contracts
All checks were successful
ci / test (push) Successful in 53s
ci / deploy (push) Successful in 2m47s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:39:03 +03:00
87c85e491e Заметки: находки сессии (GK, порча имён, почта, доступ к Drive) и ссылка из AGENTS.md
All checks were successful
ci / test (push) Successful in 50s
ci / deploy (push) Successful in 2m6s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:32:24 +03:00
e95bf7d084 Заметки: структура 7. FINANCE на Drive и что из неё полезно автоматизации
All checks were successful
ci / test (push) Successful in 50s
ci / deploy (push) Successful in 2m12s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:27:17 +03:00
5b116c464c Повторный запуск деплоя (сбой сети при сборке образа)
All checks were successful
ci / test (push) Successful in 51s
ci / deploy (push) Successful in 2m13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:11:32 +03:00
cef2f2f296 old_invoices: сопоставление проектов и вендоров, md-отчёт; pay_method (080); spam-rescue: сравнение без регистра и диакритики, исправлен json в белом списке
Some checks failed
ci / test (push) Successful in 52s
ci / deploy (push) Failing after 4m45s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-01 08:05:19 +03:00
95e7978615 Заметки: раскладка Drive как в 07. Invoices, загрузка old_invoices и расхождения формата
All checks were successful
ci / test (push) Successful in 54s
ci / deploy (push) Successful in 2m8s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 23:34:03 +03:00
abb17121e6 Тест: имена файлов инвойсов по новой схеме
All checks were successful
ci / test (push) Successful in 54s
ci / deploy (push) Successful in 3m2s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 23:28:28 +03:00
db333d6750 Инвойсы на Drive: раскладка как в «07. Invoices» (Инвойсы / способ оплаты / Месяц ГГГГ / «$сумма Вендор.pdf»), перенос оплаченных; drive_folder
Some checks failed
ci / test (push) Failing after 59s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 23:27:04 +03:00
dd60da4091 old_invoices: таблица (миграция 079), разбор Excel Анастасии и загрузка; архив инвойсов вне рабочего реестра
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 23:23:47 +03:00
31e69589d8 Done: служебные пометки и «ждёт документ» не считаются нерешённой проблемой; правка тестов под новое правило
All checks were successful
ci / test (push) Successful in 1m3s
ci / deploy (push) Successful in 3m10s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 19:44:35 +03:00
1112dac733 Done: нельзя при нерешённой проблеме (Can't done - not solved yet. SS, исходная проблема сохраняется), точечная проверка операции в QuickBooks; вложения документов в QuickBooks (qbo-attach, миграция 078, ссылка на Drive в Memo); review-done-action.md по замечаниям
Some checks failed
ci / test (push) Failing after 1m0s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 19:32:51 +03:00
2419bd26d3 Заметки: файл Excel Насти, структура 07. Invoices, вложения в QuickBooks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 18:55:48 +03:00
1a7515dfbc Очередь: столбец «списано с» и ссылка на QuickBooks, ответ на проблему и contract_basis (миграция 077), инструкции и процессы; review-done-action.md
All checks were successful
ci / test (push) Successful in 1m7s
ci / deploy (push) Successful in 3m16s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 17:47:01 +03:00
09f6f81038 Заметки: разбор записи встречи 2026-11-30 (без реализации)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 17:19:40 +03:00
b642b816f3 Тест invoices-mail: новая логика дублей (вендор+номер+сумма) и исходящих счетов
All checks were successful
ci / test (push) Successful in 1m0s
ci / deploy (push) Successful in 3m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 17:07:38 +03:00
77deeab702 Проводка в 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>
2026-11-30 17:02:00 +03:00
4fe1f36063 Инвойсы: в разбор берутся только входящие счета (исходящие KH Build отбрасываются: промпт и защита в коде); processes.md
Some checks failed
ci / test (push) Failing after 55s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 15:56:48 +03:00
3ab8e78d21 processes.md: ссылка на шаг 4.3
Some checks failed
ci / test (push) Failing after 54s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-30 15:53:48 +03:00
dfa64ccb49 Инвойсы: дубль по вендору и номеру (пересылка и повторная отправка), корректировка суммы подсвечивается; processes.md
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-30 15:53:43 +03:00