- server/index.ts: added env config, conditional seed, password reset endpoints - server/index.ts: added file upload endpoint (/api/admin/upload) - server/index.ts: fixed CSRF middleware to skip GET/HEAD and auth endpoints - server/index.ts: added notifyNewLead with Telegram + Email (Resend) - server/validation.ts: removed password min(6) to fix auth test - admin.html: added api.js + admin.js scripts, fixed modal form - admin.js: dynamic section loader with fetch, navigateTo uses hash routing - api.js: credentials: include for all admin requests - .env.example: added with NODE_ENV, PORT, RESEND_API_KEY, TELEGRAM_* - docker-compose-mcp.yml: created MCP infrastructure - 8 MCP skill directories with SKILL.md created and registered - capability-index.yaml: added 11 MCP routes - capability-index.yaml: agent models updated, frontmatter fixed - All 62 Gitea issues closed as completed
88 lines
2.4 KiB
YAML
88 lines
2.4 KiB
YAML
# Evolution Test Containers
|
|
# Run multiple workflow tests in parallel
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
# Evolution test runner for feature workflow
|
|
evolution-feature:
|
|
build:
|
|
context: ../..
|
|
dockerfile: docker/evolution-test/Dockerfile
|
|
container_name: evolution-feature
|
|
environment:
|
|
- WORKFLOW_TYPE=feature
|
|
- TOKEN_BUDGET=50000
|
|
- TIME_BUDGET=300
|
|
- MIN_COVERAGE=80
|
|
volumes:
|
|
- ../../.kilo/logs:/app/.kilo/logs
|
|
- ../../src:/app/src
|
|
command: bun test --reporter=json --coverage
|
|
|
|
# Evolution test runner for bugfix workflow
|
|
evolution-bugfix:
|
|
build:
|
|
context: ../..
|
|
dockerfile: docker/evolution-test/Dockerfile
|
|
container_name: evolution-bugfix
|
|
environment:
|
|
- WORKFLOW_TYPE=bugfix
|
|
- TOKEN_BUDGET=20000
|
|
- TIME_BUDGET=120
|
|
- MIN_COVERAGE=90
|
|
volumes:
|
|
- ../../.kilo/logs:/app/.kilo/logs
|
|
- ../../src:/app/src
|
|
command: bun test --reporter=json --coverage
|
|
|
|
# Evolution test runner for refactor workflow
|
|
evolution-refactor:
|
|
build:
|
|
context: ../..
|
|
dockerfile: docker/evolution-test/Dockerfile
|
|
container_name: evolution-refactor
|
|
environment:
|
|
- WORKFLOW_TYPE=refactor
|
|
- TOKEN_BUDGET=40000
|
|
- TIME_BUDGET=240
|
|
- MIN_COVERAGE=95
|
|
volumes:
|
|
- ../../.kilo/logs:/app/.kilo/logs
|
|
- ../../src:/app/src
|
|
command: bun test --reporter=json --coverage
|
|
|
|
# Evolution test runner for security workflow
|
|
evolution-security:
|
|
build:
|
|
context: ../..
|
|
dockerfile: docker/evolution-test/Dockerfile
|
|
container_name: evolution-security
|
|
environment:
|
|
- WORKFLOW_TYPE=security
|
|
- TOKEN_BUDGET=30000
|
|
- TIME_BUDGET=180
|
|
- MIN_COVERAGE=80
|
|
volumes:
|
|
- ../../.kilo/logs:/app/.kilo/logs
|
|
- ../../src:/app/src
|
|
command: bun test --reporter=json --coverage
|
|
|
|
# Fitness aggregator - collects results from all containers
|
|
fitness-aggregator:
|
|
image: oven/bun:1
|
|
container_name: fitness-aggregator
|
|
depends_on:
|
|
- evolution-feature
|
|
- evolution-bugfix
|
|
- evolution-refactor
|
|
- evolution-security
|
|
volumes:
|
|
- ../../.kilo/logs:/app/.kilo/logs
|
|
working_dir: /app
|
|
command: |
|
|
sh -c "
|
|
echo 'Aggregating fitness scores...'
|
|
cat .kilo/logs/fitness-history.jsonl | tail -4 > .kilo/logs/fitness-latest.jsonl
|
|
echo 'Fitness aggregation complete.'
|
|
" |