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>
This commit is contained in:
2026-10-29 11:08:54 +03:00
parent 816164902e
commit ad17e8364f
40 changed files with 2601 additions and 4 deletions

View File

@@ -80,4 +80,14 @@
defaultDays: 30,
},
todo_service: { // todo поверх JobTread и Supabase (todo.khbuild.freeddns.org): REST, MCP, вебхуки
http: { host: "127.0.0.1", port: 8094, token: "<token для внутренних вызовов и команды khb-todo>" },
allowedJobIds: ["<id проекта JobTread, куда сервису разрешено писать>"],
webhook: { publicBaseUrl: "https://todo.khbuild.freeddns.org", secret: "<секрет в адресе вебхука, 8+ знаков>", autoRegister: true },
poll: { intervalSeconds: 300, backfillOnStart: true },
control: { enabled: true, tickSeconds: 600, quietDays: 2 },
notify: { enabled: false, url: "http://khb-assistant-prep:8085/chat/todo-events", token: "<токен сервиса агентов>", fromHour: 7, toHour: 19 },
mcp: { enabled: true, publicUrl: "https://todo.khbuild.freeddns.org", issuer: "https://keycloak.khbuild.freeddns.org/realms/khbuild", staticTokens: [] },
defaults: { dueWorkdays: 3, controlOffsetDays: 2, staleDays: 21, reviewLine: false },
},
}