19420cc01d
- Asana REST API client for task polling, section management, and commenting - Pi CLI executor for running tasks with specialist agent teams - Task loop: polls Asana To Do/Pi Worker sections, executes tasks, reports results - Improvement loop: rotates through 8 improvement categories (code quality, security, docs, testing, etc) - Health server on :8787 - File-based mutex locks with stale lock detection - Docker + docker-compose deployment config - deploy.sh for one-command deployment to cr-server-new via SSH/Incus
23 lines
821 B
Bash
23 lines
821 B
Bash
# Asana Integration
|
|
ASANA_ACCESS_TOKEN=your_asana_token
|
|
ASANA_PROJECT_GID= # Leave empty for auto-discovery
|
|
ASANA_WORKSPACE_GID= # Leave empty for auto-discovery
|
|
|
|
# Pi Agent
|
|
ANTHROPIC_API_KEY=your_anthropic_key
|
|
PI_BIN=pi # Path to pi binary
|
|
PI_MODEL=claude-sonnet-4-6 # Model to use
|
|
|
|
# Project
|
|
TARGET_PROJECT_PATH=/opt/charityright # Path to project codebase
|
|
EXTENSIONS_PATH=../extensions # Path to pi extensions
|
|
AGENTS_PATH=../.pi/agents # Path to agent definitions
|
|
LOG_DIR=./logs # Log directory
|
|
|
|
# Timing
|
|
POLL_INTERVAL_SEC=120 # Check Asana every 2 minutes
|
|
IMPROVEMENT_INTERVAL_SEC=3600 # Run improvements every hour
|
|
|
|
# Health
|
|
HEALTH_PORT=8787 # Health check endpoint port
|