Commit Graph

34 Commits

Author SHA1 Message Date
¨NW¨
420c10fb12 feat: integrate cognitive enhancement agents into capability index and orchestrator
- Added planner, reflector, memory-manager to capability-index.yaml
- Extended capability_routing with cognitive capabilities
- Updated orchestrator.md with new agent permissions and routing table
- All 3 new agents integrated into workflow

Related: Issue #25 (Research Milestone)
2026-04-05 02:05:37 +01:00
¨NW¨
774dc9ac40 feat: add cognitive enhancement agents based on research
Based on Anthropic 'Building Effective Agents' and Lilian Weng's research:

New Agents:
- @planner: Task decomposition using CoT, ToT, Plan-Execute-Reflect
- @reflector: Self-reflection using Reflexion pattern
- @memory-manager: Memory systems (short/long/episodic)

New Skills:
- memory-systems: Memory architecture for autonomous agents
- planning-patterns: CoT, ToT, ReAct, Reflexion patterns
- tool-use: ACI design principles from Anthropic

New Rules:
- agent-patterns: Core patterns from research

Updated AGENTS.md with new agent categories:
- Cognitive Enhancement: planner, reflector, memory-manager
- Improved workflow state machine with reflection loop

Related: Issue #25 (Research Milestone)
2026-04-05 02:01:05 +01:00
¨NW¨
7a825a4cb2 docs: add improvement proposal based on multi-agent research
- Created IMPROVEMENT_PROPOSAL.md with analysis findings
- Added capability-index.yaml for orchestrator routing
- Changed agent modes from 'all' to 'subagent' for isolation
- Created Gitea issues #21-25 for tracking improvements:
  - #21: Implement parallelization pattern (P0)
  - #22: Implement evaluator-optimizer pattern (P1)
  - #23: Enforce quality gates (P0)
  - #24: Consolidate overlapping agents (P2)
  - #25: Research milestone with references
2026-04-05 01:50:12 +01:00
¨NW¨
124b7244b4 docs: add gitea-workflow skill to KILO_SPEC 2026-04-05 01:40:50 +01:00
¨NW¨
da5c365183 feat: add Gitea workflow integration with quality gates and closed-loop execution 2026-04-05 01:40:26 +01:00
¨NW¨
39eeb2f35f feat: add workflow executor, quality controller, and workflow architect for closed-loop execution 2026-04-05 01:36:39 +01:00
¨NW¨
14b2cb2742 feat: add booking workflow for service businesses (salons, clinics, massage) 2026-04-05 01:27:25 +01:00
¨NW¨
884ef3d57a docs: add BackendDeveloper agent, workflow commands, and skills to KILO_SPEC 2026-04-05 01:19:59 +01:00
¨NW¨
23eb60762c feat: add workflows for CMS, E-commerce, Blog + backend-developer agent + prompt-engineering rules 2026-04-05 01:19:09 +01:00
¨NW¨
1f96aec2b6 feat: add landing-page workflow for HTML mockup to production deployment 2026-04-05 01:02:38 +01:00
¨NW¨
259f4079c2 docs: add CapabilityAnalyst and MarkdownValidator to spec and orchestrator table 2026-04-05 00:50:08 +01:00
swp
3a83665869 feat: add screenshot upload for test failures
- Add upload_screenshot function to gitea-commenting skill
- Support multipart/form-data for attachments
- Create .test/e2e_test_screenshots.py test script
- Support SVG screenshots as placeholders
- 2 attachments uploaded to Issue #12 successfully

Gitea API:
- POST /repos/{owner}/{repo}/issues/{id}/assets - Upload attachment
- POST /repos/{owner}/{repo}/issues/{id}/comments - Comment with image reference
- GET /repos/{owner}/{repo}/issues/{id}/assets - List attachments

