kin: auto-commit after pipeline

This commit is contained in:
Gros Frumos 2026-03-17 14:03:53 +02:00
parent 04cbbc563b
commit b6f40a6ace
9 changed files with 1690 additions and 16 deletions

View file

@ -151,6 +151,126 @@ specialists:
output_schema:
tasks: "array of { title, brief, priority, category, acceptance_criteria }"
# Department heads — Opus-level coordinators that plan work within their department
# and spawn internal sub-pipelines of Sonnet workers.
backend_head:
name: "Backend Department Head"
model: opus
execution_type: department_head
department: backend
tools: [Read, Grep, Glob]
description: "Plans backend work, coordinates architect/backend_dev/tester within backend department"
permissions: read_only
context_rules:
decisions: all
modules: all
frontend_head:
name: "Frontend Department Head"
model: opus
execution_type: department_head
department: frontend
tools: [Read, Grep, Glob]
description: "Plans frontend work, coordinates frontend_dev/tester within frontend department"
permissions: read_only
context_rules:
decisions: all
modules: all
qa_head:
name: "QA Department Head"
model: opus
execution_type: department_head
department: qa
tools: [Read, Grep, Glob]
description: "Plans QA work, coordinates tester/reviewer within QA department"
permissions: read_only
context_rules:
decisions: all
security_head:
name: "Security Department Head"
model: opus
execution_type: department_head
department: security
tools: [Read, Grep, Glob]
description: "Plans security work, coordinates security engineer within security department"
permissions: read_only
context_rules:
decisions_category: security
infra_head:
name: "Infrastructure Department Head"
model: opus
execution_type: department_head
department: infra
tools: [Read, Grep, Glob]
description: "Plans infrastructure work, coordinates sysadmin/debugger within infra department"
permissions: read_only
context_rules:
decisions: all
research_head:
name: "Research Department Head"
model: opus
execution_type: department_head
department: research
tools: [Read, Grep, Glob]
description: "Plans research work, coordinates tech_researcher/architect within research department"
permissions: read_only
context_rules:
decisions: all
marketing_head:
name: "Marketing Department Head"
model: opus
execution_type: department_head
department: marketing
tools: [Read, Grep, Glob]
description: "Plans marketing work, coordinates tech_researcher/spec within marketing department"
permissions: read_only
context_rules:
decisions: all
modules: all
# Departments — PM uses these when routing complex cross-domain tasks to department heads
departments:
backend:
head: backend_head
workers: [architect, backend_dev, tester, reviewer]
description: "Backend development: API, database, business logic"
frontend:
head: frontend_head
workers: [frontend_dev, tester, reviewer]
description: "Frontend development: Vue, CSS, components, composables"
qa:
head: qa_head
workers: [tester, reviewer]
description: "Quality assurance: testing and code review"
security:
head: security_head
workers: [security, reviewer]
description: "Security: OWASP audit, vulnerability analysis, remediation"
infra:
head: infra_head
workers: [sysadmin, debugger, reviewer]
description: "Infrastructure: DevOps, deployment, server management"
research:
head: research_head
workers: [tech_researcher, architect]
description: "Technical research and architecture planning"
marketing:
head: marketing_head
workers: [tech_researcher, spec]
description: "Marketing: market research, positioning, content strategy, SEO"
# Route templates — PM uses these to build pipelines
routes:
debug:
@ -188,3 +308,27 @@ routes:
spec_driven:
steps: [constitution, spec, architect, task_decomposer]
description: "Constitution → spec → implementation plan → decompose into tasks"
dept_feature:
steps: [backend_head, frontend_head, qa_head]
description: "Full-stack feature: backend dept → frontend dept → QA dept"
dept_fullstack:
steps: [backend_head, frontend_head]
description: "Full-stack feature without dedicated QA pass"
dept_security_audit:
steps: [security_head, qa_head]
description: "Security audit followed by QA verification"
dept_backend:
steps: [backend_head]
description: "Backend-only task routed through department head"
dept_frontend:
steps: [frontend_head]
description: "Frontend-only task routed through department head"
dept_marketing:
steps: [marketing_head]
description: "Marketing task routed through department head"