From 991631aec4754bbd1439b5f44755a75a2eb1fb22 Mon Sep 17 00:00:00 2001 From: Jason Hoku Date: Thu, 7 May 2026 09:59:48 -0700 Subject: [PATCH] docs: update conf-builder-readme to reflect /configbuilder/preview endpoint convertStateToConfigs() was deleted in the previous commit; the JS preview now POSTs to the new endpoint and Python is the sole transformer. Co-Authored-By: Claude Opus 4.7 (1M context) --- web/conf_builder/conf-builder-readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/conf_builder/conf-builder-readme.md b/web/conf_builder/conf-builder-readme.md index 7f34e09..8c1991c 100644 --- a/web/conf_builder/conf-builder-readme.md +++ b/web/conf_builder/conf-builder-readme.md @@ -42,8 +42,8 @@ The refactoring splits the original monolithic `config_builder.js` into four mod * **Config Conversion**: -* `convertStateToConfigs(state)`: Transforms the internal UI state into the final JSON format required for generation. -* `convertConfigsToConfigArrays(configs)`: The inverse; parses a loaded JSON file back into the internal state format for the UI. +* The state→configs_json transformation has moved to Python (`UltimateConfigBuilder.state_to_configs_json` in `config_builder_node.py`). The Builder UI's preview panel POSTs the state to `/configbuilder/preview` and renders the response. There is no JS-side equivalent of the old `convertStateToConfigs()` — see `docs/superpowers/specs/2026-04-28-builder-ui-sync-elimination-design.md`. +* `convertConfigsToConfigArrays(configs)`: Parses a loaded JSON file back into the internal state format for the UI (used by the "Load Session" path).