[codex] add elm_ui and terminal_ui example targets - #143
Merged
Conversation
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.
What changed
elm_uiandterminal_uisupport tomix example.startAGENTS.mdwith the current.specworkspace guidanceWhy
The example launcher and shared tooling only supported the browser
live_uibaseline anddesktop_ui, so there was no supported path for running a specific example againstelm_uiorterminal_ui. While wiring those targets through, a few generated example/runtime issues surfaced and needed to be corrected so the launcher and smoke paths stayed coherent.Impact
mix example.start --target-package terminal_ui --backend-mode ttynow works for example apps and prints a terminal runtime snapshotmix example.start --target-package elm_uinow works as a compatibility/diagnostic path and emits a structured compatibility report when a surface is not directly renderable by the Elm renderermix examples.launch --runtime elm_ui|terminal_ui --dry-runnow reflects the new launcher contract.spec/specs/examples/*now match the current runtime-selection behaviorValidation
cd examples/button && mix example.start --target-package terminal_ui --backend-mode ttycd examples/button && mix example.start --target-package elm_uicd examples/shared && mix test test/mix/tasks/examples_tasks_test.exscd examples/shared && mix test test/unified_examples/phoenix_runtime_test.exsNotes
desktop_uiunresolved-reference warnings andlive_uiHEEx warnings are still present in the workspace..tool-versionschange or untracked.codex/directory in this PR.