refactor: full agent system revision — migrate to GLM-5.1, fix delegation chains, audit consistency

- Migrate 8 agents from openrouter/qwen3.6-plus:free to ollama-cloud/glm-5.1
- Assign thinking/variant/instant depth by role complexity
- Fix broken delegation chains: system-analyst, all developer agents, devops-engineer now can reach orchestrator
- Add task permissions to browser-automation, visual-tester, capability-analyst, markdown-validator
- Add visual-tester permission to flutter-developer and frontend-developer
- Fix capability-index.yaml routing map indentation (go_* keys misplaced)
- Add delegates_to and variant fields to capability-index.yaml
- Update KILO_SPEC.md agent table with Variant column
- Update AGENTS.md with Model/Variant/CanCall columns
- Update kilo.jsonc ask agent model
- Fix YAML indentation in capability-analyst.md and markdown-validator.md
- Update agent-architect.md template models (remove gpt-oss, qwen3.6-plus)
- Add Skills Reference tables to 7 previously unlinked agents
- Full audit: 10/10 consistency checks passed
This commit is contained in:
NW
2026-04-12 22:38:41 +01:00
parent 1f4536ab93
commit e19fa3effd
33 changed files with 365 additions and 141 deletions

View File

@@ -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"
}
}