Commit Graph

16 Commits

Author SHA1 Message Date
NW
f01e2064fb feat(evolution): Kilo Code release sync & APAW system hardening (v2026-05-07)
Security & Permissions:
- All 30 agents: task[*]=deny, task[subagent]=deny (cascade prevention)
- orchestrator & release-manager: bash=ask (hardening)
- New .kilo/rules/subagent-security.md with audit rules
- Updated .kilo/rules/global.md with Security & Permissions section
- Updated .kilo/agents/orchestrator.md with Security Enforcement block

Session Management:
- New .kilo/rules/session-persistence.md (checkpoint format, worktree isolation)
- Updated .kilo/rules/branch-strategy.md (worktree per agent)
- pipeline-runner.ts: Checkpoint interface + save/load/resume methods

Plan Persistence:
- Updated .kilo/rules/lead-developer.md (plan handover section)

Per-Agent Reasoning:
- capability-index.yaml: reasoning_effort for all 30 agents (xhigh/high/medium/low)

MCP Cleanup:
- New .kilo/skills/docker-security/SKILL.md (--rm, orphaned process cleanup)

Config Validation:
- Updated .kilo/rules/docker.md (startup checks, commit scoping, location awareness)

Docs:
- README.md: v2026-05-07 evolution badges
- .kilo/EVOLUTION_LOG.md: Entry #6 with full metrics
- .gitignore: ignore dist/ + bun.lock

Gitea: Milestone #66, Issues #91-#98
Architect: 9/9 sections fresh (express project type)
2026-05-08 18:54:08 +01:00
¨NW¨
573d9a641e fix(security): add rstrip('/') to get_target_repo for trailing-slash URLs
The regex r'[:/]([^/]+/[^/]+?)(?:\.git)?$' fails on URLs with trailing slashes
like 'https://git.softuniq.eu/UniqueSoft/APAW/' because the final '/' breaks
the pattern. Added .rstrip('/') in Python and sed 's:/*' in Bash to all
get_target_repo() implementations across 11 files.
2026-04-19 12:17:53 +01:00
¨NW¨
7523911812 fix(security): extricate hardcoded Gitea credentials, add centralized auth module
- Remove all hardcoded NW:eshkink0t credentials from 9 files across skills, commands, rules, and specs
- Add .kilo/shared/gitea-auth.md with get_gitea_token() and .kilo/gitea.jsonc config structure
- All Gitea API callers now use env vars (GITEA_TOKEN → GITEA_USER+GITEA_PASS → ValueError)
- Fix task-analysis/SKILL.md broken functions (orphaned req references, stray parentheses)
- Replace hardcoded UniqueSoft/APAW API URLs with get_target_repo() auto-detection in 3 files
- Update README.md, STRUCTURE.md, AGENTS.md with centralized auth documentation
- Add EVOLUTION_LOG Entry #5 documenting credentials extrication
2026-04-19 11:43:59 +01:00
¨NW¨
7445e66676 feat: add Next.js, Vue/Nuxt, React, Python (Django/FastAPI) skills and agents
- python-developer agent: Django/FastAPI backend specialist
- nextjs-patterns skill: App Router, Server Components, Server Actions, Auth.js
- vue-nuxt-patterns skill: Composition API, Pinia, Nitro server, SSR
- react-patterns skill: hooks, Context, TanStack Query, React Hook Form
- python-django-patterns skill: DRF, services, repositories
- python-fastapi-patterns skill: async, Pydantic, SQLAlchemy, dependencies
- /nextjs pipeline command for full-stack Next.js apps
- /vue pipeline command for full-stack Vue/Nuxt apps
- Updated frontend-developer with framework-specific skills
- Updated orchestrator, capability-index for Python + frontend routing
- Updated README, STRUCTURE, EVOLUTION_LOG with all new stacks

Total agents: 30. Stacks: PHP, Next.js, Vue/Nuxt, React, Python, Go, Flutter, Node.js
2026-04-19 10:04:51 +01:00
¨NW¨
b46a1a20a8 feat: add PHP development stack, atomic tasks, modular code rules, agent monitoring, fix target project detection
7 evolutionary tasks implemented:

1. PHP web development: php-developer agent + 6 skills (Laravel, Symfony, WordPress, security, testing, modular architecture) + 2 pipeline commands (/laravel, /wordpress)

2. Atomic task decomposition: 1 action = 1 task rule, task sizing guide, decomposition protocol for orchestrator, token budgets per complexity

3. Modular code rules: max 100 lines/file, max 30 lines/function, service/repository patterns, cross-module communication via events only

4. Gitea-centric workflow: mandatory issue creation before work, research with links, progress checkboxes, screenshots on test, git history as knowledge base

5. Fix: target project auto-detection — removed all hardcoded UniqueSoft/APAW from API calls, added get_target_repo() via git remote, GITEA_TARGET_REPO env override

6. Agent execution monitoring: agent-executions.jsonl logging, agent-stats.ts statistics script, required fields per invocation, Gitea comment includes duration/tokens

7. Token optimization: 1 action = 1 task principle, token budgets by task type, routing matrix, no scope creep, skip unnecessary pipeline steps
2026-04-18 23:43:04 +01:00
¨NW¨
fe28aa5922 chore: reorganize project structure and update README
- Move docker-compose.evolution.yml to agent-evolution/docker-compose.yml
- Update README with current agent lineup (28+ agents)
- Fix model references in README tables
- Add recent commits history
- Simplify architecture overview
2026-04-05 23:02:44 +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
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
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
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