Commit Graph

18 Commits

Author SHA1 Message Date
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
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
53df5a9e7f Агенты: новая сессия вместо resume (память в промте), живой агент по простою 4 мин сводит память; экономия лимита (deviations п.69)
Some checks failed
ci / test (push) Failing after 29s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 14:19:11 +03:00
bc6697834a Агенты: учёт токенов (agent_usage, буфер в памяти + пачки в БД), globals с лимитами аккаунта, доллары убраны
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m18s
Расчётная стоимость из ответов claude не является списанием (тариф Team, 0 из 10 USD), поэтому результаты, API и записи больше её не ведут.
Токены каждого вызова модели - в agent_usage; проценты 5-часового и недельного окон читаются у claude в globals (одна строка, check),
предупреждение ИТ на 80% и 95%, сводка GET /agent/usage.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 10:41:10 +03:00
f32d74a265 Агенты: переключение на todo_service (khb-todo, TodoEventPoller вместо ControlWatcher, блок Todo, промты proposed); багрепорты todo_service
Some checks failed
ci / test (push) Failing after 28s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 08:14:41 +03:00
7c26b38a49 Промты согласованы и установлены всем менеджерам: recap, Control todo (миграция 023, ControlWatcher), fallback на английском; tasks.md очищен
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 2m7s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 08:28:06 +03:00
4a32a08b6d Проектные каналы: тихий режим, recap для Daily Log; Huddle через message_changed; короткие напоминания
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 21:12:07 +03:00
bfce62d66f Google Drive под ключами сервисных аккаунтов вместо rclone: клиент Drive API, папка приёма и выгрузка материалов; команда khb-drive для агентов (builder - строителям и проектным чатам, полный - руководителю); rclone удалён; промты; тесты
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 3m13s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 09:41:33 +03:00
f3e0b0618e Отключение агента менеджера: на время и до команды владельца (миграция 017, API pause/resume, события, шаг 2 и приём сообщений); тесты; docs
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-10-19 19:56:51 +03:00
63e7dd790b Промты агентов перенесены в docs модуля (p-*.md внутри feature); прежняя версия читает approved, новая - proposed; тест промтов
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m34s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 21:34:18 +03:00
65ab75d378 Долгоживущий агент чата (только для managerIds, тестовый менеджер) и тайминг чата (chat_timing, миграция 016); тесты; docs
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m46s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:55:18 +03:00
8b2551acb2 Ассистент: дедупликация обращений в ИТ, закрытие осиротевших запусков при старте; предложение к промтам
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m39s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 22:33:01 +03:00
1722a87915 Ассистент: llmtest- только для тестовых проектов (agent.testJobIds), POST /chat/apply для разового поручения агенту
All checks were successful
ci / test (push) Successful in 21s
ci / deploy (push) Successful in 1m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 22:25:04 +03:00
d8f3ddee37 Озвучивание ответов (Google Chirp 3 HD): режим и голос на чат, миграция 007, загрузка аудио в Slack; docs
All checks were successful
ci / test (push) Successful in 15s
ci / deploy (push) Successful in 1m5s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-13 22:01:47 +03:00
5718f0c10b Папка приёма Google Drive <id чата>: опрос раз в 10 секунд, файлы = сообщения менеджера; swap 32 ГБ; docs
All checks were successful
ci / test (push) Successful in 15s
ci / deploy (push) Successful in 1m9s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 09:38:48 +03:00
8c2cd65498 Шаг 4: история напоминаний, запрос "что-то ещё" по таймеру, язык ответа; тесты; docs/proposed
All checks were successful
ci / test (push) Successful in 14s
ci / deploy (push) Successful in 1m8s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 23:41:13 +03:00
27b9842894 Консольные агенты claude -p вместо рутин: шаги 2-4, Slack Socket Mode, миграция 006, удаление agent_mcp
All checks were successful
ci / test (push) Successful in 14s
ci / deploy (push) Successful in 3m7s
- khbuild_assistant_prep: agents (cli-runner, сессии, проверка и повторы формата, шаг 2), slack (Socket Mode, приём, шаг 4, Drive/rclone), промты в promts/
- миграция 006: память менеджера, списки дня, журналы проблем/сообщений/запусков; удалены active_task*, ap_agent_invocation
- удалён package agent_mcp; Dockerfile с claude/ffmpeg/exiftool/whisper/rclone; compose-шаблон сервиса агентов
- docs: структура approved/proposed (modules, data_objects, roles), скрипт сводок

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 23:24:23 +03:00
ebb1cb7950 Каркас monorepo: scheduler, data_collector, khbuild_assistant_prep, khb_common; миграции; CI/CD
Some checks failed
ci / test (push) Failing after 20s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 09:44:55 +03:00