mobileui-os 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/AGENTS.md +47 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +78 -0
  4. package/bin/cli.mjs +375 -0
  5. package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
  6. package/knowledge/android/accessibility.md +333 -0
  7. package/knowledge/android/components-controls.md +270 -0
  8. package/knowledge/android/material-design-3.md +174 -0
  9. package/knowledge/android/navigation-patterns.md +212 -0
  10. package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
  11. package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
  12. package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
  13. package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
  14. package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
  15. package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
  16. package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
  17. package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
  18. package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
  19. package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
  20. package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
  21. package/knowledge/apple/Interaction-behaviour.md +1378 -0
  22. package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
  23. package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
  24. package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
  25. package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
  26. package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
  27. package/knowledge/apple/Patterns-templates-composition.md +647 -0
  28. package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
  29. package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
  30. package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
  31. package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
  32. package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
  33. package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
  34. package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
  35. package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
  36. package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
  37. package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
  38. package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
  39. package/knowledge/apple/accessibility.md +2162 -0
  40. package/knowledge/apple/color.md +1933 -0
  41. package/knowledge/apple/component-architecture.md +2208 -0
  42. package/knowledge/apple/components.md +2172 -0
  43. package/knowledge/apple/design-decision-framework.md +1883 -0
  44. package/knowledge/apple/design-review-engine.md +2108 -0
  45. package/knowledge/apple/design-tokens.md +1943 -0
  46. package/knowledge/apple/designing-for-ios.md +1680 -0
  47. package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
  48. package/knowledge/apple/hig-foundation.md +1806 -0
  49. package/knowledge/apple/iconography.md +1903 -0
  50. package/knowledge/apple/interaction-patterns.md +2513 -0
  51. package/knowledge/apple/interaction.md +2141 -0
  52. package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
  53. package/knowledge/apple/ios-components-and-controls.md +1634 -0
  54. package/knowledge/apple/ios-components-patterns.md +1343 -0
  55. package/knowledge/apple/ios-design-system-architecture.md +1520 -0
  56. package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
  57. package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
  58. package/knowledge/apple/ios-forms-and-input.md +1458 -0
  59. package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
  60. package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
  61. package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
  62. package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
  63. package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
  64. package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
  65. package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
  66. package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
  67. package/knowledge/apple/ios-search-and-discovery.md +1456 -0
  68. package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
  69. package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
  70. package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
  71. package/knowledge/apple/layout.md +2331 -0
  72. package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
  73. package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
  74. package/knowledge/apple/motion-and-animation.md +1698 -0
  75. package/knowledge/apple/motion.md +2087 -0
  76. package/knowledge/apple/navigation.md +2281 -0
  77. package/knowledge/apple/responsive-adaptive.md +2159 -0
  78. package/knowledge/apple/screen-architecture.md +2067 -0
  79. package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
  80. package/knowledge/apple/typography.md +1802 -0
  81. package/knowledge/apple/ui-ux inteligence audit.md +106 -0
  82. package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
  83. package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
  84. package/knowledge/apple/visual-materials.md +2189 -0
  85. package/package.json +53 -0
  86. package/principles/design-principles.md +37 -0
  87. package/principles/platform-principles.md +25 -0
  88. package/principles/ux-principles.md +16 -0
  89. package/references/official-links.md +11 -0
  90. package/skills/accessibility-engineer/SKILL.md +125 -0
  91. package/skills/analytics-engineer/SKILL.md +283 -0
  92. package/skills/animation-engineer/SKILL.md +316 -0
  93. package/skills/component-designer/SKILL.md +75 -0
  94. package/skills/component-library-engineer/SKILL.md +140 -0
  95. package/skills/component-library-ops/SKILL.md +155 -0
  96. package/skills/design-system/SKILL.md +77 -0
  97. package/skills/design-token-engineer/SKILL.md +203 -0
  98. package/skills/design-token-pipeline/SKILL.md +277 -0
  99. package/skills/device-lab-engineer/SKILL.md +387 -0
  100. package/skills/forms-engineer/SKILL.md +79 -0
  101. package/skills/internationalization-engineer/SKILL.md +256 -0
  102. package/skills/motion-designer/SKILL.md +77 -0
  103. package/skills/native-data-fetching/SKILL.md +50 -0
  104. package/skills/navigation-architect/SKILL.md +65 -0
  105. package/skills/performance-engineer/SKILL.md +250 -0
  106. package/skills/platform-specialist/SKILL.md +95 -0
  107. package/skills/pre-release-gate/SKILL.md +75 -0
  108. package/skills/screen-designer/SKILL.md +117 -0
  109. package/skills/security-engineer/SKILL.md +375 -0
  110. package/skills/skills.json +134 -0
  111. package/skills/testing-auditor/SKILL.md +62 -0
  112. package/skills/ui-architect/SKILL.md +86 -0
  113. package/skills/ui-implementer/SKILL.md +188 -0
  114. package/skills/ux-architect/SKILL.md +49 -0
  115. package/skills/ux-auditor/SKILL.md +52 -0
  116. package/skills/visual-auditor/SKILL.md +71 -0
  117. package/templates/audit-report.md +29 -0
  118. package/templates/design-tokens.ts +33 -0
  119. package/templates/screen-spec.md +61 -0
  120. package/workflows/new-screen.md +17 -0
  121. package/workflows/pre-release.md +21 -0
  122. package/workflows/redesign.md +14 -0
  123. package/workflows/ui-audit.md +22 -0
