git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commitb07ff29a5abf14676517fd54250b598c0fcec71a
parente355970e4f
authorLucas Galante <[email protected]>
date2026-07-12 14:45
docs(rfc): record 6bb part 3 — no owned type-erased widget storage remains

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018u7qTwzX95dd5ysAkaSCLk

 docs/rfc-core-rebuild.md | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/docs/rfc-core-rebuild.md b/docs/rfc-core-rebuild.md
index be96bfd..5903d62 100644
--- a/docs/rfc-core-rebuild.md
+++ b/docs/rfc-core-rebuild.md
@@ -1743,10 +1743,16 @@ Constraint respected: **each crate still builds standalone** — the new core is
     an identical interaction sequence; Ramp child at noise level;
     non-Ramp child arms hit the pre-existing unconditional
     Ramp-downcast panic identically on both builds.
-  - Remaining retype order: (1) the containers' heterogeneous child
-    Vecs (`Vec<*mut dyn Element>` in menu/paginator/treelist in-tree,
-    ControlPanel/JsonLayout app-side), (2) the cce-ui machinery core
-    (context.rs/window_runner), and `Element` + `Adapted` die last.
+    Cloud's `JsonControl` closed the owned-storage class (part 3): the
+    JSON-config controls become a typed enum over `Adapted<T>` replacing
+    `JsonWidget`'s `Box<dyn Element>`; the label walk dropped its
+    `as_ptr` round-trip unsafe for a plain reborrow. **No owned
+    type-erased widget storage remains anywhere in the workspace.**
+  - Remaining retype order: (1) the containers' borrowed child ptr Vecs
+    (`Vec<*mut dyn Element>` — pointers into app-owned concrete
+    storage; likely retyped together with (2) the cce-ui machinery core
+    (context.rs registry/focus/propagate, window_runner render
+    plumbing), and `Element` + `Adapted` die last.
 
 Order rationale: each phase is independently valuable and reversible, and no phase requires the
 next to compile. Phase 0 can land immediately regardless of the rest.