Milestone #44: All issues completed
2026-04-04 04:06:58 +01:00
swp
6c95c6159e feat: add Docker testing environment with visible browser (Issue #12)
- Create Dockerfile.playwright with headed mode by default
- Create docker-compose.yml with MCP server, headed, and test profiles
- Update Playwright skill to recommend headed mode for observation
- Remove --headless flag so browser window is visible
- Add BROWSER_VISIBILITY.md guide for X11/Docker setup
- Add README.Docker.md with quick start instructions

Configuration:
- PLAYWRIGHT_MCP_HEADLESS=false (browser visible)
- Requires X11 display for Docker (DISPLAY=:0)
- Three profiles: default, debug, test

Refs: #12 in Milestone #44
2026-04-04 03:59:19 +01:00
swp
5793b7909b feat: add web testing system with browser automation (Milestone #44)
- Create browser-automation agent for E2E testing via Playwright MCP
- Create visual-tester agent for screenshot comparison and regression testing
- Add playwright skill with MCP configuration and Docker setup
- Add visual-testing skill with pixelmatch comparison
- Add /e2e-test command for running browser tests
- Add Issue #11 research results for Playwright MCP and Docker

Milestone #44: Web Testing System with Browser Automation

New Agents:
- @browser-automation: Browser control via Playwright MCP
- @visual-tester: Visual regression testing with diff detection

New Skills:
- playwright: MCP configuration, Docker setup, usage examples
- visual-testing: Screenshot comparison, baseline management, HTML reports

New Commands:
- /e2e-test: Run E2E tests with browser automation

Refs: #11 #12 #13 #14 #15 #16
2026-04-04 03:49:56 +01:00
swp
d9fd744a46 feat: add task analysis workflow and update issue management
CRITICAL: All agents MUST now:
1. Check history before starting work (git log, closed issues)
2. Create milestones for complex tasks
3. Update issue checkboxes before closing

Changes:
- Add .kilo/skills/task-analysis/SKILL.md - history check, milestone creation, checkbox updates
- Update requirement-refiner.md - add history check and milestone creation workflow
- Update release-manager.md - add mandatory checkbox updates before closing issues

All agents now require:
- Post comment to Gitea (MANDATORY)
- Update issue checkboxes (MANDATORY)
- Close issue only when all checkboxes done
2026-04-04 03:37:45 +01:00
swp
a1a15473a0 feat: add mandatory Gitea commenting to all agents
- Add gitea-commenting skill with comment templates
- Update orchestrator with mandatory commenting requirements
- Add Gitea Commenting section to all 17 agent files
- Create email validation module (validateEmail function)
- Add efficiency_score.json for pipeline logging
- Create test-error-recovery.js for error recovery testing

Refs: Milestone #43 - System Consistency Testing
All 6 test issues closed successfully
2026-04-04 03:18:28 +01:00
swp
72372f1ca0 fix: use available model for security-auditor (deepseek-v3.2) 2026-04-04 02:40:35 +01:00
swp
39d5ddf333 test: add validation functions and autonomous pipeline system tests
- Created src/validation/add.ts with math functions
- Created src/validation/add.test.ts with comprehensive tests
- Created scripts/run-pipeline-test.sh - full system validation
- Created 7 test issues in milestone #43:
  * #5: Agent Communication Test
  * #6: Error Recovery & Auto-Fix
  * #7: Performance Evaluation Test
  * #8: Gitea API Integration
  * #9: Capability Gap & Agent Creation
  * #10: Full End-to-End Pipeline
  * #11: Review Watcher Auto-Validation

All tests passed (53/53):
- 18 agents verified
- 11 commands verified
- 3 skills verified
- 9 TypeScript modules verified
- Gitea integration verified
- Pipeline flow verified
- Autonomous components verified

System ready for autonomous operation!
2026-04-04 02:05:17 +01:00
swp
657407d5ef fix: replace unavailable model references with available ones
- Replace anthropic/claude-sonnet-4 with ollama-cloud/gpt-oss:120b in:
  - capability-analyst.md
  - agent-architect.md
- Replace openai/compound with ollama-cloud/glm-5 in review-watcher.md
- Remove duplicate model definitions in agent-architect.md
- Add AGENT_AUDIT.md documenting all model fixes

Available models use prefixes:
- ollama-cloud/ (primary)
- openrouter/ (router)
- qwen/ (direct)
- groq/ (fast inference)

NOT available:
- anthropic/ (Claude)
- openai/ (use via ollama-cloud/gpt-oss instead)

All 18 agents and 11 commands now use available models.
2026-04-04 01:54:02 +01:00
swp
298dde4273 feat: add capability-analyst and agent-architect for task coverage analysis
- Add @capability-analyst agent to analyze task requirements vs available tools
- Update @agent-architect to create new agents/workflows/skills based on gap analysis
- Add workflow for automatic review and fix task creation

Workflow:
1. @capability-analyst analyzes incoming task
2. Maps requirements to existing capabilities
3. Identifies gaps (agents, workflows, skills)
4. Recommends new components or enhancements
5. @agent-architect creates requested components
6. @capability-analyst reviews and validates

Gap types:
- Critical: No tool covers this requirement
- Partial: Tool exists but lacks feature
- Integration: Tools exist but don't work together
- Skill: Need domain knowledge

Output:
- Coverage analysis with requirements mapping
- Recommendations for new agents/workflows/skills
- Integration points and dependencies
- Handoff to @agent-architect for creation
2026-04-04 01:51:28 +01:00
swp
97bc4902ea feat: add review-watcher and fix-workflow automation
- Add review-watcher command that detects completion markers
- Add fix-workflow skill for automatic fix task creation
- Add review-watcher.sh script for monitoring issues
- Automatic task creation based on issue severity
- Integration with scoped labels (priority::, status::)

Workflow:
1. Watcher detects /done, /completed, 'выполнено', 'готово' in comments
2. Runs validation (markdown, code, security, performance)
3. Creates fix tasks for issues found
4. Assigns tasks based on issue type
5. Updates parent issue with fix task links
6. Sets appropriate labels (status::fixing, status::blocked)

Fix task priority:
- Critical: Block merge, assign to @the-fixer
- High: Fix before merge, assign to @lead-developer
- Medium: Current sprint, add to backlog
- Low: Optional, comment only
2026-04-04 01:44:53 +01:00
swp
e58a5b6380 feat: add markdown-validator agent and scoped-labels skill
- Add markdown-validator agent for validating Gitea issue descriptions
- Add scoped-labels skill for managing exclusive labels (status::, priority::, type::)
- Add init-scoped-labels.sh script to create standard label sets
- Add GiteaClient methods: createLabel, updateLabel, setScopedLabel, setScopedStatus, setScopedPriority
- Support exclusive labels (scoped labels) in Gitea API 1.21+

Created scoped labels:
- status::new, status::planned, status::in-progress, status::review, status::testing, status::done, status::blocked, status::cancelled
- priority::critical, priority::high, priority::medium, priority::low
- type::bug, type::feature, type::enhancement, type::documentation, type::refactor, type::test, type::chore
- size::xs, size::s, size::m, size::l, size::xl

Scoped labels are mutually exclusive within their scope - applying status::in-progress automatically removes status::new
2026-04-04 01:42:12 +01:00
swp
35bbdcb08f feat: integrate agent-manager module with KiloCode workflows
- Move agent-manager from packages/opencode/ to src/kilocode/
- Add Gitea client for pipeline logging
- Add pipeline-runner for workflow orchestration
- Create slash commands: /pipeline, /status, /evaluate
- Update AGENTS.md with workflow documentation
- Update README.md with KiloCode integration details
- Add package.json and tsconfig.json for TypeScript compilation
- Remove duplicate files from packages/opencode/

This enables:
- /pipeline <issue> - run full agent pipeline with Gitea logging
- Direct agent invocation via @mention
- Performance tracking and prompt optimization
2026-04-04 01:11:06 +01:00
swp
4a69c5323b feat: update agent models to current configuration
- Update README.md with correct model assignments for all agents
- Sync AGENTS.md and .kilo/ files with new model IDs
- Change History Miner: Gemini-3-Flash → GPT-OSS 20B
- Change System Analyst: GPT-OSS 120B → Qwen3.6-Plus (Free)
- Change Product Owner: Qwen3.5 122B → Qwen3.6-Plus (Free)
- Change Lead Developer: DeepSeek-v3.2 → Qwen3-Coder 480B
- Change The Fixer: MiniMax-m2.7 → MiniMax-m2.5
- Change SDET Engineer: Qwen3-Coder-Next → Qwen3-Coder 480B
- Change Code Skeptic: GPT-OSS 120B → MiniMax-m2.5
- Change Security Auditor: GLM-4.7 → Kimi-k2.5
- Change Release Manager: Devstral-2 123B → Qwen3-Coder 480B
- Change Evaluator: GPT-o3 → GPT-OSS 120B
- Change Prompt Optimizer: Claude 4.5 → Qwen3.6-Plus (Free)
- Add AgentArchitect agent configuration
- Update commands: plan, ask, debug, code models
- Add permissions configuration to commands
2026-04-04 00:50:22 +01:00
swp
5cac45acb1 chore(prompts): compress /code command from 169 to 62 lines — removed redundant examples, consolidated style section, simplified workflow 2026-04-04 00:12:47 +01:00
swp
be295039eb fix: configure full permissions for autonomous agent operation 2026-04-03 22:57:55 +01:00
swp
e86ee6fc2f fix: configure explicit subagent permissions for autonomous operation 2026-04-03 20:53:25 +01:00
swp
d32e9253ec refactor: remove duplicate agent entries from kilo.jsonc 2026-04-03 20:50:44 +01:00
swp
0a93f7dd7e feat: add comprehensive workflow commands for development pipeline 2026-04-03 20:50:43 +01:00
swp
72d6f52844 fix: correct agent mode configuration and add Task tool invocation sections 2026-04-03 20:50:40 +01:00
swp
a0ef7cd02d feat: add Agent Architect and KILO_SPEC documentation
- Add agent-architect.md for managing agent network
- Create KILO_SPEC.md with complete Kilo.ai specification
- Update AGENTS.md with Agent Architect reference
- Update kilo.jsonc with agent-architect configuration
2026-04-03 20:27:54 +01:00
swp
7700ad3e9c docs(release-manager): update authentication instructions and troubleshooting
Update the git authentication failure reporting guidelines to provide
specific remote URL commands for SSH and HTTPS. Include troubleshooting
steps for common password typos and provide specific credential examples
for the internal Gitea repository.
2026-04-03 20:21:31 +01:00
swp
47219c4204 feat: реорганизация структуры агентов и добавление skills согласно документации Kilo Code
- Добавлен skill gitea для автоматизации git операций
- Добавлены правила безопасности для работы с credentials
- Указан публичный URL проекта: https://git.softuniq.eu/UniqueSoft/APAW
- Реализованы безопасные методы аутентификации (SSH, tokens, credential store)
2026-04-03 20:14:22 +01:00
NW
b8c7533a28 refactor: migrate KiloCode agents to .kilo/ plugin format
- Rename .kilos/ → .kilo/ (correct name for @kilocode/plugin discovery)
- 19 agents in .kilo/agent/ with proper YAML frontmatter:
  description, mode, model, color — all correctly set
- Fix ask.md: rename ## Response Format → ## Output Format
- Add ## Output Format section to code.md (Quick Coder)
- README: update structure to reflect .kilo/ as primary KiloCode runtime
- .kilocode/agents/ kept as legacy archive (root-owned, read-only)

Fixes: KiloCode losing agent settings when .kilo/ directory present.
Root cause was conflicting agent sources — now resolved by using
.kilo/agent/ as single source of truth for KiloCode plugin.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 18:35:13 +01:00