giles
3df8c41ca1
Split make_server_env, eliminate all runtime sx_ref imports, fix auth-menu tests
make_server_env split into 7 focused setup functions:
- setup_browser_stubs (22 DOM no-ops)
- setup_scope_env (18 scope primitives from sx_scope.ml)
- setup_evaluator_bridge (CEK eval-expr, trampoline, expand-macro, etc.)
- setup_introspection (type predicates, component/lambda accessors)
- setup_type_operations (string/env/dict/equality/parser helpers)
- setup_html_tags (~100 HTML tag functions)
- setup_io_env (query, action, helper IO bridge)
Eliminate ALL runtime sx_ref.py imports:
- sx/sxc/pages/helpers.py: 24 imports → _ocaml_helpers.py bridge
- sx/sxc/pages/sx_router.py: remove SX_USE_REF fallback
- shared/sx/query_registry.py: use register_components instead of eval
Unify JIT compilation: pre-compile list derived from allowlist
(no manual duplication), only compiler internals pre-compiled.
Fix test_components auth-menu: ~auth-menu → ~shared:fragments/auth-menu
Tests: 1114 OCaml, 29/29 components, 35/35 regression, 6/6 Playwright
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 17:23:09 +00:00
..
2026-03-01 11:06:57 +00:00
2026-03-22 22:21:04 +00:00
2026-03-22 22:21:04 +00:00
2026-03-07 18:01:33 +00:00
2026-03-13 12:03:58 +00:00
2026-03-15 18:05:00 +00:00
2026-03-11 11:15:48 +00:00
2026-03-24 17:23:09 +00:00
2026-03-06 00:58:50 +00:00
2026-03-13 04:37:45 +00:00
2026-03-03 00:22:18 +00:00
2026-03-03 00:22:18 +00:00
2026-03-02 19:57:27 +00:00
2026-03-12 22:00:12 +00:00
2026-03-12 22:00:12 +00:00
2026-03-12 22:00:12 +00:00
2026-03-08 00:08:25 +00:00
2026-03-12 22:00:12 +00:00
2026-03-15 23:28:48 +00:00
2026-03-19 16:53:01 +00:00
2026-03-22 22:21:04 +00:00
2026-03-11 11:15:48 +00:00
2026-03-13 04:37:45 +00:00
2026-03-01 11:06:57 +00:00
2026-03-08 20:21:40 +00:00
2026-03-24 16:14:40 +00:00
2026-03-11 04:53:34 +00:00
2026-03-01 11:06:57 +00:00
2026-03-12 22:00:12 +00:00
2026-03-06 01:11:31 +00:00
2026-03-04 11:55:21 +00:00
2026-03-12 22:00:12 +00:00
2026-03-07 22:07:59 +00:00
2026-03-11 11:15:48 +00:00
2026-03-19 20:47:40 +00:00