feat(soul): add safety module, expand connectors API, memory-recall bug notes

- safety.el/.elh: new safety module
- neuron-api.el, routes.el, soul.el, chat.el: connectors API expansion
- regenerated dist/ C artifacts
- MEMORY_RECALL_BUG.md: investigation notes

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tim Lingo
2026-06-15 11:10:33 -05:00
parent 6c57d4fe1b
commit 3bb17a5296
22 changed files with 1013 additions and 109 deletions
+21
View File
@@ -393,6 +393,9 @@ el_val_t handle_request(el_val_t method, el_val_t path, el_val_t body) {
if (str_eq(clean, EL_STR("/api/neuron/ctx"))) {
return handle_api_compile_ctx(EL_STR(""));
}
if (str_eq(clean, EL_STR("/api/safety-contact"))) {
return handle_safety_contact_get();
}
if (str_starts_with(clean, EL_STR("/api/neuron/knowledge/search"))) {
return handle_api_search_knowledge(method, path, body);
}
@@ -532,6 +535,24 @@ el_val_t handle_request(el_val_t method, el_val_t path, el_val_t body) {
if (str_eq(clean, EL_STR("/api/neuron/memory"))) {
return handle_api_remember(body);
}
if (str_eq(clean, EL_STR("/api/safety-contact"))) {
return handle_safety_contact_post(body);
}
if (str_eq(clean, EL_STR("/api/neuron/node/create"))) {
return handle_api_node_create(body);
}
if (str_eq(clean, EL_STR("/api/neuron/node/update"))) {
return handle_api_node_update(body);
}
if (str_eq(clean, EL_STR("/api/neuron/memory/update"))) {
return handle_api_node_update(body);
}
if (str_eq(clean, EL_STR("/api/neuron/node/delete"))) {
return handle_api_node_delete(body);
}
if (str_eq(clean, EL_STR("/api/neuron/memory/delete"))) {
return handle_api_node_delete(body);
}
if (str_eq(clean, EL_STR("/api/neuron/recall"))) {
return handle_api_recall(method, path, body);
}