Teknium
|
7c113cd426
|
refactor(web_server): simplify config/dashboard/memory helper modules
- web_server_config: _apply_model_assignment_sync (224 LOC) split into
main/aux phase helpers (_resolve_assignment_credentials,
_apply_nous_gateway_defaults, _register_custom_endpoint, _stale_aux_pins,
_cron_model_impact); _infer_type -> table; schema option lookups unified
via _schema_select_options; docstrings compacted (every WHY kept).
- web_server_dashboard: mount_spa asset-rewrite loops, shared no-store/
headless constants; theme normaliser uses _dict_field/_nonempty_str/
_css_ident predicates; plugin discovery split into search-dirs + entry
builder; hub auth hint extracted; API-mount gate -> _plugin_api_mount_skip_reason.
- web_server_memory: status ladder -> _memory_provider_status, kind
inference -> _schema_field_kind, small defensive-layer collapses.
Golden corpus (48 fixtures, old vs new) identical; route table identical.
|
2026-09-02 21:11:37 -07:00 |
|