Kin project
Find a file
johnfrum1234 9264415776 Add follow-up task generation on approve
When approving a task, PM agent analyzes pipeline output and creates
follow-up tasks automatically (e.g. security audit → 8 fix tasks).

core/followup.py:
  generate_followups() — collects pipeline output, runs followup agent,
  parses JSON task list, creates tasks with parent_task_id linkage.
  Handles: bare arrays, {tasks:[...]} wrappers, invalid JSON, empty.

agents/prompts/followup.md — PM prompt for analyzing results and
  creating actionable follow-up tasks with priority from severity.

CLI: kin approve <task_id> [--followup] [--decision "text"]
API: POST /api/tasks/{id}/approve {create_followups: true}
  Returns {status, decision, followup_tasks: [...]}

Frontend (TaskDetail approve modal):
  - Checkbox "Create follow-up tasks" (default ON)
  - Loading state during generation
  - Results view: list of created tasks with links to /task/:id

ProjectView: tasks show "from VDOL-001" for follow-ups.

13 new tests (followup), 125 total, all passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 15:02:58 +02:00
agents Add follow-up task generation on approve 2026-03-15 15:02:58 +02:00
cli Add follow-up task generation on approve 2026-03-15 15:02:58 +02:00
core Add follow-up task generation on approve 2026-03-15 15:02:58 +02:00
tests Add follow-up task generation on approve 2026-03-15 15:02:58 +02:00
web Add follow-up task generation on approve 2026-03-15 15:02:58 +02:00
.gitignore Add web GUI: FastAPI API + Vue 3 frontend with dark theme 2026-03-15 13:50:15 +02:00
agent-orchestrator-research.md bootstrap: vdol project loaded with real data 2026-03-15 13:40:58 +02:00
CLAUDE.md Add CLAUDE.md — project-level instructions for Kin 2026-03-15 13:10:47 +02:00
DESIGN.md Add DESIGN.md — main architecture document for Kin agent orchestrator 2026-03-15 13:10:10 +02:00
pyproject.toml Add web GUI: FastAPI API + Vue 3 frontend with dark theme 2026-03-15 13:50:15 +02:00
README.md Initial commit 2026-03-15 12:09:02 +01:00

kin

Kin project