Implement initial scan logic and council formation for WHOOSH project kickoffs

- Replace incremental sync with full scan for new repositories
- Add initial_scan status to bypass Since parameter filtering
- Implement council formation detection for Design Brief issues
- Add version display to WHOOSH UI header for debugging
- Fix Docker token authentication with trailing newline removal
- Add comprehensive council orchestration with Docker Swarm integration
- Include BACKBEAT prototype integration for distributed timing
- Support council-specific agent roles and deployment strategies
- Transition repositories to active status after content discovery

Key architectural improvements:
- Full scan approach for new project detection vs incremental sync
- Council formation triggered by chorus-entrypoint labeled Design Briefs
- Proper token handling and authentication for Gitea API calls
- Support for both initial discovery and ongoing task monitoring

This enables autonomous project kickoff workflows where Design Brief issues
automatically trigger formation of specialized agent councils for new projects.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude Code
2025-09-12 09:49:36 +10:00
parent b5c0deb6bc
commit 56ea52b743
74 changed files with 17778 additions and 236 deletions

View File

@@ -2,7 +2,8 @@ version: '3.8'
services:
whoosh:
image: registry.home.deepblack.cloud/whoosh:v2.1.0
image: anthonyrawlins/whoosh:council-deployment-v3
user: "0:0" # Run as root to access Docker socket across different node configurations
ports:
- target: 8080
published: 8800
@@ -45,6 +46,18 @@ services:
WHOOSH_REDIS_PORT: 6379
WHOOSH_REDIS_PASSWORD_FILE: /run/secrets/redis_password
WHOOSH_REDIS_DATABASE: 0
# BACKBEAT configuration - enabled for full integration
WHOOSH_BACKBEAT_ENABLED: "true"
WHOOSH_BACKBEAT_NATS_URL: "nats://backbeat-nats:4222"
# Docker integration - enabled for council agent deployment
WHOOSH_DOCKER_ENABLED: "true"
volumes:
# Docker socket access for council agent deployment
- /var/run/docker.sock:/var/run/docker.sock:rw
# Council prompts and configuration
- /rust/containers/WHOOSH/prompts:/app/prompts:ro
secrets:
- whoosh_db_password
- gitea_token
@@ -91,6 +104,7 @@ services:
networks:
- tengig
- whoosh-backend
- chorus_net # Connect to CHORUS network for BACKBEAT integration
healthcheck:
test: ["CMD", "/app/whoosh", "--health-check"]
interval: 30s
@@ -174,6 +188,9 @@ networks:
whoosh-backend:
driver: overlay
attachable: false
chorus_net:
external: true
name: CHORUS_chorus_net
volumes:
whoosh_postgres_data: