Repository navigation
Accessibility identifiers for reel and UI automation - #254
Merged
Merged
Conversation
Session rows, the approvals pill, overlay, rows and buttons, the PR card, Start work, the view tabs, pane tabs (Autopilot and the rest) and the status bar's mode now carry stable identifiers (session-row-<n>, approvals-pill, pr-card-<number>, start-work-prompt, view-tab-<view>, pane-tab-<id>, status-mode). Views stay containers, so nothing changes for people or screen readers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Mpdreamz
added a commit
that referenced
this pull request
Nov 15, 2026
…mory, hero reel) (#257) The pipeline for recording heed's films with reel, on a throwaway world that never touches a real heed: nothing is recorded in this PR except the two brand stings. ## What is in it - `docs/reels/demo/demo-agent.sh`: a scripted agent. It reports through the same hooks claude's settings would run (`heed hook claude <Event>`), raises a real PermissionRequest and acts on heed's decision, opens a PR (`gh pr create`, so heed tracks it), ends with a `heed-summary:` sign-off (the ledger's summary with no model call), and answers review feedback typed into its prompt. - `docs/reels/demo/gh`: a fake `gh` that plays acme/docs-toolkit#42 through `opened`, `review`, `red`, `green`, `merged`, in the shapes `GitHub.pullSearchQuery`, `trackedPullsQuery` and `pullDetailQuery` ask for. `gh pr merge` flips the state (the write path). `cue pr <beat>` moves it. - `docs/reels/demo/world.sh`, `launch.sh`, `cue`: a temp home (`CFFIXED_USER_HOME`, which moves Application Support, Caches and `~/.config`), an invented repo, a config with nothing that calls a model, starts an agent, asks macOS for a permission or checks for updates, and a copy of the app with its own bundle id. - Seeded memory: `HEED_SEED_WORLD=1` (new, `Sources/HeedApp/Shots/WorldSeed.swift`, next to `HEED_SHOTS` and `HEED_TUTOR_CHECK`) writes the fake world's ledger and the `acme` Mindmap into the stores heed reads, dated from now. - `docs/reels/brand/`: the owl pill intro (about 1.4 s) and outro (about 1.9 s) as HTML from the landing page's owl and pill, recorded by reel into `intro.mov` and `outro.mov`. - `docs/reels/heed.reelpreset`, `docs/reels/hero.reel`, `scripts/reels.sh`, `mise run reels [name]`. ## Needs - The accessibility ids from #254 (hero.reel waits on `#approvals-pill`, `#pr-card-42`, ...). - reel 0.7 or later (tracks); Homebrew's reel is 0.3.0. ## Not done / rough - `hero.reel` passes `reel check` but has not completed a take: the first runs found and fixed several problems (attach to the right process, launch through LaunchServices so the app is in front), and the last run stopped because macOS permission dialogs from other apps held the front. The beats after the permission answer (the review going back to the agent through the pilot's auto mode, checks red then green, heed merging, the ledger and memory line, the worktree tidy-up) are untested in heed. - Window size is not a heed setting; the reel uses `Set Size`. A tiling window manager must let Heed (and Chromium for the stings) float; `launch.sh` adds a yabai rule when yabai runs. - The Start work global shortcut opens a separate panel that a window recording does not see; the reel uses `o`. - Preferences live in the copy's own domain (`net.nullean.heed.demo`) in the real `~/Library/Preferences`, because cfprefsd ignores `CFFIXED_USER_HOME`; `launch.sh` wipes it each launch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Adds stable accessibility identifiers to the elements something driving heed from outside needs to wait on or click, so reel can `Wait #approvals-pill` and `Click #start-work-start` instead of guessing labels.
No behaviour change: `axID` keeps a view a container (`accessibilityElement(children: .contain)`), so its text and controls read as before.
Checked: dumped the live AX tree of a running build and saw the ids on the tabs, the status mode, the session row, the pill, the overlay with its rows and buttons (the PR card and Start work were not shown in that dump). `swiftformat --lint` clean, `swiftlint` clean, `swift test` 2270 passed, tutor-check 0 problems.
Start work also opens as a separate floating panel (the global shortcut); that panel is its own window, so a recording of the main window only sees the in-window overlay (`o`).
🤖 Generated with Claude Code