Repository navigation
Conversation
…o sampling races in dilated-power
An obsolete session.utc.* sidecar that can't be deleted no longer aborts
finish-removal before `ok`, off before `ok`, or repair before the `reverted`
tombstone. drop_sidecars tries every sidecar and reports failure; only the
`on` install treats that as fatal, and it now fails cleanly ("failed", before
pmset) instead of exiting silently under set -e.
`check` reads the session identity before the record and again after the
sidecar, and repeats the read (up to five times) when a repeat `on` replaced
the session in between. Before, it could pair the new record with the old
generation's already-dropped sidecar and let the local-zone fallback judge a
live pid dead in another time zone.
`on` now samples local lstart, UTC lstart, then local again, and fails on a
mismatch, so a pid reused between the two ps calls can't pair two processes.
MASChannelPowerTests: startGated registers the holder in box.children right
after run(), so a throwing waitFor can't orphan it. New tests cover each
interleaving through the script's step hooks.
The drain's file-identity match not resolving a relative script path against
the target's cwd is not a real gap: the only launcher of `on` is
NSUserUnixTask, which runs the script by the absolute path under Application
Scripts, and ps doesn't expose a process's cwd, so resolving one would need
an lsof call per candidate in a path that has to stay inside the app's 3s
budget. Dropped, no change.
Updates the bundled copy and ClosedLidSetupAssets.expectedScriptSHA256 with
the script.
Link unfurlers, search snippets and LLM fetchers read the static HTML, which still said Version 1.0 while latest.json says 2.0.1. Description strings, the no-JS fallback copy and llms.txt are now version-neutral, and a discoverability test fails if a Version N.N string comes back.
…d quit refresh rules
… landing page Adds a section after How it works covering lid-closed mode with its guards and the App Store companion, agent hooks, and triggers with Control Center and Why Awake. The Homebrew install command gets its own copy block in the availability section. The static hero label stays 'See download details' because an existing e2e check keeps pre-metadata labels from promising a download.
The banner opened the README before any description of the app. It now sits after Quick Start and carries only the recompile note; the closed-lid caveat already lives in Why Dilated and the roadmap.
…and closed-lid rows
…p stale temp directories
Remove the unverified and waiver caveats from the site, README, release notes and Homebrew cask. The acceptance record and manifest fields are unchanged.
…drop an obsolete sidecar A repeat on that failed to remove a stale session.utc.* sidecar deleted the session file it had just written, returned failed without running pmset 0, and left sleep disabled with no record for repair to act on. The obsolete sidecars are now dropped before anything is written, keeping the earlier session's own sidecar, so the earlier pair stays intact. A fresh enable with the same obstruction still fails before pmset. A repeat enable that fails later keeps its session instead of removing it.
…s, re-arm on refresh
fix(closed-lid): make obsolete sidecar cleanup non-fatal and close two sampling races in dilated-power
…s, harden test helpers
fix(automation): app-running trigger refresh, after-wake hold stacking and four smaller fixes
feat(menu): update available item, triggers submenu and while-an-app-runs holds
… and the reset UI
Resetting closed-lid limits cleared the closed-lid request through applySettings, so a running hold silently lost closed-lid mode. The reset now turns closed-lid off through the normal toggle path first, the hold keeps running, and the confirmation says so when closed-lid is on.
feat(diagnostics): export a redacted diagnostics file and add reset all settings
… login status on activation
feat(settings): first-run card with icon, clicks, login, agent hooks and closed-lid rows
…time, say Immediately for lock
feat(display): start the screen saver after idle while the display is held
fix: W2 review follow-ups for triggers, automatic starts and closed-lid coverage
chore(release): bump MASBundleVersion to 19 for the 2.x store build
feat(website): pitch closed-lid, agents and triggers, and drop the stale 1.0 metadata
docs(changelog): cover the dev/m2 work since 2.0.1
chore(release): prepare 2.1.0
|
Warning Review limit reachedYou'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 23 minutes. View limit details
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. |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
biggest-littlest
approved these changes
Dec 3, 2026
biggest-littlest
left a comment
Member
There was a problem hiding this comment.
Promotion of reviewed dev/m2; ship.
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.
Promotes dev/m2 to main for 2.1.0. This brings in the closed-lid helper fixes (#163), automation fixes (#165), menu quick actions (#164), diagnostics export and reset all settings (#166), the first-run card (#167), screen saver after idle (#170), review follow-ups (#171), the site pitch and copy cleanup (#168), MAS build 19 (#169), the changelog (#172) and the version prep (#173). The v2.1.0 tag gets cut from the merge commit.