Commit Graph

90 Commits

Author SHA1 Message Date
6734a56722 globals хранит масштаб лимита (токены на 100%), текущий расход - по логам; замеры agent_limit_sample и сверка с процентами claude
All checks were successful
ci / test (push) Successful in 28s
ci / deploy (push) Successful in 2m24s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 11:30:10 +03:00
4b89ab84be Багрепорты todo_service: проверка (CI-баг и запись без проекта приняты в approved, токены - обсуждение); масштаб лимита только при полном покрытии окна; промт khb-todo
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 10:53:07 +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
678cde985c todo_service: запись назначенному в любом проекте и без проекта, агентские токены, тест не зависит от реальной даты
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 10:22:31 +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
3ac2e427ec todo_service: публичный адрес services.khbuild.freeddns.org/api/todo вместо отдельного субхоста
All checks were successful
ci / test (push) Successful in 29s
ci / deploy (push) Successful in 2m16s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 15:37:11 +03:00
e6ac717623 todo_service: POST /todos возвращает todo (по API)
All checks were successful
ci / test (push) Successful in 26s
ci / deploy (push) Successful in 2m11s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:14:18 +03:00
ad17e8364f todo_service: новый сервис todo (надстройка над JobTread, REST, MCP, вебхуки, слежение Control), миграция 024, docs в proposed
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m10s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:08:54 +03:00
232229f704 docs: data_objects по направлениям (common, agents, todo_service + сервисы), approved и proposed синхронно; правила README, индексы
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m56s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:17:50 +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
a2db4922e4 Тест: автор реплики в проектном канале указан в промте
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 2m0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 16:52:29 +03:00
57bb5cf5f3 Ответ адресуется отправителю: автор у каждой реплики, правило в промтах
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 3m57s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 16:44:40 +03:00
538849e300 Гант: предшественники с отрицательным днём не дают ложного противоречия сроков
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-23 19:14:03 +03:00
63044fd46b Промты: напоминания с относительной давностью, пакетный вопрос про todo старше 3 недель один раз
All checks were successful
ci / deploy (push) Successful in 2m3s
ci / test (push) Successful in 25s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 07:14:19 +03:00
4d67896493 Промты: todo-напоминания устаревают через 14 дней
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 2m5s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 07:09:45 +03:00
93c943ded0 Промты: напоминание о todo-напоминании - коротко и разговорно
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 07:03:30 +03:00
dd718c9ac3 Промты: todo-напоминания менеджеру назначаются на него самого, срок 3 рабочих дня, без вопросов
Some checks failed
ci / test (push) Successful in 26s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 07:02:02 +03:00
5320e1c2e7 passwords_backupper: архив 7z с паролем (мастер-пароль экспортёра Vaultwarden) вместо 7z+age
All checks were successful
ci / test (push) Successful in 28s
ci / deploy (push) Successful in 2m7s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 22:22:11 +03:00
90f75ac2fc passwords_backupper: 403 при прореживании - заметка о правах; cap_add DAC_READ_SEARCH в шаблоне compose
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m12s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 21:16:46 +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
12147fc3eb passwords_backupper: ежедневная зашифрованная (7z + age) копия Vaultwarden и Infisical на Google Drive, аварийные md, scheduler, deploy
Some checks failed
ci / test (push) Successful in 29s
ci / deploy (push) Failing after 3m32s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-22 20:46:23 +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
00bf1cdd39 Чтение зеркала Supabase агентами (khb-sql, роли khb_agent / khb_agent_ceo, KHB_SQL_URL); отчёты для агента руководителя; промты; тесты; docs
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 3m24s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 11:50:22 +03:00
77b6e4ae3b Чат руководителя (chat_kind = ceo, промт p-ceo-assistant, ответ в разделе «Ответ Arthur»); блоки входа и правило про todo - всем версиям, необязательные фрагменты; тесты; docs
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 18:22:10 +03:00
059ece8578 Fallback JobTread (проверка при старте, повтор записи до 5 минут, повтор запуска в коде); требование: без ответа менеджера - только короткое напоминание (новая версия); тесты; docs
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 1m31s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 18:10:01 +03:00
ddbf3da93f Агентам разрешено читать Google Drive (поиск и чтение, без записи); правило в промтах шага 4 и проектного канала; тест
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 17:48:07 +03:00
2a92458106 Календарь пассивных окон по дням недели (вторник весь день по Тампе): агенты в режиме passive; API; тесты; docs
All checks were successful
ci / test (push) Successful in 26s
ci / deploy (push) Successful in 1m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 21:13:38 +03:00
c59ac87486 Режим passive при отключении агента: молчит по своей инициативе, на сообщения менеджера отвечает как обычно (миграция 018); off - вообще ничего; тесты; docs
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:23:15 +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
3e696bb53f Гант: при наведении на веху - вертикаль к контурным ромбам; наведение на зависимость подсвечивает её; контурные ромбы поверх строк
All checks were successful
ci / test (push) Successful in 22s
ci / deploy (push) Successful in 1m30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:49:02 +03:00
b7b6562083 Гант: линии от контурных вех - тёмно-серые, почти фоновый слой под подписями, стрелка на конце; при нескольких вехах на строке подпись - только id
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m27s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:44:38 +03:00
01bbe9ee66 Гант: контурный ромб зависимости от вехи и для свёрнутых групп
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-17 17:37:44 +03:00
3428cac809 Гант: зависимость от вехи рисуется контурным ромбом вехи на строке зависимого шага (цвет группы вехи) вместо вертикали через весь план
All checks were successful
ci / test (push) Successful in 22s
ci / deploy (push) Successful in 1m32s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:31:54 +03:00
c178b64ac0 Гант: пунктир от вехи до красной черты; опоздавшая веха справа от черты с красным контуром
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 1m32s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:11:02 +03:00
abfc459e2a Гант: красные черты крайнего срока и в сводной строке группы
All checks were successful
ci / test (push) Successful in 26s
ci / deploy (push) Successful in 1m33s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:08:39 +03:00
82cb6ba0a6 Гант: красная черта крайнего срока (не позже, до); веха с крайним сроком стоит на прогнозе по предшественникам
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 17:03:25 +03:00
b4cf3d8c9a Гант: версия в правом верхнем углу (KHB_VERSION из образа, GIT_SHA в сборке); порядок этапов в списке из справочника
All checks were successful
ci / test (push) Successful in 21s
ci / deploy (push) Successful in 1m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 13:37:01 +03:00
c1e2e709e3 Гант: подсказка на стрелке зависимости (от -> к, названия шагов)
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m27s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 13:30:50 +03:00
f56c19598d Гант: не рисовать зависимости, следующие из цепочки других (транзитивная редукция)
Some checks failed
ci / test (push) Successful in 23s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 13:29:10 +03:00
1a27060706 Гант: убрана прозрачность строк с выведенным сроком
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:50:43 +03:00
5cd07f709b Гант: порядок и цвета этапов из khbuild_stages (ord, color_fill, color_stroke), без константы в коде
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 09:11:26 +03:00
bfe6b4338b Гант: отрицательные дни, этапы До CP-0 / Договоры PreConstruction / Договор Construction, Пермит после договоров; предупреждение о сроке только при наличии зависимостей
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 09:09:12 +03:00
e8ac83e8a3 Предложения по промтам применены правками промтов в proposed (новая версия агента): точечные изменения, список, зависимые работы, даты, упоминание, частота сообщений; разделы входа # Менеджер и # Частота сообщений; docs
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 21:43:56 +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
b4a2a2ca99 generated/proposed: пересборка индекса после очистки лишних файлов в docs/proposed
Some checks failed
ci / test (push) Failing after 26s
ci / deploy (push) Has been skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 21:31:32 +03:00
6edc023704 Методология активности перенесена в docs/proposed/methodology; индекс методологий, правило, ссылки
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-16 21:21:06 +03:00
00f7e674ed proposed: data_objects по модулям-владельцам и common; индекс и ссылки обновлены
Some checks failed
ci / test (push) Successful in 26s
ci / deploy (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:36:46 +03:00
4a7ab9b34e Агент (live): todo самого менеджера закрываются в любом проекте и без проекта; тест; docs
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 1m28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:29:09 +03:00
b84aeb8fff Долгоживущий агент: короткий промт только при той же сессии (после сброса сессии - полный)
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 13:41:48 +03:00
d4eefb08d3 Долгоживущий агент: стоимость и время API по ходам (разница накопительных счётчиков)
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 1m30s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:59:29 +03:00