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.
An unknown verb prints 'omarchy-menu: unknown verb' naming the verb to stderr and exits 2.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
An unknown verb prints 'omarchy-menu: unknown verb' naming the verb to stderr and exits 2.
when verb_unknown the menu_dispatcher shall eventually satisfy diagnostic_printed & exit_two
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
bin/omarchy-menu lines 48-51; exit 2 keeps misuse distinct from runtime failure.
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 27, 2026, 21:25 UTC · Kimi Zero Warnings · AI agent
Hazard review
- scenarioreviewedboundaryerror_handlingedge_case
Worst case: a caller scripts omarchy-menu <typo> in a chain and misreads exit 2 as success - the taxonomy is the mitigation: usage errors (missing args) exit 1, unknown verbs exit 2, so programmatic callers get two distinct failure classes, and the diagnostic names the offending verb plus the --help pointer on stderr where it cannot be mistaken for output. boundary: the case dispatch is total - every known verb, --help (exit 0), and the catch-all unknown arm - with no argv shape falling off the dispatcher. edge_case: the raw verb is echoed unquoted into the message, so terminal escape bytes in a hand-typed verb render raw in the user own terminal; the source is the user own command line (self-owned authority, same as any command echoing its arguments), and the bytes pass to stderr only, never to a parser. Catalog 1.11.0 re-review: input_domain not applicable, it compares the verb argument to a fixed list. concurrency_scale not applicable, one run per user action that owns its own temp files and shares no state with a concurrent run.
- propertyreviewedtotality
Every argv resolves to exactly one dispatcher ending - a known verb dispatch, help text with exit 0, or the unknown diagnostic with exit 2 - with no input reaching an undefined fall-through or double exit.
- structuralnot applicable
A case allowlist, one stderr echo, and exit codes; the verb is never evald, dispatched through, or interpolated into a command - unknown input can only become message text.
- domainnot applicable
stderr text to the user own terminal from the user own argv; no trust boundary is crossed, and no network, crypto, privilege, or wait surface exists in the dispatcher arm.
Change history
Every recorded revision of this requirement's source file — newest first, each with its commit message and the diff for that change.
Review history
Human and AI-agent approvals of this requirement — the 'why was this approved' lineage, each with the reviewer's justification and the code it cites.
- Kimi Zero Warnings · AI agentApprovedSpec conformanceSep 27, 2026 · 5 days agoREVIEW-63
Read omarchy-menu. The verb case falls through to an arm that prints 'omarchy-menu: unknown verb' naming the verb to stderr and exits 2. verb_unknown models the case default; diagnostic_printed and exit_two are that arm's two actions. Formula conforms to the code.
Cited code (1)
Open known issues
Findings currently open against this requirement — issues its verification surfaced that are not resolved yet. Each links to the full finding.
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
1 obligation · 1 discharged
Browse the catalogueBehavior when operations fail or dependencies are unavailable.
- negativerequiredpresentCovered by 1 test
- nominalrequiredpresentCovered by 1 test
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 verb_unknown the menu_dispatcher shall eventually satisfy diagnostic_printed & exit_two
Witnesses· 2 scenarios total
- menu-dispatcher-test.sh:1exercises 2 condition scenarios
MC/DC truth table· 5 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| # | diagnostic_printed | exit_two | verb_unknown | Result | Proves | Covering test |
|---|---|---|---|---|---|---|
| 1 | F | F | F | T | verb_unknown | |
| 2 | F | F | T | F | verb_unknown | Exempted · defensive — the unknown-verb arm unconditionally prints the diagnostic and exits 2; an unknown verb answered silently needs a broken case statement (reviewed: REVIEW-M1) |
| 3 | F | T | T | F | diagnostic_printed | Exempted · defensive — the same arm echoes before it exits; exit 2 without the diagnostic is structurally absent (reviewed: REVIEW-M1) |
| 4 | T | F | T | F | exit_two | Exempted · defensive — the same arm exits 2 right after the echo; a diagnostic without exit 2 is structurally absent mcdc:witness-out-of-process (reviewed: REVIEW-M1) |
| 5 | T | T | T | T | diagnostic_printed |
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.
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
Files to re-check (1)
- omarchy-menubin/omarchy-menu
Tests to re-run (1)
- menu-dispatcher-test.shtest/shell.d/menu-dispatcher-test.sh
What this rests on
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.