Major updates and improvements to BZZZ system
- Updated configuration and deployment files - Improved system architecture and components - Enhanced documentation and testing - Fixed various issues and added new features 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
137
deployments/internal-docker/hcfs-base/config/hcfs-agent.yaml
Normal file
137
deployments/internal-docker/hcfs-base/config/hcfs-agent.yaml
Normal file
@@ -0,0 +1,137 @@
|
||||
# HCFS Agent Configuration
|
||||
# This configuration is used by agents running in HCFS-enabled containers
|
||||
|
||||
hcfs:
|
||||
# HCFS API Configuration
|
||||
api:
|
||||
url: "http://host.docker.internal:8000"
|
||||
timeout: 30s
|
||||
retry_count: 3
|
||||
|
||||
# Workspace Configuration
|
||||
workspace:
|
||||
root: "/home/agent/work"
|
||||
mount_point: "/mnt/hcfs"
|
||||
auto_sync: true
|
||||
sync_interval: 30s
|
||||
|
||||
# Artifact Collection
|
||||
artifacts:
|
||||
enabled: true
|
||||
patterns:
|
||||
- "*.log"
|
||||
- "*.md"
|
||||
- "*.txt"
|
||||
- "*.json"
|
||||
- "*.yaml"
|
||||
- "output/*"
|
||||
- "build/*.json"
|
||||
- "results/*"
|
||||
max_size: "10MB"
|
||||
compress: false
|
||||
|
||||
# Cleanup Configuration
|
||||
cleanup:
|
||||
idle_timeout: "1h"
|
||||
auto_cleanup: true
|
||||
preserve_artifacts: true
|
||||
|
||||
# Agent Capabilities
|
||||
agent:
|
||||
capabilities:
|
||||
- "file_operations"
|
||||
- "command_execution"
|
||||
- "artifact_collection"
|
||||
- "context_sharing"
|
||||
- "workspace_management"
|
||||
|
||||
# Resource Limits
|
||||
limits:
|
||||
max_memory: "2GB"
|
||||
max_cpu: "2.0"
|
||||
max_disk: "10GB"
|
||||
max_files: 10000
|
||||
|
||||
# Development Tools
|
||||
tools:
|
||||
python:
|
||||
enabled: true
|
||||
version: "3.10"
|
||||
venv: true
|
||||
packages:
|
||||
- "requests"
|
||||
- "pyyaml"
|
||||
- "click"
|
||||
- "rich"
|
||||
|
||||
git:
|
||||
enabled: true
|
||||
auto_config: true
|
||||
|
||||
make:
|
||||
enabled: true
|
||||
|
||||
docker:
|
||||
enabled: false # Disabled by default for security
|
||||
|
||||
# Security Configuration
|
||||
security:
|
||||
user: "agent"
|
||||
home: "/home/agent"
|
||||
shell: "/bin/bash"
|
||||
|
||||
# Network restrictions
|
||||
network:
|
||||
allow_outbound: true
|
||||
blocked_ports:
|
||||
- 22 # SSH
|
||||
- 3389 # RDP
|
||||
- 5432 # PostgreSQL
|
||||
- 3306 # MySQL
|
||||
|
||||
# File system restrictions
|
||||
filesystem:
|
||||
read_only_paths:
|
||||
- "/etc"
|
||||
- "/usr"
|
||||
- "/boot"
|
||||
writable_paths:
|
||||
- "/home/agent"
|
||||
- "/tmp"
|
||||
- "/workspace"
|
||||
- "/mnt/hcfs"
|
||||
|
||||
# Logging Configuration
|
||||
logging:
|
||||
level: "info"
|
||||
format: "json"
|
||||
destinations:
|
||||
- "/var/log/hcfs/agent.log"
|
||||
- "stdout"
|
||||
|
||||
# Log categories
|
||||
categories:
|
||||
workspace: "debug"
|
||||
artifacts: "info"
|
||||
hcfs_api: "info"
|
||||
security: "warn"
|
||||
|
||||
# Environment Variables
|
||||
environment:
|
||||
PYTHONPATH: "/usr/local/lib/python3.10/site-packages"
|
||||
PATH: "/home/agent/.local/bin:/usr/local/bin:/usr/bin:/bin"
|
||||
TERM: "xterm-256color"
|
||||
EDITOR: "vim"
|
||||
|
||||
# Container Metadata
|
||||
metadata:
|
||||
version: "1.0.0"
|
||||
created_by: "bzzz-hcfs-integration"
|
||||
description: "HCFS-enabled agent container for distributed AI development"
|
||||
|
||||
# Tags for categorization
|
||||
tags:
|
||||
- "ai-agent"
|
||||
- "hcfs-enabled"
|
||||
- "development"
|
||||
- "sandboxed"
|
||||
Reference in New Issue
Block a user