Proof Portal

Project overview

Omarchy

ProbeLabsviewing a historical run

A 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.

Viewing historical run c0a4a03Oct 2, 2026, 01:01 AMpr/9056Back to current
All requirements
RequirementSYS-REQ-260922-6642SystemReview

Menu action scripts (plugin picker, share, timezone, images, keybindings, file picker, emoji insert) perform their documented side effect or a loud, exit-coded refusal.

This requirement changed after its last recorded review, so approval is stale. Automated checks pass.
PriorityshallTypeguaranteeCategoryfunctionalComponentmenuAssuranceCFindingsnone open

Specification

The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.

Description

Menu action scripts (plugin picker, share, timezone, images, keybindings, file picker, emoji insert) perform their documented side effect or a loud, exit-coded refusal.

FRETish formula
when action_script_invoked the menu_action_scripts shall eventually satisfy intended_side_effect
View full formal model

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).

Assurance levelC
Formalizationvalid
Realizabilityrealizable
Vacuitychecked_ok
Strategyfretish

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

Reviewed Oct 1, 2026, 21:26 UTCby agent:claude-baseline-passcatalog v1.11.0
  • 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.

Worst case if violatedHigh

an 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).

FRETish formula

when action_script_invoked the menu_action_scripts shall eventually satisfy intended_side_effect

Witnesses· 3 scenarios total

  • menu-share-test.sh:1
    exercises 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.

Covereda test exercises this rowExempteda reviewed mcdc:ignoreNo-actionfalse-result row satisfied by designUncoveredneeds a covering test
#action_script_invokedintended_side_effectResultProvesCovering test
1FFTaction_script_invoked
2TFFaction_script_invoked
3TTTintended_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).

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.

Sign in to discuss this with the proof team.Sign in