Skip to content

docs(readme): record the demo clip from the native app - #147

Open
klNuno wants to merge 3 commits into
mainfrom
docs/2.0.2-readme-clip
Open

klNuno wants to merge 3 commits into
mainfrom
docs/2.0.2-readme-clip

Conversation

@klNuno

@klNuno klNuno commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Note

Clanker Claude Opus 5.5 is responding on behalf of meetsu

The README demo clip is now recorded from the native app in Glass Dark, following the path its alt text describes, and the two clips nothing displays anymore are gone.

Accshift switching Steam accounts in Glass Dark

what changed

  • The scene runner can record: a scene with "record": 30 writes every frame as PNG from the hidden window, drawing the cursor and a ring on each click since there is no real pointer. Two new steps, glide (eased cursor move) and cursor (show or hide). Harness feature only (harness/record.rs, harness/scenes.rs).
  • New recording parity/recordings/readme-switch.json: the frozen demo scenario in Glass Dark, kept out of scenes/ so the regression run skips its 707 frames.
  • .github/assets/demo-switch.webp and .mp4 replaced under the same names: webp, 23.6 s, 707 frames at 30 fps, 1398x768. The README text is unchanged.
  • demo-organize.* and demo-themes.* removed: nothing in the repo shows them.

verified

  • Sizes: webp 1.34 MiB -> 1015 KiB, mp4 938 KiB -> 656 KiB.
  • 9 key frames per clip extracted with ffmpeg and checked: grid, "Click again to switch", the switch, search "ra", the Smurfs folder, the Roblox tab, list view, the Ctrl+K palette, back on main.
  • Both clips decode 707 frames at 30 fps with none dropped; no frame repeats during motion. The webp merges 3 frames with a neighbour that differ by 1 to 2 levels out of 255.
  • cargo test -p accshift-egui --lib: 410 passed, 2 ignored, including 5 new recording tests. build-safe node scripts/gates.mjs exit 0.
  • reviewed by GPT-6.2 Sol: 2 rounds, approved.
  • not verified: playback on GitHub, the loop seam.

A scene with "record": <fps> writes every frame as frame-00000.png on a
clock of its own: frame n runs at n / fps for egui and for the scene's
waits, and is only taken once the wall clock reaches it, so the app's
timers keep in step. PNGs are encoded on worker threads. Headless frames
have no pointer: a recording draws one where the scene put it, shown and
hidden by "cursor" steps, with a ring around each press. "glide" moves
the pointer to a point over a time, eased, about 60 moves a second.

Harness feature only, never in the shipped binary.
demo-switch.webp and .mp4 are now frames of the egui app itself, from the
readme-switch scene on the frozen demo scenario in Glass Dark: 707 frames
at 30 fps, composed on the stand-in desktop with the window's shadow and
rounded corners. Same walk as the alt text, so the README is unchanged.

demo-organize and demo-themes were no longer shown anywhere: removed.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 58 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 431b31df-45a6-491a-abb9-6209e92ec422
Commits

Reviewing files that changed from the base of the PR and between a0cf621 and b13ae7e.

