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.
The default JSONC and the user extension merge into one ordered item tree: per-key user overrides, stable order, inferred kinds and parents, injected root.
Specification
The requirement exactly as authored — its complete prose text and, where present, the formal FRETish sentence it compiles to.
The default JSONC and the user extension merge into one ordered item tree: per-key user overrides, stable order, inferred kinds and parents, injected root.
when menu_sources_loaded the menu_model shall eventually satisfy item_tree_merged
Rationale & tags
Why this requirement exists, and how it is categorised.
Rationale & tags
Why this requirement exists, and how it is categorised.
The merge defines what the menu shows; a lost or duplicated row here is user-visible on every open.
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, 23:58 UTC · Kimi Zero Warnings · AI agent
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.
2 obligations · 2 discharged
Browse the catalogueEvidence tagged via <REQ> is witnessed by a requirement that satisfies this one — normal for stakeholder / aggregate requirements, which are proven through the requirements that refine them.
Behavior at limits, thresholds, and edge-of-range values.
- nominalrequiredpresentCovered by 1 test
- negativerecommendedpresentCovered by 1 test
Behavior 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 menu_sources_loaded the menu_model shall eventually satisfy item_tree_merged
Witnesses· 2 scenarios total
- menu-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| # | item_tree_merged | menu_sources_loaded | Result | Proves | Covering test |
|---|---|---|---|---|---|
| 1 | F | F | T | menu_sources_loaded | |
| 2 | F | T | F | item_tree_merged | Exempted · defensive — mergeMenuSources always returns the rebuilt items/order map; loaded sources without a merged tree needs the build loop removed (reviewed: REVIEW-M8) |
| 3 | T | T | T | item_tree_merged |
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.
0 open · 3 resolved
No open findings
Everything flagged against this requirement has been resolved.
Resolved / historical (3)
- MediumFixed
String-blind trailing-comma strip silently mutated in-string commas in menu labels and actions
DEFECT-260927-CMMA
- MediumFixed
Top-level JSON array root in menu JSONC rendered phantom rows id 0,1,...
DEFECT-260928-4NG9
- MediumFixed
Inline JSONC comment tail survived stripping and emptied the whole menu
DEFECT-260928-7AX9
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 (7)
- Unparseable input (after stripping), non-object JSON, and…menu · SW
- An entry with action is an action, with target a link,…menu · SW
- A user entry overrides the default per key while keeping…menu · SW
- The parser strips full-line // comments and trailing commas…menu · SW
- When the JSONC stripper sees a comma, it drops the comma…menu · SW
- A top-level JSON array is not an object map of menu entriesmenu · SW
- When the JSONC stripper sees a comment opener, it drops the…menu · SW
Files to re-check (2)
- Menu.qmlshell/plugins/menu/Menu.qml
- MenuModel.jsshell/plugins/menu/MenuModel.js
Tests to re-run (1)
- menu-test.shtest/shell.d/menu-test.sh
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.