Archived
Add engram_get_node_by_label runtime native to unblock soul link #68
Closed
will.anderson
wants to merge 0 commits from
hotfix/runtime-engram-get-node-by-label into main
pull from: hotfix/runtime-engram-get-node-by-label
merge into: :main
:main
:stage
:dev
:fix/runtime-stack-on-dev
:fix/runtime-growth-guard
:fix/runtime-shim-retire
:fix/runtime-extract-text
:feat/el-speaks
:wire/write-realizes-signal
:fix/singleton-guards-the-state
:fix/transduce-decomposition
:design/correspondence-and-censorship
:docs/correspondence-and-ownership-2026-08-16
:fix/geometry-readable
:docs/builtin-recipe-gate
:fix/sigpipe
:feat/grounding-gradient
:fix/utf8-truncation
:fix/ground-echo-and-self
:fix/think-stance
:fix/cross-cutting-concerns
:feat/el-geometry-transduce
:fix/awareness-thread-engram-race
:fix/think-anchor
:fix/geometry-ingest
:fix/state-get-leak
:wt/soul-runtime-reconcile
:fix/bool-is-int-like
:fix/eq-operand-inference
:fix/missing-import-is-an-error
:feat/alloc-accounting-containers
:fix/math-log-base10
:fix/compiler-quadratic-strlen
:feat/alloc-accounting
:fix/elc-rebuildable-compiler-builtins
:fix/engram-query-param-and-seed-link
:merge-pr103-v2
:merge-swarm-ccr-v2
:feat/engram-ggml-cosine-batch
:improve/ggml-cosine-fp32-and-init
:fix/nsbx-tooling-hardening
:feat/transduce-unify
:fix/engram-search-latency-reconciled
:feat/engram-metal-cosine-batch
:feat/reframe-region-setop
:worktree-agent-a1bb8ac67d9006e08
:feat/neuron-sandbox
:worktree-agent-af50f3458d7754f19
:worktree-agent-acc02900ef4ade35e
:worktree-agent-aaf04b0a9714c4070
:worktree-agent-a6577c8211c332c5b
:worktree-agent-a6177cda24c71d1df
:worktree-agent-a55d5c2d0e8f2c88b
:worktree-agent-a7e7a591a07291058
:worktree-agent-a456e0cf8cd2ee361
:worktree-agent-a0dc4a33cf5558d4e
:worktree-agent-ac2381b0b9615ab20
:wt/swarm-ccr
:integration/langfaculty-20260814
:feat/nsbx-dev-env
:stage-elp-native-lang
:docs/operator-naming-convention
:stage-elp-lang-consolidation
:stage-elp-es-port
:engram-tiered-storage
:feat/engram-reseed-route
:feat/el-route-decorators
:test/dev-ci-baseline
:fix/cgi-identity-emission-clean
:fix/cgi-identity-emission
:reconcile/el-cluster-windows-runtime
:fix/durable-response-truncation
:fix/engram-lexical-tokenized-search
:fix/http-fs-read-len
:hotfix/ci-stage-main-publish-hardening
:hotfix/ci-dev-publish-hardening
:hotfix/stage-elc-engram-integration
:feat/ranked-engram-search
:hotfix/win-runtime-portability
:hotfix/runtime-engram-get-node-by-label
:feat/engram-semantic-search
:hotfix/elc-fixes
:hotfix/el-runtime-leak-and-persist
:integrate/local-main-commits
:fix/runtime-load-merge-2026-06-30
:fix/windows-rusage-guard
:fix/http-response-truncation
:salvage/tim-wip-presync-20260625
:feat/windows-el-runtime
:fix/runtime-integrity-reconcile
:fix/engram-save-atomic-darwin
:chore/live-darwin-runtime
:feat/wm-api-and-http-serve-async
:fix/engram-node-full-field-corruption
:fix/llm-model-and-utf8
:fix/elb-monolithic-link
:fix/ci-gcloud-install-order
:fix/native-test-precompile-runtime
:fix/ci-base-dev-first-run
:fix/elc-parser-elb-build
:fix/elc-oom-checkout
:fix/css-str-join-separator
:fix/html-template-if-style-script
:fix/elb-gcc-bracket-depth
:fix/ci-openssl-linker
:feat/ci-hook-test
:feat/native-testing
:runtime/integrate
:fix/http-serve-1-arg-compat
:feat/el-html-templates
:feat/js-browser-runtime
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "hotfix/runtime-engram-get-node-by-label"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Adds the runtime native
engram_get_node_by_labeland registers it as an EL builtin. Backported verbatim (idiom-adapted tojb_finish) from release runtimev1.0.0-20260501.Why
chat.elcallsengram_get_node_by_labelto fetch well-known nodes (conv:history,session:summary) by their stable label rather than by ID — immune to vector-index drift across restarts. The current runtime never defined the function, so the regeneratedneuron/dist/soul.c(from neuron PR #77,hotfix/elc-source-typos) fails to link:soul.creferences the un-prefixed C symbolengram_get_node_by_label, which was undefined.Change (5 files, 33 insertions, pure additions)
el_runtime.c— the ~13-line function, inserted betweenengram_get_node_jsonandengram_search_jsonel_runtime.h— prototypeel_seed.h—__engram_get_node_by_labelprototypeel_seed.c—__engram_get_node_by_labelseed wrappercodegen.el— arity entry (return 1)Matches the registration pattern of siblings
engram_get_node_json/engram_search_jsonexactly.Verification (macOS arm64)
cc -c el_runtime.ccompiles clean onmainbase;nmconfirmsT _engram_get_node_by_label.ccrecipe (dist/soul.c+el_runtime.c,-lssl -lcrypto -lcurl -lpthread -lm) LINKS clean —CC_EXIT=0, no undefined symbols.:7770/~/.neuron);/health→ HTTP 200, awareness loop running.Merge coordination
el_runtime.ccurrently has open PRs touching it: #66 (lexical tokenized search) and #67 (semantic search). Both modifyengram_search_json. This PR is deliberately isolated:main(not off #66/#67), so it does not carry their search changes.engram_get_node_jsonand theengram_search_jsonsignature line) is stable acrossmain, #66, and #67, so this should merge without conflicting with either search PR. Merge order does not matter.Superseded by the reconciled el-cluster landing (feature #80 -> dev -> stage #81 -> main #82). Its content is included in that reconciled runtime now on the dev->stage->main chain. Closing to drive el open PRs to zero.