kin/agents/specialists.yaml

388 lines
12 KiB
YAML
Raw Normal View History

# Kin specialist pool — roles available for pipeline construction.
# PM selects from this pool based on task type.
specialists:
pm:
name: "Project Manager"
model: sonnet
tools: [Read, Grep, Glob]
description: "Decomposes tasks, selects specialists, builds pipelines"
permissions: read_only
context_rules:
decisions: all
modules: all
architect:
name: "Software Architect"
model: sonnet
tools: [Read, Grep, Glob]
description: "Designs solutions, reviews structure, writes specs"
permissions: read_only
context_rules:
decisions: all
modules: all
debugger:
name: "Debugger"
model: sonnet
tools: [Read, Grep, Glob, Bash]
description: "Finds root causes, reads logs, traces execution"
permissions: read_bash
working_dir: project
context_rules:
decisions: [gotcha, workaround]
frontend_dev:
name: "Frontend Developer"
model: sonnet
tools: [Read, Write, Edit, Bash, Glob, Grep]
description: "Implements UI: Vue, CSS, components, composables"
permissions: full
working_dir: project
context_rules:
decisions: [gotcha, workaround, convention]
backend_dev:
name: "Backend Developer"
model: sonnet
tools: [Read, Write, Edit, Bash, Glob, Grep]
description: "Implements API, services, database, business logic"
permissions: full
working_dir: project
context_rules:
decisions: [gotcha, workaround, convention]
tester:
name: "Tester"
model: sonnet
tools: [Read, Write, Bash, Glob, Grep]
description: "Writes and runs tests, verifies fixes"
permissions: full
working_dir: project
context_rules:
decisions: []
reviewer:
name: "Code Reviewer"
model: sonnet
tools: [Read, Grep, Glob]
description: "Reviews code for quality, conventions, bugs"
permissions: read_only
context_rules:
decisions: [convention]
security:
name: "Security Engineer"
model: sonnet
tools: [Read, Grep, Glob, Bash]
description: "OWASP audit, auth checks, secrets scan, vulnerability analysis"
permissions: read_bash
working_dir: project
context_rules:
decisions_category: security
sysadmin:
name: "Sysadmin"
model: sonnet
tools: [Bash, Read]
description: "SSH-based server scanner: maps running services, open ports, configs, versions via remote commands"
permissions: read_bash
context_rules:
decisions: all
modules: all
tech_researcher:
name: "Tech Researcher"
model: sonnet
tools: [Read, Grep, Glob, WebFetch, Bash]
description: "Studies external APIs (docs, endpoints, limits, quirks), compares with codebase, produces structured review"
permissions: read_only
context_rules:
decisions: [gotcha, workaround]
output_schema:
status: "done | partial | blocked"
api_overview: string
endpoints: "array of { method, path, description, params, response_schema }"
rate_limits: "{ requests_per_minute, requests_per_day, notes }"
auth_method: string
data_schemas: "array of { name, fields }"
limitations: "array of strings"
gotchas: "array of strings"
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
2026-03-19 13:47:49 +02:00
constitutional_validator:
name: "Constitutional Validator"
model: sonnet
tools: [Read, Grep, Glob]
description: "Gate agent: validates mission alignment, stack alignment, and complexity appropriateness before implementation begins"
permissions: read_only
gate: true
context_rules:
decisions: all
modules: all
output_schema:
verdict: "approved | changes_required | escalated | blocked"
violations: "array of { principle, severity: critical|high|medium, description, suggestion }"
escalation_reason: "string (only when escalated)"
summary: "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 }"
2026-03-17 14:03:53 +02:00
# 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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
2026-03-19 19:06:18 +02:00
knowledge_synthesizer:
name: "Knowledge Synthesizer"
model: sonnet
tools: [Read, Grep, Glob]
description: "Aggregates multi-agent research outputs into unified, confidence-rated knowledge base for the Architect"
permissions: read_only
context_rules:
decisions: all
output_schema:
unified_findings: "array of strings"
confidence_rated_conclusions: "array of { conclusion, confidence: high|medium|low, supporting_roles, rationale }"
unresolved_conflicts: "array of { topic, positions: { role: position }, recommendation }"
prioritized_actions: "array of strings"
phases_context_used: "array of role names"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
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
2026-03-19 20:30:50 +02:00
output_schema:
context_packet: "{ architecture_notes: string, key_files: array, constraints: array, unknowns: array, handoff_for: string }"
2026-03-17 14:03:53 +02:00
# 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:
steps: [debugger, tester, frontend_dev, tester]
description: "Find bug → verify → fix → verify fix"
feature:
2026-03-19 13:47:49 +02:00
steps: [architect, constitutional_validator, frontend_dev, tester, reviewer]
description: "Design → validate → implement → test → review"
refactor:
steps: [architect, frontend_dev, tester, reviewer]
description: "Plan refactor → implement → test → review"
hotfix:
steps: [debugger, frontend_dev, tester]
description: "Find → fix → verify (fast track)"
security_audit:
steps: [security, architect]
description: "Audit → remediation plan"
api_research:
steps: [tech_researcher, architect]
description: "Study external API → integration plan"
infra_scan:
steps: [sysadmin, reviewer]
description: "SSH scan server → map services/ports/configs → review findings"
infra_debug:
steps: [sysadmin, debugger, reviewer]
description: "SSH diagnose → find root cause → verify fix plan"
spec_driven:
2026-03-19 13:57:04 +02:00
steps: [constitution, spec, architect, constitutional_validator, task_decomposer]
2026-03-19 13:52:36 +02:00
description: "Constitution → spec → implementation plan → decompose into tasks"
2026-03-17 14:03:53 +02:00
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"
2026-03-17 15:59:43 +02:00
dept_infra:
steps: [infra_head]
description: "Infrastructure task routed through department head"
dept_research:
steps: [research_head]
description: "Research task routed through department head"