Commit Graph

58 Commits

Author SHA1 Message Date
¨NW¨
de3b4e2309 sync: update docs after adding devops-engineer 2026-04-05 15:06:38 +01:00
¨NW¨
68daaf11a6 feat: add Docker/DevOps skills and devops-engineer agent
- Add devops-engineer agent (Docker, Kubernetes, CI/CD)
- Add docker-compose skill with basic-service pattern
- Add docker-swarm skill with HA web app example
- Add docker-security skill (OWASP, secrets, hardening)
- Add docker-monitoring skill (Prometheus, Grafana, logs)
- Add docker.md rules
- Update orchestrator with devops-engineer permission
- Update security-auditor with Docker security checklist
- Update backend-developer, frontend-developer, go-developer with task permissions

All models verified: deepseek-v3.2, nemotron-3-super (available in KILO_SPEC)
2026-04-05 15:05:58 +01:00
¨NW¨
ff6357441e fix: sync agent models and add nemotron-3-nano to available models
- Add nemotron-3-nano:30b to Model Format table in KILO_SPEC.md
- Update Pipeline Agents table to match current agent definitions
- Restore sync-agents.cjs script (uses .kilo/agents/*.md as source of truth)
- Script does NOT require kilo-meta.json in root (keeps Kilo Code working)

Models in use:
- ollama-cloud/nemotron-3-super (9 agents) ✓ available
- ollama-cloud/glm-5 (4 agents) ✓ available
- ollama-cloud/qwen3-coder:480b (3 agents) ✓ available
- qwen/qwen3.6-plus:free (2 agents) ✓ available
- ollama-cloud/minimax-m2.5 (2 agents) ✓ available
- ollama-cloud/gpt-oss:120b (2 agents) ✓ available
- ollama-cloud/nemotron-3-nano:30b (1 agent) ✓ available (added)
2026-04-05 15:01:34 +01:00
¨NW¨
ebbb4d01b2 feat: optimize agent models for better performance
- Update agent-architect to nemotron-3-super for detailed specs
- Update capability-analyst to nemotron-3-super for deeper analysis
- Update history-miner to nemotron-3-super for better relevance
- Update prompt-optimizer to qwen3.6-plus via OpenRouter
- Fix system-analyst model path (remove openrouter prefix)

Testing showed ~28% quality improvement across cognitive agents
2026-04-05 12:15:30 +01:00
¨NW¨
caf77f53c8 feat: update agent models based on recommendations
- Update security-auditor to ollama-cloud/nemotron-3-super-120b-a12b
- Update performance-engineer to ollama-cloud/nemotron-3-super-120b-a12b
- Update memory-manager to ollama-cloud/nemotron-3-super-120b-a12b
- Update evaluator to ollama-cloud/nemotron-3-super-120b-a12b
- Update planner to ollama-cloud/nemotron-3-super-120b-a12b
- Update reflector to ollama-cloud/nemotron-3-super-120b-a12b
- Update system-analyst to ollama-cloud/glm-5
- Update go-developer to ollama-cloud/qwen3-coder:480b
- Update markdown-validator to ollama-cloud/nemotron-3-nano
- Update prompt-optimizer to ollama-cloud/nemotron-3-super-120b-a12b
- Update product-owner to ollama-cloud/glm-5

Based on archive/agent-model-recommendations.json analysis
2026-04-05 05:21:02 +01:00
¨NW¨
41eb4c7d4d feat: add database skills for ClickHouse, PostgreSQL, and SQLite
- Add ClickHouse patterns skill
- Add PostgreSQL patterns skill
- Add SQLite patterns skill
- Update backend-developer agent to reference PostgreSQL and SQLite skills
- Update go-developer agent to reference ClickHouse, PostgreSQL, and SQLite skills
- Update capability-index.yaml with database integration capabilities
2026-04-05 05:00:55 +01:00
¨NW¨
0764154e94 docs: rewrite README with proper markdown formatting
- Remove duplicate structure sections
- Add proper ASCII diagram for workflow
- Format all tables correctly
- Remove outdated references
- Add Skills System section
- Clean up code blocks
2026-04-05 04:08:28 +01:00
¨NW¨
eac6003137 docs: update README to reflect current repository state
- Fix outdated structure (.kilocode -> .kilo)
- Add missing agents (go-developer, cognitive agents)
- Add skills section
- Remove references to deleted files (install-apaw.sh)
- Add archive directory documentation

Update agent list to 25+ agents
2026-04-05 03:59:52 +01:00
¨NW¨
5a77528b23 refactor: clean up root directory - move deprecated files to archive
Archive:
- docker-compose.yml, Dockerfile.playwright
- scripts/ (legacy test scripts)
- docs/, .test/ (old documentation and tests)
- IMPROVEMENT_PROPOSAL.md (superseded by .kilo/)
- BROWSER_VISIBILITY.md, README.Docker.md
- cleanup-packages.sh, fix-permissions.sh, install-apaw.sh

Keep in root:
- .kilo/ (active system)
- .claude/ (Claude Code runtime)
- AGENTS.md (agent reference)
- README.md (main documentation)
- src/ (utility code)
- package.json, tsconfig.json (project config)
2026-04-05 03:52:10 +01:00
¨NW¨
be4c586c8f feat: add Go Lang development coverage (Milestone #49)
- Add go-developer agent for Go backend development
- Add 8 Go skills: web-patterns, middleware, db-patterns,
  error-handling, security, testing, concurrency, modules
- Add go.md rules file
- Update capability-index.yaml with Go capabilities
- Complete backend coverage for both NodeJS and Go
2026-04-05 03:40:32 +01:00
¨NW¨
8fcd8f8a9b feat: add comprehensive NodeJS development skills and rules
Based on Planner and Memory Manager analysis:

New Skills (8):
- nodejs-express-patterns: App structure, routing, middleware
- nodejs-security-owasp: OWASP Top 10 security practices
- nodejs-testing-jest: Unit/integration tests, mocking
- nodejs-auth-jwt: JWT authentication, OAuth, sessions
- nodejs-error-handling: Error classes, middleware, async handlers
- nodejs-middleware-patterns: Auth, validation, rate limiting
- nodejs-db-patterns: SQLite, PostgreSQL, MongoDB patterns
- nodejs-npm-management: package.json, scripts, dependencies

New Rules:
- nodejs.md: Code style, security, best practices

Updated:
- backend-developer.md: Added skills reference table

Milestone: #48 NodeJS Development Coverage
Related: Planner & Memory Manager analysis results
2026-04-05 02:39:06 +01:00
¨NW¨
fbc1f6122f feat: add workflow templates for research patterns
Implemented workflow templates based on Anthropic research:

- parallel-review.md: Parallel execution of security + performance reviews
- evaluator-optimizer.md: Iterative improvement loop (code-skeptic → the-fixer)
- chain-of-thought.md: Sequential step decomposition with gates

Each template includes:
- Pattern overview and implementation
- Execution flow diagram
- Benefits and configuration
- Usage examples

Related: Issues #21, #22 - Patterns from research
Milestone: #47 Cognitive Enhancement
2026-04-05 02:09:40 +01:00
¨NW¨
348c47fa6f feat: add research cycle skill and /research command for continuous self-improvement
- Created research-cycle skill with automatic monitoring
- Added /research command for manual or automatic research
- Configured research sources: Anthropic, OpenAI, Lilian Weng
- Implemented evolution tracking workflow

Components:
- .kilo/skills/research-cycle/SKILL.md: Self-improvement logic
- .kilo/commands/research.md: Research command definition
- AGENTS.md: Added /research to command list

Milestone: Cognitive Enhancement - Agent Evolution (#47)
Related: Issue #25 (Research Milestone)
2026-04-05 02:07:08 +01:00
¨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
5be477b7bd test: add router tests and fix routing logic for Issue #5
- Add comprehensive router tests (26 tests)
- Fix label/status routing priority
- Add input validation for security
- Optimize routing with Set-based lookups
- Add markdown sanitization for Gitea output
2026-04-04 02:39:12 +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
c3eb4f7372 test: add validation functions for autonomous pipeline testing
Created test files to verify full pipeline flow:
- add.ts - Basic math functions (add, subtract, multiply, divide)
- add.test.ts - Comprehensive test suite with Bun test framework

These files will be used to test:
- @sdet-engineer: Test writing (TDD)
- @lead-developer: Implementation
- @code-skeptic: Code review
- @security-auditor: Security check
- E2E pipeline flow
2026-04-04 02:02:14 +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
2519079e6e docs: add Gitea integration documentation and createToken method
- Add GiteaClient.createToken() static method for Basic Auth token creation
- Add AccessToken interface with all Gitea 1.21+ fields
- Create docs/GITEA_INTEGRATION.md with complete usage guide
- Document API scopes (all, read:*, write:*)
- Add examples for agents integration

API scopes per Gitea 1.21+:
- 'all' for full access
- 'read:issue', 'write:issue' for issues
- 'read:repository', 'write:repository' for repos
- 'read:milestone', 'write:milestone' for milestones
2026-04-04 01:30:35 +01:00
swp
11a2741f46 feat: add Gitea API test scripts
- create-gitea-token.sh: Create API token from username/password
- full-gitea-test.sh: Complete test creating milestone, issues, comments
- test-gitea.sh: Updated with correct scope names (all, read:*, write:*)

Test results:
 Token creation via Basic Auth
 Milestone creation (ID=42)
 3 issues with checklists created
 3 comments added with progress

Gitea API scopes: 'all' for full access, or granular like 'read:issue', 'write:issue'
2026-04-04 01:28:49 +01:00
swp
2344e50ad1 feat: add milestone support and test scripts for Gitea API
- Add Milestone interface with all fields per Gitea API 1.21+
- Add CreateMilestoneOptions and UpdateMilestoneOptions types
- Add getMilestones(), getMilestone(), createMilestone(), updateMilestone(), deleteMilestone() methods
- Add setIssueMilestone() to link issues to milestones
- Add TypeScript test script (test-gitea-api.ts) for programmatic testing
- Add Bash test script (test-gitea.sh) for manual API testing

Test scripts create:
- 1 milestone (Pipeline Integration Test)
- 3 issues with checklists
- Comments on issues with progress updates

Usage: GITEA_TOKEN=token ./scripts/test-gitea.sh
2026-04-04 01:21:22 +01:00
swp
35f94e0b8f fix: align Gitea client with API 1.21+ specification
- Update Label interface with id, exclusive, is_archived fields
- Add IssueLabelsOption type for proper label handling
- Fix addLabels/removeLabel to support both IDs and names
- Add getIssueLabels, replaceLabels, clearLabels methods
- Add getRepoLabels, getLabel, createLabel for label management
- Add updateIssue for partial issue updates
- Add deleteComment for comment removal
- Add getIssueTimeline for issue events
- setStatus now properly removes old status labels before adding new
- All endpoints now match Gitea API 1.21+ specification
2026-04-04 01:14:49 +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
72f993f4f5 feat: add permissions configuration table to README.md
Adds agent permissions table with read/edit/write/bash/glob/grep/task access
for all 16 agents, organized into categories: Code Writers, Reviewers,
Analysts, Release Manager, and Configurators.
2026-04-03 23:21:29 +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