Commit Graph

73 Commits

Author SHA1 Message Date
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