diff --git a/.kilo/KILO_SPEC.md b/.kilo/KILO_SPEC.md index 0e244f0..a46cd18 100644 --- a/.kilo/KILO_SPEC.md +++ b/.kilo/KILO_SPEC.md @@ -422,39 +422,40 @@ Provider availability depends on configuration. Common providers include: ### Pipeline Agents -| Agent | Role | Model | -|-------|------|-------| -| `@AgentArchitect` | Creates, modifies, and reviews new agents, workflows, and skills based on capability gap analysis. | ollama-cloud/nemotron-3-super | -| `@BackendDeveloper` | Backend specialist for Node. | ollama-cloud/deepseek-v3.2 | -| `@BrowserAutomation` | Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction. | ollama-cloud/glm-5 | -| `@CapabilityAnalyst` | Analyzes task requirements against available agents, workflows, and skills. | ollama-cloud/nemotron-3-super | -| `@CodeSkeptic` | Adversarial code reviewer. | ollama-cloud/minimax-m2.5 | -| `@DevopsEngineer` | DevOps specialist for Docker, Kubernetes, CI/CD pipeline automation, and infrastructure management. | ollama-cloud/deepseek-v3.2 | -| `@Evaluator` | Scores agent effectiveness after task completion for continuous improvement. | ollama-cloud/nemotron-3-super | -| `@FrontendDeveloper` | Handles UI implementation with multimodal capabilities. | ollama-cloud/qwen3-coder:480b | -| `@GoDeveloper` | Go backend specialist for Gin, Echo, APIs, and database integration. | ollama-cloud/qwen3-coder:480b | -| `@HistoryMiner` | Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work. | ollama-cloud/nemotron-3-super | -| `@LeadDeveloper` | Primary code writer for backend and core logic. | ollama-cloud/qwen3-coder:480b | -| `@MarkdownValidator` | Validates and corrects Markdown descriptions for Gitea issues. | ollama-cloud/nemotron-3-nano:30b | -| `@MemoryManager` | Manages agent memory systems - short-term (context), long-term (vector store), and episodic (experiences). | ollama-cloud/nemotron-3-super | -| `@Orchestrator` | Main dispatcher. | ollama-cloud/glm-5 | -| `@PerformanceEngineer` | Reviews code for performance issues. | ollama-cloud/nemotron-3-super | -| `@Planner` | Advanced task planner using Chain of Thought, Tree of Thoughts, and Plan-Execute-Reflect. | ollama-cloud/nemotron-3-super | -| `@ProductOwner` | Manages issue checklists, status labels, tracks progress and coordinates with human users. | ollama-cloud/glm-5 | -| `@PromptOptimizer` | Improves agent system prompts based on performance failures. | qwen/qwen3.6-plus:free | -| `@Reflector` | Self-reflection agent using Reflexion pattern - learns from mistakes. | ollama-cloud/nemotron-3-super | -| `@ReleaseManager` | Manages git operations, semantic versioning, branching, and deployments. | ollama-cloud/devstral-2:123b | -| `@RequirementRefiner` | Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists. | ollama-cloud/nemotron-3-super | -| `@SdetEngineer` | Writes tests following TDD methodology. | ollama-cloud/qwen3-coder:480b | -| `@SecurityAuditor` | Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets. | ollama-cloud/nemotron-3-super | -| `@SystemAnalyst` | Designs technical specifications, data schemas, and API contracts before implementation. | ollama-cloud/glm-5 | -| `@TheFixer` | Iteratively fixes bugs based on specific error reports and test failures. | ollama-cloud/minimax-m2.5 | -| `@VisualTester` | Visual regression testing agent that compares screenshots and detects UI differences using pixelmatch and image diff. | ollama-cloud/glm-5 | -| `@WorkflowArchitect` | Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates. | ollama-cloud/gpt-oss:120b | +| Agent | Role | Model | Variant | +|-------|------|-------|---------| +| `@AgentArchitect` | Creates, modifies, and reviews new agents, workflows, and skills based on capability gap analysis. | ollama-cloud/glm-5.1 | thinking | +| `@BackendDeveloper` | Backend specialist for Node.js, Express, APIs, and database integration. | ollama-cloud/qwen3-coder:480b | thinking | +| `@BrowserAutomation` | Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction. | ollama-cloud/qwen3-coder:480b | — | +| `@CapabilityAnalyst` | Analyzes task requirements against available agents, workflows, and skills. | ollama-cloud/glm-5.1 | — | +| `@CodeSkeptic` | Adversarial code reviewer. | ollama-cloud/minimax-m2.5 | — | +| `@DevopsEngineer` | DevOps specialist for Docker, Kubernetes, CI/CD pipeline automation, and infrastructure management. | ollama-cloud/nemotron-3-super | — | +| `@Evaluator` | Scores agent effectiveness after task completion for continuous improvement. | ollama-cloud/glm-5.1 | thinking | +| `@FrontendDeveloper` | Handles UI implementation with multimodal capabilities. | ollama-cloud/qwen3-coder:480b | — | +| `@GoDeveloper` | Go backend specialist for Gin, Echo, APIs, and database integration. | ollama-cloud/qwen3-coder:480b | — | +| `@HistoryMiner` | Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work. | ollama-cloud/nemotron-3-super | — | +| `@LeadDeveloper` | Primary code writer for backend and core logic. | ollama-cloud/qwen3-coder:480b | thinking | +| `@MarkdownValidator` | Validates and corrects Markdown descriptions for Gitea issues. | ollama-cloud/nemotron-3-nano:30b | — | +| `@MemoryManager` | Manages agent memory systems - short-term (context), long-term (vector store), and episodic (experiences). | ollama-cloud/nemotron-3-super | — | +| `@Orchestrator` | Main dispatcher. Routes tasks between agents based on Issue status. | ollama-cloud/glm-5.1 | thinking | +| `@PerformanceEngineer` | Reviews code for performance issues. | ollama-cloud/nemotron-3-super | — | +| `@Planner` | Advanced task planner using Chain of Thought, Tree of Thoughts, and Plan-Execute-Reflect. | ollama-cloud/nemotron-3-super | — | +| `@PipelineJudge` | Automated pipeline judge. Evaluates workflow execution, produces objective fitness scores. | ollama-cloud/glm-5.1 | — | +| `@ProductOwner` | Manages issue checklists, status labels, tracks progress and coordinates with human users. | ollama-cloud/glm-5.1 | — | +| `@PromptOptimizer` | Improves agent system prompts based on performance failures. | ollama-cloud/glm-5.1 | instant | +| `@Reflector` | Self-reflection agent using Reflexion pattern - learns from mistakes. | ollama-cloud/nemotron-3-super | — | +| `@ReleaseManager` | Manages git operations, semantic versioning, branching, and deployments. | ollama-cloud/glm-5.1 | — | +| `@RequirementRefiner` | Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists. | ollama-cloud/glm-5.1 | thinking | +| `@SdetEngineer` | Writes tests following TDD methodology. | ollama-cloud/qwen3-coder:480b | thinking | +| `@SecurityAuditor` | Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets. | ollama-cloud/nemotron-3-super | — | +| `@SystemAnalyst` | Designs technical specifications, data schemas, and API contracts before implementation. | ollama-cloud/glm-5.1 | thinking | +| `@TheFixer` | Iteratively fixes bugs based on specific error reports and test failures. | ollama-cloud/minimax-m2.5 | — | +| `@VisualTester` | Visual regression testing agent that compares screenshots and detects UI differences using pixelmatch and image diff. | ollama-cloud/qwen3-coder:480b | — | +| `@WorkflowArchitect` | Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates. | ollama-cloud/glm-5.1 | thinking | -**Note:** For AgentArchitect, use `subagent_type: "system-analyst"` with prompt "You are Agent Architect..." (workaround for unsupported agent-architect type). +**Note:** All agents above are accessible via Task tool with their own `subagent_type` matching the agent name (e.g., `subagent_type: "agent-architect"`). ### Workflow Commands diff --git a/.kilo/agents/agent-architect.md b/.kilo/agents/agent-architect.md old mode 100644 new mode 100755 index a88204e..17c1fe5 --- a/.kilo/agents/agent-architect.md +++ b/.kilo/agents/agent-architect.md @@ -1,7 +1,8 @@ --- name: Agent Architect mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 +variant: thinking description: Creates, modifies, and reviews new agents, workflows, and skills based on capability gap analysis color: "#8B5CF6" permission: @@ -61,10 +62,10 @@ Grant only required permissions: ### Appropriate Models Choose cost-effective models: -- Complex reasoning: ollama-cloud/gpt-oss:120b +- Complex reasoning: ollama-cloud/glm-5.1 (thinking) - Code generation: ollama-cloud/qwen3-coder:480b -- Analysis: ollama-cloud/gpt-oss:120b -- Simple tasks: qwen/qwen3.6-plus:free +- Analysis: ollama-cloud/nemotron-3-super +- Simple/validation: ollama-cloud/nematron-3-nano:30b ## Creation Process @@ -287,7 +288,7 @@ cat > .kilo/agents/api-architect.md << 'EOF' --- description: Design and validate API schemas mode: subagent -model: ollama-cloud/gpt-oss:120b +model: ollama-cloud/glm-5.1 color: "#F59E0B" permission: read: allow diff --git a/.kilo/agents/backend-developer.md b/.kilo/agents/backend-developer.md old mode 100644 new mode 100755 index c107384..6e2fbff --- a/.kilo/agents/backend-developer.md +++ b/.kilo/agents/backend-developer.md @@ -13,6 +13,7 @@ permission: task: "*": deny "code-skeptic": allow + "orchestrator": allow --- # Kilo Code: Backend Developer diff --git a/.kilo/agents/browser-automation.md b/.kilo/agents/browser-automation.md old mode 100644 new mode 100755 index fd19c60..39f577e --- a/.kilo/agents/browser-automation.md +++ b/.kilo/agents/browser-automation.md @@ -11,6 +11,9 @@ permission: glob: allow grep: allow webfetch: allow + task: + "*": deny + "orchestrator": allow --- # Kilo Code: Browser Automation Agent @@ -19,6 +22,13 @@ permission: You are **Browser Automation Agent** — an expert in web testing and browser control via Playwright MCP. You can navigate pages, fill forms, click elements, take screenshots, and validate UI using the Model Context Protocol. +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `playwright` | Playwright MCP setup and patterns | +| `web-testing` | Web testing strategies | + ## When to Use Invoke this agent when: diff --git a/.kilo/agents/capability-analyst.md b/.kilo/agents/capability-analyst.md old mode 100644 new mode 100755 index 0c6387b..e9676df --- a/.kilo/agents/capability-analyst.md +++ b/.kilo/agents/capability-analyst.md @@ -1,8 +1,16 @@ --- description: Analyzes task requirements against available agents, workflows, and skills. Identifies gaps and recommends new components. mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 color: "#6366F1" +permission: + read: allow + glob: allow + grep: allow + task: + "*": deny + "agent-architect": allow + "orchestrator": allow --- # Capability Analyst Agent diff --git a/.kilo/agents/code-skeptic.md b/.kilo/agents/code-skeptic.md old mode 100644 new mode 100755 index 8db2153..f9853ca --- a/.kilo/agents/code-skeptic.md +++ b/.kilo/agents/code-skeptic.md @@ -132,6 +132,12 @@ Tests: - DO NOT focus only on style - DO NOT skip security review +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `quality-controller` | Quality gate patterns and checklists | + ## Handoff Protocol After review: diff --git a/.kilo/agents/devops-engineer.md b/.kilo/agents/devops-engineer.md old mode 100644 new mode 100755 index 4fd43e2..0858973 --- a/.kilo/agents/devops-engineer.md +++ b/.kilo/agents/devops-engineer.md @@ -14,6 +14,7 @@ permission: "*": deny "code-skeptic": allow "security-auditor": allow + "orchestrator": allow --- # Kilo Code: DevOps Engineer diff --git a/.kilo/agents/evaluator.md b/.kilo/agents/evaluator.md old mode 100644 new mode 100755 index a5d6afb..29db94d --- a/.kilo/agents/evaluator.md +++ b/.kilo/agents/evaluator.md @@ -1,7 +1,8 @@ --- description: Scores agent effectiveness after task completion for continuous improvement mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 +variant: thinking color: "#047857" permission: read: allow diff --git a/.kilo/agents/flutter-developer.md b/.kilo/agents/flutter-developer.md old mode 100644 new mode 100755 index 03f347e..dcefc31 --- a/.kilo/agents/flutter-developer.md +++ b/.kilo/agents/flutter-developer.md @@ -13,6 +13,8 @@ permission: task: "*": deny "code-skeptic": allow + "visual-tester": allow + "orchestrator": allow --- # Kilo Code: Flutter Developer diff --git a/.kilo/agents/frontend-developer.md b/.kilo/agents/frontend-developer.md old mode 100644 new mode 100755 index 11e731e..737dd2d --- a/.kilo/agents/frontend-developer.md +++ b/.kilo/agents/frontend-developer.md @@ -13,6 +13,8 @@ permission: task: "*": deny "code-skeptic": allow + "visual-tester": allow + "orchestrator": allow --- # Kilo Code: Frontend Developer diff --git a/.kilo/agents/go-developer.md b/.kilo/agents/go-developer.md old mode 100644 new mode 100755 index d081ab5..2097b8c --- a/.kilo/agents/go-developer.md +++ b/.kilo/agents/go-developer.md @@ -13,6 +13,7 @@ permission: task: "*": deny "code-skeptic": allow + "orchestrator": allow --- # Kilo Code: Go Developer diff --git a/.kilo/agents/history-miner.md b/.kilo/agents/history-miner.md old mode 100644 new mode 100755 diff --git a/.kilo/agents/lead-developer.md b/.kilo/agents/lead-developer.md old mode 100644 new mode 100755 index c1a691c..5bcce18 --- a/.kilo/agents/lead-developer.md +++ b/.kilo/agents/lead-developer.md @@ -2,6 +2,7 @@ description: Primary code writer for backend and core logic. Writes implementation to pass tests mode: subagent model: ollama-cloud/qwen3-coder:480b +variant: thinking color: "#DC2626" permission: read: allow diff --git a/.kilo/agents/markdown-validator.md b/.kilo/agents/markdown-validator.md old mode 100644 new mode 100755 index f3c58f3..d210841 --- a/.kilo/agents/markdown-validator.md +++ b/.kilo/agents/markdown-validator.md @@ -3,6 +3,14 @@ description: Validates and corrects Markdown descriptions for Gitea issues mode: subagent model: ollama-cloud/nemotron-3-nano:30b color: "#F97316" +permission: + read: allow + edit: allow + glob: allow + grep: allow + task: + "*": deny + "orchestrator": allow --- # Markdown Validator Agent diff --git a/.kilo/agents/memory-manager.md b/.kilo/agents/memory-manager.md old mode 100644 new mode 100755 index 4487486..8efde15 --- a/.kilo/agents/memory-manager.md +++ b/.kilo/agents/memory-manager.md @@ -18,6 +18,12 @@ permission: You are **Memory Manager** — responsible for managing all memory systems. Based on Lilian Weng's agent architecture research. +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `memory-systems` | Memory architecture patterns | + ## Memory Types ### 1. Short-Term Memory (Context Window) diff --git a/.kilo/agents/orchestrator.md b/.kilo/agents/orchestrator.md old mode 100644 new mode 100755 index b2c81ab..e254193 --- a/.kilo/agents/orchestrator.md +++ b/.kilo/agents/orchestrator.md @@ -1,7 +1,8 @@ --- description: Main dispatcher. Routes tasks between agents based on Issue status and manages the workflow state machine. IF:90 for optimal routing accuracy. mode: all -model: ollama-cloud/glm-5 +model: ollama-cloud/glm-5.1 +variant: thinking color: "#7C3AED" permission: read: allow diff --git a/.kilo/agents/performance-engineer.md b/.kilo/agents/performance-engineer.md old mode 100644 new mode 100755 diff --git a/.kilo/agents/pipeline-judge.md b/.kilo/agents/pipeline-judge.md old mode 100644 new mode 100755 index d734191..56ae34c --- a/.kilo/agents/pipeline-judge.md +++ b/.kilo/agents/pipeline-judge.md @@ -1,7 +1,7 @@ --- description: Automated pipeline judge. Evaluates workflow execution by running tests, measuring token cost and wall-clock time. Produces objective fitness scores. Never writes code - only measures and scores. mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 color: "#DC2626" permission: read: allow @@ -35,6 +35,12 @@ You produce a **fitness score** that drives evolutionary optimization. - After a model swap recommendation is applied - On `/evaluate` command +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `evolution-sync` | Fitness history synchronization and dashboard data | + ## Fitness Score Formula ``` diff --git a/.kilo/agents/planner.md b/.kilo/agents/planner.md old mode 100644 new mode 100755 index 8a347b1..8cca372 --- a/.kilo/agents/planner.md +++ b/.kilo/agents/planner.md @@ -53,3 +53,10 @@ Iterative execution with reflection between steps. ### Rollback Plan If {failure}: {rollback_action} ``` + +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `planning-patterns` | CoT/ToT/Plan-Execute-Reflect strategies | +| `task-analysis` | Task decomposition and dependency analysis | diff --git a/.kilo/agents/product-owner.md b/.kilo/agents/product-owner.md old mode 100644 new mode 100755 index f545230..eff71c0 --- a/.kilo/agents/product-owner.md +++ b/.kilo/agents/product-owner.md @@ -1,7 +1,7 @@ --- description: Manages issue checklists, status labels, tracks progress and coordinates with human users mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 color: "#EA580C" permission: read: allow @@ -90,6 +90,13 @@ After update: 2. Update checklist checkboxes 3. Update status labels 4. Notify relevant agents + +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `gitea` | Gitea API integration | +| `scoped-labels` | Label management and status tracking | ## Gitea Commenting (MANDATORY) **You MUST post a comment to the Gitea issue after completing your work.** diff --git a/.kilo/agents/prompt-optimizer.md b/.kilo/agents/prompt-optimizer.md old mode 100644 new mode 100755 index a55aeae..cc02a4d --- a/.kilo/agents/prompt-optimizer.md +++ b/.kilo/agents/prompt-optimizer.md @@ -1,7 +1,8 @@ --- description: Improves agent system prompts based on performance failures. Meta-learner for prompt optimization mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 +variant: instant color: "#BE185D" permission: read: allow diff --git a/.kilo/agents/reflector.md b/.kilo/agents/reflector.md old mode 100644 new mode 100755 index e756acc..0bbc705 --- a/.kilo/agents/reflector.md +++ b/.kilo/agents/reflector.md @@ -13,6 +13,12 @@ permission: # Kilo Code: Reflector +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `research-cycle` | Self-improvement and research iteration patterns | + ## Role Definition You are **Reflector** — the self-improvement specialist using Reflexion pattern (Shinn & Labash 2023). diff --git a/.kilo/agents/release-manager.md b/.kilo/agents/release-manager.md old mode 100644 new mode 100755 index 4b3c08e..0d5fb85 --- a/.kilo/agents/release-manager.md +++ b/.kilo/agents/release-manager.md @@ -1,7 +1,7 @@ --- description: Manages git operations, semantic versioning, branching, and deployments. Ensures clean history mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 color: "#581C87" permission: read: allow diff --git a/.kilo/agents/requirement-refiner.md b/.kilo/agents/requirement-refiner.md old mode 100644 new mode 100755 index ef4c161..7324a1a --- a/.kilo/agents/requirement-refiner.md +++ b/.kilo/agents/requirement-refiner.md @@ -1,7 +1,8 @@ --- description: Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists mode: all -model: ollama-cloud/glm-5 +model: ollama-cloud/glm-5.1 +variant: thinking color: "#4F46E5" permission: read: allow diff --git a/.kilo/agents/sdet-engineer.md b/.kilo/agents/sdet-engineer.md old mode 100644 new mode 100755 index 0316705..b41a2eb --- a/.kilo/agents/sdet-engineer.md +++ b/.kilo/agents/sdet-engineer.md @@ -2,6 +2,7 @@ description: Writes tests following TDD methodology. Tests MUST fail initially (Red phase) mode: all model: ollama-cloud/qwen3-coder:480b +variant: thinking color: "#8B5CF6" permission: read: allow diff --git a/.kilo/agents/security-auditor.md b/.kilo/agents/security-auditor.md old mode 100644 new mode 100755 diff --git a/.kilo/agents/system-analyst.md b/.kilo/agents/system-analyst.md old mode 100644 new mode 100755 index e5522a3..5056883 --- a/.kilo/agents/system-analyst.md +++ b/.kilo/agents/system-analyst.md @@ -1,7 +1,8 @@ --- description: Designs technical specifications, data schemas, and API contracts before implementation mode: subagent -model: ollama-cloud/glm-5 +model: ollama-cloud/glm-5.1 +variant: thinking color: "#0891B2" permission: read: allow @@ -12,6 +13,8 @@ permission: grep: allow task: "*": deny + "sdet-engineer": allow + "orchestrator": allow --- # Kilo Code: System Analyst diff --git a/.kilo/agents/the-fixer.md b/.kilo/agents/the-fixer.md old mode 100644 new mode 100755 index e3f4230..cb11a7e --- a/.kilo/agents/the-fixer.md +++ b/.kilo/agents/the-fixer.md @@ -96,6 +96,12 @@ After fix: 2. Document the fix 3. Use Task tool with subagent_type: "code-skeptic" for re-review 4. If max iterations reached, use Task tool with subagent_type: "orchestrator" for escalation + +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `fix-workflow` | Iterative fix loop patterns | ## Gitea Commenting (MANDATORY) **You MUST post a comment to the Gitea issue after completing your work.** diff --git a/.kilo/agents/visual-tester.md b/.kilo/agents/visual-tester.md old mode 100644 new mode 100755 index 5683f77..c2740fd --- a/.kilo/agents/visual-tester.md +++ b/.kilo/agents/visual-tester.md @@ -10,6 +10,10 @@ permission: bash: allow glob: allow grep: allow + task: + "*": deny + "the-fixer": allow + "orchestrator": allow --- # Kilo Code: Visual Tester Agent diff --git a/.kilo/agents/workflow-architect.md b/.kilo/agents/workflow-architect.md old mode 100644 new mode 100755 index 2d399c5..fb9c8a6 --- a/.kilo/agents/workflow-architect.md +++ b/.kilo/agents/workflow-architect.md @@ -1,7 +1,8 @@ --- description: Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates mode: subagent -model: openrouter/qwen/qwen3.6-plus:free +model: ollama-cloud/glm-5.1 +variant: thinking color: "#EC4899" permission: read: allow @@ -27,6 +28,12 @@ You are the **Workflow Architect** — responsible for creating workflow definit 4. Ensure complete, tested, documented delivery 5. Can be handed to client independently +## Skills Reference + +| Skill | Purpose | +|-------|---------| +| `gitea-workflow` | Gitea issue/label integration patterns | + ## When to Use Invoke when: diff --git a/.kilo/capability-index.yaml b/.kilo/capability-index.yaml index 4cb60d8..80e3178 100644 --- a/.kilo/capability-index.yaml +++ b/.kilo/capability-index.yaml @@ -20,7 +20,11 @@ agents: - test_writing - code_review model: ollama-cloud/qwen3-coder:480b + variant: thinking mode: subagent + delegates_to: + - code-skeptic + - orchestrator frontend-developer: capabilities: @@ -40,6 +44,10 @@ agents: - backend_code model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - code-skeptic + - visual-tester + - orchestrator backend-developer: capabilities: @@ -60,6 +68,9 @@ agents: - frontend_code model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - code-skeptic + - orchestrator go-developer: capabilities: @@ -84,6 +95,9 @@ agents: - frontend_code model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - code-skeptic + - orchestrator flutter-developer: capabilities: @@ -105,6 +119,10 @@ agents: - web_development model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - code-skeptic + - visual-tester + - orchestrator devops-engineer: capabilities: @@ -124,6 +142,10 @@ agents: - application_code model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: + - code-skeptic + - security-auditor + - orchestrator # Quality Assurance sdet-engineer: @@ -143,7 +165,11 @@ agents: forbidden: - implementation_code model: ollama-cloud/qwen3-coder:480b + variant: thinking mode: subagent + delegates_to: + - lead-developer + - orchestrator code-skeptic: capabilities: @@ -162,6 +188,10 @@ agents: - write_code model: ollama-cloud/minimax-m2.5 mode: subagent + delegates_to: + - the-fixer + - performance-engineer + - orchestrator # Security & Performance security-auditor: @@ -180,6 +210,10 @@ agents: - fix_vulnerabilities model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: + - the-fixer + - release-manager + - orchestrator performance-engineer: capabilities: @@ -197,6 +231,29 @@ agents: - write_code model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: + - the-fixer + - security-auditor + - orchestrator + + the-fixer: + capabilities: + - bug_fixing + - issue_resolution + - code_correction + receives: + - issue_list + - code_context + produces: + - code_fixes + - resolution_notes + forbidden: + - feature_development + model: ollama-cloud/minimax-m2.5 + mode: subagent + delegates_to: + - code-skeptic + - orchestrator # Specialized Development browser-automation: @@ -215,6 +272,8 @@ agents: - unit_testing model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - orchestrator visual-tester: capabilities: @@ -232,6 +291,9 @@ agents: - code_changes model: ollama-cloud/qwen3-coder:480b mode: subagent + delegates_to: + - the-fixer + - orchestrator # Analysis & Design system-analyst: @@ -249,8 +311,12 @@ agents: - database_schemas forbidden: - implementation - model: ollama-cloud/glm-5 + model: ollama-cloud/glm-5.1 + variant: thinking mode: subagent + delegates_to: + - sdet-engineer + - orchestrator requirement-refiner: capabilities: @@ -267,8 +333,12 @@ agents: - requirements_doc forbidden: - design_decisions - model: ollama-cloud/glm-5 + model: ollama-cloud/glm-5.1 + variant: thinking mode: subagent + delegates_to: + - history-miner + - system-analyst history-miner: capabilities: @@ -287,6 +357,7 @@ agents: - code_changes model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: [] capability-analyst: capabilities: @@ -302,8 +373,11 @@ agents: - new_agent_specs forbidden: - implementation - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 mode: subagent + delegates_to: + - agent-architect + - orchestrator # Process Management orchestrator: @@ -321,8 +395,38 @@ agents: forbidden: - code_writing - code_review - model: ollama-cloud/glm-5 - mode: primary + model: ollama-cloud/glm-5.1 + variant: thinking + mode: all + delegates_to: + - history-miner + - system-analyst + - sdet-engineer + - lead-developer + - code-skeptic + - the-fixer + - frontend-developer + - backend-developer + - go-developer + - flutter-developer + - performance-engineer + - security-auditor + - visual-tester + - browser-automation + - devops-engineer + - release-manager + - requirement-refiner + - capability-analyst + - workflow-architect + - markdown-validator + - evaluator + - prompt-optimizer + - product-owner + - pipeline-judge + - planner + - reflector + - memory-manager + - agent-architect release-manager: capabilities: @@ -340,8 +444,10 @@ agents: forbidden: - code_changes - feature_development - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 mode: subagent + delegates_to: + - evaluator evaluator: capabilities: @@ -358,8 +464,13 @@ agents: - recommendations forbidden: - code_changes - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 + variant: thinking mode: subagent + delegates_to: + - prompt-optimizer + - product-owner + - orchestrator prompt-optimizer: capabilities: @@ -374,27 +485,11 @@ agents: - optimization_report forbidden: - agent_creation - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 + variant: instant mode: subagent + delegates_to: [] - # Fixes - the-fixer: - capabilities: - - bug_fixing - - issue_resolution - - code_correction - receives: - - issue_list - - code_context - produces: - - code_fixes - - resolution_notes - forbidden: - - feature_development - model: ollama-cloud/minimax-m2.5 - mode: subagent - - # Product Management product-owner: capabilities: - issue_management @@ -410,8 +505,31 @@ agents: - issue closures forbidden: - implementation - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 mode: subagent + delegates_to: [] + + pipeline-judge: + capabilities: + - test_execution + - fitness_scoring + - metric_collection + - bottleneck_detection + receives: + - completed_workflow + - pipeline_logs + produces: + - fitness_report + - bottleneck_analysis + - improvement_triggers + forbidden: + - code_writing + - code_changes + - prompt_changes + model: ollama-cloud/glm-5.1 + mode: subagent + delegates_to: + - prompt-optimizer # Workflow workflow-architect: @@ -426,8 +544,10 @@ agents: - command_files forbidden: - execution - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 + variant: thinking mode: subagent + delegates_to: [] # Validation markdown-validator: @@ -444,6 +564,8 @@ agents: - content_creation model: ollama-cloud/nemotron-3-nano:30b mode: subagent + delegates_to: + - orchestrator agent-architect: capabilities: @@ -457,10 +579,15 @@ agents: - integration_plan forbidden: - agent_execution - model: openrouter/qwen/qwen3.6-plus:free + model: ollama-cloud/glm-5.1 + variant: thinking mode: subagent + delegates_to: + - capability-analyst + - requirement-refiner + - system-analyst - # Cognitive Enhancement (New - Research Based) + # Cognitive Enhancement planner: capabilities: - task_decomposition @@ -480,6 +607,7 @@ agents: - execution model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: [] reflector: capabilities: @@ -500,6 +628,7 @@ agents: - code_changes model: ollama-cloud/nemotron-3-super mode: subagent + delegates_to: [] memory-manager: capabilities: @@ -520,26 +649,7 @@ agents: - implementation model: ollama-cloud/nemotron-3-super mode: subagent - - pipeline-judge: - capabilities: - - test_execution - - fitness_scoring - - metric_collection - - bottleneck_detection - receives: - - completed_workflow - - pipeline_logs - produces: - - fitness_report - - bottleneck_analysis - - improvement_triggers - forbidden: - - code_writing - - code_changes - - prompt_changes - model: openrouter/qwen/qwen3.6-plus:free - mode: subagent + delegates_to: [] # Capability Routing Map capability_routing: @@ -583,12 +693,12 @@ agents: fitness_scoring: pipeline-judge test_execution: pipeline-judge bottleneck_detection: pipeline-judge - # Go Development - go_api_development: go-developer - go_database_design: go-developer - go_concurrent_programming: go-developer - go_authentication: go-developer - go_microservices: go-developer + # Go Development + go_api_development: go-developer + go_database_design: go-developer + go_concurrent_programming: go-developer + go_authentication: go-developer + go_microservices: go-developer # Parallelizable Tasks parallel_groups: diff --git a/.kilo/kilo.jsonc b/.kilo/kilo.jsonc index b796f1e..65f5c99 100644 --- a/.kilo/kilo.jsonc +++ b/.kilo/kilo.jsonc @@ -4,12 +4,13 @@ "skills": { "paths": [".kilo/skills"] }, - "model": "openrouter/qwen/qwen3.6-plus:free", + "model": "ollama-cloud/glm-5.1", "default_agent": "orchestrator", "agent": { "orchestrator": { - "model": "openrouter/qwen/qwen3.6-plus:free", - "description": "Main dispatcher. Routes tasks between agents based on Issue status. IF:90 for optimal routing accuracy.", + "model": "ollama-cloud/glm-5.1", + "variant": "thinking", + "description": "Main dispatcher. Routes tasks between agents based on Issue status. GLM-5.1 thinking for optimal routing.", "mode": "all", "permission": { "read": "allow", @@ -30,11 +31,13 @@ }, "code": { "model": "ollama-cloud/qwen3-coder:480b", + "variant": "thinking", "description": "Primary code writer. Full tool access for development tasks.", "mode": "primary" }, "ask": { - "model": "openrouter/qwen/qwen3.6-plus:free", + "model": "ollama-cloud/glm-5.1", + "variant": "instant", "description": "Read-only Q&A agent for codebase questions.", "mode": "primary" }, @@ -44,8 +47,9 @@ "mode": "primary" }, "debug": { - "model": "openrouter/qwen/qwen3.6-plus:free", - "description": "Bug diagnostics and troubleshooting. IF:90, score:85★, 1M context. Best model for debugging.", + "model": "ollama-cloud/glm-5.1", + "variant": "thinking", + "description": "Bug diagnostics and troubleshooting. GLM-5.1 ★88, reasoning for deep debug.", "mode": "primary" } } diff --git a/AGENTS.md b/AGENTS.md index f647a54..0a6dd9a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,45 +32,56 @@ Agent: Runs full pipeline for issue #42 with Gitea logging These agents are invoked automatically by `/pipeline` or manually via `@mention`: ### Core Development -| Agent | Role | When Invoked | -|-------|------|--------------| -| `@requirement-refiner` | Converts ideas to User Stories | Issue status: new | -| `@history-miner` | Finds duplicates in git | Status: planned | -| `@system-analyst` | Designs specifications | Status: researching | -| `@sdet-engineer` | Writes tests (TDD) | Status: designed | -| `@lead-developer` | Implements code | Status: testing (tests fail) | -| `@frontend-developer` | UI implementation | When UI work needed | -| `@backend-developer` | Node.js/Express/APIs | When backend needed | -| `@flutter-developer` | Flutter mobile apps | When mobile development | -| `@go-developer` | Go backend services | When Go backend needed | +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@requirement-refiner` | Converts ideas to User Stories | glm-5.1 | thinking | history-miner, system-analyst | +| `@history-miner` | Finds duplicates in git | nemotron-3-super | — | *(read-only)* | +| `@system-analyst` | Designs specifications | glm-5.1 | thinking | sdet-engineer, orchestrator | +| `@sdet-engineer` | Writes tests (TDD) | qwen3-coder:480b | thinking | lead-developer, orchestrator | +| `@lead-developer` | Implements code | qwen3-coder:480b | thinking | code-skeptic, orchestrator | +| `@frontend-developer` | UI implementation | qwen3-coder:480b | — | code-skeptic, orchestrator | +| `@backend-developer` | Node.js/Express/APIs | qwen3-coder:480b | — | code-skeptic, orchestrator | +| `@go-developer` | Go backend services | qwen3-coder:480b | — | code-skeptic, orchestrator | +| `@flutter-developer` | Flutter mobile apps | qwen3-coder:480b | — | code-skeptic, orchestrator | ### Quality Assurance -| Agent | Role | When Invoked | -|-------|------|--------------| -| `@code-skeptic` | Adversarial review | Status: implementing | -| `@the-fixer` | Fixes issues | When review fails | -| `@performance-engineer` | Performance review | After code-skeptic | -| `@security-auditor` | Security audit | After performance | -| `@visual-tester` | Visual regression | When UI changes | +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@code-skeptic` | Adversarial review | minimax-m2.5 | — | the-fixer, performance-engineer, orchestrator | +| `@the-fixer` | Fixes issues | minimax-m2.5 | — | code-skeptic, orchestrator | +| `@performance-engineer` | Performance review | nemotron-3-super | — | the-fixer, security-auditor, orchestrator | +| `@security-auditor` | Security audit | nemotron-3-super | — | the-fixer, release-manager, orchestrator | +| `@visual-tester` | Visual regression | qwen3-coder:480b | — | the-fixer, orchestrator | +| `@browser-automation` | E2E testing | qwen3-coder:480b | — | orchestrator | -### Cognitive Enhancement (New) -| Agent | Role | When Invoked | -|-------|------|--------------| -| `@planner` | Task decomposition (CoT/ToT) | Complex tasks | -| `@reflector` | Self-reflection (Reflexion) | After each agent | -| `@memory-manager` | Memory systems | Context management | +### DevOps & Infrastructure +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@devops-engineer` | Docker/K8s/CI-CD | nemotron-3-super | — | code-skeptic, security-auditor, orchestrator | +| `@release-manager` | Git operations, releases | glm-5.1 | — | evaluator | ### Meta & Process -| Agent | Role | When Invoked | -|-------|------|--------------| -| `@release-manager` | Git operations | Status: releasing | -| `@evaluator` | Scores effectiveness | Status: evaluated | -| `@pipeline-judge` | Objective fitness scoring | After workflow completes | -| `@prompt-optimizer` | Improves prompts | When fitness < 0.70 | -| `@capability-analyst` | Analyzes task coverage | When starting new task | -| `@agent-architect` | Creates new agents | When gaps identified | -| `@workflow-architect` | Creates workflows | New workflow needed | -| `@markdown-validator` | Validates Markdown | Before issue creation | +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@evaluator` | Scores effectiveness | glm-5.1 | thinking | prompt-optimizer, product-owner, orchestrator | +| `@pipeline-judge` | Objective fitness scoring | glm-5.1 | — | prompt-optimizer | +| `@prompt-optimizer` | Improves prompts | glm-5.1 | instant | *(edits files)* | +| `@product-owner` | Manages issues/tracking | glm-5.1 | — | *(read-only)* | + +### Analysis & Design +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@capability-analyst` | Analyzes task coverage | glm-5.1 | — | agent-architect, orchestrator | +| `@agent-architect` | Creates new agents | glm-5.1 | thinking | capability-analyst, requirement-refiner, system-analyst | +| `@workflow-architect` | Creates workflows | glm-5.1 | thinking | *(edits files)* | +| `@markdown-validator` | Validates Markdown | nemotron-3-nano:30b | — | orchestrator | + +### Cognitive Enhancement +| Agent | Role | Model | Variant | Can Call | +|-------|------|-------|---------|----------| +| `@planner` | Task decomposition | nemotron-3-super | — | *(read-only)* | +| `@reflector` | Self-reflection | nemotron-3-super | — | *(read-only)* | +| `@memory-manager` | Memory systems | nemotron-3-super | — | *(read-only)* | ## Workflow State Machine