Commit graph

59 commits

Author SHA1 Message Date
Gros Frumos
0cc0566462 kin: KIN-FIX-023-backend_dev 2026-03-18 00:52:44 +02:00
Gros Frumos
24996b3974 kin: auto-commit after pipeline 2026-03-17 23:31:24 +02:00
Gros Frumos
497eeea6b8 kin: KIN-SEC-002 Починить 4 падающих теста: falsy output preservation 2026-03-17 22:28:28 +02:00
Gros Frumos
c201152df5 kin: auto-commit after pipeline 2026-03-17 22:28:04 +02:00
Gros Frumos
885e8fb388 kin: auto-commit after pipeline 2026-03-17 22:18:19 +02:00
Gros Frumos
48aadd5b9f kin: KIN-114 Порядок операций — промпт для sysadmin/devops должен содержать: 'НИКОГДА не удаляй источник без бекапа и до подтверждения что данные успешно доставлены на цель. Порядок: backup → copy → verify → delete.' 2026-03-17 22:13:45 +02:00
Gros Frumos
dc64bdc9eb kin: KIN-111 Не работает кнопка Deploy в проекте, просто не нажимается, в настройках висит Unexpected token '<', '<!doctype '... is not valid JSON + при попытке включить Worktrees вылетает Bad Request 2026-03-17 22:10:23 +02:00
Gros Frumos
c54849cf20 kin: auto-commit after pipeline 2026-03-17 22:09:29 +02:00
Gros Frumos
d53c4096fd kin: auto-commit after pipeline 2026-03-17 21:25:12 +02:00
Gros Frumos
0a5f58b7fe kin: auto-commit after pipeline 2026-03-17 20:54:20 +02:00
Gros Frumos
9aa058a823 kin: auto-commit after pipeline 2026-03-17 20:44:44 +02:00
Gros Frumos
0e522e54a9 kin: auto-commit after pipeline 2026-03-17 19:30:15 +02:00
Gros Frumos
3d9b5766ab kin: auto-commit after pipeline 2026-03-17 18:29:32 +02:00
Gros Frumos
6ffe4ffb9f kin: auto-commit after pipeline 2026-03-17 18:24:41 +02:00
Gros Frumos
a4e5497401 kin: KIN-OBS-021 Вынести raw SQL из cli/watch.py в core/models.py 2026-03-17 18:23:48 +02:00
Gros Frumos
669ed2fbc9 KIN-OBS-028: Переместить import re в алфавитный блок stdlib-импортов
Переместили 'import re' из строки 18 в правильное место (между 'import os' и 'import shlex')
в соответствии с конвенцией #372: все stdlib-импорты идут единым блоком в алфавитном порядке.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-17 18:23:43 +02:00
Gros Frumos
348aa07fec kin: auto-commit after pipeline 2026-03-17 18:23:33 +02:00
Gros Frumos
eab9e951ab kin: auto-commit after pipeline 2026-03-17 17:26:31 +02:00
Gros Frumos
8fa2cc266c kin: auto-commit after pipeline 2026-03-17 16:36:52 +02:00
Gros Frumos
4bc421e117 kin: auto-commit after pipeline 2026-03-17 16:30:24 +02:00
Gros Frumos
a46157b22b kin: KIN-ARCH-022 Рефакторинг: pm.md строка 134 + дублированное присваивание в context_builder.py 2026-03-17 16:03:49 +02:00
Gros Frumos
bf635f16ff kin: KIN-ARCH-013 Починить pre-existing падения миграционных тестов (test_db.py, test_kin_089_regression.py) 2026-03-17 16:02:19 +02:00
Gros Frumos
7027252a84 kin: auto-commit after pipeline 2026-03-17 16:01:51 +02:00
Gros Frumos
cc6867d813 kin: KIN-ARCH-008 Конфигурируемая test_command на уровне проекта 2026-03-17 16:00:36 +02:00
Gros Frumos
b84f4aaac1 kin: KIN-ARCH-015 Добавить routes для dept_infra и dept_research в specialists.yaml 2026-03-17 16:00:13 +02:00
Gros Frumos
18160de45e kin: auto-commit after pipeline 2026-03-17 15:59:43 +02:00
Gros Frumos
6c2da26b6c kin: auto-commit after pipeline 2026-03-17 15:40:31 +02:00
Gros Frumos
9ba202f395 kin: auto-commit after pipeline 2026-03-17 15:25:53 +02:00
Gros Frumos
b6f40a6ace kin: auto-commit after pipeline 2026-03-17 14:03:53 +02:00
Gros Frumos
04cbbc563b kin: auto-commit after pipeline 2026-03-16 23:34:22 +02:00
Gros Frumos
0ccd451b4b kin: KIN-091 Улучшения из исследования рынка: (1) Revise button с feedback loop, (2) auto-test before review — агент сам прогоняет тесты и фиксит до review, (3) spec-driven workflow для новых проектов — constitution → spec → plan → tasks, (4) git worktrees для параллельных агентов без конфликтов, (5) auto-trigger pipeline при создании задачи с label auto 2026-03-16 22:35:31 +02:00
Gros Frumos
a58578bb9d kin: KIN-BIZ-006 Проверить промпт sysadmin.md на поддержку сценария env_scan 2026-03-16 19:26:51 +02:00
Gros Frumos
16a463f79b kin: KIN-FIX-005 Починить регрессию KIN-055: execution_mode=NULL после pipeline→review 2026-03-16 17:34:56 +02:00
Gros Frumos
c67fa379b3 kin: KIN-080 Разобраться с KIN-FIX-003 и KIN-FIX-004, одна из задач уже выполнена, вторая берется в работу (руками завершаю) но в задаче не меняется текущий статус 2026-03-16 17:30:31 +02:00
Gros Frumos
bfc8f1c0bb kin: KIN-083 Healthcheck claude CLI auth: перед запуском pipeline проверять что claude залогинен (быстрый claude -p 'ok' --output-format json, проверить is_error и 'Not logged in'). Если не залогинен — не запускать pipeline, а показать ошибку 'Claude CLI requires login' в GUI с инструкцией. 2026-03-16 15:48:09 +02:00
Gros Frumos
ff69d24acc kin: KIN-UI-002 Исправить падающие тесты миграции (регрессия KIN-ARCH-003) в core/db.py 2026-03-16 10:04:01 +02:00
Gros Frumos
389b266bee kin: KIN-072 Добавить kanban вид в таски проекта. Канбан добавлен и работает. 2026-03-16 09:58:51 +02:00
Gros Frumos
af554e15fa kin: KIN-ARCH-004 Добавить подсказку в форму о требовании ~/.ssh/config для ProxyJump 2026-03-16 09:43:26 +02:00
Gros Frumos
d9172fc17c kin: KIN-016 Агенты должны уметь говорить 'не могу'. Если агент не может выполнить задачу (нет доступа, не понимает, выходит за компетенцию) — он должен вернуть status: blocked с причиной, а не пытаться угадывать. PM при получении blocked от агента — эскалирует к человеку через GUI (уведомление) и Telegram (когда будет). 2026-03-16 09:13:34 +02:00
Gros Frumos
d50bd703ae kin: KIN-049 Кнопка Deploy на странице задачи после approve. Для каждого проекта настраивается deploy-команда (git push, scp, ssh restart). В Settings проекта. 2026-03-16 08:21:13 +02:00
Gros Frumos
a0b0976d8d kin: KIN-021 Аудит-лог для --dangerously-skip-permissions в auto mode 2026-03-16 07:13:32 +02:00
Gros Frumos
756f9e65ab kin: KIN-054 Исправить race condition в loadMode() при инициализации ProjectView 2026-03-16 07:06:34 +02:00
Gros Frumos
ae21e48b65 kin: KIN-048 Post-pipeline hook: автокоммит после успешного завершения задачи. git add -A && git commit -m 'kin: TASK_ID TITLE'. Срабатывает автоматически как rebuild-frontend. 2026-03-16 06:59:46 +02:00
Gros Frumos
8a6f280cbd day 1: Kin from zero to production - agents, GUI, autopilot, 352 tests 2026-03-15 23:22:49 +02:00
Gros Frumos
8d9facda4f docs(KIN-030): clarify diff_hint as optional field in debugger schema
Add explicit prose note before JSON example to clearly indicate that
diff_hint field in fixes array can be omitted if not needed.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-15 21:18:48 +02:00
Gros Frumos
3871debd8d docs(KIN-027): Add security_issues/conventions_violations schema docs and remove agents/prompts ref
- reviewer.md: Added structure documentation for security_issues and conventions_violations array elements with example showing severity, file, issue, and suggestion fields
- backend_dev.md: Removed agents/prompts/ from Files to read section (prompts are not reference data for backend implementation)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-15 21:04:48 +02:00
Gros Frumos
3cb516193b feat(KIN-012): auto followup generation and pending_actions auto-resolution
Auto mode now calls generate_followups() after task_auto_approved hook.
Permission-blocked followup items are auto-resolved: rerun first, fallback
to manual_task on failure. Recursion guard skips followup-sourced tasks.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:49:34 +02:00
Gros Frumos
01b269e2b8 feat(KIN-010): implement rebuild-frontend post-pipeline hook
- scripts/rebuild-frontend.sh: builds Vue 3 frontend and restarts uvicorn API
- cli/main.py: hook group with add/list/remove/logs/setup commands;
  `hook setup` idempotently registers rebuild-frontend for a project
