Proof Portal
Omarchy
ProbeLabsviewing a historical runA proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.
Menu action scripts (plugin picker, share, timezone, images, keybindings, file picker, emoji insert) perform their documented side effect or a loud, exit-coded refusal.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
Menu action scripts (plugin picker, share, timezone, images, keybindings, file picker, emoji insert) perform their documented side effect or a loud, exit-coded refusal.
when action_script_invoked the menu_action_scripts shall eventually satisfy intended_side_effect
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
These scripts are the menu's hands; silent wrong-target actions (e.g. enabling the wrong same-named plugin) are the historical bug class.
Verification & provenance
How this requirement was checked: the review trail, edit history, and the machine-analysis status terms (each ⓘ explains what it means).
Review
- Status
- in_review
- Reviewer
- Kimi Zero Warnings · AI agent
- Reviewed
- Sep 27, 2026, 21:25 UTC
History
- Created
- Sep 22, 2026, 13:33 UTC · Kimi Dogfood · AI agent
- Modified
- Sep 30, 2026, 08:06 UTC · Leonid Bugaev
Hazard review
- scenarioreviewederror_handlingmalformed_inputconcurrency_scale
Worst case graded above on the existing error_handling obligation (silent no-op or wrong-target action, high - the documented historical class). error_handling: every script in the family carries set -euo pipefail and explicit exit-coded refusals (usage errors exit 1/2, IPC acceptance checked, failed handbacks printed to stderr), so refusal is loud and exit-coded by construction. malformed_input: unknown verb/route/argument shapes are refused with usage text rather than guessed at. The two known unbounded-wait sites in the family are owned downstream, not here: the done_file poll by SW-REQ-260922-MH9B under KI-MENU-SELECT-POLL-DEADLOCK, and the still-image converter lane by SW-REQ-260929-THMB under KI-MENU-IMAGES-VIPS-NO-TIMEOUT (both deferred there; this parent adds no duplicate debt row). Catalog 1.11.0 re-review: input_domain not applicable, each script reads only its own arguments and tool output; the stdin reader is stated on SW-REQ-260922-Q6ZS. concurrency_scale applied, the images and keybindings scripts keep caches shared across concurrent invocations (SW-REQ-260922-43HQ, SW-REQ-260922-MH9B, SW-REQ-260929-THMB, SW-REQ-260929-REJT).
- propertyreviewedidempotency
idempotency: the family scripts are one-shot per invocation and safe to re-invoke (toggle/refresh verbs converge, generation is content-keyed), so a retried activation cannot compound a half-applied side effect; determinism/commutativity do not pertain to a fork-and-exit contract. atomicity of the underlying side effects is owned by each target component (lock, shell IPC, file ops) under its own requirements.
- structuralnot applicable
bash scripts with explicit exit codes: no memory/pointer/format-string surface; encoding-sensitive handoffs (base64 rows) are owned by the images open-flow children, not by the loud-refusal contract.
- domainreviewed
external_call_timeout_bounded evaluated: the family scripts external calls are bounded at their owning requirements - ffmpegthumbnailer under timeout -k 5 10 and the done_file poll deferred on the children (KI-MENU-SELECT-POLL-DEADLOCK; KI-MENU-IMAGES-VIPS-NO-TIMEOUT); omarchy-shell IPC calls fail fast on a dead peer (connect refusal), so the dispatcher-side verbs need no deadline here. external_call_failure_observable is satisfied by the contract itself: refusal must be loud and exit-coded, silent black-holing is the exact forbidden shape. No trust boundary: all scripts run as the invoking user on their own machine; nothing here authenticates or authorizes.
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
1 obligation
Browse the cataloguean action script that neither performs its side effect nor refuses loudly: the menu closes (the row activation consumed the click), nothing happens, and the user cannot tell success from failure - silent wrong-target execution is this project documented historical bug class (wrong same-named plugin enabled), which is why the loud-refusal half of the contract is graded high
Discharging tests pending a synced audit.
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
Formula evidence
The formal formula behind this requirement, the variables it is written over, and the tests that exercise it (each term is explained inline).
FRETish formula
when action_script_invoked the menu_action_scripts shall eventually satisfy intended_side_effect
Witnesses· 3 scenarios total
- menu-share-test.sh:1exercises 3 condition scenarios
MC/DC truth table· 3 rows
Each row assigns the formula's conditions (T/F) and shows the Result— the formula's value for that input row, not a test pass/fail. A row proves a condition when flipping only that condition flips the outcome. The test that covers each row is linked.
mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test| # | action_script_invoked | intended_side_effect | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | action_script_invoked | |
| 2 | T | F | F | action_script_invoked | |
| 3 | T | T | T | intended_side_effect |
Its place
How this requirement connects — what proves it, what it affects, and what it rests on. Authored links only here; automatically derived links come from the audit index.
Loading graph…
Trace evidence
The concrete artifacts linked to this requirement — implementing code, verifying tests, documents, and the findings raised against it.
No findings affect this requirement
Nothing was flagged against this requirement in the pinned run.
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
Impact
Blast radius — authored trace links only (automatically derived links come from the audit index and aren't shown here).
If you change this
Requirements (15)
- Binds Hyprland reports as dispatcher __lua are shown with…menu · SW
- When the fast signature (directory path + mtime per image…menu · SW
- Every picker row carries the plugin id as tab subtextmenu · SW
- Cancelling the timezone picker exits 1 before any…menu · SW
- Delete with the cursor on an app row opens an uninstall…menu · SW
- Clipboard mode writes the clipboard to a tempmenu · SW
- A code:N binding shows the keysym resolved from the…menu · SW
- The listing matches the requested formats…menu · SW
- A file chooser exit status above 1 sends a critical 'Could…menu · SW
- enable offers disabled pluginsmenu · SW
- When the fast signature differs, the script rebuilds rows…menu · SW
- When no plugin matches the verb, the script sends a 'No…menu · SW
- The script applies a picked timezone with sudo timedatectl…menu · SW
- A converter that refuses a video records an emptymenu · SW
- The pipeline detects video paths by extension and…menu · SW
What this rests on
Parent requirements (1)
Discussions
Discuss this with the proof team. Nothing changes in your audit automatically — you open a request and a staff member records any outcome inside the thread.