chore(agents): sync agent configs, models, capability index; cleanup junk

- Update agent model assignments (minimax/glm -> nemotron-3-ultra, kimi-k2.7-code, qwen3.5:397b) in .kilo/agents, kilo-meta.json, kilo.jsonc, capability-index.yaml
- Update orchestrator/agent prompts (complexity fast-path, verification tests, close-loop audit)
- Add .kilo/KILO_SPEC.md (Kilo Code specification reference)
- AGENTS.md: consolidate smartadmin agent rows
- Remove screenshot-dash.cjs (unused, contained hardcoded admin token); gitignore it
- Remove empty .kilo/milestones/
This commit is contained in:
NW
2026-08-04 14:16:41 +01:00
parent 47c698aa42
commit 29ab8f9d34
40 changed files with 1157 additions and 359 deletions

1
.gitignore vendored
View File

@@ -23,3 +23,4 @@ db/*.db-shm
# Production backups (contain secrets + DB snapshots — never commit)
production-backup/
screenshot-dash.cjs

798
.kilo/KILO_SPEC.md Normal file
View File

@@ -0,0 +1,798 @@
# Kilo Code Specification Reference
## Overview
Kilo Code is a customizable AI coding assistant framework. This specification documents all customization capabilities including agents, commands, rules, skills, and configuration files. Kilo Code enables defining custom AI agents with specific models, prompts, permissions, and behaviors through a declarative configuration system.
---
## Directory Structure
```
project/
├── .kilo/
│ ├── agents/ # Custom agent definitions (.md files with YAML frontmatter)
│ ├── commands/ # Workflow commands (.md files, invoked with /command-name)
│ ├── rules/ # Custom rules (loaded via kilo.jsonc instructions)
│ ├── skills/ # Agent skills (SKILL.md format)
│ └── kilo.jsonc # Main configuration file
├── AGENTS.md # Project-level instructions for AI agents
└── kilo.jsonc # (alternative location) Main configuration file
```
### Description
| Directory/File | Purpose |
|----------------|---------|
| `.kilo/agents/` | Custom agent definitions with YAML frontmatter for model, description, mode, permissions |
| `.kilo/commands/` | Workflow commands invoked via `/command-name` in Kilo interface |
| `.kilo/rules/` | Custom rules and guidelines loaded via `kilo.jsonc` instructions array |
| `.kilo/skills/` | Reusable skill modules with SKILL.md entry point |
| `kilo.jsonc` | Main configuration: agents, models, instructions, skills |
| `AGENTS.md` | Project-level instructions applied to all agents |
---
## Agent Definition Format
Agents are defined in `.md` files with YAML frontmatter followed by the prompt body.
### YAML Frontmatter Fields
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `name` | Yes | string | Agent identifier (from filename, max 64 chars) |
| `description` | Yes | string | Brief description (max 1024 chars) |
| `model` | No | string | Model in `provider/model-id` format |
| `prompt` | Yes | string | Agent instructions (markdown body after frontmatter) |
| `mode` | No | enum | Visibility mode: `primary`, `subagent`, `all` |
| `permission` | No | object | Tool permissions configuration |
| `color` | No | string | Hex color for UI display (e.g., `#DC2626`) |
| `steps` | No | array | List of agent activation steps |
| `temperature` | No | number | Model temperature (0.0-2.0) |
| `top_p` | No | number | Model top_p parameter |
| `variant` | No | string | Model variant identifier |
| `hidden` | No | boolean | Hide from UI (default: false) |
| `disable` | No | boolean | Disable agent (default: false) |
### Mode Types
| Mode | Description |
|------|-------------|
| `primary` | User-facing, shown in agent picker |
| `subagent` | Only invocable via Task tool or `@agent-name` mentions |
| `all` | Both user-facing and invokable as subagent |
### Example Agent Definition
```markdown
---
description: Primary code writer for backend and core logic
mode: primary
model: ollama-cloud/deepseek-v4-pro
color: "#DC2626"
---
# Kilo Code: Lead Developer
## Role Definition
You are **Lead Developer** — the primary code writer...
## Behavior Guidelines
1. **Follow tests** — make code pass the tests
2. **Write clean code** — follow Style Guide
...
```
---
## Permission System
Permissions control which tools an agent can use. Defined per-agent in `permission` object.
### Permission Values
| Value | Behavior |
|-------|----------|
| `allow` | Tool can be used without prompting |
| `deny` | Tool cannot be used |
| `ask` | User is prompted before each use |
### Per-Tool Permissions
| Tool | Description |
|------|-------------|
| `read` | Read files and directories |
| `edit` | Edit existing files |
| `write` | Create new files |
| `bash` | Execute shell commands |
| `glob` | File pattern matching |
| `grep` | Content search |
| `task` | Delegate to subagents |
| `webfetch` | Fetch web content |
| `skill` | Load specialized skills |
### Example Permission Configuration
```jsonc
{
"permission": {
"read": "allow",
"edit": "allow",
"write": "ask",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": "allow"
}
}
```
---
## kilo.jsonc Configuration
Main configuration file with JSON Schema support.
### Schema Reference
```jsonc
{
"$schema": "https://app.kilo.ai/config.json"
}
```
### Complete Structure
```jsonc
{
"$schema": "https://app.kilo.ai/config.json",
"instructions": [".kilo/rules/*.md"],
"skills": {
"paths": [".kilo/skills"],
"urls": ["https://example.com/.well-known/skills/"]
},
"model": "qwen/qwen3.6-plus:free",
"small_model": "openai/llama-3.1-8b-instant",
"default_agent": "orchestrator",
"agent": {
"agent-name": {
"description": "Agent description",
"model": "provider/model-id",
"mode": "primary",
"color": "#FFFFFF",
"permission": {
"read": "allow",
"edit": "allow",
"bash": "ask"
},
"temperature": 0.7,
"top_p": 0.9
}
}
}
```
### Field Reference
| Field | Type | Description |
|-------|------|-------------|
| `$schema` | string | JSON Schema URL for validation |
| `instructions` | array | Glob patterns for rule files to load |
| `skills.paths` | array | Directories containing skill modules |
| `skills.urls` | array | URLs to fetch skills from |
| `model` | string | Global default model (provider/model-id) |
| `small_model` | string | Small model for titles/subtasks |
| `default_agent` | string | Default agent when none specified (must be primary) |
| `agent` | object | Agent definitions keyed by agent name |
### Agent Configuration Fields
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `description` | string | Yes | Agent description |
| `model` | string | No | Model identifier (provider/model-id) |
| `mode` | enum | No | Visibility: `primary`, `subagent`, `all` |
| `color` | string | No | Hex color for UI |
| `permission` | object | No | Tool permissions |
| `temperature` | number | No | Model temperature |
| `top_p` | number | No | Model top_p |
| `variant` | string | No | Model variant |
| `hidden` | boolean | No | Hide from UI |
| `disable` | boolean | No | Disable agent |
---
## SKILL.md Format
Skills are reusable modules loaded via the Skill tool.
### Required Fields
| Field | Type | Constraints |
|-------|------|-------------|
| `name` | string | Required, max 64 characters |
| `description` | string | Required, max 1024 characters |
### Optional Fields
| Field | Type | Description |
|-------|------|-------------|
| `license` | string | License identifier |
| `compatibility` | string | Version compatibility |
| `metadata` | object | Additional metadata |
### Example SKILL.md
```markdown
---
name: gitea
description: Work with Gitea repositories - commit, push, create PR, manage issues
---
# Gitea Integration Skill
## Purpose
Automate all git operations with Gitea without requiring manual console input.
## Capabilities
### Repository Detection
- Detect Gitea remote from `git remote -v`
- Extract owner/repo from remote URL
- Check authenticated user permissions
### Git Operations
- `git status` - check working tree status
- `git add` - stage changes
- `git commit` - create commits
- `git push` - push to remote
## Workflow
1. **Before Commit**
- Run `git status` to see changes
- Run `git diff` to review changes
- Run `git log --oneline -5` to match style
...
```
---
## Workflows (Commands)
Commands are workflow shortcuts invoked via `/command-name` in the Kilo interface.
### Location
`.kilo/commands/` directory
### Format
`.md` files with optional YAML frontmatter.
### Example Command
```markdown
---
description: Creates detailed task plans
mode: plan
model: ollama-cloud/deepseek-v4-pro
color: "#3B82F6"
---
# Plan Command
Generates detailed implementation plans with task breakdown.
```
### Invocation
User types `/plan` in Kilo interface to activate the command.
### Available Commands (This Project)
| Command | Description | Model |
|---------|-------------|-------|
| `/plan` | Creates detailed task plans | ollama-cloud/deepseek-v4-pro |
| `/ask` | Answers codebase questions | ollama-cloud/qwen3.5:397b |
| `/debug` | Analyzes and fixes bugs | ollama-cloud/gpt-oss:20b |
| `/code` | Quick code generation | ollama-cloud/deepseek-v4-pro |
---
## Agent Self-Diagnostics & Evolution Model
Kilo Code includes a comprehensive self-testing methodology for measuring agent effectiveness and optimizing prompts.
### Overview
The self-diagnostics system provides objective data about:
- **Agent performance** — How well each agent follows its role
- **Model capabilities** — Raw coding/reasoning abilities of base models
- **Consensus agreement** — How top 3 models evaluate the same outputs
- **Optimization impact** — Prompt changes that improve speed/quality
### Diagnostic Scripts
| Script | Purpose | Output |
|--------|---------|--------|
| `agent-diagnostic.cjs` | Tests each agent with role-specific prompts | `.kilo/logs/diagnostics/` |
| `model-benchmark.cjs` | Benchmarks base models on standard tasks | `.kilo/logs/benchmarks/` |
| `consensus-evaluator.cjs` | Compares top 3 models on evaluation | `.kilo/logs/consensus/` |
| `optimizer-tuner.cjs` | Suggests prompt optimizations | `.kilo/logs/optimizations/` |
| `diagnostic-dashboard.cjs` | Visualizes all results | `.kilo/logs/dashboard/` |
### Usage
```bash
# Run all diagnostics
node scripts/agent-diagnostic.cjs --category core
node scripts/model-benchmark.cjs --tasks coding
node scripts/consensus-evaluator.cjs
# Generate dashboard
node scripts/diagnostic-dashboard.cjs --serve
```
### Evolution Model
The evolution model optimizes weak agents based on diagnostic data:
1. **Identify weak agents** — From diagnostic adherence scores < 6
2. **Generate optimizations** — Speed (reduce tokens) and Quality (improve output)
3. **Apply changes** — Update agent prompts in `.kilo/agents/`
4. **Verify improvement** — Re-run diagnostics
#### Optimization Strategies
**Speed Optimizations:**
| Original | Optimized | Impact |
|----------|-----------|--------|
| Think step by step | Think briefly | -20-30% tokens |
| Provide detailed explanation | Explain briefly | -15-25% tokens |
| Consider all edge cases | Consider main cases | -10-20% tokens |
**Quality Optimizations:**
| Original | Optimized | Impact |
|----------|-----------|--------|
| Write clean code | Write clean, testable code with error handling | +15% quality |
| Handle errors | Handle errors with try/catch, log details | +20% quality |
### Top 3 Models for Consensus
Models ranked by benchmark scores for evaluation consensus:
1. **deepseek-v4-flash** — Best coding (SWE-bench 80.6%, LiveCodeBench 93.5%)
2. **nemotron-3-ultra** — Strong reasoning, balanced performance
3. **glm-5.2** — Best sustained performance over long conversations
### Fitness Score Calculation
```
agent_fitness = (prompt_adherence × 0.40) + (output_quality × 0.35) + (tool_usage × 0.25)
```
### Skill Reference
See `.kilo/skills/agent-self-diagnostics/SKILL.md` for complete methodology.
---
## Custom Rules
Rules are markdown files loaded via `kilo.jsonc` instructions array.
### Location
`.kilo/rules/` directory
### Loading Configuration
```jsonc
{
"instructions": [".kilo/rules/*.md"]
}
```
### Format
Markdown files with structured sections.
### Example Rule
```markdown
# Lead Developer Rules
- Write clean, maintainable code following project conventions
- NEVER add comments unless explicitly asked
- Check existing dependencies before adding new ones
- Follow existing code patterns and style in the codebase
## Code Quality
- Use early returns to reduce nesting
- Prefer immutable data structures
- Write self-documenting code with clear names
- Handle edge cases and errors appropriately
...
```
### Available Rules (This Project)
| Rule File | Purpose |
|-----------|---------|
| `global.md` | Global rules applied to all agents |
| `lead-developer.md` | Lead Developer specific rules |
| `code-skeptic.md` | Code review guidelines |
| `history-miner.md` | Git history search rules |
| `release-manager.md` | Git operations and deployment rules |
| `nodejs.md` | Node.js/Express checklist reference |
| `docker.md` | Docker/Compose/Swarm checklist reference |
| `go.md` | Go development checklist reference |
| `flutter.md` | Flutter development checklist reference |
| `agent-patterns.md` | Agent design patterns (Anthropic/Weng) |
| `agent-frontmatter-validation.md` | YAML frontmatter validation rules |
| `evolutionary-sync.md` | Agent evolution data sync rules |
| `prompt-engineering.md` | Prompt crafting guidelines |
| *(deleted)* `sdet-engineer.md` | Moved to agent + skills |
| *(deleted)* `orchestrator-self-evolution.md` | Moved to shared/self-evolution.md |
---
## Configuration Precedence
Configurations are merged in the following order (later overrides earlier):
1. **Built-in defaults** — Kilo Code default configuration
2. **Global config**`~/.config/kilo/kilo.jsonc`
3. **Project config**`kilo.jsonc` in project root or `.kilo/`
4. **Agent .md files** — Individual agent definitions in `.kilo/agents/`
### Merge Behavior
- Agent definitions merge by agent name
- Later configurations override earlier ones
- Arrays are concatenated, not replaced
- Object properties deep merge
---
## Model Format
Models are specified in `provider/model-id` format.
### Format
```
provider/model-id
```
### Ollama Cloud Models (Current — June 2026)
| Model ID | Provider | Model | Capabilities | Size |
|----------|----------|-------|-------------|------|
| `ollama-cloud/glm-5.2` | ollama-cloud | GLM-5.2 | tools, thinking | — |
| `ollama-cloud/kimi-k2.7-code` | ollama-cloud | Kimi K2.7 Code | vision, tools, thinking | — |
| `ollama-cloud/minimax-m3` | ollama-cloud | MiniMax M3 | vision, tools, thinking | 1M ctx |
| `ollama-cloud/nemotron-3-ultra` | ollama-cloud | Nemotron 3 Ultra | tools, thinking | — |
| `ollama-cloud/gemma4` | ollama-cloud | Gemma 4 | vision, tools, thinking, audio | 12b/26b/31b |
| `ollama-cloud/qwen3.5` | ollama-cloud | Qwen 3.5 | vision, tools, thinking | 0.8b122b |
| `ollama-cloud/glm-5.1` | ollama-cloud | GLM-5.1 | tools, thinking | — |
| `ollama-cloud/nemotron-3-ultra` | ollama-cloud | Nemotron 3 Ultra | tools, thinking | 550B |
| `ollama-cloud/nemotron-3-super` | ollama-cloud | Nemotron 3 Super | tools, thinking | 120B MoE |
| `ollama-cloud/glm-5` | ollama-cloud | GLM-5 | tools, thinking | 744B MoE |
| `ollama-cloud/minimax-m2.5` | ollama-cloud | MiniMax M2.5 | tools, thinking | — |
| `ollama-cloud/glm-4.7` | ollama-cloud | GLM-4.7 | tools, thinking | — |
| `ollama-cloud/minimax-m2.1` | ollama-cloud | MiniMax M2.1 | tools | — |
| `ollama-cloud/kimi-k2.7-code` | ollama-cloud | Kimi K2.7 Code | vision, tools, thinking | 1.04T |
| `ollama-cloud/deepseek-v4-pro` | ollama-cloud | DeepSeek V4 Pro | tools, thinking | 1M ctx |
| `ollama-cloud/deepseek-v4-flash` | ollama-cloud | DeepSeek V4 Flash | tools, thinking | 284B MoE |
| `ollama-cloud/qwen3.5:397b` | ollama-cloud | Qwen 3.5 397B | vision, tools, thinking | 397B |
| `ollama-cloud/gpt-oss` | ollama-cloud | GPT OSS | tools, thinking | 20b/120b |
| `ollama-cloud/qwen3-coder` | ollama-cloud | Qwen3 Coder | tools | 30b/480b |
| `ollama-cloud/gemini-3-flash-preview` | ollama-cloud | Gemini 3 Flash | vision, tools, thinking | — |
| `ollama-cloud/deepseek-v3.2` | ollama-cloud | DeepSeek V3.2 | — | (legacy) |
| `ollama-cloud/kimi-k2-thinking` | ollama-cloud | Kimi K2 Thinking | thinking | (legacy) |
| `ollama-cloud/devstral-2` | ollama-cloud | Devstral 2 | — | (legacy) |
### Other Provider Models
| Model ID | Provider | Model |
|----------|----------|-------|
| `openrouter/qwen/qwen3-coder:free` | openrouter | Qwen3 Coder (Free) |
| `openrouter/qwen/qwen3.6-plus:free` | openrouter | Qwen3.6 Plus (Free) |
| `openrouter/minimax/minimax-m2.5:free` | openrouter | MiniMax M2.5 (Free) |
| `openai/qwen3-32b` | openai (groq) | Qwen3 32B |
| `openai/llama-3.1-8b-instant` | openai (groq) | Llama 3.1 8B Instant |
| `openai/llama-4-scout-17b-16e-instruct` | openai (groq) | Llama 4 Scout 17B |
| `anthropic/claude-sonnet-4-20250514` | anthropic | Claude Sonnet 4 |
### Available Providers
Provider availability depends on configuration. Common providers include:
- `ollama-cloud` — Ollama cloud models (subscription)
- `openrouter` — OpenRouter API models (free tier available)
- `openai` — OpenAI-compatible API (используется для Groq: openai/qwen3-32b и др.)
- `anthropic` — Anthropic Claude models
- `google` — Google Gemini models
---
## Agents (This Project)
### Pipeline Agents
| Agent | Role | Model |
|-------|------|-------|
| `@IntakeAgent` | Conversational interface — receives natural language from users, clarifies ambiguous requirements, produces structured tasks for orchestrator. | ollama-cloud/nemotron-3-ultra |
| `@ContextCompressor` | Intelligently manages token budget by summarizing conversation history, preserving critical State, and pruning redundant information before context overflow occurs. | ollama-cloud/nemotron-3-ultra |
| `@PatternMatcher` | Proactively finds similar successful solutions from past projects BEFORE work starts, providing recommendations instead of just duplicate detection. | ollama-cloud/nemotron-3-ultra |
| `@StakeholderBridge` | Translates technical outputs into business language for non-technical stakeholders, generates executive summaries and progress reports. | ollama-cloud/nemotron-3-ultra |
| `@RequirementRefiner` | Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists. | ollama-cloud/minimax-m3 |
| `@HistoryMiner` | Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work. | ollama-cloud/deepseek-v4-flash:0731 |
| `@SystemAnalyst` | Designs technical specifications, data schemas, and API contracts before implementation. | ollama-cloud/minimax-m3 |
| `@SdetEngineer` | Writes tests following TDD methodology. | ollama-cloud/kimi-k2.7-code |
| `@LeadDeveloper` | Primary code writer for backend and core logic. | ollama-cloud/deepseek-v4-pro |
| `@FrontendDeveloper` | Handles UI implementation with multimodal capabilities. | ollama-cloud/qwen3.5:397b |
| `@BackendDeveloper` | Backend specialist for Node. | ollama-cloud/deepseek-v4-pro |
| `@GoDeveloper` | Go backend specialist for Gin, Echo, APIs, and database integration. | ollama-cloud/kimi-k2.7-code |
| `@DevopsEngineer` | DevOps specialist for Docker, Kubernetes, CI/CD pipeline automation, and infrastructure management. | ollama-cloud/minimax-m3 |
| `@CodeSkeptic` | Adversarial code reviewer. | ollama-cloud/kimi-k2.7-code |
| `@TheFixer` | Iteratively fixes bugs based on specific error reports and test failures. | ollama-cloud/kimi-k2.7-code |
| `@PerformanceEngineer` | Reviews code for performance issues. | ollama-cloud/minimax-m3 |
| `@SecurityAuditor` | Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets. | ollama-cloud/kimi-k2.7-code |
| `@VisualTester` | Visual regression testing agent that compares screenshots and detects UI differences using pixelmatch and image diff. | ollama-cloud/kimi-k2.7-code |
| `@Orchestrator` | Main dispatcher. | ollama-cloud/deepseek-v4-flash:0731 |
| `@ReleaseManager` | Manages git operations, semantic versioning, branching, and deployments. | ollama-cloud/deepseek-v4-flash:0731 |
| `@Evaluator` | Scores agent effectiveness after task completion for continuous improvement. | ollama-cloud/glm-5.2 |
| `@PromptOptimizer` | Improves agent system prompts based on performance failures. | ollama-cloud/minimax-m3 |
| `@ProductOwner` | Manages issue checklists, status labels, tracks progress and coordinates with human users. | ollama-cloud/nemotron-3-ultra |
| `@AgentArchitect` | Creates, modifies, and reviews new agents, workflows, and skills based on capability gap analysis. | ollama-cloud/minimax-m3 |
| `@CapabilityAnalyst` | Analyzes task requirements against available agents, workflows, and skills. | ollama-cloud/minimax-m3 |
| `@WorkflowArchitect` | Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates. | ollama-cloud/minimax-m3 |
| `@MarkdownValidator` | Validates and corrects Markdown descriptions for Gitea issues. | ollama-cloud/nemotron-3-ultra |
| `@BrowserAutomation` | Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction. | ollama-cloud/kimi-k2.7-code |
| `@Planner` | Advanced task planner using Chain of Thought, Tree of Thoughts, and Plan-Execute-Reflect. | ollama-cloud/minimax-m3 |
| `@Reflector` | Self-reflection agent using Reflexion pattern - learns from mistakes. | ollama-cloud/minimax-m3 |
| `@MemoryManager` | Manages agent memory systems - short-term (context), long-term (vector store), and episodic (experiences). | ollama-cloud/minimax-m3 |
| `@ArchitectIndexer` | Indexes and maps project codebase architecture into . | ollama-cloud/deepseek-v4-flash:0731 |
| `@FlutterDeveloper` | Flutter mobile specialist for cross-platform apps, state management, and UI components. | ollama-cloud/qwen3.5:397b |
| `@PhpDeveloper` | PHP specialist for Laravel, Symfony, WordPress, and modular architecture. | ollama-cloud/deepseek-v4-pro |
| `@PipelineJudge` | Automated pipeline judge. | ollama-cloud/kimi-k2.7-code |
| `@PythonDeveloper` | Python specialist for Django, FastAPI, data processing, and ML pipelines. | ollama-cloud/deepseek-v4-pro |
| `@IncidentResponder` | Server incident response and system hardening specialist. | ollama-cloud/minimax-m3 |
| `@WorkflowCrossChecker` | Workflow cross-checker and process inspector. | ollama-cloud/glm-5.2 |
| `@EvolutionSkeptic` | Evaluates model responses against role-specific rubrics with detailed scoring and commentary. | ollama-cloud/glm-5.2 |
| `@EvolutionPrompt` | Generates role-specific stress-test prompts by analyzing agent definitions. | ollama-cloud/minimax-m3 |
| `@SmartadminBuilder` | SmartAdmin template builder — generates and edits admin panel EJS templates using the 721-component SmartAdmin library. | ollama-cloud/qwen3.5:397b |
| `@SmartadminVizAgent` | Data visualization specialist for SmartAdmin. | ollama-cloud/deepseek-v4-flash:0731 |
| `@SmartadminNotifyAgent` | Notification/feedback UI specialist for SmartAdmin. | ollama-cloud/deepseek-v4-flash:0731 |
| `@SmartadminFormAgent` | Form engine specialist for SmartAdmin. | ollama-cloud/qwen3.5:397b |
| `@SmartadminInteractiveAgent` | Interactive elements specialist for SmartAdmin. | ollama-cloud/kimi-k2.7-code |
**Note:** For AgentArchitect, use `subagent_type: "system-analyst"` with prompt "You are Agent Architect..." (workaround for unsupported agent-architect type).
### Workflow Commands
| Command | Description | Model |
|---------|-------------|-------|
| `/status` | Check pipeline status for issue. | ollama-cloud/qwen3.5:397b |
| `/evaluate` | Generate performance report. | ollama-cloud/gpt-oss:120b |
| `/plan` | Creates detailed task plans. | ollama-cloud/deepseek-v4-pro |
| `/ask` | Answers codebase questions. | ollama-cloud/qwen3.5:397b |
| `/debug` | Analyzes and fixes bugs. | ollama-cloud/gpt-oss:20b |
| `/code` | Quick code generation. | ollama-cloud/deepseek-v4-pro |
| `/research` | Run research and self-improvement. | ollama-cloud/kimi-k2.7-code |
| `/feature` | Full feature development pipeline. | ollama-cloud/deepseek-v4-pro |
| `/hotfix` | Hotfix workflow. | ollama-cloud/deepseek-v4-pro |
| `/review` | Code review workflow. | ollama-cloud/kimi-k2.7-code |
| `/review-watcher` | Auto-validate review results. | ollama-cloud/kimi-k2.7-code |
| `/workflow` | Run complete workflow with quality gates. | ollama-cloud/kimi-k2.7-code |
| `/landing-page` | Create landing page CMS from HTML mockups. | ollama-cloud/qwen3.5:397b |
| `/commerce` | Create e-commerce site with products, cart, payments. | ollama-cloud/deepseek-v4-pro |
| `/blog` | Create blog/CMS with posts, comments, SEO. | ollama-cloud/deepseek-v4-pro |
| `/booking` | Create booking system for services/appointments. | ollama-cloud/deepseek-v4-pro |
| `/evolve-agent` | Pre-deployment role-fit testing — evaluate which model best fits a specific agent role via stress-test prompts and rubric scoring. | ollama-cloud/kimi-k2.7-code |
### Workflow Pipeline
```
[new] → HistoryMiner → [researching] → SystemAnalyst → [designing] → SDET
[testing] → LeadDev → CodeSkeptic → [fail? TheFixer] → [pass] → Performance → Security → Release → Evaluator
```
---
## Skills (This Project)
### Gitea Integration
**Location**: `.kilo/skills/gitea/SKILL.md`
**Purpose**: Automate git operations with Gitea without manual console input.
**Capabilities**:
- Repository detection from remote URLs
- Git operations: status, add, commit, push, pull
- Branch management: create, detect, switch
- Pull request creation via API
- Issue integration and auto-close
### E-commerce Domain
**Location**: `.kilo/skills/ecommerce/SKILL.md`
**Purpose**: Domain knowledge for building e-commerce systems.
**Capabilities**:
- Product catalog management
- Shopping cart implementation
- Order processing workflow
- Payment integration (Stripe, PayPal)
- Inventory management
- Database schemas for products, orders, payments
### Blog/CMS Domain
**Location**: `.kilo/skills/blog/SKILL.md`
**Purpose**: Domain knowledge for building blog and content management systems.
**Capabilities**:
- Post CRUD with draft/publish states
- Categories and tags (hierarchical and flat)
- Comment moderation with spam detection
- SEO optimization (meta, Open Graph, Schema.org)
- RSS/Atom feeds and sitemap generation
- Media library management
### Booking System Domain
**Location**: `.kilo/skills/booking/SKILL.md`
**Purpose**: Domain knowledge for building booking and appointment systems.
**Capabilities**:
- Service management with categories and pricing
- Staff scheduling and availability
- Real-time slot calculation
- Booking flow (service → staff → date/time → customer)
- Status management (pending, confirmed, completed, cancelled)
- Email/SMS notifications
- Calendar integration (Google, iCal)
- Revenue and utilization reports
### Quality Controller Domain
**Location**: `.kilo/skills/quality-controller/SKILL.md`
**Purpose**: Ensures all workflows follow closed-loop process with Gitea integration.
**Capabilities**:
- Quality gates for each workflow step
- Artifact verification
- Gitea issue tracking
- Progress comments
- Error blocking and recovery
- Final delivery validation
- Client-ready checklist
### Gitea Workflow Domain
**Location**: `.kilo/skills/gitea-workflow/SKILL.md`
**Purpose**: Complete Gitea integration for closed-loop workflow execution.
**Capabilities**:
- Issue creation before any work starts
- Progress comments after each step
- Quality gate validation
- Error blocking (no partial results)
- Final delivery validation
- Client handoff checklist
- Status label management
---
## File Naming Conventions
| Type | Convention | Example |
|------|------------|---------|
| Agent | kebab-case.md | `lead-developer.md` |
| Command | kebab-case.md | `plan.md` |
| Rule | kebab-case.md | `release-manager.md` |
| Skill | SKILL.md | `SKILL.md` (inside directory) |
---
## Validation
### JSON Schema
Use `$schema` field for IDE validation:
```jsonc
{
"$schema": "https://app.kilo.ai/config.json"
}
```
### Common Errors
1. **Missing required field**: `description` is required for agents
2. **Invalid model format**: Use `provider/model-id` format
3. **Invalid mode**: Must be `primary`, `subagent`, or `all`
4. **Invalid permission value**: Must be `allow`, `deny`, or `ask`
---
## Examples
### Minimal Agent Configuration
```jsonc
{
"agent": {
"assistant": {
"description": "General assistant"
}
}
}
```
### Full Agent Configuration
```jsonc
{
"agent": {
"senior-developer": {
"description": "Senior developer with full permissions",
"model": "ollama-cloud/deepseek-v4-pro",
"mode": "primary",
"color": "#10B981",
"temperature": 0.7,
"top_p": 0.9,
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": "allow"
}
}
}
}
```
### Restricted Agent Configuration
```jsonc
{
"agent": {
"viewer": {
"description": "Read-only agent",
"model": "ollama-cloud/gemini-3-flash",
"mode": "subagent",
"permission": {
"read": "allow",
"edit": "deny",
"write": "deny",
"bash": "deny",
"glob": "allow",
"grep": "allow"
}
}
}
}
```

View File

@@ -1,7 +1,7 @@
---
description: Indexes and maps project codebase architecture into .architect/ directory
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
color: "#10B981"
permission:
read: allow

View File

@@ -1,7 +1,7 @@
---
description: Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction
mode: all
model: ollama-cloud/minimax-m3
model: ollama-cloud/kimi-k2.7-code
variant: thinking
permission:
read: allow

View File

@@ -1,7 +1,7 @@
---
description: Adversarial code reviewer. Finds problems and issues. Does NOT suggest implementations (GNS-2 Tier 0)
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
color: "#E11D48"
permission:
@@ -86,4 +86,17 @@ After completion, recommend next agent in event footer:
- `security-auditor`: after performance reviewed
## Verification Test Generation
When bugs or issues are found, the skeptic MUST emit a verification test that would have caught each bug, plus the expected assertion. These tests are included in the GNS_EVENT footer as `verification_tests` so downstream agents (the-fixer) can run them.
```js
// Example: verification test for missing null check
// test('should reject null user input', () => {
// expect(() => processUser(null)).toThrow('User cannot be null');
// });
```
Each entry: `{test_name, test_code, catches}` — describes what the test catches.
<gitea-commenting required="true" skill="gitea-commenting" />

View File

@@ -1,7 +1,7 @@
---
description: Intelligently manages token budget by summarizing conversation history, preserving critical State, and pruning redundant information before context overflow occurs
mode: subagent
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
color: "#7C3AED"
permission:

View File

@@ -1,7 +1,7 @@
---
description: Flutter mobile specialist for cross-platform apps, state management, and UI components
mode: all
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
color: "#02569B"
permission:

View File

@@ -1,7 +1,7 @@
---
description: Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups (GNS-2 Tier 1)
description: Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups. Follows landing-design-interpretation skill for visual/contrast/color tasks on landing pages (MANDATORY measurement-first protocol)
mode: all
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
color: "#0EA5E9"
permission:
@@ -62,6 +62,11 @@ Use the Task tool with `subagent_type` to delegate to other agents:
4. **Responsive by default** — mobile-first approach
5. **Component composition** — build small, reusable parts
6. **Tool-First Enforcement** — Read existing component files with Read/Grep before modifying. Search for existing patterns before introducing new ones.
7. **Landing Visual Protocol (MANDATORY)** — When task involves landing pages, colors, contrast, or readability:
- **STEP 1: Interpret** — Load `.kilo/skills/landing-design-interpretation/SKILL.md`. Translate human description to technical selectors.
- **STEP 2: Measure** — Use Docker-based measurement tools (Playwright contrast extraction, screenshot diff, or axe-core) to get exact color values and contrast ratios. **NEVER guess colors without measurement.**
- **STEP 3: Fix + Verify** — Apply minimal targeted CSS changes, then re-run measurement to confirm contrast >= 4.5:1.
- Reference: `.kilo/rules/landing-visual-debugging.md`
## Visual Quality Rules (Learned from Past Mistakes)
@@ -76,6 +81,7 @@ Use the Task tool with `subagent_type` to delegate to other agents:
1. **Always check selector specificity** when styling reused components. If a global `.nav-link { color: white !important }` exists from navbar, scoped tab `.nav-link` MUST use higher specificity or `!important` override.
2. **Verify contrast BEFORE shipping** — light gray text (`#6c757d`) on white (`#fff`) is only 4.6:1, which is borderline. For small text under 14px, use darker text (`#495057` or `#333`).
3. **Don't assume Bootstrap defaults are safe** — its `.nav-tabs` may bring unwanted borders, margins, or radius. Always inspect computed styles.
4. **Human Description Translation** — When human says "blends in", "disappears", "hard to read": immediately compute contrast ratio with `getComputedStyle` + Docker Playwright script. Do NOT trust visual intuition alone.
### Border & Shadow Hygiene
1. **One visual hierarchy per component** — border OR shadow, not both simultaneously on the same element.
@@ -89,6 +95,7 @@ Use the Task tool with `subagent_type` to delegate to other agents:
- [ ] Hover states are distinguishable from active states
- [ ] Mobile: tabs don't overflow or wrap weirdly
- [ ] Component looks intentional, not accidental
- [ ] Contrast measurement run and documented for landing/visual tasks
## Output Format
@@ -135,6 +142,9 @@ This model can:
- DO NOT make API design decisions
- DO NOT skip accessibility
- DO NOT ignore responsive design
- DO NOT change landing page colors without running automated contrast measurement
- DO NOT rely on visual intuition for color decisions on landing pages
- DO NOT skip `.kilo/rules/landing-visual-debugging.md` protocol for visual tasks
## Handoff Protocol

View File

@@ -1,7 +1,7 @@
---
description: Go backend specialist for Gin, Echo, APIs, and database integration (GNS-2 Tier 1)
mode: all
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
color: "#00ADD8"
permission:
read: allow

View File

@@ -1,7 +1,7 @@
---
description: Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work (GNS-2 Tier 0)
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
color: "#059669"
permission:
read: allow

View File

@@ -1,7 +1,7 @@
---
description: Server incident response and system hardening specialist. Handles live forensics, malware removal, persistence hunting, SSH-based server cleanup, and post-incident hardening. Works with any OS and panel.
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
color: "#B91C1C"
permission:

View File

@@ -1,7 +1,7 @@
---
description: Conversational interface — receives natural language from users, clarifies ambiguous requirements, produces structured tasks for orchestrator
mode: all
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
color: "#0891B2"
permission:

View File

@@ -1,9 +1,10 @@
---
description: Validates and corrects Markdown descriptions for Gitea issues
mode: subagent
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/nemotron-3-ultra
variant: thinking
permission:
bash: ask
read: allow
edit: allow
write: allow

View File

@@ -4,6 +4,7 @@ mode: subagent
model: ollama-cloud/minimax-m3
color: "#8B5CF6"
permission:
bash: ask
edit: allow
read: allow
write: allow

View File

@@ -1,7 +1,7 @@
---
description: Main dispatcher. Routes tasks between agents based on Issue status and manages the workflow state machine. NEVER does implementation work itself — ALWAYS delegates via Task tool. bash/write=allow for routing checks and protocol logs only.
mode: all
model: ollama-cloud/glm-5.1
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
color: "#7C3AED"
permission:
@@ -110,6 +110,24 @@ Before EVERY action, run this gate:
| Run test suite | ~5,000 tokens | ~500 tokens | sdet-engineer wins |
| Review code | ~8,000 tokens | ~500 tokens | code-skeptic wins |
## Complexity Fast-Path (BEFORE pipeline)
Before routing to full pipeline, evaluate trivial tasks:
| Signal | Action |
|---|---|
| Task = typo, config value, single-line fix | Direct: orchestrator → lead-developer → done |
| Task = single file, <50 lines change | Direct: lead-developer → code-skeptic (1 reviewer) → done |
| Task = research question, no code change | Direct: pattern-matcher or history-miner → done |
| Task unclear or multi-file | Full pipeline with pre-flight gate |
Skip history-miner, requirement-refiner, system-analyst for trivial tasks.
Skip consensus voting for simple tasks.
TCA check MUST pass before fast-path (otherwise full pipeline).
Rationale (Microsoft Azure 2026-02): "Use the lowest level of complexity that reliably meets requirements." Multi-agent orchestration adds coordination overhead, latency, cost. For 30% of tasks that are trivial, skipping 5+ agents saves ~30K tokens.
## Delegation Routing
### By Status
@@ -351,4 +369,26 @@ Instead of re-reading all comments:
After any agent completes:
1. `reportChange(issueNumber, report)` → posts compact change table + GNS_EVENT footer
2. Releases file claims, updates checkpoint budget
3. Checks acceptance criteria → auto-close if all met
3. Checks acceptance criteria → auto-close if all met
## Adaptive Scaling by Complexity
When dispatching agents, the orchestrator reads the `complexity` field from requirement-refiner output and selects scaling config from `.kilo/capability-index.yaml``adaptive_scaling`. The complexity value maps to one of: `trivial`, `simple`, `medium`, `complex`.
- **trivial/simple**: single reviewer, no consensus, low token budget
- **medium**: 2 reviewers with specific models, up to 3 iterations
- **complex**: consensus mode with 3 agents, dispatched via `/consensus` (Agent Forest pattern)
If `complexity: complex` AND `consensus: true`, the orchestrator dispatches via the consensus workflow instead of standard sequential review. Token budget and max iterations are read from the scaling config.
### Effort Budget by Complexity (Mandatory)
BEFORE dispatching, classify the task and apply this budget:
- **Trivial** (typo, config value, single-line fix): invoke 1 agent only (lead-developer). Skip all reviewers.
- **Simple** (single endpoint, 1 model + migration): invoke 1-2 agents. 1 reviewer max.
- **Medium** (multi-file feature, 3-5 files): invoke 2-4 agents. 2 reviewers, 1 iteration loop.
- **Complex** (subsystem refactor, security audit): invoke 4-10 agents. Consensus voting, 3 iteration max.
If uncertain how many subagents: start with 1, escalate only on explicit failure.
Never spawn >10 subagents without user confirmation.

View File

@@ -1,7 +1,7 @@
---
description: Proactively finds similar successful solutions from past projects BEFORE work starts, providing recommendations instead of just duplicate detection
mode: subagent
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
color: "#059669"
permission:

View File

@@ -5,6 +5,7 @@ model: ollama-cloud/minimax-m3
variant: thinking
color: "#0D9488"
permission:
write: ask
edit: allow
read: allow
bash: allow

View File

@@ -1,10 +1,11 @@
---
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: all
model: ollama-cloud/qwen3.5:397b
model: ollama-cloud/kimi-k2.7-code
variant: thinking
color: "#DC2626"
permission:
write: ask
edit: allow
read: allow
bash: allow
@@ -96,4 +97,14 @@ After completion, recommend next agent in event footer:
- `security-auditor`: after performance reviewed
## SOP Adherence Scoring
Fitness score now includes `sop_adherence` as a component:
```
fitness = (test_pass_rate × 0.40) + (quality_gates_rate × 0.25) + (efficiency_score × 0.20) + (sop_adherence × 0.15)
```
Where `sop_adherence = matched_steps / total_sop_steps`, read from `.kilo/workflows/pipeline-sop.yaml`. The judge reads the workflow-cross-checker's `sop_check` results from GNS_EVENT footers to compute this component.
<gitea-commenting required="true" skill="gitea-commenting" />

View File

@@ -5,6 +5,7 @@ model: ollama-cloud/minimax-m3
variant: thinking
color: "#F59E0B"
permission:
bash: ask
edit: allow
read: allow
write: allow

View File

@@ -1,7 +1,7 @@
---
description: Manages issue checklists, status labels, tracks progress and coordinates with human users
mode: all
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/nemotron-3-ultra
variant: thinking
permission:
read: allow

View File

@@ -4,6 +4,7 @@ mode: subagent
model: ollama-cloud/minimax-m3
variant: thinking
permission:
bash: ask
read: allow
edit: allow
write: allow
@@ -92,4 +93,15 @@ Tier 1 (Task Agent / Orchestrator-Mediated Cascade)
```
## Integrate Episodic Lessons
When optimizing an agent's prompt, read `.kilo/logs/episodic-lessons.jsonl` for lessons tagged `applied_to` containing that agent name. Integrate relevant lessons into the improved prompt. Each lesson includes the failure pattern, the fix, and the issue that triggered it.
```bash
# Filter lessons for a specific agent
cat .kilo/logs/episodic-lessons.jsonl | grep '"applied_to":\[.*"lead-developer".*\]'
```
Lessons with `success: false` indicate patterns to avoid; `success: true` indicate patterns to reinforce.
<gitea-commenting required="true" skill="gitea-commenting" />

View File

@@ -1,10 +1,12 @@
---
description: Self-reflection agent using Reflexion pattern - learns from mistakes
mode: subagent
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
color: "#10B981"
permission:
bash: ask
write: ask
edit: allow
read: allow
grep: allow
@@ -63,3 +65,13 @@ After completion, recommend next agent in event footer:
- `code-skeptic`: after code written
- `performance-engineer`: after code tested
- `security-auditor`: after performance reviewed
## Episodic Learning
At pipeline end, the reflector reads the last N entries (default 20) from `.kilo/logs/agent-executions.jsonl` and `.kilo/logs/episodic-lessons.jsonl` (if present), extracts success/failure patterns, and appends new lessons to `episodic-lessons.jsonl`.
```jsonl
{"ts":"ISO","lesson":"pattern description","from_agent":"agent-name","issue":N,"applied_to":["agent1","agent2"],"success":true}
```
Lessons are tagged with `applied_to` listing agent names that should integrate them. The prompt-optimizer reads these lessons when improving prompts.

View File

@@ -1,7 +1,7 @@
---
description: Manages git operations, semantic versioning, branching, and deployments. Ensures clean history
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
permission:
read: allow
edit: allow

View File

@@ -1,7 +1,7 @@
---
description: Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists (GNS-2 Tier 0)
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
color: "#4F46E5"
permission:

View File

@@ -1,10 +1,11 @@
---
description: Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets (GNS-2 Tier 0)
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
color: "#DC2626"
permission:
write: ask
edit: allow
read: allow
bash: allow
@@ -205,4 +206,15 @@ After completion, recommend next agent in event footer:
- `security-auditor`: after performance reviewed
## Verification Test Generation
When vulnerabilities are found, the auditor MUST emit a verification test (e.g., a request that should be rejected) that would have caught the vulnerability. These are included in the GNS_EVENT footer as `verification_tests`.
```bash
# Example: verification test for SQL injection
# curl -X POST /api/login -d "username=' OR 1=1--" | should return 400
```
Each entry: `{test_name, test_code, catches}` — describes the vulnerability it catches.
<gitea-commenting required="true" skill="gitea-commenting" />

View File

@@ -1,7 +1,7 @@
---
description: SmartAdmin template builder — generates and edits admin panel EJS templates using the 721-component SmartAdmin library. Understands component classes, page structure, and produces backend-ready frontend pages.
mode: subagent
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
variant_strategy: task_size_based
color: "#2563EB"

View File

@@ -1,7 +1,7 @@
---
description: Form engine specialist for SmartAdmin. Generates complete form HTML with validation attributes and JS handlers using Bootstrap form groups, Select2, datepickers, and form wizards.
mode: subagent
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
variant_strategy: task_size_based
color: "#10B981"

View File

@@ -1,7 +1,7 @@
---
description: Interactive elements specialist for SmartAdmin. Generates HTML element snippets and event handler JS for buttons, dropdowns, nav-tabs, collapse, and modal triggers.
mode: subagent
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
variant: thinking
variant_strategy: task_size_based
color: "#8B5CF6"

View File

@@ -1,7 +1,7 @@
---
description: Notification/feedback UI specialist for SmartAdmin. Generates alert HTML snippets and JS trigger functions using Bootstrap alerts, modals, and toasts.
mode: subagent
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
variant_strategy: task_size_based
color: "#F59E0B"

View File

@@ -1,7 +1,7 @@
---
description: Data visualization specialist for SmartAdmin. Generates EJS snippets and JS initialization code for ApexCharts, Peity, Easy Pie, and SmartTable.
mode: subagent
model: ollama-cloud/deepseek-v4-pro
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
variant_strategy: task_size_based
color: "#0EA5E9"

View File

@@ -1,7 +1,7 @@
---
description: Translates technical outputs into business language for non-technical stakeholders, generates executive summaries and progress reports
mode: subagent
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
color: "#DC2626"
permission:

View File

@@ -1,7 +1,7 @@
---
description: Iteratively fixes bugs based on specific error reports and test failures (GNS-2 Tier 1)
mode: all
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
color: "#F59E0B"
permission:
@@ -118,4 +118,14 @@ Tier 1 (Task Agent / Orchestrator-Mediated Cascade)
```
## Run Verification Tests
When fixing issues reported by code-skeptic or security-auditor, the fixer MUST first read the `verification_tests` from the previous agent's GNS_EVENT footer and run them as the FIRST step of verification, before applying its own fixes. This ensures the reported issues are reproducible and the fix addresses them.
1. Parse GNS_EVENT footer from the review agent's comment
2. Extract `verification_tests` array
3. Run each test — confirm it fails (reproduces the bug)
4. Apply fix, then re-run — confirm it passes
5. Report results in GNS_EVENT footer
<gitea-commenting required="true" skill="gitea-commenting" />

View File

@@ -1,7 +1,7 @@
---
description: Strategy-aware visual testing orchestrator. Selects between vlmkit, vrt, and Midscene.js based on issue content. Runs in Docker only. Requires visual-testing and docker-visual-testing skills.
mode: all
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
color: "#DC2626"
variant: thinking
permission:

View File

@@ -1,9 +1,10 @@
---
description: Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates
mode: subagent
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
permission:
bash: ask
read: allow
edit: allow
write: allow

View File

@@ -186,4 +186,19 @@ If `BLOCKED`: "Resolve: [blocker]; current assignee stays orchestrator until unb
} -->
```
## SOP Adherence Check
The cross-checker verifies that the current pipeline step matches the expected step in `.kilo/workflows/pipeline-sop.yaml`. It compares step name, agent, and verification criteria against the SOP definition. Reports `sop_violation` in the GNS_EVENT footer if mismatch is detected.
```yaml
# SOP check output in GNS_EVENT:
# "sop_check": {
# "expected_step": "code_review",
# "actual_step": "code_review",
# "expected_agent": "code-skeptic",
# "actual_agent": "code-skeptic",
# "match": true
# }
```
<gitea-commenting required="true" />

View File

@@ -13,7 +13,7 @@ agents:
produces: [code, documentation_inline]
frontend-developer:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
mode: subagent
capabilities: [ui_implementation, component_creation, styling, responsive_design, nextjs_development, vue_nuxt_development, react_development]
@@ -47,7 +47,7 @@ agents:
produces: [express_routes, database_schema, api_documentation]
go-developer:
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
mode: subagent
capabilities: [go_api_development, go_database_design, go_concurrent_programming, go_authentication, go_microservices, postgresql_integration, sqlite_integration, clickhouse_integration]
forbidden: [frontend_code]
@@ -55,7 +55,7 @@ agents:
produces: [go_handlers, go_database_schema, go_api_documentation, concurrent_solutions]
flutter-developer:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
mode: subagent
capabilities: [dart_programming, flutter_ui, mobile_app_development, widget_creation, state_management]
@@ -82,7 +82,7 @@ agents:
produces: [test_files, test_reports, coverage_reports]
code-skeptic:
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [code_review, security_review, style_check, issue_identification]
@@ -91,7 +91,7 @@ agents:
produces: [review_comments, approval_status, issue_list]
security-auditor:
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [vulnerability_scan, owasp_check, secret_detection, auth_review]
@@ -109,7 +109,7 @@ agents:
produces: [performance_report, optimization_suggestions]
the-fixer:
model: ollama-cloud/glm-5.2
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [bug_fixing, issue_resolution, code_correction]
@@ -118,7 +118,7 @@ agents:
produces: [code_fixes, resolution_notes]
browser-automation:
model: ollama-cloud/minimax-m3
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [e2e_browser_tests, form_filling, navigation_testing, screenshot_capture]
@@ -127,7 +127,7 @@ agents:
produces: [test_results, screenshots]
visual-tester:
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [visual_regression, pixel_comparison, screenshot_diff, ui_validation, bbox_element_extraction, console_error_detection, network_error_detection, responsive_layout_check, button_overflow_detection, gitea_integration, docker_networking]
@@ -154,7 +154,7 @@ agents:
produces: [analysis_report, recommendations, new_agent_specs]
orchestrator:
model: ollama-cloud/glm-5.1
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
mode: all
capabilities: [task_routing, state_management, agent_coordination, workflow_execution]
@@ -163,7 +163,7 @@ agents:
produces: [routing_decisions, status_updates]
intake-agent:
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: all
capabilities: [natural_language_understanding, conversational_clarification, task_structuring, requirement_formulation, intent_extraction]
@@ -172,7 +172,7 @@ agents:
produces: [structured_tasks, acceptance_criteria, orchestrator_compatible_tasks]
context-compressor:
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: subagent
capabilities: [context_summarization, state_extraction, token_efficiency, memory_pruning, checkpoint_preservation]
@@ -181,7 +181,7 @@ agents:
produces: [compressed_checkpoint, token_savings, preserved_state]
pattern-matcher:
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: subagent
capabilities: [similar_pattern_detection, successful_solution_retrieval, cross_project_learning, proactive_recommendation]
@@ -190,7 +190,7 @@ agents:
produces: [pattern_matches, recommendations, knowledge_graph_updates]
stakeholder-bridge:
model: ollama-cloud/minimax-m2.7
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: subagent
capabilities: [technical_to_business_translation, executive_summary_generation, progress_report_generation, stakeholder_communication]
@@ -199,7 +199,7 @@ agents:
produces: [executive_summary, progress_report, business_translation]
release-manager:
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
mode: subagent
capabilities: [git_operations, version_management, changelog_creation, deployment]
forbidden: [code_changes, feature_development]
@@ -225,7 +225,7 @@ agents:
produces: [improved_prompts, optimization_report]
product-owner:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: subagent
capabilities: [issue_management, prioritization, backlog_management, workflow_completion]
@@ -234,7 +234,7 @@ agents:
produces: [priority_order, issue_labels, issue_closures]
pipeline-judge:
model: ollama-cloud/qwen3.5:397b
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [test_execution, fitness_scoring, metric_collection, bottleneck_detection]
@@ -243,7 +243,7 @@ agents:
produces: [fitness_report, bottleneck_analysis, improvement_triggers]
workflow-architect:
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
mode: subagent
capabilities: [workflow_design, process_definition, automation_setup]
@@ -252,7 +252,7 @@ agents:
produces: [workflow_definitions, command_files]
markdown-validator:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/nemotron-3-ultra
variant: thinking
mode: subagent
capabilities: [markdown_validation, formatting_check, link_validation]
@@ -279,7 +279,7 @@ agents:
produces: [decomposed_steps, dependency_graph, success_criteria]
reflector:
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
mode: subagent
capabilities: [self_reflection, mistake_analysis, lesson_extraction, trajectory_analysis, heuristic_evaluation]
@@ -296,7 +296,7 @@ agents:
produces: [retrieved_memories, relevance_scores, consolidated_memories]
architect-indexer:
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
mode: subagent
capabilities: [codebase_indexing, project_mapping, architecture_documentation, dependency_analysis, entity_extraction, api_surface_discovery, convention_detection, staleness_detection]
forbidden: [code_changes, implementation]
@@ -304,7 +304,7 @@ agents:
produces: [.architect/state.json, .architect/project.json, .architect/README.md, architecture_overview, dependency_graph, entity_documentation, db_schema_documentation, api_surface_documentation, convention_documentation, file_graph, module_graph]
history-miner:
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
mode: subagent
capabilities: [git_history_analysis, duplicate_detection, regression_prevention, pattern_matching, past_solution_retrieval]
forbidden: [implementation]
@@ -312,7 +312,7 @@ agents:
produces: [historical_findings, regression_warnings, recommended_solutions]
incident-responder:
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
mode: subagent
capabilities: [incident_response, live_forensics, malware_removal, persistence_hunting, ssh_cleanup, post_incident_hardening, cross_platform_hardening]
@@ -339,7 +339,7 @@ agents:
produces: [evaluation_scores, detailed_commentary]
smartadmin-builder:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
mode: subagent
capabilities: [smartadmin_template_building, ejs_generation, admin_panel_creation, component_library_usage]
@@ -348,7 +348,7 @@ agents:
produces: [ejs_templates, admin_pages, smartadmin_components]
smartadmin-viz-agent:
model: ollama-cloud/deepseek-v4-pro
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
mode: subagent
capabilities: [data_visualization, apexcharts, peity, easy_pie_chart, smarttable, kpi_cards]
@@ -357,7 +357,7 @@ agents:
produces: [chart_html_snippets, chart_init_js, kpi_cards, smarttable_blocks]
smartadmin-notify-agent:
model: ollama-cloud/glm-5.2
model: ollama-cloud/deepseek-v4-flash:0731
variant: thinking
mode: subagent
capabilities: [notification_ui, alerts, toasts, modals, confirmations, inline_messages]
@@ -366,7 +366,7 @@ agents:
produces: [alert_html, toast_html, modal_html, trigger_api, dismiss_handlers]
smartadmin-form-agent:
model: ollama-cloud/minimax-m2.5
model: ollama-cloud/qwen3.5:397b
variant: thinking
mode: subagent
capabilities: [form_generation, form_validation, select2, datepickers, form_wizards, field_dependencies]
@@ -375,7 +375,7 @@ agents:
produces: [form_html, validation_js, dependency_handlers, init_code]
smartadmin-interactive-agent:
model: ollama-cloud/kimi-k2.6
model: ollama-cloud/kimi-k2.7-code
variant: thinking
mode: subagent
capabilities: [interactive_elements, buttons, dropdowns, nav_tabs, accordions, collapse, modal_triggers, state_toggles]
@@ -384,7 +384,7 @@ agents:
produces: [element_html, event_handlers, state_api, widget_init]
requirement-refiner:
model: ollama-cloud/glm-5.2
model: ollama-cloud/minimax-m3
variant: thinking
mode: all
capabilities: [requirements_analysis, user_story_creation, acceptance_criteria_definition, technical_constraint_identification]
@@ -581,4 +581,53 @@ iteration_loops:
evaluator: pipeline-judge
optimizer: prompt-optimizer
max_iterations: 3
convergence: fitness_above_0.85
convergence: fitness_above_0.85
# Adaptive scaling by task complexity
adaptive_scaling:
trivial:
consensus: false
reviewers: 1
max_iterations: 1
token_budget: 2000
simple:
consensus: false
reviewers: 1
max_iterations: 2
token_budget: 5000
medium:
consensus: false
reviewers: 2
reviewer_models: [ollama-cloud/glm-5.2, ollama-cloud/deepseek-v4-pro]
max_iterations: 3
token_budget: 10000
complex:
consensus: true
consensus_agents: 3
consensus_models: [ollama-cloud/glm-5.2, ollama-cloud/deepseek-v4-pro, ollama-cloud/minimax-m3]
reviewers: 2
max_iterations: 3
token_budget: 20000
complexity_routing:
source: requirement-refiner
field: complexity
values: [trivial, simple, medium, complex]
# Consensus groups for critical decisions (Agent Forest pattern)
consensus_groups:
architecture_decision:
agents: [system-analyst, planner, capability-analyst]
strategy: weighted_majority
weights: [0.4, 0.3, 0.3]
threshold: 0.65
trigger: status_researching
security_review:
agents: [security-auditor, security-auditor, security-auditor]
models: [ollama-cloud/glm-5.2, ollama-cloud/deepseek-v4-pro, ollama-cloud/minimax-m3]
strategy: majority_vote
trigger: security_review_phase
code_review:
agents: [code-skeptic, code-skeptic]
models: [ollama-cloud/glm-5.2, ollama-cloud/deepseek-v4-pro]
strategy: unanimous_required
trigger: status_implementing

View File

@@ -61,12 +61,8 @@ These agents are invoked automatically by `/pipeline` or manually via `@mention`
| `@FlutterDeveloper` | Flutter mobile specialist for cross-platform apps, state management, and UI components | Manual invocation |
| `@PhpDeveloper` | PHP specialist for Laravel, Symfony, WordPress, and modular architecture | Manual invocation |
| `@PythonDeveloper` | Python specialist for Django, FastAPI, data processing, and ML pipelines | Manual invocation |
| `@SmartadminBuilder` | SmartAdmin template builder — generates admin panel EJS templates from 721-component library | When admin UI needed |
| `@SmartadminVizAgent` | Data visualization specialist — generates chart/table/KPI panel content (ApexCharts, Peity, Easy Pie, SmartTable) | When charts/tables needed |
| `@SmartadminNotifyAgent` | Notification UI specialist — generates alert/toast/modal feedback blocks | When feedback UI needed |
| `@SmartadminFormAgent` | Form engine specialist — generates Bootstrap forms with Select2, datepickers, validation, wizards | When forms needed |
| `@SmartadminInteractiveAgent` | Interactive elements specialist — generates buttons, dropdowns, tabs, accordions, state toggles | When interactive widgets needed |
| `@IncidentResponder` | Server incident response and system hardening specialist | Manual invocation |
| `@SmartadminBuilder` | SmartAdmin template builder — generates and edits admin panel EJS templates using the 721-component SmartAdmin library | Manual invocation |
### Quality Assurance
| Agent | Role | When Invoked |

View File

@@ -1,12 +1,13 @@
{
"$schema": "https://app.kilo.ai/config.json",
"metaVersion": "1.0.0",
"lastSync": "2026-07-01T14:16:08.079Z",
"prompt_version": 1,
"lastSync": "2026-08-04T13:08:39.959Z",
"agents": {
"intake-agent": {
"file": ".kilo/agents/intake-agent.md",
"description": "Conversational interface — receives natural language from users, clarifies ambiguous requirements, produces structured tasks for orchestrator",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "all",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -16,7 +17,7 @@
"context-compressor": {
"file": ".kilo/agents/context-compressor.md",
"description": "Intelligently manages token budget by summarizing conversation history, preserving critical State, and pruning redundant information before context overflow occurs",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -26,7 +27,7 @@
"pattern-matcher": {
"file": ".kilo/agents/pattern-matcher.md",
"description": "Proactively finds similar successful solutions from past projects BEFORE work starts, providing recommendations instead of just duplicate detection",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -36,7 +37,7 @@
"stakeholder-bridge": {
"file": ".kilo/agents/stakeholder-bridge.md",
"description": "Translates technical outputs into business language for non-technical stakeholders, generates executive summaries and progress reports",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -46,7 +47,7 @@
"requirement-refiner": {
"file": ".kilo/agents/requirement-refiner.md",
"description": "Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"mode": "all",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -56,7 +57,7 @@
"history-miner": {
"file": ".kilo/agents/history-miner.md",
"description": "Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "all",
"category": "core"
},
@@ -91,8 +92,8 @@
},
"frontend-developer": {
"file": ".kilo/agents/frontend-developer.md",
"description": "Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups",
"model": "ollama-cloud/minimax-m2.5",
"description": "Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups. Follows landing-design-interpretation skill for visual/contrast/color tasks on landing pages (MANDATORY measurement-first protocol)",
"model": "ollama-cloud/qwen3.5:397b",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -112,7 +113,7 @@
"go-developer": {
"file": ".kilo/agents/go-developer.md",
"description": "Go backend specialist for Gin, Echo, APIs, and database integration",
"model": "ollama-cloud/kimi-k2.6",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"color": "#00ADD8",
"category": "core"
@@ -130,7 +131,7 @@
"code-skeptic": {
"file": ".kilo/agents/code-skeptic.md",
"description": "Adversarial code reviewer. Finds problems and issues. Does NOT suggest implementations",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -140,7 +141,7 @@
"the-fixer": {
"file": ".kilo/agents/the-fixer.md",
"description": "Iteratively fixes bugs based on specific error reports and test failures",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -160,7 +161,7 @@
"security-auditor": {
"file": ".kilo/agents/security-auditor.md",
"description": "Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -170,7 +171,7 @@
"visual-tester": {
"file": ".kilo/agents/visual-tester.md",
"description": "Visual regression testing agent that compares screenshots and detects UI differences using pixelmatch and image diff",
"model": "ollama-cloud/kimi-k2.6",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -179,10 +180,10 @@
"orchestrator": {
"file": ".kilo/agents/orchestrator.md",
"description": "Main dispatcher. Routes tasks between agents based on Issue status and manages the workflow state machine. NEVER does implementation work itself — ALWAYS delegates via Task tool.",
"model": "ollama-cloud/glm-5.1",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
"variant_strategy": "always_thinking",
"color": "#7C3AED",
"category": "meta",
"permission": {
@@ -243,7 +244,7 @@
"release-manager": {
"file": ".kilo/agents/release-manager.md",
"description": "Manages git operations, semantic versioning, branching, and deployments. Ensures clean history",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "all",
"category": "meta"
},
@@ -269,7 +270,7 @@
"product-owner": {
"file": ".kilo/agents/product-owner.md",
"description": "Manages issue checklists, status labels, tracks progress and coordinates with human users",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "all",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -296,7 +297,7 @@
"workflow-architect": {
"file": ".kilo/agents/workflow-architect.md",
"description": "Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -305,7 +306,7 @@
"markdown-validator": {
"file": ".kilo/agents/markdown-validator.md",
"description": "Validates and corrects Markdown descriptions for Gitea issues",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/nemotron-3-ultra",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -314,7 +315,7 @@
"browser-automation": {
"file": ".kilo/agents/browser-automation.md",
"description": "Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction",
"model": "ollama-cloud/minimax-m3",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -333,7 +334,7 @@
"reflector": {
"file": ".kilo/agents/reflector.md",
"description": "Self-reflection agent using Reflexion pattern - learns from mistakes",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -351,7 +352,7 @@
"architect-indexer": {
"file": ".kilo/agents/architect-indexer.md",
"description": "Indexes and maps project codebase architecture into .architect/ directory",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "all",
"color": "#10B981",
"category": "core"
@@ -359,7 +360,7 @@
"flutter-developer": {
"file": ".kilo/agents/flutter-developer.md",
"description": "Flutter mobile specialist for cross-platform apps, state management, and UI components",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -377,7 +378,7 @@
"pipeline-judge": {
"file": ".kilo/agents/pipeline-judge.md",
"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.",
"model": "ollama-cloud/qwen3.5:397b",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "all",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -395,7 +396,7 @@
"incident-responder": {
"file": ".kilo/agents/incident-responder.md",
"description": "Server incident response and system hardening specialist. Handles live forensics, malware removal, persistence hunting, SSH-based server cleanup, and post-incident hardening. Works with any OS and panel.",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"mode": "all",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -435,7 +436,7 @@
"smartadmin-builder": {
"file": ".kilo/agents/smartadmin-builder.md",
"description": "SmartAdmin template builder — generates and edits admin panel EJS templates using the 721-component SmartAdmin library. Understands component classes, page structure, and produces backend-ready frontend pages.",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -457,7 +458,7 @@
"smartadmin-viz-agent": {
"file": ".kilo/agents/smartadmin-viz-agent.md",
"description": "Data visualization specialist for SmartAdmin. Generates EJS snippets and JS initialization code for ApexCharts, Peity, Easy Pie, and SmartTable.",
"model": "ollama-cloud/deepseek-v4-pro",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -480,7 +481,7 @@
"smartadmin-notify-agent": {
"file": ".kilo/agents/smartadmin-notify-agent.md",
"description": "Notification/feedback UI specialist for SmartAdmin. Generates alert HTML snippets and JS trigger functions using Bootstrap alerts, modals, and toasts.",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -503,7 +504,7 @@
"smartadmin-form-agent": {
"file": ".kilo/agents/smartadmin-form-agent.md",
"description": "Form engine specialist for SmartAdmin. Generates complete form HTML with validation attributes and JS handlers using Bootstrap form groups, Select2, datepickers, and form wizards.",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -526,7 +527,7 @@
"smartadmin-interactive-agent": {
"file": ".kilo/agents/smartadmin-interactive-agent.md",
"description": "Interactive elements specialist for SmartAdmin. Generates HTML element snippets and event handler JS for buttons, dropdowns, nav-tabs, accordions, collapse, and modal triggers.",
"model": "ollama-cloud/kimi-k2.6",
"model": "ollama-cloud/kimi-k2.7-code",
"mode": "subagent",
"variant": "thinking",
"variant_strategy": "task_size_based",
@@ -585,7 +586,7 @@
"research": {
"file": ".kilo/commands/research.md",
"description": "Run research and self-improvement",
"model": "ollama-cloud/kimi-k2.6"
"model": "ollama-cloud/kimi-k2.7-code"
},
"feature": {
"file": ".kilo/commands/feature.md",
@@ -600,12 +601,12 @@
"review": {
"file": ".kilo/commands/review.md",
"description": "Code review workflow",
"model": "ollama-cloud/kimi-k2.6"
"model": "ollama-cloud/kimi-k2.7-code"
},
"review-watcher": {
"file": ".kilo/commands/review-watcher.md",
"description": "Auto-validate review results",
"model": "ollama-cloud/kimi-k2.6"
"model": "ollama-cloud/kimi-k2.7-code"
},
"e2e-test": {
"file": ".kilo/commands/e2e-test.md",
@@ -614,12 +615,12 @@
"workflow": {
"file": ".kilo/commands/workflow.md",
"description": "Run complete workflow with quality gates",
"model": "ollama-cloud/kimi-k2.6"
"model": "ollama-cloud/kimi-k2.7-code"
},
"landing-page": {
"file": ".kilo/commands/landing-page.md",
"description": "Create landing page CMS from HTML mockups",
"model": "ollama-cloud/kimi-k2.5"
"model": "ollama-cloud/qwen3.5:397b"
},
"commerce": {
"file": ".kilo/commands/commerce.md",
@@ -639,7 +640,7 @@
"evolve-agent": {
"file": ".kilo/commands/evolve-agent.md",
"description": "Pre-deployment role-fit testing — evaluate which model best fits a specific agent role via stress-test prompts and rubric scoring",
"model": "ollama-cloud/kimi-k2.6"
"model": "ollama-cloud/kimi-k2.7-code"
}
},
"syncTargets": [

View File

@@ -23,132 +23,54 @@
"intake-agent": {
"description": "Conversational interface — receives natural language from users, clarifies ambiguous requirements, produces structured tasks for orchestrator",
"mode": "all",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#0891B2",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"orchestrator": "allow"
}
}
"color": "#0891B2"
},
"context-compressor": {
"description": "Intelligently manages token budget by summarizing conversation history, preserving critical State, and pruning redundant information before context overflow occurs",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#7C3AED",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"orchestrator": "allow",
"memory-manager": "allow"
}
}
"color": "#7C3AED"
},
"pattern-matcher": {
"description": "Proactively finds similar successful solutions from past projects BEFORE work starts, providing recommendations instead of just duplicate detection",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#059669",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"orchestrator": "allow",
"history-miner": "allow",
"memory-manager": "allow"
}
}
"color": "#059669"
},
"stakeholder-bridge": {
"description": "Translates technical outputs into business language for non-technical stakeholders, generates executive summaries and progress reports",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.7",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#DC2626",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "ask",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"orchestrator": "allow",
"product-owner": "allow"
}
}
"color": "#DC2626"
},
"requirement-refiner": {
"description": "Converts vague ideas and bug reports into strict User Stories with acceptance criteria checklists",
"mode": "all",
"model": "ollama-cloud/glm-5.2",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#4F46E5",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"history-miner": "allow",
"system-analyst": "allow",
"subagent": "deny"
}
}
},
"history-miner": {
"description": "Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"permission": {
"task": {
"*": "deny",
"subagent": "deny"
}
}
},
"system-analyst": {
"description": "Designs technical specifications, data schemas, and API contracts before implementation",
"mode": "subagent",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
"permission": {
"task": {
"*": "deny",
"subagent": "deny"
}
}
"color": "#4F46E5"
},
"history-miner": {
"description": "Analyzes git history to find duplicates and past solutions, preventing regression and duplicate work",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-flash:0731"
},
"system-analyst": {
"description": "Designs technical specifications, data schemas, and API contracts before implementation",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking"
},
"sdet-engineer": {
"description": "Writes tests following TDD methodology. Tests MUST fail initially (Red phase)",
@@ -156,129 +78,50 @@
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#8B5CF6",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"lead-developer": "allow",
"subagent": "deny"
}
}
"color": "#8B5CF6"
},
"lead-developer": {
"description": "Primary code writer for backend and core logic. Writes implementation to pass tests",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-pro",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#DC2626",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"code-skeptic": "allow",
"subagent": "deny"
}
}
"color": "#DC2626"
},
"frontend-developer": {
"description": "Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups",
"description": "Handles UI implementation with multimodal capabilities. Accepts visual references like screenshots and mockups. Follows landing-design-interpretation skill for visual/contrast/color tasks on landing pages (MANDATORY measurement-first protocol)",
"mode": "all",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#0EA5E9",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"code-skeptic": "allow",
"subagent": "deny"
}
}
"color": "#0EA5E9"
},
"backend-developer": {
"description": "Backend specialist for Node.js, Express, APIs, and database integration",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-pro",
"variant": "thinking",
"color": "#10B981",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"code-skeptic": "allow",
"subagent": "deny"
}
}
"color": "#10B981"
},
"go-developer": {
"description": "Go backend specialist for Gin, Echo, APIs, and database integration",
"mode": "subagent",
"model": "ollama-cloud/kimi-k2.6",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant_strategy": "task_size_based",
"color": "#00ADD8",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"code-skeptic": "allow",
"subagent": "deny"
}
}
"color": "#00ADD8"
},
"devops-engineer": {
"description": "DevOps specialist for Docker, Kubernetes, CI/CD pipeline automation, and infrastructure management",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#FF6B35",
"permission": {
"read": "allow",
"edit": "allow",
"write": "allow",
"bash": "allow",
"glob": "allow",
"grep": "allow",
"task": {
"*": "deny",
"code-skeptic": "allow",
"security-auditor": "allow",
"subagent": "deny"
}
}
"color": "#FF6B35"
},
"code-skeptic": {
"description": "Adversarial code reviewer. Finds problems and issues. Does NOT suggest implementations",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#E11D48",
@@ -298,7 +141,7 @@
"the-fixer": {
"description": "Iteratively fixes bugs based on specific error reports and test failures",
"mode": "all",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#F59E0B",
@@ -339,8 +182,8 @@
},
"security-auditor": {
"description": "Scans for security vulnerabilities, OWASP Top 10, dependency CVEs, and hardcoded secrets",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#DC2626",
@@ -359,8 +202,8 @@
},
"visual-tester": {
"description": "Visual regression testing agent that compares screenshots and detects UI differences using pixelmatch and image diff",
"mode": "subagent",
"model": "ollama-cloud/kimi-k2.6",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"permission": {
@@ -377,9 +220,9 @@
"orchestrator": {
"description": "Main dispatcher. Routes tasks between agents based on Issue status and manages the workflow state machine. NEVER does implementation work itself — ALWAYS delegates via Task tool.",
"mode": "all",
"model": "ollama-cloud/glm-5.1",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"variant": "thinking",
"variant_strategy": "task_size_based",
"variant_strategy": "always_thinking",
"color": "#7C3AED",
"permission": {
"read": "allow",
@@ -438,7 +281,7 @@
"release-manager": {
"description": "Manages git operations, semantic versioning, branching, and deployments. Ensures clean history",
"mode": "all",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"permission": {
"read": "allow",
"edit": "allow",
@@ -455,7 +298,7 @@
},
"evaluator": {
"description": "Scores agent effectiveness after task completion for continuous improvement",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/glm-5.2",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -492,8 +335,8 @@
},
"product-owner": {
"description": "Manages issue checklists, status labels, tracks progress and coordinates with human users",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.5",
"mode": "all",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"permission": {
@@ -512,7 +355,7 @@
},
"agent-architect": {
"description": "Creates, modifies, and reviews new agents, workflows, and skills based on capability gap analysis",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -530,7 +373,7 @@
},
"capability-analyst": {
"description": "Analyzes task requirements against available agents, workflows, and skills. Identifies gaps and recommends new components.",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -547,7 +390,7 @@
"workflow-architect": {
"description": "Creates and maintains workflow definitions with complete architecture, Gitea integration, and quality gates",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
"permission": {
@@ -565,7 +408,7 @@
"markdown-validator": {
"description": "Validates and corrects Markdown descriptions for Gitea issues",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/nemotron-3-ultra",
"variant": "thinking",
"variant_strategy": "always_thinking",
"permission": {
@@ -582,8 +425,8 @@
},
"browser-automation": {
"description": "Browser automation agent using Playwright MCP for E2E testing, form filling, navigation, and web interaction",
"mode": "subagent",
"model": "ollama-cloud/minimax-m3",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"permission": {
@@ -620,7 +463,7 @@
"reflector": {
"description": "Self-reflection agent using Reflexion pattern - learns from mistakes",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#10B981",
@@ -652,8 +495,8 @@
},
"architect-indexer": {
"description": "Indexes and maps project codebase architecture into .architect/ directory",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"color": "#10B981",
"permission": {
"read": "allow",
@@ -672,8 +515,8 @@
},
"flutter-developer": {
"description": "Flutter mobile specialist for cross-platform apps, state management, and UI components",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.5",
"mode": "all",
"model": "ollama-cloud/qwen3.5:397b",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#02569B",
@@ -695,7 +538,7 @@
},
"php-developer": {
"description": "PHP specialist for Laravel, Symfony, WordPress, and modular architecture",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-pro",
"color": "#8B5CF6",
"permission": {
@@ -716,8 +559,8 @@
},
"pipeline-judge": {
"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": "ollama-cloud/qwen3.5:397b",
"mode": "all",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "always_thinking",
"color": "#DC2626",
@@ -735,7 +578,7 @@
},
"python-developer": {
"description": "Python specialist for Django, FastAPI, data processing, and ML pipelines",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/deepseek-v4-pro",
"color": "#3776AB",
"permission": {
@@ -756,8 +599,8 @@
},
"incident-responder": {
"description": "Server incident response and system hardening specialist. Handles live forensics, malware removal, persistence hunting, SSH-based server cleanup, and post-incident hardening. Works with any OS and panel.",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#B91C1C",
@@ -798,7 +641,7 @@
},
"evolution-skeptic": {
"description": "Evaluates model responses against role-specific rubrics with detailed scoring and commentary",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/glm-5.2",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -820,7 +663,7 @@
},
"evolution-prompt": {
"description": "Generates role-specific stress-test prompts by analyzing agent definitions",
"mode": "subagent",
"mode": "all",
"model": "ollama-cloud/minimax-m3",
"variant": "thinking",
"variant_strategy": "always_thinking",
@@ -843,7 +686,7 @@
"smartadmin-builder": {
"description": "SmartAdmin template builder — generates and edits admin panel EJS templates using the 721-component SmartAdmin library. Understands component classes, page structure, and produces backend-ready frontend pages.",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#2563EB",
@@ -867,7 +710,7 @@
"smartadmin-viz-agent": {
"description": "Data visualization specialist for SmartAdmin. Generates EJS snippets and JS initialization code for ApexCharts, Peity, Easy Pie, and SmartTable.",
"mode": "subagent",
"model": "ollama-cloud/deepseek-v4-pro",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#0EA5E9",
@@ -888,7 +731,7 @@
"smartadmin-notify-agent": {
"description": "Notification/feedback UI specialist for SmartAdmin. Generates alert HTML snippets and JS trigger functions using Bootstrap alerts, modals, and toasts.",
"mode": "subagent",
"model": "ollama-cloud/glm-5.2",
"model": "ollama-cloud/deepseek-v4-flash:0731",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#F59E0B",
@@ -909,7 +752,7 @@
"smartadmin-form-agent": {
"description": "Form engine specialist for SmartAdmin. Generates complete form HTML with validation attributes and JS handlers using Bootstrap form groups, Select2, datepickers, and form wizards.",
"mode": "subagent",
"model": "ollama-cloud/minimax-m2.5",
"model": "ollama-cloud/qwen3.5:397b",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#10B981",
@@ -930,7 +773,7 @@
"smartadmin-interactive-agent": {
"description": "Interactive elements specialist for SmartAdmin. Generates HTML element snippets and event handler JS for buttons, dropdowns, nav-tabs, accordions, collapse, and modal triggers.",
"mode": "subagent",
"model": "ollama-cloud/kimi-k2.6",
"model": "ollama-cloud/kimi-k2.7-code",
"variant": "thinking",
"variant_strategy": "task_size_based",
"color": "#8B5CF6",

View File

@@ -1,30 +0,0 @@
const { chromium } = require('playwright');
const BASE = 'http://127.0.0.1:3001';
(async () => {
const browser = await chromium.launch({ headless: true });
const page = await browser.newPage({ viewport: { width: 1920, height: 1080 } });
await page.goto(`${BASE}/login`);
await page.fill('input[name="token"]', 'shop_admin_2024_secure_token');
await page.click('button[type="submit"]');
await page.waitForTimeout(3000);
await page.goto(`${BASE}/`, { waitUntil: 'networkidle' });
await page.waitForTimeout(3000);
await page.screenshot({ path: '/tmp/admin-screenshots/dashboard_new_top.png' });
console.log('Top saved');
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight / 2));
await page.waitForTimeout(1000);
await page.screenshot({ path: '/tmp/admin-screenshots/dashboard_new_mid.png' });
console.log('Mid saved');
await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight));
await page.waitForTimeout(1000);
await page.screenshot({ path: '/tmp/admin-screenshots/dashboard_new_bottom.png' });
console.log('Bottom saved');
await browser.close();
})();