Commit Graph

33 Commits

Author SHA1 Message Date
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
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
NW
8d49a78e63 feat: add global install support for Claude Code commands
- install-apaw.sh: one-command installer for any target project
  copies .claude/commands/, rules/, initialises efficiency_score.json
- README: global install instructions (sed /project: -> /user:)
  and per-project install via install-apaw.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 18:13:22 +01:00
NW
c2dc89e268 feat: add Claude Code agent commands pipeline
- 14 slash-commands in .claude/commands/ for /project:* invocation
- Model routing: Haiku (mine, evaluate), Sonnet (orchestrate, refine,
  tests, skeptic, perf, fix, release), Opus (analyze, implement,
  security, optimize-prompts), Sonnet (pipeline orchestrator)
- .claude/rules/global.md — shared coding standards
- .claude/logs/efficiency_score.json — agent scoring store
- README updated with Claude Code usage section and command table

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 18:09:01 +01:00
NW
238964abf6 docs: update README with full APAW pipeline documentation
- Add complete agent table with models and specializations
- Add State Machine workflow diagram
- Add installation instructions
- Add PromptOps versioning explanation
- Add efficiency scoring documentation
2026-04-01 14:50:01 -04:00
NW
dc1f040d9e feat: add KiloCode 14-agent pipeline configuration
- Add .kilocodemodes with all 14 agent mode definitions
- Add .kilocode/agents/ with full system prompts for each role
- Add .kilocode/rules/ with global coding rules
- Add .kilocode/logs/ with efficiency score tracking schema
- Add packages/opencode/src/kilocode/agent-manager/ TypeScript integration
- Add comprehensive README.md

Agents included:
1. Requirement Refiner (Kimi-k2-thinking)
2. Orchestrator (GLM-5)
3. History Miner (Gemini-3-Flash)
4. System Analyst (GPT-OSS 120B)
5. Product Owner (Qwen3.5 122B)
6. Lead Developer (DeepSeek-v3.2)
7. Frontend Dev (Kimi-k2.5)
8. The Fixer (MiniMax-m2.7)
9. SDET Engineer (Qwen3-Coder-Next)
10. Code Skeptic (GPT-OSS 120B)
11. Performance Engineer (Nemotron-3-Super)
12. Security Auditor (GLM-4.7)
13. Release Manager (Devstral-2 123B)
14. Performance Evaluator (GPT-o3)
15. Prompt Optimizer (Claude 4.5)
2026-04-01 14:46:11 -04:00