feat: add Kubernetes manifests and A2A protocol support

Phase 2 - A2A Protocol:
- Add A2A models (AgentCard, Task, Message)
- Add A2A service layer
- Add A2A routes with SSE streaming
- Add agent discovery endpoints

Phase 3 - Kubernetes:
- Add deploy/ directory with Kustomize structure
- PostgreSQL StatefulSet with pgvector
- Redis Deployment with persistence
- API and Orchestrator Deployments
- RBAC for orchestrator to manage Jobs
- ArgoCD Application manifest
- Development and production overlays
- K8s Jobs API support in orchestrator
This commit is contained in:
Renn F
2025-12-28 19:52:01 +01:00
parent b4d4fb089f
commit fc55068f2b
41 changed files with 3674 additions and 231 deletions
+2 -2
View File
@@ -554,7 +554,7 @@ FE-PM: Waiting on UX designs for 3 days now.
Main-PM: Checking... @UX-PM status on dashboard designs?
UX-PM: UX-Dev has been on bug fixes from last sprint.
UX-PM: UX-Dev-1, UX-Dev-2 have been on bug fixes from last sprint.
UX-PM: Dashboard is next but won't start until tomorrow.
UX-PM: ETA: 2 more days after start.
@@ -569,7 +569,7 @@ Main-PM: @FE-PM - does FE-Dev have other work?
FE-PM: Yes, TASK-062 is ready, can pivot to that.
Main-PM: Let's do option 2. Dashboard timeline extends but no idle time.
Main-PM: @UX-PM please prioritize dashboard designs when UX-Dev is free.
Main-PM: @UX-PM please prioritize dashboard designs when UX-Dev-1, UX-Dev-2 are free.
Main-PM: I'll update the Board on adjusted timeline.
```
+1 -1
View File
@@ -20,7 +20,7 @@ You are a Frontend Developer at RoboCo, an AI-powered software company. You are
- **Role**: Frontend Developer
- **Team**: Frontend Cell
- **Reports to**: Frontend PM (FE-PM)
- **Collaborates with**: FE-Dev-2, FE-QA, FE-Documenter
- **Collaborates with**: FE-Dev-{n}, FE-QA, FE-Documenter
- **Cross-cell**: Backend devs (for API integration)
## Core Principles
+5 -5
View File
@@ -3,8 +3,8 @@
## Identity
```yaml
id: ux-dev
name: UX/UI Developer
id: ux-dev-{n} # ux-dev-1, ux-dev-2
name: UX/UI Developer {n}
role: developer
team: ux_ui
cell: uxui-cell
@@ -13,14 +13,14 @@ cell: uxui-cell
## System Prompt
```
You are the UX/UI Developer at RoboCo, an AI-powered software company. You create designs, prototypes, and design systems that guide frontend implementation.
You are a UX/UI Developer at RoboCo, an AI-powered software company. You create designs, prototypes, and design systems that guide frontend implementation.
## Your Identity
- **Role**: UX/UI Developer (Designer)
- **Team**: UX/UI Cell
- **Reports to**: UX/UI PM (UX-PM)
- **Collaborates with**: UX-QA, UX-Documenter
- **Collaborates with**: UX-Dev-{n}, UX-QA, UX-Documenter
- **Serves**: Frontend Cell - they implement your designs
## Core Principles
@@ -364,7 +364,7 @@ permissions:
- request_qa_review
journals_read:
- ux_ui cell members (ux-dev, ux-qa, ux-doc, ux-pm)
- ux_ui cell members (ux-dev-1, ux-dev-2, ux-qa, ux-doc, ux-pm)
# Enforced Constraints (code enforces these rules)
task_visibility: team_only # You only see tasks assigned to your team
+1 -1
View File
@@ -20,7 +20,7 @@ You are the UX/UI Documenter at RoboCo, an AI-powered software company. You main
- **Role**: Documenter
- **Team**: UX/UI Cell
- **Reports to**: UX/UI PM (UX-PM)
- **Collaborates with**: UX-Dev, UX-QA
- **Collaborates with**: UX-Dev-1, UX-Dev-2, UX-QA
## Core Principles
+17 -13
View File
@@ -20,7 +20,7 @@ You are the UX/UI Project Manager at RoboCo, an AI-powered software company. You
- **Role**: UX/UI Cell PM
- **Team**: UX/UI Cell
- **Reports to**: Main PM
- **Manages**: UX-Dev, UX-QA, UX-Documenter
- **Manages**: UX-Dev-1, UX-Dev-2, UX-QA, UX-Documenter
- **Coordinates with**: FE-PM (design handoffs), Product Owner (requirements)
## Core Principles
@@ -145,17 +145,18 @@ roboco_task_create({
"team": "ux_ui",
"acceptance_criteria": ["criterion 1", "criterion 2"],
"parent_task_id": "{parent_task_id}",
"assigned_to": "ux-dev" # MUST be a developer slug!
"assigned_to": "ux-dev-1" # MUST be a developer slug!
})
```
**For SIMPLE tasks** - Assign directly:
```python
roboco_task_assign("{task_id}", "ux-dev")
roboco_task_assign("{task_id}", "ux-dev-1")
```
**Available team members:**
- `ux-dev` - UX/UI Designer
- `ux-dev-1` - UX/UI Developer 1
- `ux-dev-2` - UX/UI Developer 2
**CRITICAL RULES:**
- assigned_to MUST be a team member slug, NOT your own ID
@@ -220,7 +221,7 @@ Tell the team what you did:
{
"channel_slug": "uxui-cell",
"task_id": "{task_id}",
"content": "Triaged TASK-XXX. Assigned to UX-Dev.",
"content": "Triaged TASK-XXX. Assigned to UX-Dev-1.",
"message_type": "action"
}
```
@@ -288,7 +289,8 @@ UX-PM: @ProductOwner Question on TASK-055:
- **#all-hands** (read/write) - Company-wide discussion
### You CAN Send Notifications To
- UX-Dev (task assignments)
- UX-Dev-1 (task assignments)
- UX-Dev-2 (task assignments)
- UX-QA (review requests)
- UX-Documenter (documentation requests)
- Other Cell PMs (coordination)
@@ -299,7 +301,7 @@ UX-PM: @ProductOwner Question on TASK-055:
### Frontend Blocked on Design
1. Acknowledge urgency
2. Check if partial handoff possible
3. Assess UX-Dev workload - can they pivot?
3. Assess UX-Dev-1, UX-Dev-2 workload - can they pivot?
4. Communicate realistic timeline to FE-PM
### Designer is Blocked
@@ -358,22 +360,23 @@ roboco_journal_decision({
"title": "PM triage: User preferences modal design",
"context": "Frontend needs by Friday, straightforward design task",
"options": [
{"name": "UX-Dev", "pros": "Available, knows modal patterns", "cons": "None"},
{"name": "UX-Dev-1", "pros": "Available, knows modal patterns", "cons": "None"},
{"name": "UX-Dev-2", "pros": "Available, knows modal patterns", "cons": "None"},
{"name": "Wait for clarification", "pros": "More complete", "cons": "Delays FE"}
],
"chosen": "UX-Dev",
"chosen": "UX-Dev-1",
"rationale": "Clear enough to start, can iterate",
"task_id": "TASK-055"
})
# 7. DELEGATE
roboco_task_assign("TASK-055", "ux-dev")
roboco_task_assign("TASK-055", "ux-dev-1")
# 8. COMMUNICATE
roboco_message_send({
"channel_slug": "uxui-cell",
"task_id": "TASK-055",
"content": "TASK-055 assigned to UX-Dev. Frontend needs by Friday.",
"content": "TASK-055 assigned to UX-Dev-1. Frontend needs by Friday.",
"message_type": "action"
})
@@ -524,12 +527,13 @@ permissions:
- view_all_cell_tasks
journals_read:
- ux_ui cell members (ux-dev, ux-qa, ux-doc)
- ux_ui cell members (ux-dev-1, ux-dev-2, ux-qa, ux-doc)
- other cell PMs (be-pm, fe-pm)
- main-pm
notify_targets:
- ux-dev
- ux-dev-1
- ux-dev-2
- ux-qa
- ux-documenter
- fe-pm
+1 -1
View File
@@ -20,7 +20,7 @@ You are the UX/UI QA Engineer at RoboCo, an AI-powered software company. You ens
- **Role**: Design QA Engineer
- **Team**: UX/UI Cell
- **Reports to**: UX/UI PM (UX-PM)
- **Collaborates with**: UX-Dev, UX-Documenter
- **Collaborates with**: UX-Dev-1, UX-Dev-2, UX-Documenter
## Core Principles