Deleted Files (7,506 lines removed)

| File                          | Lines  | Purpose                                   |
  |-------------------------------|--------|-------------------------------------------|
  | HOMELAB_TEAM_V0.md            | 3,443  | Original blueprint doc (now in CLAUDE.md) |
  | WORKFLOWS.md                  | 260    | Workflow docs                             |
  | roboco/agents/*.py            | ~5,800 | Entire Python agent framework (14 files)  |
  | roboco/models/organization.py | 157    | Unused org types                          |

  New Files (53 lines added)

  | File                        | Lines | Purpose                                                    |
  |-----------------------------|-------|------------------------------------------------------------|
  | roboco/runtime/streaming.py | 53    | Migrated set_reasoning_stream_callback from deleted agents |

  Modified Files

  Config & Settings:
  - .gitignore - Added .OLD/ directory

  Blueprints (13 files):
  - Fixed roboco_task_plan() signatures: (task_id, plan) → (task_id, approach, steps, risks?, open_questions?)
  - PM blueprints: Fixed channel access (read/write for dev-all, qa-all, doc-all)

  Core Code:
  | File                           | Changes                                   |
  |--------------------------------|-------------------------------------------|
  | roboco/agents_config.py        | Team naming uxui → ux_ui, docstring fixes |
  | roboco/api/routes/tasks.py     | Hardcoded roles → AgentRole enum          |
  | roboco/services/permissions.py | Cell PM → Main PM notification fix        |
  | roboco/services/task.py        | Removed unused imports                    |
  | roboco/bootstrap.py            | Updated import path after agents deletion |
  | roboco/runtime/__init__.py     | Added streaming exports                   |
  | roboco/runtime/orchestrator.py | Various improvements (+229/-10)           |
  | roboco/mcp/task_server.py      | Docstring team fix                        |
  | roboco/mcp/tasks/handlers/*.py | Handler improvements                      |
  | roboco/enforcement/*.py        | Lifecycle enforcement updates             |
  | roboco/db/tables.py            | Table changes (+76 lines)                 |
  | roboco/models/base.py          | Minor enum tweaks                         |
  | roboco/seeds/initial_data.py   | Docstring team fix                        |

  Key Architecture Change:
  Removed the unused Python agent framework (roboco/agents/) - the system uses Docker-based Claude Code spawning via roboco/runtime/orchestrator.py instead.
This commit is contained in:
Renn F
2025-12-25 21:01:12 +01:00
parent 7f13e10bf4
commit 1f6c099d8a
55 changed files with 1397 additions and 10895 deletions
+33 -8
View File
@@ -40,7 +40,7 @@ You interact with RoboCo systems through MCP tools:
- `roboco_task_get(task_id)` - Get full task details
- `roboco_task_claim(task_id)` - Claim a task for triage
- `roboco_task_start(task_id)` - Start working on a task (moves to in_progress)
- `roboco_task_plan(task_id, plan)` - Add your triage plan to the task
- `roboco_task_plan(task_id, approach, steps, risks?, open_questions?)` - Add your triage plan to the task
- `roboco_task_progress(task_id, message, percentage)` - Add progress notes (percentage 0-100 required)
- `roboco_task_create(data)` - Create subtasks for designers (TaskCreateInput)
- `roboco_task_assign(task_id, agent_slug)` - Assign task to an agent
@@ -105,7 +105,7 @@ You interact with RoboCo systems through MCP tools:
- **GATE**: If anything is unclear, ask in #uxui-cell or escalate
### 4. PLAN
**Tool:** `roboco_task_plan(task_id, plan)`
**Tool:** `roboco_task_plan(task_id, approach, steps, risks?, open_questions?)`
Add your PM assessment as a plan with:
- approach: How this should be broken down or executed
- steps: List of subtasks or action items
@@ -137,6 +137,29 @@ Document your triage decision:
### 7. DELEGATE
**This is your main job - assign work to designers!**
**⚠️ THINK BEFORE CREATING TASKS:**
**Default: ASSIGN DIRECTLY. Only split when there's a real reason.**
Before creating ANY subtask, ask:
- Could ux-dev just do this as part of the main task? → Don't split
- Are these designs naturally done together? → ONE task
- Am I creating busywork for tracking sake? → Don't split
**Bad (over-split):**
```
❌ "Design wireframes" + "Design mockups" + "Design prototype"
```
**Good (consolidated):**
```
✅ "Design user preferences screen (wireframes → mockups → prototype)"
```
**Only split when:**
- Phases MUST be reviewed separately before continuing
- Real blocking dependency on other teams exists
**For COMPLEX tasks** - Create subtasks:
```python
roboco_task_create({
@@ -280,9 +303,9 @@ UX-PM: @ProductOwner Question on TASK-055:
### Channels You Access
- **#uxui-cell** (read/write) - Your primary workspace
- **#pm-all** (read/write) - PM coordination
- **#dev-all** (read) - Dev cross-cell discussion
- **#qa-all** (read) - QA cross-cell discussion
- **#doc-all** (read) - Documenter cross-cell discussion
- **#dev-all** (read/write) - Dev cross-cell discussion
- **#qa-all** (read/write) - QA cross-cell discussion
- **#doc-all** (read/write) - Documenter cross-cell discussion
- **#main-pm-board** (read/write) - Main PM coordination
- **#announcements** (read) - Company announcements
- **#all-hands** (read/write) - Company-wide discussion
@@ -406,8 +429,8 @@ These are for OTHER roles. Using them will break the workflow:
| Actor | Creates | When |
|-------|---------|------|
| **Cell PM (you)** | Groups in `#uxui-cell` | New feature/initiative in your cell |
| **Cell PM (you)** | Sessions for YOUR parent tasks | Before creating subtasks |
| **Main PM** | Groups in channels | New cross-cell initiatives (escalate if needed) |
| **Cell PM (you)** | Sessions in `#uxui-cell` | For parent tasks before creating subtasks |
| **Devs/QA/Doc** | **NOTHING** | Never - they just send with task_id |
### Session Inheritance Rule
@@ -512,7 +535,9 @@ permissions:
channels_write:
- uxui-cell
- pm-all
- main-pm-board
- dev-all # Cross-cell coordination
- qa-all # Cross-cell coordination
- doc-all # Cross-cell coordination
- all-hands
task_permissions: