Files
WHOOSH/migrations/004_enhance_task_team_integration.down.sql
Claude Code 56ea52b743 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>
2025-09-12 09:49:36 +10:00

25 lines
923 B
SQL

-- Rollback task-team integration enhancements
-- Drop task executions table
DROP TABLE IF EXISTS task_executions;
-- Drop triggers and functions
DROP TRIGGER IF EXISTS update_task_executions_updated_at ON task_executions;
DROP FUNCTION IF EXISTS update_updated_at_column();
-- Remove agent performance columns
ALTER TABLE agents DROP COLUMN IF EXISTS workload_capacity;
ALTER TABLE agents DROP COLUMN IF EXISTS current_tasks;
ALTER TABLE agents DROP COLUMN IF EXISTS success_rate;
-- Remove team composition data column
ALTER TABLE teams DROP COLUMN IF EXISTS composition_data;
ALTER TABLE teams DROP COLUMN IF EXISTS task_id;
-- Remove repository_id from tasks if it was added by this migration
-- (Leave it if it existed before since other migrations might depend on it)
-- Drop indexes
DROP INDEX IF EXISTS idx_agents_workload;
DROP INDEX IF EXISTS idx_agents_performance;
DROP INDEX IF EXISTS idx_teams_task_id;