mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
fd2f37eaa0
Changes: - Fix README.md agent counts (48 QE agents = 41 main + 7 subagents) - Fix README.md skill counts (15 QE-specific skills) - Fix v3/README.md agent counts (47 → 48) - Fix init-wizard.ts hooks from 'npx @agentic-qe/v3' to 'npx agentic-qe' - Complete v2 → v2/ folder reorganization (54 items moved) - Update root package.json to point to v3 as main version Verified claims: - 48 QE agents (41 main + 7 TDD subagents) - 15 QE-specific skills - 12 DDD bounded contexts - ~5,600+ tests - HNSW, ReasoningBank, Queen Coordinator features exist Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
125 lines
3.1 KiB
YAML
125 lines
3.1 KiB
YAML
services:
|
|
ruvector:
|
|
image: ruvnet/ruvector:latest
|
|
container_name: agentic-qe-ruvector
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
- "5432:5432" # PostgreSQL
|
|
|
|
environment:
|
|
# Core Configuration
|
|
RUVECTOR_LEARNING_ENABLED: "true"
|
|
RUVECTOR_EMBEDDING_DIM: "768"
|
|
|
|
# HNSW Index Configuration
|
|
RUVECTOR_HNSW_M: "32" # Number of bi-directional links per node
|
|
RUVECTOR_HNSW_EF_CONSTRUCTION: "200" # Size of dynamic candidate list during construction
|
|
RUVECTOR_HNSW_EF_SEARCH: "100" # Size of dynamic candidate list during search
|
|
|
|
# Self-Learning Configuration
|
|
RUVECTOR_LORA_RANK: "8" # LoRA rank for efficient fine-tuning
|
|
RUVECTOR_LORA_ALPHA: "16" # LoRA scaling factor
|
|
RUVECTOR_EWC_ENABLED: "true" # Elastic Weight Consolidation for catastrophic forgetting prevention
|
|
RUVECTOR_EWC_LAMBDA: "0.4" # EWC regularization strength
|
|
|
|
# Memory Management
|
|
RUVECTOR_MAX_MEMORY_GB: "4" # Maximum memory usage
|
|
RUVECTOR_CACHE_SIZE_MB: "512" # Cache size for embeddings
|
|
|
|
# Logging
|
|
RUVECTOR_LOG_LEVEL: "info"
|
|
RUVECTOR_LOG_FORMAT: "json"
|
|
|
|
volumes:
|
|
# Persistent data storage
|
|
- ruvector-data:/data
|
|
- ruvector-models:/models
|
|
|
|
# Optional: Mount local config
|
|
# - ./config/ruvector.yml:/app/config.yml:ro
|
|
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ruvector -d ruvector_db"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 30s
|
|
|
|
# Resource limits (adjust based on your needs)
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '2.0'
|
|
memory: 4G
|
|
reservations:
|
|
cpus: '1.0'
|
|
memory: 2G
|
|
|
|
networks:
|
|
- agentic-qe-network
|
|
|
|
# Development profile overrides
|
|
profiles:
|
|
- production
|
|
|
|
# Development configuration with debug settings
|
|
ruvector-dev:
|
|
extends:
|
|
service: ruvector
|
|
container_name: agentic-qe-ruvector-dev
|
|
|
|
environment:
|
|
# Override with development settings
|
|
RUVECTOR_LOG_LEVEL: "debug"
|
|
RUVECTOR_LOG_FORMAT: "text"
|
|
RUVECTOR_DEBUG_ENABLED: "true"
|
|
RUVECTOR_PROFILING_ENABLED: "true"
|
|
|
|
# More aggressive learning for development
|
|
RUVECTOR_LORA_RANK: "16"
|
|
RUVECTOR_EWC_LAMBDA: "0.3"
|
|
|
|
ports:
|
|
- "5432:5432" # PostgreSQL
|
|
|
|
volumes:
|
|
- ruvector-data-dev:/data
|
|
- ruvector-models-dev:/models
|
|
|
|
# Mount local code for development (if available)
|
|
# - ../ruvector:/app:ro
|
|
|
|
profiles:
|
|
- development
|
|
|
|
volumes:
|
|
# Production volumes
|
|
ruvector-data:
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
o: bind
|
|
device: ${RUVECTOR_DATA_PATH:-./data/ruvector}
|
|
|
|
ruvector-models:
|
|
driver: local
|
|
driver_opts:
|
|
type: none
|
|
o: bind
|
|
device: ${RUVECTOR_MODELS_PATH:-./data/ruvector-models}
|
|
|
|
# Development volumes
|
|
ruvector-data-dev:
|
|
driver: local
|
|
|
|
ruvector-models-dev:
|
|
driver: local
|
|
|
|
networks:
|
|
agentic-qe-network:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.28.0.0/16
|