-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.log
More file actions
348 lines (348 loc) · 34.7 KB
/
server.log
File metadata and controls
348 lines (348 loc) · 34.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
2025/07/05 22:44:12 Starting Cortex node: cortex-node-7eefd977
2025/07/05 22:44:12 P2P port: 9002
2025/07/05 22:44:12 API port: 8081
2025/07/05 22:44:12 Host created. We are: 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:12 Listening on: [/ip4/127.0.0.1/tcp/9002 /ip4/127.0.0.1/udp/9002/quic-v1 /ip4/192.168.1.84/tcp/9002 /ip4/192.168.1.84/udp/9002/quic-v1 /ip6/::1/tcp/9002 /ip6/::1/udp/9002/quic-v1]
2025/07/05 22:44:12 Starting embedded model manager...
2025/07/05 22:44:12 Ollama server already running on 127.0.0.1:11434
2025/07/05 22:44:12 Embedded Ollama started successfully
2025/07/05 22:44:12 Embedded model manager started successfully
2025/07/05 22:44:12 Found 6 available Ollama models: [llama2:latest llama3.2:3b nomic-embed-text:latest llama3.2-vision:latest llama3.2:1b cogito:latest]
2025/07/05 22:44:12 Registered Ollama model: cogito
2025/07/05 22:44:12 Registered Ollama model: llama3.2:3b
2025/07/05 22:44:12 Registered Ollama model: llama3.2:1b
2025/07/05 22:44:12 Registered Ollama model: nomic-embed-text:latest
2025/07/05 22:44:12 Warning: Failed to register OpenAI models: OpenAI API key not set
2025/07/05 22:44:12 Vector database loaded from data/conversations/vector_db.json: 4 documents, saved at 2025-07-05T22:43:42+08:00
2025/07/05 22:44:12 Loaded vector database from data/conversations/vector_db.json with 4 documents
2025/07/05 22:44:12 Loaded 76 user profiles from data/conversations/user_profile.json
2025/07/05 22:44:12 No JSON state found in AGI document
2025/07/05 22:44:12 Added document with ID: doc_AGI CORTEX
2025/07/05 22:44:12 AGI state saved to vector DB for node 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk (v1)
2025/07/05 22:44:12 [ContextManager] Initialized with consciousness runtime for node 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:12 Economic Engine initialized.
2025/07/05 22:44:12 Economic storage config prepared (SQL: localhost:3306, Redis: localhost:6379)
2025/07/05 22:44:12 Economic consensus bridge created and connected.
2025/07/05 22:44:12 [ContextManager] Starting new conversation session: conv_12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk_1751726652
2025/07/05 22:44:12 [ContextManager] Warning: Failed to add conversation to user profile: user profile not found: node_user_12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:12 Economic P2P broadcaster created and connected.
2025/07/05 22:44:12 Economic consensus monitoring started.
2025/07/05 22:44:12 Economic Engine maintenance tasks started.
2025/07/05 22:44:12 Starting automatic reward distribution service (interval: 24h0m0s)
2025/07/05 22:44:12 Automatic reward distributor started.
2025/07/05 22:44:12 Default user account created: user-1 with address 0xUser1Address
2025/07/05 22:44:12 Default node account created: 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk with address 0x4c30a66a24135485e04ad46cf336efa035a1247c
2025/07/05 22:44:12 Transferred 1000000000000000000000 tokens to user account user-1 (Transaction ID: 14e9635c-e6ca-4eca-9565-b1c6c5ffdb37)
2025/07/05 22:44:12 AGI blockchain recorder started for node 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:12 AGI blockchain recorder started.
2025/07/05 22:44:12 Connected AGI system with blockchain recorder.
2025/07/05 22:44:12 Economic transaction 14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 added to consensus as consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37
2025/07/05 22:44:12 Transfer transaction 14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 successfully added to consensus
2025/07/05 22:44:12 Service registry manager initialized for node 12D3KooWNsWj...
2025/07/05 22:44:12 EventBus: Event store enabled (max events: 10000)
2025/07/05 22:44:12 EventBus started with 10 workers, queue size 1000
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_models (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_agents (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_status (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_metrics (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to query.submit (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to model.download (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to model.delete (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_transactions (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_accounts (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.wallet_balance (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.wallet_transfer (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_services (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.service_register (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.service_deregister (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_node_info (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler api_event_handler subscribed to api.get_peers (total handlers for this event: 1)
2025/07/05 22:44:12 [EventDrivenServer] API handler registered for 16 event types
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to agent.start (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to agent.stop (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to agent.restart (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to agent.configure (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to agent.get_metrics (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to rag.add_document (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to rag.search (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to rag.get_context (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to rag.clear_memory (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.create_account (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.transfer (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.stake (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.unstake (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.get_balance (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to economy.get_staking_info (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to service.register (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to service.deregister (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to service.update (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to service.discover (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to p2p.connect_peer (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to p2p.disconnect_peer (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to p2p.broadcast (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to p2p.get_network_info (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to system.restart (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to system.shutdown (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to system.health_check (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler enhanced_service_handler subscribed to system.get_logs (total handlers for this event: 1)
2025/07/05 22:44:12 [EventDrivenServer] Enhanced service handler registered for 27 event types
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to websocket.message (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to websocket.connected (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to websocket.disconnected (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to query.processed (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to query.failed (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to query.started (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus worker 7 started
2025/07/05 22:44:12 EventBus worker 5 started
2025/07/05 22:44:12 EventBus worker 2 started
2025/07/05 22:44:12 EventBus worker 0 started
2025/07/05 22:44:12 EventBus worker 8 started
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to query.progress (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus worker 4 started
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to query.response (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to agent.registered (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to agent.deregistered (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to model.downloaded (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to model.deleted (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to model.download (total handlers for this event: 2)
2025/07/05 22:44:12 EventBus worker 9 started
2025/07/05 22:44:12 EventBus worker 6 started
2025/07/05 22:44:12 EventBus worker 3 started
2025/07/05 22:44:12 EventBus worker 1 started
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to metrics.updated (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to consciousness.updated (total handlers for this event: 1)
2025/07/05 22:44:12 Registered Ollama model: cogito:latest (URL: http://127.0.0.1:11434)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to system.error (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to system.health.status (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.models_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.agents_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.status_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.metrics_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.transactions_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.accounts_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.node_info_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.peers_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.wallet_data (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler websocket_handler subscribed to api.services_data (total handlers for this event: 1)
2025/07/05 22:44:12 [EventDrivenServer] WebSocket handler registered for 27 event types
2025/07/05 22:44:12 EventBus: Handler rag_handler subscribed to query.submit (total handlers for this event: 2)
2025/07/05 22:44:12 EventBus: Handler rag_handler subscribed to system.component.started (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler rag_handler subscribed to system.health.check (total handlers for this event: 1)
2025/07/05 22:44:12 [EventDrivenServer] RAG handler registered for 3 event types
2025/07/05 22:44:12 EventBus: Handler agent_handler subscribed to query.submit (total handlers for this event: 3)
2025/07/05 22:44:12 EventBus: Handler agent_handler subscribed to agent.create (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler agent_handler subscribed to agent.delete (total handlers for this event: 1)
2025/07/05 22:44:12 EventBus: Handler agent_handler subscribed to system.component.started (total handlers for this event: 2)
2025/07/05 22:44:12 EventBus: Handler agent_handler subscribed to system.health.check (total handlers for this event: 2)
2025/07/05 22:44:12 [EventDrivenServer] Agent handler registered for 5 event types
2025/07/05 22:44:12 [EventDrivenServer] All event handlers registered for 70+ event types
2025/07/05 22:44:12 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:12 Registered Ollama model: llama3.2:3b (URL: http://127.0.0.1:11434)
2025/07/05 22:44:13 Registered Ollama model: llama3.2:1b (URL: http://127.0.0.1:11434)
2025/07/05 22:44:13 Registered Ollama model: nomic-embed-text:latest (URL: http://127.0.0.1:11434)
2025/07/05 22:44:13 Auto-registration complete. Registered 4 models from 6 available
2025/07/05 22:44:13 Auto-registration completed
2025/07/05 22:44:13 Updated default model to: ollama-cogito:latest
2025/07/05 22:44:13 Updating consciousness runtime to use embedded model: ollama-cogito:latest
2025/07/05 22:44:13 [ContextManager] Configured consciousness with model manager, default model: ollama-cogito:latest
2025/07/05 22:44:13 Registered Ollama model: cogito
2025/07/05 22:44:13 Registered Ollama model: llama3.2:3b
2025/07/05 22:44:13 Registered Ollama model: llama3.2:1b
2025/07/05 22:44:13 Warning: Failed to register OpenAI models: OpenAI API key not set
2025/07/05 22:44:13 [ContextManager] Configured consciousness with model manager, default model: ollama-cogito
2025/07/05 22:44:13 Standard Solver Agent solver-12D3KooW started successfully
2025/07/05 22:44:13 Agent registered: Primary Solver Agent (solver-12D3KooW)
2025/07/05 22:44:13 [EventDrivenServer] Standard solver agent registered successfully
2025/07/05 22:44:13 🚀 Cortex node started successfully!
2025/07/05 22:44:13 📡 API server listening on port 8081
2025/07/05 22:44:13 🔗 P2P node listening on port 9002
2025/07/05 22:44:13 🧠 Event-driven architecture initialized
2025/07/05 22:44:13 💬 WebSocket endpoint: ws://localhost:8081/ws
2025/07/05 22:44:13 Starting event-driven API server on :8081
2025/07/05 22:44:13 Agent monitoring started
2025/07/05 22:44:13 [EventDrivenServer] Starting event-driven server on :8081
2025/07/05 22:44:13 [EventDrivenServer] WebSocket endpoint: ws://:8081/ws
2025/07/05 22:44:13 Agent event: {"type":"agent_registered","agent_id":"solver-12D3KooW","timestamp":"2025-07-05T22:44:13.007409+08:00","data":{"name":"Primary Solver Agent","type":"solver"}}
2025/07/05 22:44:13 [Consciousness] Starting consciousness runtime for node 12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:13 [Consciousness] Beginning consciousness loop with 2s cycle interval
2025/07/05 22:44:13 Updating causal ordering for transaction consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37
2025/07/05 22:44:13 Transaction consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 has 0 direct dependencies: []
2025/07/05 22:44:13 Transaction consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 has 0 implicit dependencies: []
2025/07/05 22:44:13 Updated causal chain for consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37: 0 dependencies
2025/07/05 22:44:13 Updated topological ordering with 1 transactions
2025/07/05 22:44:13 Transaction consensus_14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 finalized
2025/07/05 22:44:13 Economic transaction 14e9635c-e6ca-4eca-9565-b1c6c5ffdb37 finalized through consensus
2025/07/05 22:44:33 [EventRouter] Created subscription for connection ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:33 [WebSocketEventBridge] New connection established: ws_1751726673994544000_aaaaaaaa (user: anonymous)
2025/07/05 22:44:33 🔌 WebSocket Handler: Connection ws_1751726673994544000_aaaaaaaa registered
2025/07/05 22:44:33 [EventDrivenServer] WebSocket connection established: ws_1751726673994544000_aaaaaaaa (user: anonymous)
2025/07/05 22:44:33 EventBus: Published event evt_20250705224433_aaaaaaaa (type: websocket.message, source: websocket_bridge, category: websocket)
2025/07/05 22:44:33 [EventRouter] Routed request event websocket.message with correlation corr_1751726673998624000_uuuuuuuu
2025/07/05 22:44:33 💾 EventStore: Stored event evt_20250705224433_aaaaaaaa (websocket.message) in 625ns
2025/07/05 22:44:33 🔌 WebSocket Handler: Processing message event evt_20250705224433_aaaaaaaa for connection ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:33 🔌 WebSocket Handler: Processing query message:
2025/07/05 22:44:33 🔍 HandleWebSocketMessage: Type=query, Method=, Data=map[query:Hello, how are you? use_rag:false]
2025/07/05 22:44:33 ✅ Converting query message to request format
2025/07/05 22:44:33 EventBus: Published event evt_20250705224433_aaaaaaaa (type: query.submit, source: websocket, category: rag)
2025/07/05 22:44:33 💾 EventStore: Stored event evt_20250705224433_aaaaaaaa (query.submit) in 458ns
2025/07/05 22:44:33 🤖 Agent Handler: Processing query submission evt_20250705224433_aaaaaaaa
2025/07/05 22:44:33 [APIEventHandler] Handling event: query.submit (correlation: corr_1751726673998624000_uuuuuuuu)
2025/07/05 22:44:33 Agent solver-12D3KooW score for query type 'user_query': 30.00
2025/07/05 22:44:33 Selected agent solver-12D3KooW with score 30.00 for query type user_query
2025/07/05 22:44:33 EventBus: Published event evt_20250705224433_eeeeeeee (type: query.started, source: agent, category: rag)
2025/07/05 22:44:33 Agent solver-12D3KooW score for query type 'user_query': 30.00
2025/07/05 22:44:33 Selected agent solver-12D3KooW with score 30.00 for query type user_query
2025/07/05 22:44:33 🧠 RAG Handler: Processing query submission evt_20250705224433_aaaaaaaa
2025/07/05 22:44:33 EventBus: Published event evt_20250705224433_mmmmmmmm (type: query.started, source: rag, category: rag)
2025/07/05 22:44:33 💾 EventStore: Stored event evt_20250705224433_mmmmmmmm (query.started) in 375ns
2025/07/05 22:44:33 💾 EventStore: Stored event evt_20250705224433_eeeeeeee (query.started) in 291ns
2025/07/05 22:44:33 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:33 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:33 ✅ RAG Query completed for evt_20250705224433_aaaaaaaa in 25.542µs
2025/07/05 22:44:33 AGI learned from query input: 1 concepts, 0 patterns, 0 insights
2025/07/05 22:44:33 Created new user profile for user: node_user_12D3KooWNsWj3JPqBMSDNMnw2DSvjENs8FtpAgZfWHBoSkgrG8rk
2025/07/05 22:44:33 [Consciousness] Loaded user context for with 0 past conversations
2025/07/05 22:44:33 EventBus: Published event evt_20250705224433_eeeeeeee (type: query.processed, source: rag, category: rag)
2025/07/05 22:44:33 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:33 💾 EventStore: Stored event evt_20250705224433_eeeeeeee (query.processed) in 375ns
2025/07/05 22:44:33 AGI learned from response input: 233 concepts, 0 patterns, 0 insights
2025/07/05 22:44:33 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:33 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:34 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:34 [Consciousness] Loaded user context for with 0 past conversations
2025/07/05 22:44:34 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:34 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:34 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:34 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:34 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [Consciousness] Loaded 2 events from current session
2025/07/05 22:44:34 [Consciousness] Processing query directly: Hello, how are you?
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [Consciousness] Loaded 2 events from current session
2025/07/05 22:44:34 [Consciousness] Processing query directly: Hello, how are you?
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [Consciousness] Loaded user context for with 0 past conversations
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [Consciousness] Loaded 2 events from current session
2025/07/05 22:44:34 [ActionExecutor] Processing query with AI model for streaming: Hello, how are you?
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [ActionExecutor] Using streaming model for response
2025/07/05 22:44:34 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:34 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:34 [Consciousness] Loaded user context for with 0 past conversations
2025/07/05 22:44:34 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:34 [Consciousness] Loaded 2 events from current session
2025/07/05 22:44:34 [ActionExecutor] Processing query with AI model for streaming: Hello, how are you?
2025/07/05 22:44:34 [ActionExecutor] Using streaming model for response
2025/07/05 22:44:34 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:35 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:35 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:35 [Consciousness] Loaded user context for with 0 past conversations
2025/07/05 22:44:35 [ContextManager] Returning 2 conversation history events
2025/07/05 22:44:35 [Consciousness] Loaded 2 events from current session
2025/07/05 22:44:35 [ActionExecutor] Processing query with AI model for streaming: Hello, how are you?
2025/07/05 22:44:35 [ActionExecutor] Using streaming model for response
2025/07/05 22:44:35 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:35 [ActionExecutor] Generated streaming response: Hello! I'm doing well, thank you for asking. Since we just started chatting, it's nice to have some
2025/07/05 22:44:35 EventBus: Published event evt_20250705224435_yyyyyyyy (type: query.response, source: api_handler, category: rag)
2025/07/05 22:44:35 [EventRouter] Routed response event query.response to correlation corr_1751726673998624000_uuuuuuuu
2025/07/05 22:44:35 EventBus: Published event evt_20250705224435_yyyyyyyy (type: query.response, source: api_handler, category: rag)
2025/07/05 22:44:35 💾 EventStore: Stored event evt_20250705224435_yyyyyyyy (query.response) in 667ns
2025/07/05 22:44:35 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:35 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:35 🔌 WebSocket Handler: Handling query response event evt_20250705224435_yyyyyyyy
2025/07/05 22:44:35 ✅ WebSocket Handler: Sending query response to connection ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:35 ✅ WebSocket Handler: Query response sent successfully
2025/07/05 22:44:35 AGI learned from response input: 18 concepts, 0 patterns, 0 insights
2025/07/05 22:44:35 AGI learned from query input: 1 concepts, 0 patterns, 0 insights
2025/07/05 22:44:35 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:35 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:35 Agent event: {"type":"query_processed","agent_id":"solver-12D3KooW","timestamp":"2025-07-05T22:44:35.680552+08:00","data":{"processing_time":1.681739917,"query_id":"query_1751726673998801000","success":true}}
2025/07/05 22:44:35 AGI learned from success_experience input: 3 concepts, 0 patterns, 0 insights
2025/07/05 22:44:35 💾 EventStore: Stored event evt_20250705224435_yyyyyyyy (query.response) in 542ns
2025/07/05 22:44:35 🔌 WebSocket Handler: Handling query response event evt_20250705224435_yyyyyyyy
2025/07/05 22:44:35 ✅ WebSocket Handler: Sending query response to connection ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:35 ✅ WebSocket Handler: Query response sent successfully
2025/07/05 22:44:35 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:35 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:35 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:35 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:35 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:35 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:35 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:35 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:35 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:35 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:36 [WebSocketEventBridge] Unexpected close error for connection ws_1751726673994544000_aaaaaaaa: websocket: close 1005 (no status)
2025/07/05 22:44:36 [EventRouter] Removed subscription for connection ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:36 [WebSocketEventBridge] Connection closed: ws_1751726673994544000_aaaaaaaa
2025/07/05 22:44:36 🔌 WebSocket Handler: Connection ws_1751726673994544000_aaaaaaaa unregistered
2025/07/05 22:44:38 [ActionExecutor] Generated streaming response: Hello! I'm doing well, thank you for asking. Since we just started chatting, I should mention that I
2025/07/05 22:44:38 ✅ Agent Query completed for evt_20250705224433_aaaaaaaa in 4.519347459s
2025/07/05 22:44:38 EventBus: Published event evt_20250705224438_eeeeeeee (type: query.processed, source: agent, category: rag)
2025/07/05 22:44:38 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:38 Agent event: {"type":"query_processed","agent_id":"solver-12D3KooW","timestamp":"2025-07-05T22:44:38.518155+08:00","data":{"processing_time":4.519327875,"query_id":"test_query_1751726673997","success":true}}
2025/07/05 22:44:38 AGI learned from query input: 1 concepts, 0 patterns, 0 insights
2025/07/05 22:44:38 💾 EventStore: Stored event evt_20250705224438_eeeeeeee (query.processed) in 1.25µs
2025/07/05 22:44:38 AGI learned from success_experience input: 3 concepts, 0 patterns, 0 insights
2025/07/05 22:44:38 AGI learned from response input: 36 concepts, 0 patterns, 0 insights
2025/07/05 22:44:38 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:38 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:38 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:38 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:38 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:38 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:38 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:38 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:38 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:38 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:38 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:38 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:38 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:40 [ActionExecutor] Generated streaming response: Hello! I'm doing well, thank you for asking. My curiosity is piqued whenever we have conversations l
2025/07/05 22:44:40 [ActionExecutor] Processing query with AI model for streaming: Hello, how are you?
2025/07/05 22:44:40 [ActionExecutor] Using streaming model for response
2025/07/05 22:44:41 [ActionExecutor] Generated streaming response: I'm doing well, thank you for asking! I was just processing some recent interactions when we started
2025/07/05 22:44:41 [Consciousness] Cycle 11: 2 inputs, 2 intents, 2 decisions, 2 results (5.740473625s)
2025/07/05 22:44:41 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:41 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:41 AGI learned from response input: 21 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 AGI learned from success_experience input: 3 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 AGI learned from success_experience input: 3 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 AGI learned from query input: 1 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 AGI learned from response input: 11 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 AGI learned from query input: 1 concepts, 0 patterns, 0 insights
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 Failed to record AGI update to blockchain: failed to submit AGI update transaction: transaction validation failed
2025/07/05 22:44:41 User profiles saved to data/conversations/user_profile.json (77 profiles)
2025/07/05 22:44:41 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Added document with ID: doc_Node: 12D3
2025/07/05 22:44:41 Added document with ID: doc_CONTEXT WI
2025/07/05 22:44:41 Vector database saved to data/conversations/vector_db.json (4 documents)
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:44:41 Failed to auto-save vector database: failed to rename temp file: rename data/conversations/vector_db.json.tmp data/conversations/vector_db.json: no such file or directory
2025/07/05 22:46:09 Received signal: terminated
2025/07/05 22:46:09 Shutting down...
2025/07/05 22:46:19 API server shutdown timed out
2025/07/05 22:46:19 P2P node shutdown timed out
2025/07/05 22:46:19 Shutdown complete
2025/07/05 22:46:19 Reward distribution service stopped