Files ignored due to path filters: 3

  • .github/assets/demo-organize.mp4 is excluded by !**/*.mp4
  • .github/assets/demo-switch.mp4 is excluded by !**/*.mp4
  • .github/assets/demo-themes.mp4 is excluded by !**/*.mp4
Files selected for processing: 8

  • .github/assets/demo-organize.webp
  • .github/assets/demo-switch.webp
  • .github/assets/demo-themes.webp
  • crates/accshift-egui/parity/README.md
  • crates/accshift-egui/parity/recordings/readme-switch.json
  • crates/accshift-egui/src/harness/mod.rs
  • crates/accshift-egui/src/harness/record.rs
  • crates/accshift-egui/src/harness/scenes.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@mtsu-patrol mtsu-patrol Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

@mtsu-patrol

mtsu-patrol Bot commented Nov 23, 2026

Copy link
Copy Markdown

This pull request lets harness scenes film every frame to PNG with a drawn cursor and click rings so the README demo can be captured from the native app. It adds a Glass Dark recording of the account-switching flow and replaces the published demo clip while removing the two clips nothing shows.

No comments posted: the reviewers raised no finding.

Review details
  • Model: muse-spark-1.3-contributor
  • Compared commits: a0cf621 to b13ae7e
  • Execution: tests could run in a disposable Linux sandbox
  • Files reviewed: 5 of 11
  • Duration: 8 min 45 s
Files skipped (6)
  • .github/assets/demo-organize.mp4: binary
  • .github/assets/demo-organize.webp: binary
  • .github/assets/demo-switch.mp4: binary
  • .github/assets/demo-switch.webp: binary
  • .github/assets/demo-themes.mp4: binary
  • .github/assets/demo-themes.webp: binary
Commands run (10)

Ran repo discovery (README/package.json/Cargo.toml layout, git diff stat, gates/parity README reads) successfully. Installed rustup stable 1.100 to /tmp/cargo but could not run cargo test -p accshift-egui or validate the replaced demo-switch.mp4/webp: no system C linker (cc/gcc/clang all missing), no ffmpeg/ffprobe, and apt unusable (no root, no sources.list, no dpkg lock). No test or app flow was executed to pass/fail; change effects unverified in this sandbox.

passed · exit 0 · 0 s

cat README.md 2>/dev/null | head -n 200; echo ---; cat package.json 2>/dev/null | head -n 100; echo ---; cat Makefile 2>/dev/null | head -n 100; echo ---; cat AGENTS.md 2>/dev/null | head -n 200; echo ---; ls -R | head -n 100
pwd; git log --oneline -5; git diff --stat HEAD~1 2>/dev/null || git diff --stat a0cf6212fb54ffabee304abdfdba6234acabbbf1 2>/dev/null | head -n 50

passed · exit 0 · 0 s

git diff --stat a0cf6212fb54ffabee304abdfdba6234acabbbf1..HEAD | head -n 50
echo ===
git log --oneline a0cf6212..HEAD
echo ===
cat crates/accshift-egui/parity/README.md
echo ===
cat scripts/gates.mjs | head -n 150

failed · exit 1 · 0 s

cargo --version; rustc --version; ffmpeg -version 2>&1 | head -n 3; ffprobe -version 2>&1 | head -n 3; ls -lh .github/assets/; ls crates/accshift-egui/parity/recordings/; ls crates/accshift-egui/parity/scenes/ | head -n 20
echo ===TESTS-LIST===
cargo test -p accshift-egui --lib -- --list 2>&1 | grep -i -E "record|glide|cursor|scene|harness" | head -n 50
/bin/bash: line 1: cargo: command not found
/bin/bash: line 1: rustc: command not found
/bin/bash: line 1: ffmpeg: command not found
/bin/bash: line 1: ffprobe: command not found
total 1.7M
-rw------- 1 1001 1001  657K Nov 23 16:25 demo-switch.mp4
-rw------- 1 1001 1001 1015K Nov 23 16:25 demo-switch.webp
-rw------- 1 1001 1001   42K Nov 23 16:25 social-card.png
readme-switch.json
add-glass-dark-100.json
add-light-150.json
add-list-glass-dark-100.json
add-riot-bottom-pt-500.json
add-riot-glass-dark-100.json
armed-glass-dark-100.json
armed-glass-dark-150.json
armed-light-100.json
armed-light-150.json
bulk-edit-glass-dark-100.json
bulk-edit-light-150.json
cardext-glass-dark-100.json
cardext-glass-dark-150.json
cardext-light-100.json
cardext-light-150.json
cardfocus-ban-glass-dark-150.json
cardfocus-ban-light-100.json
cardfocus-glass-dark-100.json
cardfocus-glass-dark-150.json
cardfocus-light-100.json
===TESTS-LIST===

failed · exit 1 · 0 s

ls -la /root/.cargo/bin/ 2>&1 | head -n 20; ls -la ~/.cargo/bin/ 2>&1 | head -n 20; which rustup 2>&1; ls /usr/local/bin/cargo* /opt/*/bin/cargo 2>&1 | head; echo ---PATH---; echo $PATH; ls /work/ | head -n 30; cat /work/rust-toolchain* 2>&1 | head; node --version 2>&1 | head; npm --version 2>&1 | head; python3 --version 2>&1 | head; apt list --installed 2>&1 | grep -i -E "ffmpeg|rust" | head
ls: cannot access '/root/.cargo/bin/': No such file or directory
ls: cannot access '/work/.patrol-home/.cargo/bin/': No such file or directory
/bin/bash: line 1: which: command not found
ls: cannot access '/usr/local/bin/cargo*': No such file or directory
ls: cannot access '/opt/*/bin/cargo': No such file or directory
---PATH---
/usr/local/bin:/usr/bin:/bin
Cargo.lock
Cargo.toml
LICENSE
README.md
crates
deny.toml
docs
integrations
package.json
pnpm-lock.yaml
scripts
server
cat: '/work/rust-toolchain*': No such file or directory
v24.21.0
11.19.0
Python 3.12.3

