Repository navigation
chore: refresh the checked-in Ruby control surface - #89
Merged
Merged
Conversation
Add the shared control kernel every control will migrate onto: a pure-data ControlSpec, PropReader as the only reader of wire keys, ControlEvents as the only event dispatcher, ControlCore/FocusableCore for client state and focus, and CoreHost as the single owner of a control's invoke listener and layout keywords (re-bound when Ruby replaces the control in place). ToggleLabel, TileToggleCore, CoreSemantics, RawProp and TextOrWidget are the neutral pieces the first migrations share. The control-core contract test checks every migrated control against rules C1-C8 (skin isolation, core purity, spec equals Ruby KEYWORDS, skin consumption, lifecycle, completeness, event and semantics parity, and a report-only legacy ratchet). The manifest starts empty; the runtime rules run against a test-only probe core and the static rules against adversarial fixtures. The JSON snapshot harness and the Ruby control surface copy (with tool/sync_ruby_surface.rb) support the migration PRs.
Regenerate test/contract/ruflet_control_surface.json from ruflet main 43928509 with tools/control_surface.rb (ruflet #59). It now includes the keywords merged since the first copy, among them ListTile chevron (ruflet #38) and TextField text_input_action (ruflet #30), and the controls added since (CarouselView, DraggableScrollableSheet, FittedBox, FormRow, IndexedStack, ListSection, Table, TableRow).
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #81, which adds
test/contract/ruflet_control_surface.json. Until #81 merges, this PR's diff also shows #81's commit; review the last commit.What
Regenerates the engine's checked-in Ruby control surface (
packages/ruflet/test/contract/ruflet_control_surface.json, read by contract rule C3) from rufletmain@ 43928509.The copy in #81 was generated before ruflet #30 (
text_input_actionon TextField) and #38 (chevronon ListTile) merged. That staleness is what QA's audit reported as two "new" findings. Both are merged now (gh pr view: #30 merged 2026-10-29T00:34Z, #38 00:48Z).The diff also adds the wire types merged since then: CarouselView, DraggableScrollableSheet, FittedBox, FormRow, IndexedStack, ListSection, Table and TableRow. Summary: 412 entries (374 visual, 38 services), 213 wire types.
How
ruby tool/sync_ruby_surface.rb --ruby <ruflet main checkout>, then--check(rc 0). The generator istools/control_surface.rbfrom ruflet#59. #59 is approved but not merged yet, so the tool was copied into a throwaway rufletorigin/mainworktree; the file is byte-identical to #59's head a40d1528.Tests
team/verify_pr.shon head 8863398 (with rufletorigin/main43928509): PASS: engineflutter test+945 all passed,flutter analyze lib testno issues, ruflet_core 157/157 files, wire-key audit 0 new findings.Data-only change; no Dart code changes.