Kin project
Find a file
johnfrum1234 ab693d3c4d Add permission-aware follow-up flow with interactive resolution
When follow-up agent detects permission-blocked items ("ручное
применение", "permission denied", etc.), they become pending_actions
instead of auto-created tasks. User chooses per item:
  1. Rerun with --dangerously-skip-permissions
  2. Create manual task
  3. Skip

core/followup.py:
  _is_permission_blocked() — regex detection of 9 permission patterns
  generate_followups() returns {created, pending_actions}
  resolve_pending_action() — handles rerun/manual_task/skip

agents/runner.py:
  _run_claude(allow_write=True) adds --dangerously-skip-permissions
  run_agent/run_pipeline pass allow_write through

CLI: kin approve --followup — interactive 1/2/3 prompt per blocked item
API: POST /approve returns {needs_decision, pending_actions}
     POST /resolve resolves individual actions
Frontend: pending actions shown as cards with 3 buttons in approve modal

136 tests, all passing. Frontend builds clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 15:16:48 +02:00
agents Add permission-aware follow-up flow with interactive resolution 2026-03-15 15:16:48 +02:00
cli Add permission-aware follow-up flow with interactive resolution 2026-03-15 15:16:48 +02:00
core Add permission-aware follow-up flow with interactive resolution 2026-03-15 15:16:48 +02:00
tests Add permission-aware follow-up flow with interactive resolution 2026-03-15 15:16:48 +02:00
web Add permission-aware follow-up flow with interactive resolution 2026-03-15 15:16:48 +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