@@ -0,0 +1,1540 @@
1
+ # Notifications, Permissions, Privacy & Trust
2
+
3
+ > Advanced agent module for designing system-facing experiences involving
4
+ > notifications, permissions, privacy, sensitive data, background activity,
5
+ > system surfaces, and user trust.
6
+
7
+ Version: 1.0
8
+ Platform: iOS / iPadOS / React Native / Expo
9
+ Layer: Advanced platform UX intelligence
10
+
11
+ ---
12
+
13
+ # 1. PURPOSE
14
+
15
+ Applications do not exist entirely inside their own screens.
16
+
17
+ They interact with system-level surfaces such as:
18
+
19
+ ```text id="p4x7m2"
20
+ Notifications
21
+ Permission prompts
22
+ Lock screen
23
+ Notification Center
24
+ Widgets
25
+ Live Activities
26
+ Background processing
27
+ Share surfaces
28
+ System settings
29
+ App privacy controls
30
+ ```
31
+
32
+ These interactions can strongly influence whether users trust the application.
33
+
34
+ The agent must therefore treat system-facing UX as part of the product experience.
35
+
36
+ ---
37
+
38
+ # 2. TRUST PRINCIPLE
39
+
40
+ A trustworthy application communicates:
41
+
42
+ ```text id="c8m3q5"
43
+ What it wants
44
+ Why it wants it
45
+ When it needs it
46
+ What it will do
47
+ What the user can control
48
+ ```
49
+
50
+ Avoid asking for access simply because the API makes it available.
51
+
52
+ ---
53
+
54
+ # 3. PERMISSION MINIMIZATION
55
+
56
+ Request the minimum capability required to complete the user's task.
57
+
58
+ Examples:
59
+
60
+ ```text id="x5n8v1"
61
+ Need photos
62
+ → Request appropriate photo access
63
+
64
+ Need microphone
65
+ → Request microphone access
66
+
67
+ Need location
68
+ → Request location access
69
+
70
+ Need notifications
71
+ → Request notification authorization
72
+ ```
73
+
74
+ Do not request unrelated permissions during onboarding.
75
+
76
+ ---
77
+
78
+ # 4. PERMISSION TIMING
79
+
80
+ The best permission request usually occurs immediately before the feature needs
81
+ it.
82
+
83
+ Preferred:
84
+
85
+ ```text id="m7q2c4"
86
+ User chooses feature
87
+ ↓
88
+ Explain why access is needed
89
+ ↓
90
+ System permission
91
+ ↓
92
+ Feature continues
93
+ ```
94
+
95
+ Avoid:
96
+
97
+ ```text id="r4x8n1"
98
+ First launch
99
+ ↓
100
+ Request every permission
101
+ ```
102
+
103
+ ---
104
+
105
+ # 5. JUST-IN-TIME PERMISSIONS
106
+
107
+ Permission timing should correspond to user intent.
108
+
109
+ Examples:
110
+
111
+ ```text id="z6p3m9"
112
+ Tap "Scan"
113
+ → Camera permission
114
+
115
+ Tap "Record"
116
+ → Microphone permission
117
+
118
+ Tap "Choose photo"
119
+ → Photo access
120
+
121
+ Enable notifications
122
+ → Notification permission
123
+ ```
124
+
125
+ This creates a clear cause-and-effect relationship.
126
+
127
+ ---
128
+
129
+ # 6. PRE-PERMISSION EXPLANATION
130
+
131
+ When useful, provide a brief contextual explanation before invoking the system
132
+ permission dialog.
133
+
134
+ The explanation should answer:
135
+
136
+ ```text id="k2v7m5"
137
+ Why is this needed?
138
+ What feature does it unlock?
139
+ ```
140
+
141
+ Do not manipulate the user into accepting.
142
+
143
+ ---
144
+
145
+ # 7. EXPLANATION QUALITY
146
+
147
+ Good:
148
+
149
+ ```text id="g8m4x2"
150
+ "Allow photo access to add artwork from your library."
151
+ ```
152
+
153
+ Poor:
154
+
155
+ ```text id="t5n7c3"
156
+ "We need access to continue."
157
+ ```
158
+
159
+ The first explains the relationship between access and functionality.
160
+
161
+ ---
162
+
163
+ # 8. NEVER MISLEAD
164
+
165
+ Do not claim:
166
+
167
+ ```text id="q9x3m7"
168
+ "Required for the app to work"
169
+ ```
170
+
171
+ when the permission is actually optional.
172
+
173
+ Be precise about consequences.
174
+
175
+ ---
176
+
177
+ # 9. OPTIONAL PERMISSIONS
178
+
179
+ If a permission enables an optional feature:
180
+
181
+ ```text id="w4k8p2"
182
+ Core application
183
+ ↓
184
+ Works without permission
185
+
186
+ Optional feature
187
+ ↓
188
+ Requests access
189
+ ```
190
+
191
+ Do not unnecessarily block the core experience.
192
+
193
+ ---
194
+
195
+ # 10. DENIED PERMISSION
196
+
197
+ Permission denial is a valid user decision.
198
+
199
+ The application should not treat it as an exceptional crash condition.
200
+
201
+ ---
202
+
203
+ # 11. DENIAL RESPONSE
204
+
205
+ After denial:
206
+
207
+ ```text id="m3v7q1"
208
+ Explain limitation
209
+ ↓
210
+ Offer alternative if available
211
+ ↓
212
+ Continue usable portions
213
+ ```
214
+
215
+ ---
216
+
217
+ # 12. REPEATED DENIAL
218
+
219
+ Do not repeatedly interrupt users with the same request.
220
+
221
+ Repeated prompting creates frustration and reduces trust.
222
+
223
+ ---
224
+
225
+ # 13. PERMISSION STATE MODEL
226
+
227
+ Treat permission as state:
228
+
229
+ ```text id="c6n2x8"
230
+ Unknown
231
+ ↓
232
+ Granted
233
+ ↓
234
+ Denied
235
+ ↓
236
+ Restricted / unavailable
237
+ ```
238
+
239
+ The exact platform states may vary.
240
+
241
+ The UI should respond to actual state rather than assuming access.
242
+
243
+ ---
244
+
245
+ # 14. SETTINGS REDIRECTION
246
+
247
+ If the system no longer presents a useful permission prompt and the user must
248
+ change access manually, provide a clear path to the relevant settings.
249
+
250
+ Explain:
251
+
252
+ ```text id="p8m4x5"
253
+ What changed
254
+ Why settings are needed
255
+ What will happen after enabling access
256
+ ```
257
+
258
+ ---
259
+
260
+ # 15. PERMISSION RECOVERY
261
+
262
+ After a user changes permission externally, refresh application state.
263
+
264
+ Do not require a full restart when the platform allows immediate state
265
+ re-evaluation.
266
+
267
+ ---
268
+
269
+ # 16. CAMERA
270
+
271
+ Camera access should be requested when the user initiates a camera-dependent
272
+ task.
273
+
274
+ The interface should communicate what the camera will be used for.
275
+
276
+ ---
277
+
278
+ # 17. MICROPHONE
279
+
280
+ Microphone access should be tied to:
281
+
282
+ ```text id="v2x6m8"
283
+ Recording
284
+ Voice input
285
+ Audio capture
286
+ Communication
287
+ ```
288
+
289
+ depending on the application.
290
+
291
+ ---
292
+
293
+ # 18. LOCATION
294
+
295
+ Location is particularly sensitive.
296
+
297
+ The application should request it only when location meaningfully supports a
298
+ feature.
299
+
300
+ Avoid collecting location merely because it may be useful someday.
301
+
302
+ ---
303
+
304
+ # 19. CONTACTS
305
+
306
+ Contact access should have a specific user-facing purpose.
307
+
308
+ Do not treat the address book as a generic source of application data.
309
+
310
+ ---
311
+
312
+ # 20. PHOTOS
313
+
314
+ Photo access should correspond to actual photo workflows.
315
+
316
+ Consider whether the feature can function with limited or selected access when
317
+ supported by the platform.
318
+
319
+ ---
320
+
321
+ # 21. FILE ACCESS
322
+
323
+ File-related capabilities should follow the platform's document and file
324
+ interaction model rather than requesting broad access unnecessarily.
325
+
326
+ ---
327
+
328
+ # 22. NOTIFICATION PERMISSION
329
+
330
+ Notifications are a privilege, not a default entitlement.
331
+
332
+ The user should understand the value before being asked.
333
+
334
+ ---
335
+
336
+ # 23. NOTIFICATION VALUE
337
+
338
+ A notification should answer:
339
+
340
+ ```text id="n5q8c2"
341
+ Why should I care right now?
342
+ ```
343
+
344
+ If there is no meaningful answer, do not send one.
345
+
346
+ ---
347
+
348
+ # 24. NOTIFICATION FREQUENCY
349
+
350
+ More notifications do not mean more engagement.
351
+
352
+ Excessive notifications create:
353
+
354
+ ```text id="z3m7p1"
355
+ Interruption
356
+ Notification fatigue
357
+ Disabling
358
+ Uninstallation
359
+ ```
360
+
361
+ ---
362
+
363
+ # 25. NOTIFICATION PRIORITY
364
+
365
+ Prioritize:
366
+
367
+ ```text id="k7x2m4"
368
+ Time-sensitive information
369
+ Important user-requested events
370
+ Meaningful state changes
371
+ ```
372
+
373
+ Avoid notifying about every internal event.
374
+
375
+ ---
376
+
377
+ # 26. USER-INITIATED NOTIFICATIONS
378
+
379
+ Notifications are strongest when they correspond to an explicit user action.
380
+
381
+ Examples:
382
+
383
+ ```text id="r8v3n6"
384
+ Download completed
385
+ Export finished
386
+ Backup completed
387
+ Reminder triggered
388
+ Processing completed
389
+ ```
390
+
391
+ ---
392
+
393
+ # 27. BACKGROUND NOTIFICATIONS
394
+
395
+ Background events should not automatically become user-facing notifications.
396
+
397
+ First ask:
398
+
399
+ ```text id="h4m9x2"
400
+ Does the user need to know?
401
+ Does it require action?
402
+ Is it timely?
403
+ ```
404
+
405
+ ---
406
+
407
+ # 28. NOTIFICATION CONTENT
408
+
409
+ A useful notification typically contains:
410
+
411
+ ```text id="p3x7m5"
412
+ Identity
413
+ Event
414
+ Optional action
415
+ ```
416
+
417
+ Keep the message concise.
418
+
419
+ ---
420
+
421
+ # 29. NOTIFICATION TITLES
422
+
423
+ Titles should identify the source or meaningful event.
424
+
425
+ Avoid generic titles such as:
426
+
427
+ ```text id="q5n8c2"
428
+ "Update"
429
+ "Notification"
430
+ "Alert"
431
+ ```
432
+
433
+ when a more meaningful title exists.
434
+
435
+ ---
436
+
437
+ # 30. NOTIFICATION BODY
438
+
439
+ The body should provide enough information to understand the event without
440
+ opening the application.
441
+
442
+ ---
443
+
444
+ # 31. ACTIONABLE NOTIFICATIONS
445
+
446
+ Add actions when they provide meaningful shortcuts.
447
+
448
+ Examples:
449
+
450
+ ```text id="m8v2q4"
451
+ Reply
452
+ Approve
453
+ Pause
454
+ Mark as read
455
+ Open
456
+ ```
457
+
458
+ Do not add actions merely to make notifications appear more advanced.
459
+
460
+ ---
461
+
462
+ # 32. NOTIFICATION DEEP LINKS
463
+
464
+ Tapping a notification should lead to the relevant context.
465
+
466
+ Preferred:
467
+
468
+ ```text id="c4x7m1"
469
+ Notification
470
+ ↓
471
+ Relevant item/event
472
+ ```
473
+
474
+ not:
475
+
476
+ ```text id="w9p3k6"
477
+ Notification
478
+ ↓
479
+ Generic home screen
480
+ ```
481
+
482
+ ---
483
+
484
+ # 33. NOTIFICATION STATE
485
+
486
+ Opening a notification should correctly update related application state.
487
+
488
+ For example:
489
+
490
+ ```text id="x6m2v8"
491
+ Notification says:
492
+ "Download complete"
493
+
494
+ Opening it:
495
+ → Download is already marked complete
496
+ ```
497
+
498
+ Avoid stale UI.
499
+
500
+ ---
501
+
502
+ # 34. DUPLICATE NOTIFICATIONS
503
+
504
+ Avoid generating multiple notifications for the same meaningful event.
505
+
506
+ Deduplicate background events when possible.
507
+
508
+ ---
509
+
510
+ # 35. NOTIFICATION COLLAPSING
511
+
512
+ Related events may be grouped when individual notifications would create noise.
513
+
514
+ ---
515
+
516
+ # 36. NOTIFICATION CHANNEL THINKING
517
+
518
+ Even when the platform implementation differs, conceptually categorize
519
+ notifications:
520
+
521
+ ```text id="p7n4c2"
522
+ Critical
523
+ Important
524
+ Informational
525
+ Optional
526
+ ```
527
+
528
+ Then control frequency accordingly.
529
+
530
+ ---
531
+
532
+ # 37. TIME-SENSITIVE COMMUNICATION
533
+
534
+ Time-sensitive events deserve stronger treatment only when they genuinely
535
+ require timely attention.
536
+
537
+ Do not label ordinary application activity as urgent.
538
+
539
+ ---
540
+
541
+ # 38. CRITICAL INFORMATION
542
+
543
+ Critical communication should be extremely rare and justified by the product
544
+ context and platform capabilities.
545
+
546
+ ---
547
+
548
+ # 39. LOCK SCREEN PRIVACY
549
+
550
+ Sensitive content may appear outside the application.
551
+
552
+ Consider:
553
+
554
+ ```text id="x4m8q3"
555
+ Notification previews
556
+ Lock screen
557
+ Notification Center
558
+ App switcher
559
+ Widgets
560
+ ```
561
+
562
+ ---
563
+
564
+ # 40. SENSITIVE NOTIFICATION CONTENT
565
+
566
+ Avoid exposing sensitive information when the user has not explicitly chosen
567
+ to expose it.
568
+
569
+ Examples:
570
+
571
+ ```text id="k3p7v9"
572
+ Private document title
573
+ Financial information
574
+ Private messages
575
+ Sensitive personal data
576
+ ```
577
+
578
+ ---
579
+
580
+ # 41. NOTIFICATION PREVIEW STRATEGY
581
+
582
+ For sensitive applications, consider:
583
+
584
+ ```text id="m8x2c5"
585
+ Generic notification
586
+ Redacted content
587
+ User-controlled preview settings
588
+ ```
589
+
590
+ when appropriate.
591
+
592
+ ---
593
+
594
+ # 42. NOTIFICATION ACTION SECURITY
595
+
596
+ Notification actions should respect authentication and authorization.
597
+
598
+ Do not allow sensitive operations to execute blindly from an exposed surface.
599
+
600
+ ---
601
+
602
+ # 43. WIDGETS
603
+
604
+ Widgets provide glanceable information outside the main application.
605
+
606
+ They should prioritize:
607
+
608
+ ```text id="v6n3q8"
609
+ Quick information
610
+ Quick access
611
+ Current state
612
+ ```
613
+
614
+ rather than attempting to reproduce the entire application.
615
+
616
+ ---
617
+
618
+ # 44. WIDGET INTERACTION
619
+
620
+ A widget should have a clear purpose.
621
+
622
+ Avoid building a tiny version of the entire application inside a widget.
623
+
624
+ ---
625
+
626
+ # 45. WIDGET DATA
627
+
628
+ Display only the information necessary for the widget's purpose.
629
+
630
+ Consider privacy because widgets may be visible outside the application.
631
+
632
+ ---
633
+
634
+ # 46. LIVE ACTIVITIES
635
+
636
+ Live Activities are appropriate for ongoing, time-relevant states.
637
+
638
+ Conceptually:
639
+
640
+ ```text id="c7m2x5"
641
+ Event begins
642
+ ↓
643
+ Live state
644
+ ↓
645
+ Progress/change
646
+ ↓
647
+ Completion
648
+ ```
649
+
650
+ Examples may include:
651
+
652
+ ```text id="r4n8p1"
653
+ Delivery
654
+ Sports event
655
+ Timer
656
+ Trip
657
+ Ongoing task
658
+ ```
659
+
660
+ depending on the product.
661
+
662
+ ---
663
+
664
+ # 47. LIVE ACTIVITY RULE
665
+
666
+ Do not use persistent live surfaces for information that does not change
667
+ meaningfully over time.
668
+
669
+ ---
670
+
671
+ # 48. LIVE ACTIVITY STATE
672
+
673
+ The displayed state should remain synchronized with the actual application
674
+ state.
675
+
676
+ ---
677
+
678
+ # 49. BACKGROUND ACTIVITY
679
+
680
+ Background processing should serve a user-visible purpose.
681
+
682
+ Do not perform expensive background work simply because the system permits it.
683
+
684
+ ---
685
+
686
+ # 50. BACKGROUND COMMUNICATION
687
+
688
+ If an operation continues while the app is not visible, the user should receive
689
+ appropriate feedback when meaningful.
690
+
691
+ ---
692
+
693
+ # 51. SYSTEM INTEGRATION
694
+
695
+ System-facing experiences should feel like extensions of the application,
696
+ not disconnected utilities.
697
+
698
+ Examples:
699
+
700
+ ```text id="n6x4m8"
701
+ Notification
702
+ → App detail
703
+
704
+ Widget
705
+ → App destination
706
+
707
+ Shortcut
708
+ → App task
709
+
710
+ Share
711
+ → App workflow
712
+ ```
713
+
714
+ ---
715
+
716
+ # 52. PRIVACY BY DESIGN
717
+
718
+ Privacy should be considered during architecture, not added at the end.
719
+
720
+ Ask:
721
+
722
+ ```text id="p2v7m4"
723
+ What data exists?
724
+ Why is it collected?
725
+ Where is it stored?
726
+ Who can access it?
727
+ How long is it retained?
728
+ Can it be deleted?
729
+ ```
730
+
731
+ ---
732
+
733
+ # 53. DATA MINIMIZATION
734
+
735
+ Collect only what the product actually needs.
736
+
737
+ More data means:
738
+
739
+ ```text id="x5m8q1"
740
+ More security responsibility
741
+ More privacy risk
742
+ More storage
743
+ More complexity
744
+ ```
745
+
746
+ ---
747
+
748
+ # 54. LOCAL-FIRST THINKING
749
+
750
+ When sensitive data does not need server processing, consider whether it can
751
+ remain local.
752
+
753
+ Potential benefits:
754
+
755
+ ```text id="c3n7v5"
756
+ Lower exposure
757
+ Offline functionality
758
+ Reduced infrastructure
759
+ Greater user control
760
+ ```
761
+
762
+ ---
763
+
764
+ # 55. CLOUD DATA
765
+
766
+ If data leaves the device, the application should have a clear reason.
767
+
768
+ The user should not have to infer data behavior from technical implementation.
769
+
770
+ ---
771
+
772
+ # 56. DATA TRANSPARENCY
773
+
774
+ Communicate meaningful data behavior in understandable language.
775
+
776
+ Avoid privacy explanations that require technical expertise.
777
+
778
+ ---
779
+
780
+ # 57. PRIVACY LANGUAGE
781
+
782
+ Prefer:
783
+
784
+ ```text id="m7x2q8"
785
+ "Your notes are stored on this device."
786
+ ```
787
+
788
+ over:
789
+
790
+ ```text id="v4n9c3"
791
+ "Data persistence is implemented using local storage."
792
+ ```
793
+
794
+ The first communicates user impact.
795
+
796
+ ---
797
+
798
+ # 58. DATA COLLECTION
799
+
800
+ Never collect:
801
+
802
+ ```text id="p8c5m2"
803
+ Location
804
+ Contacts
805
+ Media
806
+ Microphone
807
+ Usage data
808
+ ```
809
+
810
+ without a legitimate product purpose.
811
+
812
+ ---
813
+
814
+ # 59. ANALYTICS
815
+
816
+ Analytics should follow the same principle:
817
+
818
+ ```text id="x2m7v4"
819
+ Collect what improves the product.
820
+ Avoid collecting unrelated personal information.
821
+ ```
822
+
823
+ ---
824
+
825
+ # 60. TELEMETRY
826
+
827
+ Technical telemetry should be minimized and protected.
828
+
829
+ Avoid accidentally logging:
830
+
831
+ ```text id="n4q8c6"
832
+ Passwords
833
+ Tokens
834
+ Private messages
835
+ Document contents
836
+ Personal identifiers
837
+ ```
838
+
839
+ ---
840
+
841
+ # 61. ERROR LOGGING
842
+
843
+ Errors should provide developers with enough diagnostic information without
844
+ leaking sensitive user content.
845
+
846
+ ---
847
+
848
+ # 62. CREDENTIALS
849
+
850
+ Never expose credentials in:
851
+
852
+ ```text id="m5x2p8"
853
+ Logs
854
+ Notifications
855
+ Analytics
856
+ Screenshots
857
+ UI
858
+ Crash reports
859
+ ```
860
+
861
+ ---
862
+
863
+ # 63. AUTHENTICATION STATE
864
+
865
+ Authentication should be represented clearly:
866
+
867
+ ```text id="v8c3n6"
868
+ Signed out
869
+ Signing in
870
+ Authenticated
871
+ Session expired
872
+ Re-authentication required
873
+ ```
874
+
875
+ ---
876
+
877
+ # 64. SESSION EXPIRATION
878
+
879
+ When authentication expires:
880
+
881
+ ```text id="q7m4x2"
882
+ Explain
883
+ Preserve safe local context
884
+ Request authentication
885
+ Return to original task
886
+ ```
887
+
888
+ when appropriate.
889
+
890
+ ---
891
+
892
+ # 65. BIOMETRIC AUTHENTICATION
893
+
894
+ Biometric authentication should be presented as a convenient security mechanism,
895
+ not as mysterious background behavior.
896
+
897
+ ---
898
+
899
+ # 66. SENSITIVE ACTIONS
900
+
901
+ Actions involving sensitive data may require re-authentication depending on
902
+ product security requirements.
903
+
904
+ ---
905
+
906
+ # 67. SCREEN PRIVACY
907
+
908
+ Consider whether sensitive screens should be protected from accidental exposure
909
+ in:
910
+
911
+ ```text id="c5n8m1"
912
+ App switcher
913
+ Screenshots
914
+ Screen recording
915
+ External displays
916
+ ```
917
+
918
+ where relevant and technically supported.
919
+
920
+ ---
921
+
922
+ # 68. COPY / SHARE PRIVACY
923
+
924
+ Users may copy or share information intentionally.
925
+
926
+ The application should not unexpectedly expose more data than the selected
927
+ content.
928
+
929
+ ---
930
+
931
+ # 69. CLIPBOARD
932
+
933
+ Sensitive data copied to the clipboard should be treated carefully.
934
+
935
+ Avoid silently copying sensitive content without user intent.
936
+
937
+ ---
938
+
939
+ # 70. SHARING
940
+
941
+ The share operation should make the selected content clear.
942
+
943
+ Do not silently package unrelated data into a share payload.
944
+
945
+ ---
946
+
947
+ # 71. FILE EXPORT
948
+
949
+ Export should communicate:
950
+
951
+ ```text id="x6p2m8"
952
+ What is being exported
953
+ Where it is going
954
+ What format is being used
955
+ ```
956
+
957
+ when relevant.
958
+
959
+ ---
960
+
961
+ # 72. DELETE + PRIVACY
962
+
963
+ Deletion should have clear semantics.
964
+
965
+ If data is recoverable through trash/recently deleted, communicate that when
966
+ important.
967
+
968
+ ---
969
+
970
+ # 73. ACCOUNT DELETION
971
+
972
+ Account deletion is a major trust interaction.
973
+
974
+ It should clearly explain:
975
+
976
+ ```text id="m3v8q5"
977
+ What will be deleted
978
+ What cannot be recovered
979
+ What happens to local data
980
+ What happens to cloud data
981
+ ```
982
+
983
+ when applicable.
984
+
985
+ ---
986
+
987
+ # 74. EXPORT BEFORE DELETE
988
+
989
+ Where appropriate, provide users with a way to retrieve their data before
990
+ irreversible deletion.
991
+
992
+ ---
993
+
994
+ # 75. PRIVACY SETTINGS
995
+
996
+ Privacy settings should be understandable without requiring technical knowledge.
997
+
998
+ Organize them by user concerns:
999
+
1000
+ ```text id="q8x4n2"
1001
+ Permissions
1002
+ Data
1003
+ Notifications
1004
+ Security
1005
+ Personalization
1006
+ ```
1007
+
1008
+ rather than internal APIs.
1009
+
1010
+ ---
1011
+
1012
+ # 76. PERMISSION MANAGEMENT UI
1013
+
1014
+ If the application provides an internal permission overview, show:
1015
+
1016
+ ```text id="p6m2c7"
1017
+ Capability
1018
+ Current state
1019
+ Purpose
1020
+ How to change it
1021
+ ```
1022
+
1023
+ Do not fabricate platform permission states.
1024
+
1025
+ ---
1026
+
1027
+ # 77. TRUST THROUGH CONSISTENCY
1028
+
1029
+ Users build trust when the application behaves predictably.
1030
+
1031
+ Avoid:
1032
+
1033
+ ```text id="v4n7x2"
1034
+ Unexpected prompts
1035
+ Hidden actions
1036
+ Surprise notifications
1037
+ Silent uploads
1038
+ Unexpected background behavior
1039
+ Unexplained errors
1040
+ ```
1041
+
1042
+ ---
1043
+
1044
+ # 78. TRUST THROUGH FEEDBACK
1045
+
1046
+ Important operations should communicate their state.
1047
+
1048
+ Examples:
1049
+
1050
+ ```text id="c8m3q1"
1051
+ Saving
1052
+ Saved
1053
+ Uploading
1054
+ Uploaded
1055
+ Syncing
1056
+ Synced
1057
+ Processing
1058
+ Complete
1059
+ ```
1060
+
1061
+ when those states matter.
1062
+
1063
+ ---
1064
+
1065
+ # 79. SILENT FAILURE
1066
+
1067
+ Avoid silently failing important operations.
1068
+
1069
+ If something fails:
1070
+
1071
+ ```text id="x7p4m9"
1072
+ Explain
1073
+ Recover
1074
+ Retry
1075
+ ```
1076
+
1077
+ when possible.
1078
+
1079
+ ---
1080
+
1081
+ # 80. TRUST AND PERFORMANCE
1082
+
1083
+ Slow interfaces can reduce trust because users cannot tell whether the app is
1084
+ working.
1085
+
1086
+ Use appropriate progress, loading, and state feedback.
1087
+
1088
+ ---
1089
+
1090
+ # 81. TRUST AND ANIMATION
1091
+
1092
+ Animation should never make the application appear slower than it actually is.
1093
+
1094
+ ---
1095
+
1096
+ # 82. TRUST AND AI
1097
+
1098
+ AI features require additional transparency.
1099
+
1100
+ Users should understand when content is:
1101
+
1102
+ ```text id="m2v8q4"
1103
+ Generated
1104
+ Suggested
1105
+ Transformed
1106
+ Summarized
1107
+ Retrieved
1108
+ ```
1109
+
1110
+ rather than assuming it is authoritative.
1111
+
1112
+ ---
1113
+
1114
+ # 83. AI DATA PRIVACY
1115
+
1116
+ If AI processing involves external services, communicate the relevant data
1117
+ relationship clearly.
1118
+
1119
+ Do not imply local processing if processing occurs remotely.
1120
+
1121
+ ---
1122
+
1123
+ # 84. AI ACTIONS
1124
+
1125
+ AI should not silently perform consequential actions.
1126
+
1127
+ For important operations:
1128
+
1129
+ ```text id="p5x7n3"
1130
+ Suggest
1131
+ ↓
1132
+ Review
1133
+ ↓
1134
+ Confirm
1135
+ ↓
1136
+ Execute
1137
+ ```
1138
+
1139
+ may be appropriate.
1140
+
1141
+ ---
1142
+
1143
+ # 85. USER CONTROL
1144
+
1145
+ Trust increases when users retain meaningful control over:
1146
+
1147
+ ```text id="q3m8v5"
1148
+ Permissions
1149
+ Notifications
1150
+ Data
1151
+ Accounts
1152
+ Automation
1153
+ AI actions
1154
+ ```
1155
+
1156
+ ---
1157
+
1158
+ # 86. NOTIFICATION SETTINGS
1159
+
1160
+ Allow users to control notification categories when the product genuinely has
1161
+ multiple meaningful notification types.
1162
+
1163
+ ---
1164
+
1165
+ # 87. NOTIFICATION FATIGUE
1166
+
1167
+ Provide sensible defaults.
1168
+
1169
+ Do not force users to manually disable dozens of notification types.
1170
+
1171
+ ---
1172
+
1173
+ # 88. SYSTEM SETTING HANDOFF
1174
+
1175
+ When the system owns a setting, the application should explain the relevant
1176
+ setting rather than pretending it controls it directly.
1177
+
1178
+ ---
1179
+
1180
+ # 89. OFFLINE TRUST
1181
+
1182
+ Offline applications should not pretend a network operation succeeded.
1183
+
1184
+ Distinguish:
1185
+
1186
+ ```text id="n7c2x4"
1187
+ Saved locally
1188
+ Pending sync
1189
+ Synced
1190
+ Failed to sync
1191
+ ```
1192
+
1193
+ ---
1194
+
1195
+ # 90. SYNC CONFLICTS
1196
+
1197
+ If synchronization creates conflicts, expose a comprehensible resolution
1198
+ experience.
1199
+
1200
+ Avoid technical database language.
1201
+
1202
+ ---
1203
+
1204
+ # 91. TRUST STATE MODEL
1205
+
1206
+ For important operations, model:
1207
+
1208
+ ```text id="v3m8q1"
1209
+ Idle
1210
+ ↓
1211
+ Requested
1212
+ ↓
1213
+ Processing
1214
+ ↓
1215
+ Succeeded
1216
+ ↓
1217
+ Persisted
1218
+ ```
1219
+
1220
+ with appropriate failure branches.
1221
+
1222
+ ---
1223
+
1224
+ # 92. SYSTEM SURFACE CONSISTENCY
1225
+
1226
+ If the app says one thing internally and another through notifications or widgets,
1227
+ the user loses confidence.
1228
+
1229
+ All surfaces should derive from consistent underlying state.
1230
+
1231
+ ---
1232
+
1233
+ # 93. SINGLE SOURCE OF TRUTH
1234
+
1235
+ Prefer shared state for:
1236
+
1237
+ ```text id="x5q7m2"
1238
+ Playback
1239
+ Downloads
1240
+ Sync
1241
+ Authentication
1242
+ Notifications
1243
+ Tasks
1244
+ ```
1245
+
1246
+ so different surfaces cannot contradict each other.
1247
+
1248
+ ---
1249
+
1250
+ # 94. PRIVACY FAILURE RESPONSE
1251
+
1252
+ If a privacy-sensitive operation fails, avoid exposing the sensitive information
1253
+ in the error itself.
1254
+
1255
+ ---
1256
+
1257
+ # 95. SECURITY FAILURE RESPONSE
1258
+
1259
+ Security errors should explain enough to recover without revealing exploitable
1260
+ implementation details.
1261
+
1262
+ ---
1263
+
1264
+ # 96. TRUST ANTI-PATTERNS
1265
+
1266
+ Avoid:
1267
+
1268
+ ```text id="m8c4p2"
1269
+ Permission spam
1270
+ Notification spam
1271
+ Dark patterns
1272
+ Fake urgency
1273
+ Fake progress
1274
+ Misleading labels
1275
+ Hidden data collection
1276
+ Unexpected uploads
1277
+ Silent destructive actions
1278
+ False success messages
1279
+ Unexplained background activity
1280
+ Excessive authentication
1281
+ ```
1282
+
1283
+ ---
1284
+
1285
+ # 97. DARK PATTERNS
1286
+
1287
+ Never intentionally make:
1288
+
1289
+ ```text id="x4n7q1"
1290
+ Decline
1291
+ Cancel
1292
+ Delete
1293
+ Disable
1294
+ Unsubscribe
1295
+ ```
1296
+
1297
+ harder to find solely to manipulate user behavior.
1298
+
1299
+ ---
1300
+
1301
+ # 98. CONSENT
1302
+
1303
+ Consent should be:
1304
+
1305
+ ```text id="p6m3v8"
1306
+ Informed
1307
+ Specific
1308
+ Understandable
1309
+ Reversible where appropriate
1310
+ ```
1311
+
1312
+ ---
1313
+
1314
+ # 99. USER EXPECTATION
1315
+
1316
+ Before any system-level interaction, ask:
1317
+
1318
+ > Would the user reasonably expect this to happen now?
1319
+
1320
+ If not, reconsider the timing or explain it.
1321
+
1322
+ ---
1323
+
1324
+ # 100. TRUST AUDIT
1325
+
1326
+ For each system-facing feature ask:
1327
+
1328
+ ```text id="c7x2m5"
1329
+ What data is involved?
1330
+ Why is it needed?
1331
+ When is it accessed?
1332
+ What does the user see?
1333
+ What happens if access is denied?
1334
+ Can the user recover?
1335
+ Can the user disable it?
1336
+ Does the system surface expose sensitive information?
1337
+ ```
1338
+
1339
+ ---
1340
+
1341
+ # 101. PERMISSION AUDIT
1342
+
1343
+ ```text id="n5v8q2"
1344
+ [ ] Permission has a legitimate purpose
1345
+ [ ] Requested at appropriate time
1346
+ [ ] User understands why
1347
+ [ ] Optional access remains optional
1348
+ [ ] Denial is handled
1349
+ [ ] Repeated prompts are avoided
1350
+ [ ] Settings recovery exists when necessary
1351
+ [ ] Permission state is refreshed
1352
+ [ ] No unnecessary permissions
1353
+ ```
1354
+
1355
+ ---
1356
+
1357
+ # 102. NOTIFICATION AUDIT
1358
+
1359
+ ```text id="m4x7c1"
1360
+ [ ] Notification has meaningful value
1361
+ [ ] Frequency is appropriate
1362
+ [ ] Content is concise
1363
+ [ ] Actions are useful
1364
+ [ ] Deep link is contextual
1365
+ [ ] Duplicate events are avoided
1366
+ [ ] Sensitive information is protected
1367
+ [ ] State is synchronized
1368
+ [ ] User can control notification behavior
1369
+ ```
1370
+
1371
+ ---
1372
+
1373
+ # 103. PRIVACY AUDIT
1374
+
1375
+ ```text id="q8p3n6"
1376
+ [ ] Data collection is minimized
1377
+ [ ] Sensitive data is identified
1378
+ [ ] Storage location is understood
1379
+ [ ] External processing is understood
1380
+ [ ] Logs are sanitized
1381
+ [ ] Analytics are appropriate
1382
+ [ ] Sharing is explicit
1383
+ [ ] Export behavior is clear
1384
+ [ ] Deletion behavior is clear
1385
+ [ ] Authentication protects sensitive actions
1386
+ ```
1387
+
1388
+ ---
1389
+
1390
+ # 104. TRUST AUDIT
1391
+
1392
+ ```text id="v2m6x8"
1393
+ [ ] No surprising prompts
1394
+ [ ] No misleading states
1395
+ [ ] No fake progress
1396
+ [ ] No silent failures
1397
+ [ ] Important operations provide feedback
1398
+ [ ] User retains control
1399
+ [ ] System surfaces agree with app state
1400
+ [ ] Recovery paths exist
1401
+ [ ] Privacy is respected
1402
+ ```
1403
+
1404
+ ---
1405
+
1406
+ # 105. AGENT SYSTEM-UX WORKFLOW
1407
+
1408
+ When implementing a system-facing feature:
1409
+
1410
+ ```text id="c5n8q2"
1411
+ 1. Identify the user goal
1412
+ ↓
1413
+ 2. Identify required system capability
1414
+ ↓
1415
+ 3. Minimize requested access
1416
+ ↓
1417
+ 4. Determine appropriate timing
1418
+ ↓
1419
+ 5. Explain the purpose
1420
+ ↓
1421
+ 6. Request access
1422
+ ↓
1423
+ 7. Handle granted state
1424
+ ↓
1425
+ 8. Handle denied state
1426
+ ↓
1427
+ 9. Handle restricted/unavailable state
1428
+ ↓
1429
+ 10. Provide recovery
1430
+ ↓
1431
+ 11. Protect sensitive information
1432
+ ↓
1433
+ 12. Synchronize system surfaces
1434
+ ↓
1435
+ 13. Test interruptions
1436
+ ↓
1437
+ 14. Test background behavior
1438
+ ↓
1439
+ 15. Audit privacy
1440
+ ↓
1441
+ 16. Audit trust
1442
+ ```
1443
+
1444
+ ---
1445
+
1446
+ # 106. SYSTEM SURFACE MATRIX
1447
+
1448
+ The agent should consider each external surface:
1449
+
1450
+ | Surface | Primary purpose | Main concern |
1451
+ | ----------------- | -------------------- | ----------------- |
1452
+ | Notification | Timely information | Relevance |
1453
+ | Lock screen | Glanceable state | Privacy |
1454
+ | Widget | Quick information | Clarity |
1455
+ | Live Activity | Ongoing state | Accuracy |
1456
+ | Permission prompt | Access authorization | Trust |
1457
+ | Share surface | Content transfer | Data scope |
1458
+ | Shortcut | Fast action | Context |
1459
+ | App switcher | Return to app | Sensitive content |
1460
+ | System settings | User control | Clear handoff |
1461
+
1462
+ ---
1463
+
1464
+ # 107. FAILURE-RESILIENT SYSTEM UX
1465
+
1466
+ Every system interaction should have at least:
1467
+
1468
+ ```text id="x7m3q5"
1469
+ Success path
1470
+ Failure path
1471
+ Denial path
1472
+ Recovery path
1473
+ ```
1474
+
1475
+ where applicable.
1476
+
1477
+ ---
1478
+
1479
+ # 108. NEVER DESIGN ONLY THE HAPPY PATH
1480
+
1481
+ The agent must explicitly inspect:
1482
+
1483
+ ```text id="m5v8c2"
1484
+ Permission denied
1485
+ Permission revoked
1486
+ Notification disabled
1487
+ Offline
1488
+ Background interrupted
1489
+ Data unavailable
1490
+ Session expired
1491
+ System capability unavailable
1492
+ User cancels
1493
+ Operation fails
1494
+ ```
1495
+
1496
+ ---
1497
+
1498
+ # 109. FINAL PRINCIPLE
1499
+
1500
+ The strongest system-facing UX communicates:
1501
+
1502
+ ```text id="q4n8x2"
1503
+ Respect
1504
+ Transparency
1505
+ Control
1506
+ Predictability
1507
+ Restraint
1508
+ ```
1509
+
1510
+ The application should never make the user wonder:
1511
+
1512
+ > "Why does this app need that?"
1513
+
1514
+ or:
1515
+
1516
+ > "Why is this app doing something without asking me?"
1517
+
1518
+ or:
1519
+
1520
+ > "What happened to my data?"
1521
+
1522
+ A premium application is not only beautiful.
1523
+
1524
+ It is **predictable, respectful, transparent, and trustworthy**.
1525
+
1526
+ The ultimate goal is:
1527
+
1528
+ ```text id="c8m2v7"
1529
+ User intent
1530
+ ↓
1531
+ Clear explanation
1532
+ ↓
1533
+ Appropriate system interaction
1534
+ ↓
1535
+ Predictable result
1536
+ ↓
1537
+ User remains in control
1538
+ ```
1539
+
1540
+ That is the foundation of trustworthy system-level UX.