Repository navigation
Fix the bar visibility toggle and make the acceptance suite cover 4.0.2 security hardening - #9240
Merged
Merged
Conversation
The shell notices the bar-off flag through a FileView watch on the toggles directory, and that watch can permanently stop delivering events after flag changes land in quick succession — the bar then stays parked off screen until the shell restarts. Have omarchy-toggle-bar nudge the bar's probe over IPC after flipping the flag, so the toggle no longer depends on the watch staying alive. The watch remains for other writers of the flag.
Run over SSH with no OMARCHY_PATH, the acceptance runner defaulted it to its own root — wrong in both sync modes omarchy-iso-test uses. With only test/ synced, the root has no shell or install manifests: omarchy-shell refuses every call and the package audit passes vacuously against an empty manifest. With a full tree synced, the path disagrees with the config path the session shell was started from, and since qs matches instances by that path, every omarchy-shell call reads as "not running". The suite acts on the running session, so ask the user manager for the session's own OMARCHY_PATH first, then fall back to this checkout, then to the installed tree.
Reading a nonexistent manifest produced an empty package list, so the audit reported every package installed after checking none of them.
Tesseract routinely drops small caption text at native resolution — the weather panel's detail labels fail the WIND assertion with the text plainly on screen. Let the compositor upscale the capture instead.
Assert the closed session-to-root paths on an installed system — no blanket input-group membership, no shipped asdcontrol sudoers grant — and exercise omarchy-setup-security-sshd unattended end to end: sshd up, key authorized, password and keyboard-interactive authentication off in the effective config, SSH port rate limited in the firewall. The sshd section mutates the machine, so it requires the explicit OMARCHY_ACCEPTANCE_SUDO_PASSWORD opt-in that omarchy-iso-test passes for its throwaway VMs; elsewhere it skips.
ryanrhughes
added a commit
that referenced
this pull request
Aug 30, 2026
Fix the bar visibility toggle and make the acceptance suite cover 4.0.2 security hardening (cherry picked from commit 432b5e3)
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.
Fallout from verifying 4.0.2-rc end to end with omarchy-iso-test. Five commits, each validated against an installed 4.0.2-rc VM:
omarchy-toggle-barcycles; even slow flag changes go unnoticed once the watch dies).omarchy-toggle-barnow nudges the bar's probe over IPC after flipping the flag. Verified: 8 tight hide/reveal cycles green where the unpatched shell wedged on cycle 2.omarchy-setup-security-sshd --key=…unattended end to end: sshd up, key authorized, password + keyboard-interactive auth off insshd -T, SSH port rate limited. The mutating sshd section requires the explicitOMARCHY_ACCEPTANCE_SUDO_PASSWORDopt-in (omarchy-iso-test passes it for throwaway VMs); a cached sudo timestamp alone never triggers it.Companion harness PR: omacom/omarchy-iso#139 (syncs the whole test suite, passes the sudo opt-in, restarts the shell from the synced tree under --sync-all).
One caveat observed while re-running the suite repeatedly in the same mutated VM: on the third consecutive sshd hardening exercise, the setup command's own
sshd -Tverification reported the restrictions not applied and backed the config out. Fresh VMs passed consistently; flagging in case the first-value-wins check has an ordering race worth a look.