Commit Graph

82 Commits

Author SHA1 Message Date
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
333106e518 Агент чата: один автор - одно имя во входе (справочник person + пометка [менеджер] в диалоге канала); deviations п.68
All checks were successful
ci / test (push) Successful in 29s
ci / deploy (push) Successful in 2m20s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 13:47:12 +03:00
2b3cd2ab82 Баг agent-token-caller-spoofing закрыт как неактуальный (решение владельца), approved; deviations п.67
All checks were successful
ci / test (push) Successful in 29s
ci / deploy (push) Successful in 1m52s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 13:30:08 +03:00
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
82315add2e Resolution todo_service: дополнены результаты проверки и открытые решения
All checks were successful
ci / test (push) Successful in 29s
ci / deploy (push) Successful in 1m52s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 10:46:59 +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
dd7de01f62 Resolution по багрепортам todo_service (на согласование)
All checks were successful
ci / test (push) Successful in 28s
ci / deploy (push) Successful in 2m22s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 10:22:45 +03:00
678cde985c todo_service: запись назначенному в любом проекте и без проекта, агентские токены, тест не зависит от реальной даты
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-30 10:22:31 +03:00
2fc2a534ff Багрепорт todo_service: CI красный из-за теста с фиксированной датой
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 08:32:59 +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
5d4e7e0779 Контракт багрепортов между агентами (docs/*/bugs/README.md) и первый багрепорт todo_service: 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 08:05:52 +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
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
816164902e todo_service_initial: раздел Control todo (требования)
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:27:21 +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
1017b70439 docs: input_specs/agents (assistant spec 01) и input_specs/todo_service (todo_service_initial.md)
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m35s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 10:15:40 +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
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
3a7f59771a Docs: перенос approved (meld), data_objects и модули агентов, методология, generated
All checks were successful
ci / test (push) Successful in 27s
ci / deploy (push) Successful in 2m14s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-26 12:52:05 +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
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
c1f7c7b269 Правила модулей: структура и правила хранения промтов агентов (p-*.md внутри feature)
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 3m26s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 18:38:50 +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
3cbcfb506a docs: убрать дубль data_objects/construction_manager.md из корня (объект лежит в data_objects/khbuild_assistant_prep)
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m37s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 19:57:04 +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
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
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
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
6cfaf7b51a proposed: feature reports/links переименована в report-list
All checks were successful
ci / test (push) Successful in 23s
ci / deploy (push) Successful in 1m3s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:51:47 +03:00
2a072c8d88 docs: live-agent.md -> long-living-agents.md
All checks were successful
ci / test (push) Successful in 26s
ci / deploy (push) Successful in 57s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:50:09 +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
24ce76f00b proposed: правило описания файлов data_objects (границы файла)
All checks were successful
ci / test (push) Successful in 24s
ci / deploy (push) Successful in 1m0s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:32:57 +03:00
72d20b2b85 proposed: границы файлов api_objects.md (что сюда попадает, что нет)
All checks were successful
ci / test (push) Successful in 25s
ci / deploy (push) Successful in 1m6s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 20:31:17 +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
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
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
81634fbfa9 Требование: сообщения ассистента по своей инициативе начинаются с упоминания менеджера
All checks were successful
ci / test (push) Successful in 21s
ci / deploy (push) Successful in 1m15s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 23:27:21 +03:00