Files
microdao-daarion/db/sql/038_node_guardian_seed.sql
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

24 lines
652 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- Оновлення типів агентів для Node Guardian та Node Steward
-- NODE 1
UPDATE agents
SET kind = 'node_guardian'
WHERE id = 'monitor-node1';
UPDATE agents
SET kind = 'node_steward'
WHERE id = 'node-steward-node1';
-- NODE 2
UPDATE agents
SET kind = 'node_guardian'
WHERE id = 'monitor-node2';
UPDATE agents
SET kind = 'node_steward'
WHERE id = 'node-steward-node2';
-- Додати теги (опціонально, якщо колонка tags існує і це масив текстів)
-- UPDATE agents SET tags = array_append(tags, 'role:guardian') WHERE id = 'monitor-node1' AND NOT ('role:guardian' = ANY(tags));