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
This commit is contained in:
parent
0cc063d47a
commit
0ccd451b4b
14 changed files with 1660 additions and 18 deletions
|
|
@ -111,6 +111,46 @@ specialists:
|
|||
codebase_diff: "array of { file, line_hint, issue, suggestion }"
|
||||
notes: string
|
||||
|
||||
constitution:
|
||||
name: "Constitution Agent"
|
||||
model: sonnet
|
||||
tools: [Read, Grep, Glob]
|
||||
description: "Defines project principles, constraints, and non-negotiables. First step in spec-driven workflow."
|
||||
permissions: read_only
|
||||
context_rules:
|
||||
decisions: all
|
||||
output_schema:
|
||||
principles: "array of strings"
|
||||
constraints: "array of strings"
|
||||
goals: "array of strings"
|
||||
|
||||
spec:
|
||||
name: "Spec Agent"
|
||||
model: sonnet
|
||||
tools: [Read, Grep, Glob]
|
||||
description: "Creates detailed feature specification from constitution output. Second step in spec-driven workflow."
|
||||
permissions: read_only
|
||||
context_rules:
|
||||
decisions: all
|
||||
output_schema:
|
||||
overview: string
|
||||
features: "array of { name, description, acceptance_criteria }"
|
||||
data_model: "array of { entity, fields }"
|
||||
api_contracts: "array of { method, path, body, response }"
|
||||
acceptance_criteria: string
|
||||
|
||||
task_decomposer:
|
||||
name: "Task Decomposer"
|
||||
model: sonnet
|
||||
tools: [Read, Grep, Glob]
|
||||
description: "Decomposes architect output into concrete implementation tasks. Creates child tasks in DB."
|
||||
permissions: read_only
|
||||
context_rules:
|
||||
decisions: all
|
||||
modules: all
|
||||
output_schema:
|
||||
tasks: "array of { title, brief, priority, category, acceptance_criteria }"
|
||||
|
||||
# Route templates — PM uses these to build pipelines
|
||||
routes:
|
||||
debug:
|
||||
|
|
@ -144,3 +184,7 @@ routes:
|
|||
infra_debug:
|
||||
steps: [sysadmin, debugger, reviewer]
|
||||
description: "SSH diagnose → find root cause → verify fix plan"
|
||||
|
||||
spec_driven:
|
||||
steps: [constitution, spec, architect, task_decomposer]
|
||||
description: "Constitution → spec → implementation plan → decompose into tasks"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue