WIP: Save current work before CHORUS rebrand
- Agent roles integration progress - Various backend and frontend updates - Storybook cache cleanup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,50 @@
|
||||
|
||||
---
|
||||
|
||||
## 🎯 **CRITICAL PRIORITY: RL Context Curator Integration**
|
||||
|
||||
### **0. Context Feedback and Learning System**
|
||||
**Priority: Critical - Integration with HCFS RL Context Curator**
|
||||
- [ ] **Task Outcome Tracking**
|
||||
- [ ] Extend `backend/app/models/task.py` with completion metrics
|
||||
- [ ] Add fields: completion_time, errors_encountered, follow_up_questions, success_rate
|
||||
- [ ] Implement task outcome classification (completed, failed, abandoned)
|
||||
- [ ] Add confidence scoring for task completions
|
||||
|
||||
- [ ] **Agent Role Management System**
|
||||
- [ ] Modify `backend/app/services/agent_manager.py` for role-based capabilities
|
||||
- [ ] Implement role definitions: backend, frontend, devops, qa, testing
|
||||
- [ ] Add directory scope patterns for each agent role
|
||||
- [ ] Create agent permission management with role inheritance
|
||||
- [ ] Support dynamic role assignment based on task requirements
|
||||
|
||||
- [ ] **Context Feedback Collection API**
|
||||
- [ ] Create `backend/app/api/feedback.py` with context feedback endpoints
|
||||
- [ ] Implement POST /api/feedback/context/{context_id} (upvote, downvote, forgetfulness)
|
||||
- [ ] Add POST /api/feedback/task-outcome/{task_id} for task completion feedback
|
||||
- [ ] Create feedback confidence and usage context tracking
|
||||
- [ ] Add feedback aggregation and analytics endpoints
|
||||
|
||||
- [ ] **Real-time Task Event System**
|
||||
- [ ] Extend `backend/app/services/websocket_manager.py` for task events
|
||||
- [ ] Add WebSocket events for task completion/failure triggers
|
||||
- [ ] Implement real-time feedback collection notifications
|
||||
- [ ] Create task-to-context relevance tracking events
|
||||
- [ ] Add agent role change notifications
|
||||
|
||||
- [ ] **Database Schema Extensions for Context Learning**
|
||||
- [ ] Create migration for context_feedback table
|
||||
- [ ] Create migration for agent_permissions table
|
||||
- [ ] Add context relevance tracking to tasks table
|
||||
- [ ] Extend agent model with role and directory scope fields
|
||||
- [ ] Implement feedback aggregation views for RL training
|
||||
|
||||
- [ ] **Integration with Bzzz Context Events**
|
||||
- [ ] Add endpoints to receive context feedback from Bzzz P2P network
|
||||
- [ ] Implement feedback event routing to HCFS RL Context Curator
|
||||
- [ ] Create feedback event validation and deduplication
|
||||
- [ ] Add task-context relevance correlation tracking
|
||||
|
||||
## 🎯 **HIGH PRIORITY: Project Registration & Activation System**
|
||||
|
||||
### **1. Database-Driven Project Management**
|
||||
|
||||
Reference in New Issue
Block a user