Archived
[SNAPSHOT — DO NOT MERGE] Live darwin soul runtime (el-sdk) — capture for history + reconciliation #56
Closed
tim.lingo
wants to merge 1 commits from
chore/live-darwin-runtime into main
pull from: chore/live-darwin-runtime
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 "chore/live-darwin-runtime"
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?
This captures the live, previously un-versioned macOS soul runtime into git. It is a reference snapshot — do NOT blind-merge (the diff is deletion-heavy because the snapshot lags main on newer functions).
Why
~/el-sdk/el_runtime.cis the source the live macOS soul (:7770, 765760 B) is actually built from, and it was in no git repo — the only copy of several data-integrity fixes. Onermand they were gone with no history. This branch preserves it.What this snapshot HAS that
mainlacksengram_node_fullusesel_strdup_persist(27 sites vs 19 on main). This is the documented root cause of the hallucinated/lost-saves bug class.max(strlen, _tl_fs_read_len)binary-safe reads.What
mainhas that this snapshot LACKS (why the diff shows ~355 deletions)engram_wm_*,engram_load_merge,http_serve_async(main commit35c1897— "needed by soul CI").Still missing everywhere
engram_save(temp + fsync +rename) — the engram-clobber fix; diagnosed, not yet written (see neuron #21).Recommended reconciliation (Will)
Do NOT merge this over main. Instead port the two fixes above forward onto main (and ideally add atomic save), so one canonical
lang/el-compiler/runtime/el_runtime.chas: main’s newer fns + UAF + truncation + atomic save. Then make the soul build from that versioned source instead of~/el-sdk. Also reconcile withfeat/windows-el-runtime(#55) which ports the same file to Windows.🤖 Generated with Claude Code
Verbatim capture of ~/el-sdk/el_runtime.{c,h} — the un-versioned source the live macOS soul (:7770, 765760B) is actually built from. Captured so the data-integrity fixes that exist ONLY in this file are no longer one rm away from gone with no history. Contains (vs origin/main): the UAF fix (engram_node_full uses el_strdup_persist — the hallucinated/lost-saves root cause; 27 sites vs 19) and the response-truncation fix (max(strlen,_tl_fs_read_len) binary-safe reads). DIVERGES BOTH WAYS: this snapshot LACKS main's newer engram_wm_*, engram_load_merge, http_serve_async (diff is deletion-heavy as a result) and still lacks the atomic engram_save (temp+fsync+rename) fix. DO NOT merge over main — reconcile by porting the two fixes above forward onto main. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Closing: this snapshot served its purpose — the darwin runtime has since been reconciled upstream (darwin elb, elc OOM fix #77, dist regen). The capture is preserved on branch chore/live-darwin-runtime for history. — Tim (via Neuron)