passed · exit 0 · 0 s

cat /etc/os-release 2>&1 | head -n 5; echo ---; ls /usr/local/lib/ 2>&1 | head -n 20; echo ---; curl --version 2>&1 | head -n 2; wget --version 2>&1 | head -n 2; echo ---; cat Cargo.toml | head -n 60; echo ---; cat package.json | head -n 80

passed · exit 0 · 10 s

export RUSTUP_HOME=/tmp/rustup CARGO_HOME=/tmp/cargo RUSTUP_INIT_SKIP_PATH_CHECK=yes; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup-init.sh && chmod +x /tmp/rustup-init.sh && /tmp/rustup-init.sh -y --profile minimal --default-toolchain stable 2>&1 | tail -n 20; echo EXIT:$?; ls -lh /tmp/cargo/bin/ 2>&1 | head -n 20; /tmp/cargo/bin/cargo --version 2>&1; /tmp/cargo/bin/rustc --version 2>&1

passed · exit 0 · 0 s

export PATH=/tmp/cargo/bin:$PATH RUSTUP_HOME=/tmp/rustup CARGO_HOME=/tmp/cargo; which cc gcc clang 2>&1; ls /usr/bin/*cc* /usr/bin/*gcc* 2>&1 | head; echo ---; cat crates/accshift-egui/parity/README.md | head -n 60; echo ===GATES===; cat scripts/gates.mjs | head -n 200; echo ===RECORD-HEAD===; head -n 120 crates/accshift-egui/parity/recordings/readme-switch.json; echo ===HARNESS-MOD===; cat crates/accshift-egui/src/harness/mod.rs

passed · exit 0 · 0 s

export PATH=/tmp/cargo/bin:$PATH RUSTUP_HOME=/tmp/rustup CARGO_HOME=/tmp/cargo
echo ===TOOLCHAIN===; cc --version 2>&1 | head -n 3; gcc --version 2>&1 | head -n 3; clang --version 2>&1 | head -n 3; apt-get --version 2>&1 | head -n 2
echo ===PARITY-README-DIFF===; git diff a0cf6212fb54ffabee304abdfdba6234acabbbf1..HEAD -- crates/accshift-egui/parity/README.md
echo ===HARNESS-SCENES-STAT===; wc -l crates/accshift-egui/src/harness/record.rs crates/accshift-egui/src/harness/scenes.rs; git diff a0cf6212fb54ffabee304abdfdba6234acabbbf1..HEAD --stat
echo ===ASSETS===; ls -lh .github/assets/; git show --stat HEAD | head -n 30

failed · exit 127 · 0 s

apt-get update 2>&1 | tail -n 5; apt-get install -y gcc pkg-config libssl-dev ffmpeg 2>&1 | tail -n 20; echo EXIT:$?; gcc --version 2>&1 | head -n 2; ffmpeg -version 2>&1 | head -n 2
Reading package lists...
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory)
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (2: No such file or directory)
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list - RealFileExists (2: No such file or directory)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (2: No such file or directory)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
EXIT:100
/bin/bash: line 1: gcc: command not found
/bin/bash: line 1: ffmpeg: command not found

passed · exit 0 · 0 s

id 2>&1; sudo -n true 2>&1 | head; echo ---; uname -m; echo ---; ls / 2>&1 | head -n 30; ls /opt 2>&1 | head; find / -maxdepth 4 -name "cc" -o -name "gcc" -o -name "clang*" 2>/dev/null | head; echo ---; python3 -c "import sys; print(sys.version)" 2>&1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant