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.
When /usr/bin/fprintd-list reports that the target user has no enrolled fingerprint, or is not executable, omarchy-apply-lock shall remove /etc/pam.d/omarchy-lock-fingerprint and the fprintd resume hook.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
When /usr/bin/fprintd-list reports that the target user has no enrolled fingerprint, or is not executable, omarchy-apply-lock shall remove /etc/pam.d/omarchy-lock-fingerprint and the fprintd resume hook. When it lists an enrolled fingerprint, the helper shall install the PAM fingerprint stack. An answer that is neither is a failed probe, which keeps the configuration (SW-REQ-261004-SP65).
when fingerprint_not_enrolled the apply_lock shall always satisfy fingerprint_pam_removed
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
A stale fingerprint PAM stack without an enrolled finger would offer an authentication path that can never succeed and can shadow the password path. Upstream #7158 narrowed "not enrolled" to the explicit empty-enrollment answer of fprintd or a missing fprintd-list. An enrolled print is now a listed row ( - #N:). An answer that only contains the word "finger" no longer counts.
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 Dogfood · AI agent
- Reviewed
- Sep 12, 2026, 23:50 UTC
History
- Created
- Sep 12, 2026, 19:43 UTC · Kimi Dogfood · AI agent
- Modified
- Oct 4, 2026, 19:16 UTC · Claude Code · AI agent
Hazard review
- scenarioreviewederror_handlingboundaryedge_caseconcurrency_scale
Worst case: a stale fingerprint PAM stack without an enrolled finger offers an authentication path that can never succeed and shadows the password path. error_handling: a missing or non-executable fprintd-list routes to the removal branch; a failed probe keeps the configuration (SW-REQ-261004-SP65), so a transient fprintd failure cannot strip working fingerprint authentication. boundary: the enrolled/not-enrolled threshold is the anchored print-row match ( - #N:) and fprintd's "has no fingers enrolled" answer feeding the if/elif/else. edge_case: on a multi-user host the system-wide stack is keyed to one target user enrollment, so another user without enrolled fingers meets a failing fingerprint option; the password path stays intact and the lock service retries then falls back, so the residual is confusion and delay, not a lockout. Catalog 1.11.0 re-review: input_domain not applicable, it writes a fixed PAM stack and reads only the enrollment exit status. concurrency_scale applied, concurrent apply-lock runs can write the same PAM file; the torn-write exposure is the deferred atomic_write obligation.
- propertynot applicable
Single-branch installer derived from probe state; rerunning the helper reproduces the same branch, and there is no other algebraic surface.
- structuralnot applicable
Branch plus rm -f / tee of a fixed heredoc; no memory, encoding, or format-string surface.
- domainreviewed
atomic_write evaluated and DEFERRED (see obligation_deferrals): the fingerprint stack is written by as_root tee in place, so an interrupted run can leave a torn /etc/pam.d/omarchy-lock-fingerprint; the same write-temp-rename gap is tracked on JW2J for the password stack. Tracked debt, not an accepted gap.
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 Dogfood · AI agentApprovedSpec conformanceSep 12, 2026 · 4 weeks agoREVIEW-11
Else-branch matches: no enrolled fingerprint (or non-executable fprintd-list) removes /etc/pam.d/omarchy-lock-fingerprint; enrolled fingerprint installs/keeps it. fingerprint_pam_removed is the removal branch.
Cited code (1)
Obligations
What this requirement must witness to be considered satisfied — the required evidence, and the tests that discharge each one.
1 obligation · 1 deferred
Browse the catalogueFilesystem writes that produce externally-visible state shall use the write-temp-rename pattern (or an equivalent atomic primitive); partial writes shall not be observable.
Deferred — tracked by a finding withheld pending disclosure.
- nominalrequireddeferredWitnessing deferred — accepted while the tracking known issue stays open.
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 fingerprint_not_enrolled the apply_lock shall always satisfy fingerprint_pam_removed
Witnesses· 2 scenarios total
- apply-lock-test.sh:1exercises 2 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| # | fingerprint_not_enrolled | fingerprint_pam_removed | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | fingerprint_not_enrolled | |
| 2 | T | F | F | fingerprint_not_enrolled | Exempted · defensive — the not-enrolled arm unconditionally removes the fingerprint PAM file; leaving it in place needs a broken build (reviewed: REVIEW-11) |
| 3 | T | T | T | fingerprint_pam_removed |
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
Files to re-check (1)
- omarchy-apply-lockbin/omarchy-apply-lock
Tests to re-run (1)
- apply-lock-test.shtest/shell.d/apply-lock-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.