feat(runtime): add WM APIs and http_serve_async to el_runtime #54

Open
will.anderson wants to merge 1 commits from feat/wm-api-and-http-serve-async into main
Owner

Add missing API declarations and implementations needed by the Neuron soul:

  • engram_wm_count() — count nodes with working_memory_weight > 0
  • engram_wm_avg_weight() — average wm weight across promoted nodes
  • engram_wm_top_json(n) — top-N WM nodes as JSON (excludes InternalStateEvent noise)
  • engram_load_merge(path) — load snapshot without resetting the store (dedup by id / from+to+relation)
  • http_serve_async(port, handler) — non-blocking HTTP server (returns immediately)

All implementations sourced from v1.0.0-20260501 release.

Add missing API declarations and implementations needed by the Neuron soul: - engram_wm_count() — count nodes with working_memory_weight > 0 - engram_wm_avg_weight() — average wm weight across promoted nodes - engram_wm_top_json(n) — top-N WM nodes as JSON (excludes InternalStateEvent noise) - engram_load_merge(path) — load snapshot without resetting the store (dedup by id / from+to+relation) - http_serve_async(port, handler) — non-blocking HTTP server (returns immediately) All implementations sourced from v1.0.0-20260501 release.
will.anderson added 1 commit 2026-06-11 18:28:49 +00:00
feat(runtime): add WM APIs and http_serve_async to el_runtime
El SDK Release / build-and-release (pull_request) Failing after 15s
a89080e3d4
Some checks are pending
El SDK Release / build-and-release (pull_request) Failing after 15s
branch-policy
Required
Some required checks are missing.
You are not authorized to merge this pull request.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/wm-api-and-http-serve-async:feat/wm-api-and-http-serve-async
git checkout feat/wm-api-and-http-serve-async
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/el#54