1. Blueprint updates - Added NO_GROUPS escalation docs to all 12 agent blueprints

2. Multi-image Docker architecture - Created role-specific Dockerfiles:
  - agent-base.Dockerfile (shared foundation)
  - agent-pm.Dockerfile, agent-dev-be.Dockerfile, agent-dev-fe.Dockerfile
  - agent-qa-be.Dockerfile, agent-qa-fe.Dockerfile, agent-doc.Dockerfile, agent-ux.Dockerfile
3. Orchestrator updates - roboco/runtime/orchestrator.py:
  - Added AGENT_IMAGES mapping and get_agent_image() function
  - Updated _ensure_agent_image() to build base + specialized images
  - Updated _spawn_container() to use role-specific image
  - Made _generate_mcp_config() role-aware (though kept notify for all since they need to receive)
This commit is contained in:
Renn F
2025-12-23 21:23:50 +01:00
parent 31c776b84a
commit 204b959733
36 changed files with 956 additions and 140 deletions
@@ -36,7 +36,6 @@ COPY --chown=agent:agent pyproject.toml uv.lock README.md /app/
USER agent
# Install Python dependencies for MCP servers (as agent)
# Increase timeout for large NVIDIA packages (674MB cudnn, 858MB torch)
ENV UV_HTTP_TIMEOUT=300
ENV UV_CONCURRENT_DOWNLOADS=4
RUN uv python install 3.13 && uv sync --frozen --python 3.13
+17
View File
@@ -0,0 +1,17 @@
# Backend Developer Agent
# Python/FastAPI development tools
FROM roboco-agent-base
USER root
# Backend-specific tools
RUN apt-get update && apt-get install -y --no-install-recommends \
postgresql-client \
redis-tools \
&& rm -rf /var/lib/apt/lists/*
USER agent
LABEL role="backend-developer"
LABEL description="Backend developer agent - Python, FastAPI, databases"
+36
View File
@@ -0,0 +1,36 @@
# Frontend Developer Agent
# React/TypeScript development with browser automation
FROM roboco-agent-base
USER root
# Playwright system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxkbcommon0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libasound2 \
libpango-1.0-0 \
libcairo2 \
&& rm -rf /var/lib/apt/lists/*
# Install pnpm globally
RUN npm install -g pnpm
USER agent
# Install Playwright (browsers will be installed on first run or can be cached)
RUN npx playwright install chromium
LABEL role="frontend-developer"
LABEL description="Frontend developer agent - React, TypeScript, Playwright"
+11
View File
@@ -0,0 +1,11 @@
# Documenter Agent
# Lightweight - documentation doesn't need heavy tools
FROM roboco-agent-base
# No additional tools needed
# Documenters write markdown, update READMEs, changelogs
# They use the mounted /app/docs directory
LABEL role="documenter"
LABEL description="Documenter agent - technical writing, API docs, changelogs"
+10
View File
@@ -0,0 +1,10 @@
# PM Agent - Lightweight coordinator
# PMs don't code, they coordinate and delegate
FROM roboco-agent-base
# No additional tools needed - PMs use MCP tools only
# They get: task management, messaging, notifications, journaling
LABEL role="pm"
LABEL description="Project Manager agent - coordinates work, delegates to developers"
+18
View File
@@ -0,0 +1,18 @@
# Backend QA Agent
# Testing and quality assurance tools for backend
FROM roboco-agent-base
USER root
# QA tools for backend
RUN apt-get update && apt-get install -y --no-install-recommends \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
USER agent
# Python testing tools are already in pyproject.toml (pytest, coverage, etc.)
LABEL role="backend-qa"
LABEL description="Backend QA agent - testing, code review, quality assurance"
+35
View File
@@ -0,0 +1,35 @@
# Frontend QA Agent
# Browser testing and accessibility tools
FROM roboco-agent-base
USER root
# Playwright system dependencies (same as fe-dev)
RUN apt-get update && apt-get install -y --no-install-recommends \
libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxkbcommon0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libasound2 \
libpango-1.0-0 \
libcairo2 \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g pnpm
USER agent
# Playwright for browser testing
RUN npx playwright install chromium
LABEL role="frontend-qa"
LABEL description="Frontend QA agent - browser testing, accessibility, visual regression"
+12
View File
@@ -0,0 +1,12 @@
# UX/UI Agent
# Design tools - future: Figma MCP, image generation
FROM roboco-agent-base
# Future additions:
# - Figma MCP server integration
# - Image generation tools
# - Design token management
LABEL role="ux-designer"
LABEL description="UX/UI agent - design, prototyping, design system"