Apple
a6e531a098
fix: NODE1_REPAIR - healthchecks, dependencies, SSR env, telegram gateway
...
TASK_PHASE_NODE1_REPAIR:
- Fix daarion-web SSR: use CITY_API_BASE_URL instead of 127.0.0.1
- Fix auth API routes: use AUTH_API_URL env var
- Add wget to Dockerfiles for healthchecks (stt, ocr, web-search, swapper, vector-db, rag)
- Update healthchecks to use wget instead of curl
- Fix vector-db-service: update torch==2.4.0, sentence-transformers==2.6.1
- Fix rag-service: correct haystack imports for v2.x
- Fix telegram-gateway: remove msg.ack() for non-JetStream NATS
- Add /health endpoint to nginx mvp-routes.conf
- Add room_role, is_public, sort_order columns to city_rooms migration
- Add TASK_PHASE_NODE1_REPAIR.md and DEPLOY_NODE1_REPAIR.md docs
Previous tasks included:
- TASK 039-044: Orchestrator rooms, Matrix chat cleanup, CrewAI integration
2025-11-29 05:17:08 -08:00
Apple
0bab4bba08
feat: TASK 038 - Node Guardian & Steward Integration
...
- Backend: Added dynamic discovery of node agents in repo_city.py
- Backend: Created seed SQL for agent types
- Frontend: Added NodeGuardianCard component
- Frontend: Integrated NodeGuardianCard into Node Dashboard / Profile
2025-11-29 01:46:38 -08:00
Apple
3ccc0e2d43
feat: TASK 037A/B - MicroDAO Multi-Room Cleanup & UI Polish
...
TASK 037A: Backend Consistency
- Added db/sql/037_microdao_agent_audit.sql
- Added services/city-service/tools/fix_microdao_agent_consistency.py
- Updated repo_city.get_public_citizens with stricter filtering (node_id, microdao_membership)
- Updated PublicCitizenSummary model to include home_microdao and primary_city_room
- Updated NodeProfile model and get_node_by_id to include microdaos list
TASK 037B: UI Polish
- Updated MicrodaoRoomsSection with role-based colors/icons and mini-map
- Updated /microdao/[slug] with new Hero Block (badges, stats, orchestrator)
- Updated /citizens/[slug] with MicroDAO cross-link in DAIS profile
- Updated /nodes/[nodeId] with MicroDAO Presence section
2025-11-29 01:35:54 -08:00
Apple
86f5b58de5
fix: import CityRoomSummary at top of routes_city.py
2025-11-29 01:09:30 -08:00
Apple
3f41d0e0a2
feat: TASK 034-036 - MicroDAO Multi-Room Support
...
TASK 034: MicroDAO Multi-Room Backend
- Added migration 031_microdao_multi_room.sql
- Extended city_rooms with microdao_id, room_role, is_public, sort_order
- Added CityRoomSummary, MicrodaoRoomsList, MicrodaoRoomUpdate models
- Added get_microdao_rooms, get_microdao_rooms_by_slug functions
- Added attach_room_to_microdao, update_microdao_room functions
- Added API endpoints: GET/POST/PATCH /city/microdao/{slug}/rooms
TASK 035: MicroDAO Multi-Room UI
- Added proxy routes for rooms API
- Extended CityRoomSummary type with multi-room fields
- Added useMicrodaoRooms hook
- Created MicrodaoRoomsSection component with role labels/icons
TASK 036: MicroDAO Room Orchestrator Panel
- Created MicrodaoRoomsAdminPanel component
- Role selector, visibility toggle, set primary button
- Attach existing room form
- Integrated into /microdao/[slug] page
2025-11-29 01:07:15 -08:00
Apple
20dddd9051
fix: add guardian_agent and steward_agent to NodeProfile API response
2025-11-28 14:12:32 -08:00
Apple
773a955ecc
feat: TASK 031-033 - Node Guardian/Steward + Agent & MicroDAO Chat Widgets
...
TASK 031: Node Agents Discovery
- Documented existing Monitor agents (NODE1, NODE2)
- Created NODE_AGENTS_INVENTORY.md
TASK 032: Node Guardian/Steward Formalize
- Added migration 030_node_guardian_steward.sql
- Added is_node_guardian, is_node_steward to agents
- Added guardian_agent_id, steward_agent_id to node_cache
- Updated repo_city.py for guardian/steward in node queries
- Added NodeAgentsPanel component for Node Dashboard
TASK 033: Agent & MicroDAO Chat Widgets
- Added CityRoomSummary model
- Added primary_city_room to AgentDashboard API
- Added primary_city_room to MicrodaoDetail API
- Added get_microdao_primary_room() function
- Updated Agent Console with Matrix chat section
- Updated MicroDAO page with public chat section
- Reused existing CityChatWidget component
2025-11-28 13:51:51 -08:00
Apple
4d7c4b9744
fix: auto-set public_slug for orchestrators when creating MicroDAO
2025-11-28 11:07:08 -08:00
Apple
69cc76fe00
feat: implement Task 029 (Agent Orchestrator & Visibility Flow)
2025-11-28 10:19:13 -08:00
Apple
b787f3812a
fix: add model field to AgentProfile
2025-11-28 09:14:03 -08:00
Apple
884df75282
fix: add public_slug to AgentProfile
2025-11-28 09:12:55 -08:00
Apple
ce8429d392
fix: add missing fields to AgentProfile
2025-11-28 09:11:49 -08:00
Apple
909d1cb314
fix: add avatar_url to AgentProfile for dashboard
2025-11-28 09:10:34 -08:00
Apple
37e1c8abbe
feat: align agent/microdao model - add is_orchestrator, is_platform, hierarchy
2025-11-28 08:34:14 -08:00
Apple
47442b801f
feat: data cleanup - soft delete test agents and microdaos
2025-11-28 08:16:56 -08:00
Apple
bd3d756de9
fix: add get_agent_prompts and get_agent_public_profile methods
2025-11-28 08:07:20 -08:00
Apple
15714fb170
feat: unified Agent/Citizen model with visibility controls
...
- Add visibility_scope, is_listed_in_directory, is_system, primary_microdao_id to agents
- Create unified list_agent_summaries method
- Add PUT /city/agents/{id}/visibility endpoint
- Add AgentVisibilityCard component
- Update AgentSummary types for frontend
2025-11-28 07:56:33 -08:00
Apple
1c85b9bed5
feat: add ModelBindings and UsageStats DTOs for agent metrics
2025-11-28 05:40:49 -08:00
Apple
9ad8f65636
feat: add is_archived flag, assign all agents to MicroDAOs, filter archived in API
2025-11-28 05:36:28 -08:00
Apple
319c7e4799
feat: add /public/nodes endpoints for Node Directory
2025-11-28 04:56:55 -08:00
Apple
4276c57f6b
fix: move AgentSummary after HomeNodeView definition
2025-11-28 04:51:19 -08:00
Apple
e8bcb0c97e
feat: add /public/agents endpoint for Agent Console with home_node
2025-11-28 04:49:58 -08:00
Apple
81464994ac
fix: add home_node to PublicCitizenSummary in routes
2025-11-28 04:41:16 -08:00
Apple
35768f1180
feat: add home_node support to Citizens API and UI
...
- Add HomeNodeView model to city-service
- Update get_public_citizens and get_public_citizen_by_slug to JOIN node_cache
- Add HomeNode interface to frontend types
- Display node badge on citizen cards
- Show full home_node info on citizen profile page
2025-11-28 04:34:25 -08:00
Apple
e2e15c599e
fix: correct PostgreSQL array syntax for public_skills
2025-11-28 03:45:45 -08:00
Apple
06d0cba7d4
feat: Citizens Layer + Citizen Interact Layer + CityChatWidget
2025-11-28 03:10:47 -08:00
Apple
467c7fc83d
feat: MicroDAO Registry API (read-only) - GET /city/microdao, GET /city/microdao/{slug}
2025-11-28 01:35:37 -08:00
Apple
6bd769ef40
feat(city-map): Add 2D City Map with coordinates and agent presence
...
- Add migration 013_city_map_coordinates.sql with map coordinates, zones, and agents table
- Add /city/map API endpoint in city-service
- Add /city/agents and /city/agents/online endpoints
- Extend presence aggregator to include agents[] in snapshot
- Add AgentsSource for fetching agent data from DB
- Create CityMap component with interactive room tiles
- Add useCityMap hook for fetching map data
- Update useGlobalPresence to include agents
- Add map/list view toggle on /city page
- Add agent badges to room cards and map tiles
2025-11-27 07:00:47 -08:00
Apple
c456727d53
fix: Add nats-py to city-service requirements
2025-11-26 14:25:02 -08:00
Apple
78849cc108
feat: Add Global Presence Aggregator system
...
- GLOBAL_PRESENCE_AGGREGATOR_SPEC.md documentation
- matrix-presence-aggregator service (Python/FastAPI)
- Matrix sync loop for presence/typing
- NATS publishing for room presence
- city-service: presence_gateway for WS broadcast
- Frontend: real-time online count in room list
- useGlobalPresence hook
- Live typing indicators
- Active room highlighting
2025-11-26 14:22:34 -08:00
Apple
aa235e820b
fix: Use POST for introspect endpoint
2025-11-26 13:19:27 -08:00
Apple
e9c04f6bcd
feat: Implement Matrix Chat Client
2025-11-26 13:15:01 -08:00
Apple
871812ef92
fix: Add httpx to city-service requirements
2025-11-26 12:36:06 -08:00
Apple
984f67c26e
feat: Implement Matrix Rooms Bridge
...
- MATRIX_ROOMS_BRIDGE_SPEC.md documentation
- Migration 012: Add matrix_room_id/alias to city_rooms
- Matrix Gateway service (port 7025)
- City-service: auto-create Matrix rooms on room creation
- Backfill endpoint for existing rooms
- API returns matrix_room_id/alias in room responses
2025-11-26 12:33:54 -08:00