- agents/runner.py: call run_hooks(event="pipeline_completed") after
  successful pipeline; wrap in try/except so hook errors never block results
- tests: 3 tests for hook_setup CLI + 3 tests for pipeline→hooks integration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 19:17:42 +02:00
Gros Frumos
d311c2fb66 feat: add post-pipeline hooks (KIN-003)
- core/hooks.py: HookRunner с CRUD, run_hooks(), _execute_hook(), логированием
- core/db.py: новые таблицы hooks и hook_logs в схеме
- agents/runner.py: вызов run_hooks() после завершения pipeline
- tests/test_hooks.py: 23 теста (CRUD, fnmatch-матчинг, выполнение, таймаут)

Хуки запускаются синхронно после update_task(status="review").
Ошибка хука логируется, не блокирует пайплайн.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 18:31:00 +02:00
Gros Frumos
9cbb3cec37 Fix audit hanging: add auto_apply param + allow_write for tool access
Root cause: claude agent without --dangerously-skip-permissions
hangs on tool permission prompts when stdin=DEVNULL.

Fixes:
- run_audit() now passes allow_write=True so agent can use
  Read/Bash tools without interactive permission prompts
- Added auto_apply param: False for API (result only),
  CLI confirms with user then applies manually
- API explicitly passes auto_apply=False
- Tests for auto_apply=True/False behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 18:00:39 +02:00