Rune: Native UI framework
This report summarizes scanner evidence for anomalyco/rune, a Rust project with 7,184 GitHub stars. SynthScan examined 434,199 lines of code across 2693 source files, recording 642 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 616 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 59 finding(s).
Which changes need focused human review? 642 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 642 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 61 | # the first compile rather than with the instance (Rune's uber shader is precompiled), and partial presents | COMMENT |
| LOW | research/overlay-cpu/metal_hud.swift | 1 | // A minimal hand-written Metal HUD for comparing per-frame CPU with Rune's overlay | COMMENT |
| LOW | research/gpu-floor/src/bin/dx12_floor.rs | 1 | //! research/30's HUD frame on raw D3D12 with the fewest calls the API allows: one command list, | COMMENT |
| LOW | research/engine-spike/paragraph_stack.rs | 1 | //! Throwaway spike for research/32-engine-plan.md ("Spike results"), included from | COMMENT |
| LOW | crates/rune-staging/src/lib.rs | 1 | //! Per-frame GPU uploads through reused staging memory. | COMMENT |
| LOW | crates/rune-staging/src/lib.rs | 41 | COMMENT | |
| LOW | crates/rune-kit/tests/markdown_blocks_and_highlights.rs | 421 | ); | COMMENT |
| LOW | crates/rune-kit/examples/markdown_resize.rs | 1 | //! Markdown resize: a long Markdown note rendered with `Markdown` in a scroll view, the window | COMMENT |
| LOW | crates/rune-kit/examples/diff.rs | 1 | //! A pull request's changes in `DiffView`: three files diffed from their texts and two read | COMMENT |
| LOW | crates/rune-kit/examples/layout_text_cost/main.rs | 1 | //! Layout and text cost: where a frame's CPU time and heap go, split between Taffy (layout), | COMMENT |
| LOW | crates/rune-kit/examples/layout_text_cost/main.rs | 21 | //! mounted window shifts every frame or two. | COMMENT |
| LOW | crates/rune-kit/src/actions.rs | 261 | /// and stay the same between builds. The accessible label is still the text. | COMMENT |
| LOW | crates/rune-kit/src/palette.rs | 81 | impl Kit { | COMMENT |
| LOW | crates/rune-kit/src/palette.rs | 101 | /// ``` | COMMENT |
| LOW | crates/rune-kit/src/scroll_bar.rs | 1 | //! A scroll bar over a vertical scroll viewport's end edge, its right or, right to left | COMMENT |
| LOW | crates/rune-kit/src/scroll_bar.rs | 81 | min_thumb: f32, | COMMENT |
| LOW | crates/rune-kit/src/scroll_bar.rs | 221 | COMMENT | |
| LOW | crates/rune-kit/src/scroll_bar.rs | 721 | /// widens while the pointer is over the bar, and the pointer at the right edge brings up an | COMMENT |
| LOW | crates/rune-kit/src/feedback.rs | 1 | //! Spinner, Loader, Progress and ProgressCircle (`@opencode/ui` components/spinner, | COMMENT |
| LOW | crates/rune-kit/src/mermaid.rs | 1 | //! Native ```` ```mermaid ```` diagrams inside [`crate::Markdown`], backed by [`rune_mermaid`]. | COMMENT |
| LOW | crates/rune-kit/src/lib.rs | 1 | //! rune-kit: generic, themable components for Rune. | COMMENT |
| LOW | crates/rune-kit/src/rolling_text.rs | 1 | //! A label whose changed characters roll (iOS numeric/text content transition), for proportional | COMMENT |
| LOW | crates/rune-kit/src/tree.rs | 1 | //! Tree: a virtualised outline over a [`TreeModel`] the app keeps in its state. A file tree is | COMMENT |
| LOW | crates/rune-kit/src/line_selection.rs | 1 | //! One line-selection gesture on a code or diff view, for every view that selects lines: a | COMMENT |
| LOW | crates/rune-kit/src/line_selection.rs | 41 | /// Where a press landed: the line numbers, or the code. | COMMENT |
| LOW | crates/rune-kit/src/popover.rs | 1 | //! The popover building blocks apps use to draw their own anchored surfaces: where a surface | COMMENT |
| LOW | crates/rune-kit/src/popover.rs | 41 | content.anchored(anchor, side, align, gap) | COMMENT |
| LOW | crates/rune-kit/src/popover.rs | 81 | /// `window` of that size: the rect [`anchored`] places it at. It sits `gap` points from the | COMMENT |
| LOW | crates/rune-kit/src/table.rs | 1 | //! Table: a virtualised data table over rows the app keeps, with a sticky header, sortable and | COMMENT |
| LOW | crates/rune-kit/src/toast_stack.rs | 1 | //! The toasts a [`ToastRegion`](crate::ToastRegion) shows and how their stack behaves, as | COMMENT |
| LOW | crates/rune-kit/src/toast_stack.rs | 21 | /// Points between two toasts of an expanded stack (Desktop's `Toast.Region` `gap={12}`). | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 1 | //! Markdown (pulldown-cmark): headings, paragraphs, emphasis, inline code, code blocks, lists | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 21 | //! **Keys.** Top-level blocks are keyed `b{index}` (or by [`Markdown::block_keys`]), list items | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 161 | /// a diagram's frame counts them. A stream only adds blocks after it. | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 221 | impl Markdown { | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 281 | pub fn reveal(mut self, word_fade: f32) -> Self { | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 321 | } | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 361 | } | COMMENT |
| LOW | crates/rune-kit/src/markdown.rs | 401 | /// and the code, and returns byte ranges of the code with a token kind, which the style's | COMMENT |
| LOW | crates/rune-kit/src/syntax.rs | 1 | //! Syntax highlighting for code: kinds of token ([`Syntax`]) over byte ranges, coloured by a | COMMENT |
| LOW | crates/rune-kit/src/syntax.rs | 21 | //! frameworks, data and config formats, Dockerfiles and Makefiles, and more. [`lang_for_path`] | COMMENT |
| LOW | crates/rune-kit/src/syntax.rs | 61 | /// String and character literals, and literal text. | COMMENT |
| LOW | crates/rune-kit/src/search.rs | 1 | //! Search that matches as a person expects in every language: | COMMENT |
| LOW | crates/rune-kit/src/grip.rs | 1 | //! A pointer drag held from its press to its release, with what the press started. Its release | COMMENT |
| LOW | crates/rune-kit/src/shell/tab_strip.rs | 21 | #[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)] | COMMENT |
| LOW | crates/rune-kit/src/shell/tab_strip.rs | 321 | /// | COMMENT |
| LOW | crates/rune-kit/src/shell/split.rs | 121 | /// point band across the top is the title bar: it drags the window, its leading end clears the | COMMENT |
| LOW | crates/rune-kit/src/shell/tab_strip/drag.rs | 1 | //! A tab strip's pointer gestures as one explicit state machine, kept in the app's state: | COMMENT |
| LOW | crates/rune-kit/src/markdown/links.rs | 41 | } | COMMENT |
| LOW | crates/rune-kit/src/markdown/stream.rs | 1 | //! A source still arriving ([`Markdown::streaming`]): its tail is parsed as what it is about to | COMMENT |
| LOW | crates/rune-kit/src/markdown/find.rs | 41 | /// | COMMENT |
| LOW | crates/rune-kit/src/diff/pairs.rs | 1 | //! Which removed line sits beside which added line, as Pierre (OpenCode Desktop's diff view) | COMMENT |
| LOW | crates/rune-kit/src/diff/view.rs | 41 | }; | COMMENT |
| LOW | crates/rune-kit/src/image_zoom/mod.rs | 1 | //! Zooming and panning an image (`@opencode/ui` `image-preview`): the full-window preview with | COMMENT |
| LOW | crates/rune-kit/src/scroll_bar/visibility.rs | 1 | //! What a scroll bar shows: always, nothing (its content fits), or an overlay with a phase of | COMMENT |
| LOW | crates/rune-light/src/lib.rs | 1 | //! rune-light: real-time lighting for Rune UIs. | COMMENT |
| LOW | crates/rune-light/src/glass.rs | 1 | //! Thick refracting glass over a lit frame (see `shaders/glass.wgsl` for the optics). | COMMENT |
| LOW | crates/rune-luau/src/lib.rs | 1 | //! Luau scripts that build Rune UI. | COMMENT |
| LOW | crates/rune-luau/src/lib.rs | 21 | //! - **Nodes** are built straight into `rune::El`s by C functions, with no Lua tables or tree | COMMENT |
| LOW | crates/rune-luau/src/web.rs | 1 | //! The web build's C runtime. Luau links against WASI libc (`build.rs`), whose allocator then | COMMENT |
| 484 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/overlay-lab/native/test_prewarm_trace.py | 10 | def test_accepts_alpha_zero_acquisition_before_creation(self): | CODE |
| LOW | examples/overlay-lab/native/test_prewarm_trace.py | 13 | def test_rejects_occlusion_skip_late_or_visible_acquisition(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 15 | def test_preserves_exact_arguments_without_reading_environment(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 19 | def test_prebuilt_inactive_app_installs_without_launch_and_stamps_success(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 50 | def test_failed_launch_and_missing_receipt_roll_back(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 66 | def test_unresponsive_replacement_still_restores_installed_path(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 77 | def test_receipt_timeout_uses_real_launch_path_and_rolls_back(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 91 | def test_interrupt_after_exchange_keeps_both_bundles(self): | CODE |
| LOW | scripts/mac_app_install_tests.py | 112 | def test_termination_between_exchange_and_state_update_rolls_back(self): | STRING |
| LOW | scripts/mac_app_install_tests.py | 141 | def test_concurrent_installer_waits_until_rollback(self): | STRING |
| LOW | scripts/mac_app_install_tests.py | 175 | def test_receipt_must_identify_replacement(self): | STRING |
| LOW | scripts/mac_app_install_tests.py | 184 | def test_missing_stage_does_not_remove_live_app(self): | STRING |
| LOW⚡ | scripts/test-rune-dev.py | 104 | def test_examples_keep_their_old_command_lines(self): | CODE |
| LOW⚡ | scripts/test-rune-dev.py | 109 | def test_external_crates_name_their_patchable_files(self): | CODE |
| LOW⚡ | scripts/test-rune-dev.py | 117 | def test_local_runs_take_the_flag_or_the_environment_but_not_desk(self): | CODE |
| LOW | scripts/test-rune-dev.py | 40 | def test_cache_matches_full_reads_through_saves_replacements_additions_and_deletions(self): | CODE |
| LOW | scripts/test-rune-dev.py | 72 | def test_partial_read_does_not_publish_a_new_cache(self): | CODE |
| LOW | scripts/test-rune-dev.py | 91 | def test_shared_watch_retries_read_races_and_reports_each_change_once(self): | CODE |
| LOW | scripts/test-rune-dev.py | 128 | def test_a_local_run_rebuilds_after_a_restart_and_returns_the_apps_exit(self): | CODE |
| LOW | scripts/test-rune-dev.py | 135 | def test_a_local_run_execs_itself_once_under_the_wrap_prefix(self): | CODE |
| LOW | scripts/test-rune-dev.py | 146 | def test_remote_arguments_name_the_staged_crate_and_park_the_build_copy(self): | CODE |
| LOW | scripts/test-rune-dev.py | 153 | def test_dx_gets_the_app_target_and_an_adhoc_profile(self): | CODE |
| LOW | scripts/test-rune-dev.py | 174 | def test_layout_mirrors_path_dependencies_and_their_workspace_files(self): | CODE |
| LOW | scripts/test-rune-dev.py | 194 | def test_dx_names_the_app_by_version_when_a_dependency_shares_its_name(self): | CODE |
| LOW | scripts/test-rune-dev.py | 209 | def test_external_keys_read_the_original_files(self): | CODE |
| LOW | scripts/test-rune-dev.py | 224 | def test_the_mirrored_workspace_lists_only_staged_members(self): | CODE |
| LOW | scripts/test-rune-dev.py | 251 | def test_only_globbed_rust_files_in_the_app_crate_patch(self): | CODE |
| LOW | scripts/test-rune-dev.py | 266 | def test_only_this_process_patch_is_fetched_and_rewritten(self): | CODE |
| LOW | scripts/test-rune-dev.py | 281 | def test_a_patch_for_another_base_binary_is_refused(self): | CODE |
| LOW | scripts/test-rune-dev.py | 295 | def test_a_base_for_another_platform_fails_before_copying(self): | CODE |
| LOW | scripts/test-rune-dev.py | 305 | def test_a_base_report_behind_pty_bytes_still_starts_the_desk_app(self): | CODE |
| LOW | scripts/test-rune-dev.py | 326 | def test_the_desk_app_waits_for_dx_through_the_tunnel_and_a_dead_tunnel_fails_loudly(self): | CODE |
| LOW | scripts/test-rune-dev.py | 346 | def test_the_relay_retries_dx_while_the_forward_comes_up(self): | CODE |
| LOW | scripts/test-rune-dev.py | 363 | def test_relay_rewrites_fragmented_patches_and_passes_other_frames(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 26 | def test_a_new_destination_is_not_one_out_and_back(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 33 | def test_parent_motion_carries_children_but_size_does_not(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 38 | def test_retarget_preserves_decelerating_incoming_velocity(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 44 | def test_bad_motion_before_another_retarget_is_still_checked(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 48 | def test_a_jump_on_the_retarget_frame_still_fails(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 51 | def test_a_retarget_that_loses_velocity_still_fails(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 73 | def test_a_thumb_brakes_when_the_list_it_reads_retargets(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 80 | def test_a_placed_readout_has_no_shape_of_its_own(self): | CODE |
| LOW⚡ | scripts/motion-audit/test_retargets.py | 86 | def test_invisible_or_intentionally_instant_retargets_are_not_stalls(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | spikes/hot-patch/run.py | 68 | except json.JSONDecodeError: | CODE |
| HIGH | examples/overlay-lab/native/run-cua-input-probe.py | 221 | except OSError: pass | CODE |
| HIGH | examples/overlay-lab/native/run-cua-input-probe.py | 215 | except Exception: pass | CODE |
| HIGH | examples/overlay-lab/native/run-idle-probe.py | 72 | except OSError: pass | CODE |
| HIGH | examples/overlay-lab/native/run-native-probe.py | 98 | except (OSError, TimeoutError): pass | CODE |
| HIGH | examples/overlay-lab/native/run-input-probe.py | 77 | except OSError: pass | CODE |
| HIGH | scripts/check-native-menu-macos.py | 31 | except json.JSONDecodeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | research/gpu-floor/cgsplit.py | 62 | CODE | |
| LOW | research/gpu-floor/cgsplit.py | 114 | CODE | |
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 48 | CODE | |
| LOW | examples/overlay-lab/native/run-input-probe.py | 20 | CODE | |
| LOW | scripts/mac_app_install_tests.py | 50 | CODE | |
| LOW | scripts/mac_app_install_tests.py | 77 | CODE | |
| LOW | scripts/text-quality.py | 27 | CODE | |
| LOW | scripts/check-native-menu-macos.py | 63 | CODE | |
| LOW | scripts/check-native-menu-macos.py | 41 | CODE | |
| LOW | scripts/test-rune-dev.py | 363 | CODE | |
| LOW | scripts/real-frames.py | 82 | CODE | |
| LOW | scripts/real-frames.py | 142 | CODE | |
| LOW | scripts/check-global-shortcut-macos.py | 26 | CODE | |
| LOW | scripts/mac_app_install.py | 83 | CODE | |
| LOW | scripts/cost-attribution.py | 105 | CODE | |
| LOW | scripts/cost-attribution.py | 182 | CODE | |
| LOW | scripts/motion-audit/track.py | 12 | CODE | |
| LOW | scripts/motion-audit/analyze.py | 187 | CODE | |
| LOW | scripts/motion-audit/analyze.py | 742 | CODE | |
| LOW | scripts/motion-audit/analyze.py | 788 | CODE | |
| LOW | themes/opencode/tools/provider-icons.py | 158 | CODE | |
| LOW | themes/opencode/tools/provider-icons.py | 183 | CODE | |
| LOW | themes/opencode/tools/provider-icons.py | 225 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/test-rune-dev.py | 277 | for other in [json.dumps(message).replace('"for_pid": 42', '"for_pid": 7'), '"HotPatchStart"', "not json", '{"Ho | CODE |
| HIGH | scripts/mac_app_install.py | 57 | if (!app || app.isNil()) return 'gone'; | CODE |
| HIGH | scripts/mac_app_install.py | 58 | return (a[1] === 'quit' ? app.terminate : (!app.terminated && app.finishedLaunching)) ? 'yes' : 'no'; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | research/gpu-floor/src/bin/dx12_floor.rs | 12 | #[path = "../harness.rs"] | COMMENT |
| MEDIUM | research/gpu-floor/src/bin/vk_floor.rs | 12 | #[path = "../harness.rs"] | COMMENT |
| MEDIUM | research/gpu-floor/src/bin/wgpu_frame.rs | 7 | #[path = "../harness.rs"] | COMMENT |
| MEDIUM | crates/rune-motion/examples/bench.rs | 4 | //! can't settle in time) and reports the best of several runs (robust to a busy machine). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 112 | except Exception as error: result.append(error) | CODE |
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 212 | except Exception as error: | CODE |
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 215 | except Exception: pass | CODE |
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 228 | except Exception as error: record(actions, {'cleanup_error': repr(error)}) | CODE |
| MEDIUM | examples/overlay-lab/native/run-cua-input-probe.py | 108 | def run(): | CODE |
| LOW | examples/overlay-lab/native/run-window-panel-probe.py | 43 | except Exception as error: | CODE |
| LOW | examples/overlay-lab/native/run-window-panel-probe.py | 48 | except Exception: app.terminate(); app.wait(timeout=5) | CODE |
| LOW | scripts/mac_app_install.py | 229 | except Exception as error: | CODE |
| MEDIUM | scripts/mac_app_install.py | 75 | def receipt_ready(directory, bundle_id, pid): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/rune-kit/tests/a11y/controls.rs | 231 | assert_eq!((said(email), email["placeholder"].as_str()), (("text-input", "Email"), Some("you@example.com"))); | CODE |
| LOW | crates/rune-kit/tests/a11y/golden/fields.json | 17 | "placeholder": "Search files", | CODE |
| LOW | crates/rune-kit/tests/a11y/golden/fields.json | 41 | "placeholder": "you@example.com", | CODE |
| LOW | crates/rune-kit/tests/a11y/golden/combobox-open.json | 46 | "placeholder": "Search", | CODE |
| LOW | crates/rune/src/el/input.rs | 44 | .field("placeholder", &self.placeholder) | CODE |
| LOW | crates/rune/src/a11y/dump.rs | 53 | if let Some(p) = n.placeholder() { v["placeholder"] = p.into(); } | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | research/14-research-determinism-verification.md | 125 | ### 7. GUI fuzzing and agentic exploration (later / spike) | COMMENT |
| MEDIUM | research/04-language-gpu-renderer.md | 43 | - **Why Zig loses for Rune:** First, Zig’s flagship incremental compilation (`-fincremental` + in-place binary patchi | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/overlay-lab/native/run-cua-input-probe.py | 7 | CODE |