A small task list built with Rune and rune-kit, pinned to Rune dev commit
65f8eb43f710e078f92cb82039212de50cb03113 (2026-11-14) and Rust 1.99.1, the
toolchain Rune names at that rev. It is the compile-, test- and render-checked
companion to the build-rune-apps skill and a starting point for new apps.
It demonstrates:
- one rev for
rune,rune-kitand the four[patch.crates-io]entries; AppSpecwithmin_size,on_keyand four scenes (empty,many,hide-done,draft), andrune::prewarm_gpu()beforeApp::run;- state that owns a
TextEditdraft, rows keyed by domain id, andTextEdit::clear()after submit; - rune-kit
TextInput,Button,CheckboxandSwitchonKit::neutral, keyed afterbuildand addressed by path (task-3/check); - the window on
k.c.page(a control vanishes when the window uses the card colourbg_basein light mode); - a bounded scroll viewport (
.scroll(..).shrink().min_h(0.0)) that keeps the footer in the window; - a
Chordshortcut (mod+shift+h) matched inon_key; Runtimetests that drive the real view with pointer input and read the accessibility tree;- a headless script (
scripts/add-task.json) that types, submits and ticks.
cargo run # the window
cargo test
cargo run -- --list-scenes
cargo run -- --snap out/many.png --scene many --theme dark --scale 2
cargo run -- --tree out/tree.json
cargo run -- --script scripts/add-task.json --snap out/after.png --at mark:end --scale 2
../../scripts/validate_reference_app.sh runs the patch-table check, fmt,
clippy, tests, every render and the tree assertions.
Start an app from it
- Copy the folder, rename the package, and change the title and state.
- Pin the newest
devrev in everyrev = "..", then compare the patch table with../../scripts/check_rune_patches.py --print-table <rev>. - Match
rust-toolchain.tomlto Rune's at that rev. - Build: Cargo re-resolves Rune at the new rev, and the copied
Cargo.lockkeeps other dependencies at versions known to build. Render every scene before changing anything else.
It deliberately leaves out persistence, background work, multiple windows,
overlays (rune_kit::root), bundling and release builds with the tooling
feature; the skill's references cover those.