Source audit under contract v5. It reports source signals, not runtime verdicts: no Duo build was run and compatibility is unverified. Re-run the current CLI on your own revision before making decisions.

Hours are unvalidated heuristics, not measured delivery time or a quote. This index retains only a sample of findings and partial coverage metadata; target membership and build settings are unresolved. No human priority has been validated. Scores across contracts are not comparable.

Element

element-hq/element-ios

FoldReady CLI · result contract v5 · 794 UI files audited, 1221 excluded (tests, previews, vendored)

C0
Fold-Ready score
C · source score band

Element: 59/100 (C), contract v5, over 794 UI files. This is a versioned source summary. 0 potential lifecycle signal(s) require build confirmation. Runtime compatibility and human priority are unassessed.

Heuristic riskmedium
Unvalidated estimate190.5h
Findings156

Check breakdown

6 displayed checks · see CLI for full coverage

Standard navigation

source heuristic
50

7 standard navigation site(s), 7 legacy site(s). Sidebar placement is optional.. Standard navigation signals; sidebar placement is optional.

Adaptive layout

source heuristic
73

9 of 794 UI file(s) use fixed geometry · 34 icon-sized frame(s) not scored. Share of UI files free of fixed screen geometry. Icon-sized frames, previews and tests are not scored.

Adaptive geometry

source heuristic
25

4 of 794 UI file(s) read size classes or effective geometry. How widely the app reads size classes and scene geometry. Absence of any read is not scored zero.

State preservation

source heuristic
1

1 of 135 stateful view file(s) preserve state. Share of stateful view files with detected restoration signals; behavior is untested.

Interface idiom

source heuristic
99

790 of 794 UI file(s) free of device-idiom branching. Share of UI files free of layout branching on the device idiom.

Interface orientation

source heuristic
100

1 of 1 orientation site(s) adapt to the scene. Whether the app adapts to scene geometry rather than branching on interface orientation.

Findings

sample · 14 of 156 rows
Major signals5Minor9Leading checkState preservation · 1
SeverityCheckSignal and confidenceLocation
majoradaptive-layoutUIScreen.main.bounds is a fixed geometry read; use the view's own bounds or the window scene.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/Application/AppDelegate.swift:51
majoradaptive-layoutUIScreen.main.bounds is a fixed geometry read; use the view's own bounds or the window scene.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/Room/Views/WYSIWYGInputToolbar/WysiwygInputToolbarView.swift:459
majoradaptive-layoutUIScreen.main.bounds is a fixed geometry read; use the view's own bounds or the window scene.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/SlidingModal/SlidingModalContainerView.swift:112
majoradaptive-layoutUIScreen.main.bounds is a fixed geometry read; use the view's own bounds or the window scene.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/SlidingModal/SlidingModalContainerView.swift:120
majoradaptive-layoutUIScreen.main.bounds is a fixed geometry read; use the view's own bounds or the window scene.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

RiotSwiftUI/Modules/Authentication/QRLogin/Common/Service/MatrixSDK/QRLoginService.swift:77
minoradaptive-layoutUIScreen.main is deprecated in iOS 27; derive scale and geometry from the window scene and trait collection.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/QRCode/QRCodeGenerator.swift:23
minoradaptive-layoutUIScreen.main is deprecated in iOS 27; derive scale and geometry from the window scene and trait collection.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/Room/ContextualMenu/ReactionsMenu/ReactionsMenuButton.swift:15
minoradaptive-layoutHardcoded frame larger than a control: it will not reflow when the scene changes width.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

RiotSwiftUI/Modules/Onboarding/Avatar/View/OnboardingAvatarScreen.swift:61
minoradaptive-layoutHardcoded frame larger than a control: it will not reflow when the scene changes width.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

RiotSwiftUI/Modules/Spaces/SpaceCreation/SpaceCreationSettings/View/SpaceCreationSettings.swift:83
minoradaptive-layoutHardcoded frame larger than a control: it will not reflow when the scene changes width.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

RiotSwiftUI/Modules/Spaces/SpaceSettings/SpaceSettings/View/SpaceSettings.swift:98
minoridiomLayout branching on the device idiom; a resizable scene is described by its size class, not by whether it is a phone or a tablet.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Categories/UIDevice.swift:25
minoridiomLayout branching on the device idiom; a resizable scene is described by its size class, not by whether it is a phone or a tablet.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/Room/CreationModal/RoomCreationEventsModal/RoomCreationEventsModalViewController.swift:113
minoridiomLayout branching on the device idiom; a resizable scene is described by its size class, not by whether it is a phone or a tablet.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/SlidingModal/SlidingModalContainerView.swift:110
minoridiomLayout branching on the device idiom; a resizable scene is described by its size class, not by whether it is a phone or a tablet.

Confidence: not retained in this index; re-run CLI. Runtime: not tested.

Riot/Modules/SlidingModal/SlidingModalContainerView.swift:119

Proposed review order

human priority not assessed
01

Review navigation

Inspect legacy navigation in the agreed journeys at narrow and wide sizes. A sidebar is optional; confirm a need before changing navigation.

02

Size classes over device checks

Check whether the affected layout follows scene size. Standard containers may already adapt without explicit geometry reads.

03

Inspect idiom and orientation assumptions

Confirm target membership and branch intent, then exercise the affected journey across scene sizes and rotation.

04

Inspect fixed geometry

9 of 794 UI file(s) use fixed geometry · 34 icon-sized frame(s) not scored. Confirm whether the fixed size is intentional and reproduce any clipping before changing it.

05

Test state across a resize

Set selection, scroll and input state, resize, then revisit the journey. Record any loss before choosing a restoration change.

Patch proposals are not generated in this report. Run the current CLI to prepare a reviewed work order.

Validate the signals with a human review.

A reviewer confirms target relevance, journey impact and the next test. Re-scanning can show changed signals; it cannot prove runtime fixes.