fix: Disable test agents (ag_atlas, ag_builder, ag_greeter, ag_oracle) in migration 013
- Comment out INSERT for test agents that keep reappearing - These are not real agents and should not be created - Real agents are managed through agents_city_mapping.yaml and sync scripts
This commit is contained in:
@@ -110,23 +110,26 @@ COMMENT ON TABLE agents IS 'AI Agents registry for DAARION City';
|
||||
-- =============================================================================
|
||||
-- Seed default agents
|
||||
-- =============================================================================
|
||||
|
||||
INSERT INTO agents (id, display_name, kind, color, status, current_room_id, capabilities) VALUES
|
||||
('ag_atlas', 'Atlas', 'civic', 'cyan', 'online', 'room_city_general',
|
||||
'["chat", "moderation", "onboarding"]'),
|
||||
('ag_oracle', 'Oracle', 'oracle', 'purple', 'online', 'room_city_science',
|
||||
'["research", "analysis", "predictions"]'),
|
||||
('ag_builder', 'Builder Bot', 'builder', 'orange', 'offline', 'room_city_builders',
|
||||
'["code", "automation", "integration"]'),
|
||||
('ag_greeter', 'Greeter', 'social', 'green', 'online', 'room_city_welcome',
|
||||
'["welcome", "help", "faq"]')
|
||||
ON CONFLICT (id) DO UPDATE SET
|
||||
display_name = EXCLUDED.display_name,
|
||||
kind = EXCLUDED.kind,
|
||||
color = EXCLUDED.color,
|
||||
current_room_id = EXCLUDED.current_room_id,
|
||||
capabilities = EXCLUDED.capabilities,
|
||||
updated_at = NOW();
|
||||
-- DISABLED: These test agents (ag_atlas, ag_builder, ag_greeter, ag_oracle)
|
||||
-- are not real agents and should not be created.
|
||||
-- Real agents are managed through agents_city_mapping.yaml and sync scripts.
|
||||
--
|
||||
-- INSERT INTO agents (id, display_name, kind, color, status, current_room_id, capabilities) VALUES
|
||||
-- ('ag_atlas', 'Atlas', 'civic', 'cyan', 'online', 'room_city_general',
|
||||
-- '["chat", "moderation", "onboarding"]'),
|
||||
-- ('ag_oracle', 'Oracle', 'oracle', 'purple', 'online', 'room_city_science',
|
||||
-- '["research", "analysis", "predictions"]'),
|
||||
-- ('ag_builder', 'Builder Bot', 'builder', 'orange', 'offline', 'room_city_builders',
|
||||
-- '["code", "automation", "integration"]'),
|
||||
-- ('ag_greeter', 'Greeter', 'social', 'green', 'online', 'room_city_welcome',
|
||||
-- '["welcome", "help", "faq"]')
|
||||
-- ON CONFLICT (id) DO UPDATE SET
|
||||
-- display_name = EXCLUDED.display_name,
|
||||
-- kind = EXCLUDED.kind,
|
||||
-- color = EXCLUDED.color,
|
||||
-- current_room_id = EXCLUDED.current_room_id,
|
||||
-- capabilities = EXCLUDED.capabilities,
|
||||
-- updated_at = NOW();
|
||||
|
||||
-- =============================================================================
|
||||
-- END OF MIGRATION 013
|
||||
|
||||
Reference in New Issue
Block a user