@davoodmehraban89 / LifeMate / commits / 1b7ab09
Fork 0

LifeMate — Personal, Family & Learning Companion

test(android): diagnose native settings with a non-PTY hierarchy dump

Quinn White committed Oct 21, 2026 at 19:39 UTC 1b7ab09b1a9d4b93b39cbba34a962d2f2cf03dac
6 files changed +275 -24
PROJECT_STATE.md
+7
@@ -1,5 +1,12 @@
1 # LifeGuide / لایف‌گاید — وضعیت واقعی پروژه
2
3 +## شکست پذیرش صفحهٔ صدا و ابزار مشاهده — ۲۰۲۶-۱۰-۲۱
4 +
5 +PR42/48940b3: عمومی39660443665 موفق باFlutter332/Backend308؛ شخصی39660443764 در `native_notification_settings` با `notification_settings_screen_not_verified` شکست خورد. guard اجرا نشد؛ شکست به امضا نسبت داده نمی‌شود. SQL/اعلان/OFF قبلی PASSبودند. [receipt شکست](docs/audits/evidence/personal-native-settings-failed-2026-10-21.json).
6 +
7 +در followup فقط ابزار Python، مشاهدهٔ `/dev/tty` را با فایل موقت متعلق به AVD تازه مقایسه و summary بی‌متن/تصویر ساختگی ثبت می‌کند؛ همان شرط دقیق عنوان+package حفظ شد. فایلXML در finally حذف می‌شود. RED2 سپس66تست ابزار موفق؛ **علت TTY و نتیجهٔ Android جدید UNVERIFIED** تا اجرای CI. محصول/DB/Kotlin/امضا/قفل upload و دادهٔ واقعی تغییر نکردند. [گواه و حدود اعتبار](docs/audits/evidence/personal-native-settings-2026-10-21.json).
8 +
9 +
10 ## پذیرش مستقل تنظیمات صدای Android — ۲۰۲۶-۱۰-۲۱؛ فقط ابزار آزمون
11
12 در شاخهٔ `test/personal-notification-settings` بر PR41/76efe36، fixture debug با DB ساختگی جدا، تنظیمات کانال ثابت Android را از port واقعی باز می‌کند؛ میزبان UIAutomator، برگشت، SQL مستقل و باقی‌ماندن OFF/نبود اعلان را می‌سنجد. source محصول/DB پیش‌فرض/امضا و قفل تحویل PR40 تغییر نکردند. [طراحی و گزارش](docs/audits/2026-10-21-personal-native-settings-acceptance.md).
apps/lifemate/tool/test_standalone_android.py
+67 -13
@@ -136,25 +136,37 @@ def active_fixture_keys(output):
136 return keys
137
138
139 -def notification_settings_visible(output):
140 - """Accept only the fixed channel title owned by Android's settings app.
141 -
142 - Read synthetic UIAutomator output in memory; never publish its raw XML.
143 - Diagnostic prefixes are allowed, malformed/oversized/DTD dumps are not.
144 - """
139 +def _settings_hierarchy(output):
140 if not isinstance(output, str) or len(output) > 65536 or '<!' in output:
146 - return False
141 + return None
142 if output.count('<hierarchy') != 1 or output.count('</hierarchy>') != 1:
148 - return False
143 + return None
144 start, end = output.index('<hierarchy'), output.index('</hierarchy>')
145 try:
146 root = ET.fromstring(output[start:end + len('</hierarchy>')])
147 except ET.ParseError:
153 - return False
154 - return root.tag == 'hierarchy' and any(
148 + return None
149 + return root if root.tag == 'hierarchy' else None
150 +
151 +
152 +def notification_settings_summary(output):
153 + """Booleans/counts only; never publish arbitrary UI labels or XML."""
154 + root = _settings_hierarchy(output)
155 + nodes = list(root.iter('node')) if root is not None else []
156 + return {
157 + 'outputChars': min(len(output), 65537) if isinstance(output, str) else 0,
158 + 'validHierarchy': root is not None,
159 + 'systemSettingsNodePresent': any(n.get('package') == 'com.android.settings' for n in nodes),
160 + 'channelTitlePresent': any(n.get('text') == 'یادآوری برنامهٔ شخصی' for n in nodes),
161 + 'verified': any(
162 node.get('package') == 'com.android.settings' and
163 node.get('text') == 'یادآوری برنامهٔ شخصی'
157 - for node in root.iter('node'))
164 + for node in nodes)}
165 +
166 +
167 +def notification_settings_visible(output):
168 + """Keep the strict same-node system-package/fixed-channel assertion."""
169 + return notification_settings_summary(output)['verified']
170
171
172 def check_notification_record(dump, key):
@@ -433,18 +445,60 @@ class Harness:
445 return
446 self.sleep(min(1, until - self.clock()))
447
448 + def settings_dump(self):
449 + self._ready()
450 + require(self.fixture_installed and self.user_launched, 'fixture_not_ready')
451 + # /dev/tty may be absent when adb shell has no PTY. Use a unique file
452 + # owned by this already-gated synthetic run, read it, and remove it.
453 + path = '/data/local/tmp/lifeguide-settings-' + secrets.token_hex(8) + '.xml'
454 + try:
455 + self.adb.shell('uiautomator', 'dump', path, allow_failure=True)
456 + return self.adb.shell('cat', path, allow_failure=True)
457 + finally:
458 + self.adb.shell('rm', '-f', path)
459 +
460 + def capture_settings_screenshot(self):
461 + self._ready()
462 + require(self.fixture_installed and self.user_launched, 'fixture_not_ready')
463 + try:
464 + capture = subprocess.run(['adb', '-s', self.serial, 'exec-out', 'screencap', '-p'],
465 + capture_output=True, timeout=30, check=False)
466 + png = capture.stdout
467 + require(capture.returncode == 0 and 24 <= len(png) <= 16 * 1024 * 1024 and
468 + png[:8] == b'\x89PNG\r\n\x1a\n' and png[12:16] == b'IHDR', 'settings_screenshot_failed')
469 + width, height = struct.unpack('>II', png[16:24])
470 + require(100 <= width <= 4096 and 100 <= height <= 4096, 'settings_screenshot_failed')
471 + path = self.screenshot.with_name('standalone-notification-settings.png')
472 + path.parent.mkdir(parents=True, exist_ok=True)
473 + path.write_bytes(png)
474 + self.receipt['settingsScreenshot'] = {'status': 'VERIFIED_CAPTURE',
475 + 'file': path.name, 'sha256': hashlib.sha256(png).hexdigest()}
476 + except (AcceptanceError, OSError, subprocess.SubprocessError):
477 + self.receipt['settingsScreenshot'] = {'status': 'UNVERIFIED'}
478 +
479 def verify_notification_settings(self):
480 settings = self.launch('settings')
481 self.assert_status(settings, active=False, count=0)
482 self.assert_database(settings, CHECKS)
483 self.receipt['currentPhase'] = 'native_notification_settings'
484 + legacy = self.adb.shell('uiautomator', 'dump', '/dev/tty', allow_failure=True)
485 + observation = {'legacyTty': notification_settings_summary(legacy)}
486 + self.receipt['settingsObservation'] = observation
487 until = self.clock() + 20
488 while True:
443 - ui = self.adb.shell('uiautomator', 'dump', '/dev/tty', allow_failure=True)
489 + ui = self.settings_dump()
490 + observation['file'] = notification_settings_summary(ui)
491 if notification_settings_visible(ui):
492 break
446 - require(self.clock() < until, 'notification_settings_screen_not_verified')
493 + if self.clock() >= until:
494 + self.capture_settings_screenshot()
495 + raise AcceptanceError('notification_settings_screen_not_verified')
496 self.sleep(0.5)
497 + # Repeat the legacy probe on the now-confirmed stable screen so initial
498 + # UI readiness is not confused with the dump transport hypothesis.
499 + legacy_after = self.adb.shell('uiautomator', 'dump', '/dev/tty', allow_failure=True)
500 + observation['legacyTtyAfterFile'] = notification_settings_summary(legacy_after)
501 + self.capture_settings_screenshot()
502 require(self.preferences() is None and not self.active_keys(),
503 'settings_changed_off_native_state')
504 self.adb.shell('input', 'keyevent', 'KEYCODE_BACK')
apps/lifemate/tool/test_standalone_android_test.py
+57 -5
@@ -247,6 +247,8 @@ class SyntheticEmulator(FakeAdb):
247 self.late_kill = False
248 self.settings_visible = False
249 self.settings_matches = True
250 + self.pipe_dump_empty = False
251 + self.dump_files = {}
252 self.identifier = "33333333-3333-4333-8333-333333333333"
253
254 def clock(self):
@@ -276,10 +278,19 @@ class SyntheticEmulator(FakeAdb):
278 if parts == ('shell', 'input', 'keyevent', 'KEYCODE_BACK'):
279 self.settings_visible = False
280 return ''
279 - if parts == ('shell', 'uiautomator', 'dump', '/dev/tty'):
281 + if parts[:3] == ('shell', 'uiautomator', 'dump'):
282 title = 'یادآوری برنامهٔ شخصی' if self.settings_matches else 'Other channel'
281 - return ('<hierarchy><node package="com.android.settings" text="' + title +
282 - '" /></hierarchy>') if self.settings_visible else ''
283 + xml = ('<hierarchy><node package="com.android.settings" text="' + title +
284 + '" /></hierarchy>') if self.settings_visible else ''
285 + if parts[3] == '/dev/tty':
286 + return '' if self.pipe_dump_empty else xml
287 + self.dump_files[parts[3]] = xml
288 + return 'UI hierchary dumped to: ' + parts[3]
289 + if parts[:2] == ('shell', 'cat'):
290 + return self.dump_files.get(parts[2], '')
291 + if parts[:3] == ('shell', 'rm', '-f'):
292 + self.dump_files.pop(parts[3], None)
293 + return ''
294 if parts == ("shell", "am", "kill", subject.PACKAGE):
295 if self.late_kill and self.state and self.state["reminders"]:
296 self.sleep(60)
@@ -355,10 +366,38 @@ class LifecycleTest(unittest.TestCase):
366 harness.adb.shell("am", "start", "-W", "-f", "0x10008000", "-n", subject.COMPONENT)
367 harness.user_launched = True
368
369 + def png_result(self):
370 + import struct
371 + png = b'\x89PNG\r\n\x1a\n' + b'\0\0\0\rIHDR' + struct.pack('>II', 1080, 1920)
372 + return type('Result', (), {'returncode': 0, 'stdout': png})()
373 +
374 + def test_non_tty_dump_is_read_then_removed_without_losing_the_strict_check(self):
375 + adb = SyntheticEmulator()
376 + adb.pipe_dump_empty = True
377 + harness = self.harness(adb)
378 + error = None
379 + with patch.object(harness, 'first_user_launch', side_effect=lambda: self.first_launch(harness)), \
380 + patch.object(subject.subprocess, 'run', return_value=self.png_result()):
381 + try:
382 + receipt = harness.run()
383 + except subject.AcceptanceError as failed:
384 + error = str(failed)
385 + self.assertIsNone(error, 'Empty non-PTY dump must not prevent independent file verification')
386 + self.assertEqual(receipt['checks']['nativeNotificationSettingsWhileOff'], 'PASS')
387 + self.assertFalse(receipt['settingsObservation']['legacyTty']['verified'])
388 + self.assertTrue(receipt['settingsObservation']['file']['verified'])
389 + self.assertIn('legacyTtyAfterFile', receipt['settingsObservation'])
390 + self.assertFalse(receipt['settingsObservation']['legacyTtyAfterFile']['verified'])
391 + self.assertFalse(adb.dump_files)
392 + for call in adb.calls:
393 + if call[:3] == ('shell', 'rm', '-f'):
394 + self.assertRegex(call[3], r'^/data/local/tmp/lifeguide-settings-[0-9a-f]{16}\.xml$')
395 +
396 def test_full_mode_sequence_and_sanitized_receipt(self):
397 adb = SyntheticEmulator()
398 harness = self.harness(adb)
361 - with patch.object(harness, "first_user_launch", side_effect=lambda: self.first_launch(harness)):
399 + with patch.object(harness, "first_user_launch", side_effect=lambda: self.first_launch(harness)), \
400 + patch.object(subject.subprocess, 'run', return_value=self.png_result()):
401 receipt = harness.run()
402 self.assertEqual(receipt["result"], "PASS")
403 self.assertEqual(adb.modes, ["seed", "inspect", "change", "cancel", "off", "settings", "inspect"])
@@ -419,11 +458,13 @@ class LifecycleTest(unittest.TestCase):
458 adb = SyntheticEmulator()
459 adb.settings_matches = False
460 harness = self.harness(adb)
422 - with patch.object(harness, "first_user_launch", side_effect=lambda: self.first_launch(harness)):
461 + with patch.object(harness, "first_user_launch", side_effect=lambda: self.first_launch(harness)), \
462 + patch.object(subject.subprocess, 'run', return_value=self.png_result()):
463 with self.assertRaisesRegex(subject.AcceptanceError, 'notification_settings_screen_not_verified'):
464 harness.run()
465 self.assertNotIn('nativeNotificationSettingsWhileOff', harness.receipt['checks'])
466 self.assertEqual(harness.receipt['result'], 'FAIL')
467 + self.assertFalse(adb.dump_files)
468
469
470 class NotificationSettingsTest(unittest.TestCase):
@@ -460,6 +501,17 @@ class NotificationSettingsTest(unittest.TestCase):
501 '<node package="unrelated.app" text="یادآوری برنامهٔ شخصی" /></hierarchy>')
502 self.assertFalse(check(mixed))
503
504 + def test_diagnostic_summary_is_bounded_and_does_not_publish_ui_labels(self):
505 + summarize = getattr(subject, 'notification_settings_summary', None)
506 + self.assertTrue(callable(summarize), 'Sanitized native-screen diagnostics are missing')
507 + summary = summarize(self.xml())
508 + self.assertTrue(summary['verified'])
509 + self.assertTrue(summary['systemSettingsNodePresent'])
510 + self.assertFalse(summarize('')['validHierarchy'])
511 + serialized = json.dumps(summarize(self.xml(title='SYNTHETIC_PRIVATE_TASK_CANARY')))
512 + self.assertNotIn('SYNTHETIC_PRIVATE_TASK_CANARY', serialized)
513 + self.assertNotIn('<hierarchy', serialized)
514 +
515
516 if __name__ == "__main__":
517 unittest.main()
docs/audits/2026-10-21-personal-native-settings-acceptance.md
+11
@@ -19,3 +19,14 @@
19 PR40 عمومی موفق شد؛ شخصیِ آن پس از build و پذیرش OS فقط به‌علت `certificate_mismatch` و `version_code_not_incremented` در guard شکست خورد و APK upload نشد. PR41 عمومی و پذیرش اعلان کانال آنلاین نیز موفق شدند؛ این‌ها جای سناریوی جدید نیستند. [قفل تحویل](../operations/PERSONAL_UPDATE_GUARD.md) همچنان بسته است. هیچ APK تازه‌ای به‌عنوان آپدیت امن تحویل نشده است.
20
21 بررسی نام‌های secrets در GitHub با403integration رد شد؛ فقط فهرست cacheها قابل خواندن بود. جست‌وجوی محلی فقط دو کپی fixture عمومی SDK با نام debug.keystore یافت؛ محتوای کلید خوانده نشد. این مشاهدات، نبود کلید اصلی نزد مالک را اثبات نمی‌کنند. وضعیت آن هنوز **UNVERIFIED** است. برای حل اختلاف امضا، برنامهٔ نصب‌شده حذف یا clear-data نشود.
22 +
23 +
24 +## شکست واقعی و آزمایش تشخیصی بعدی
25 +
26 +CI39660443764 روی48940b3 در `native_notification_settings` با `notification_settings_screen_not_verified` شکست خورد؛ guard این بار اجرا نشد. [receipt شکست](evidence/personal-native-settings-failed-2026-10-21.json) حفظ شد. بررسی‌های قبل از آن، SQLite/close-reopen، اعلان واقعی پس از نبود پردازش، تغییر/تیک/لغو و OFF را پاس کردند. CIعمومی39660443665 نیز332Flutter/308Backend و analyze را پاس کرد.
27 +
28 +علت دقیق هنوز UNVERIFIED است. فرضیهٔ قابل آزمایش: `/dev/tty` در adb shell بدون PTY سلسله‌مراتب نمی‌دهد. ابزار فقط برای مشاهده، خروجی قدیمی را با dump در فایل تصادفی متعلق به همین AVD تازه مقایسه می‌کند؛ فایل پس از خواندن در finally حذف می‌شود. predicate عنوان دقیق روی node متعلق به Android Settings عوض نشده است. summary فقط bool/count است؛ PNG همان صفحهٔ ساختگی هم برای تشخیص ضبط می‌شود. هیچ XML خام یا دادهٔ واقعی منتشر نمی‌شود.
29 +
30 +RED2شکست قبل از این تغییر، سپس66تست ابزار موفق؛ این‌ها host هستند و رفع نهایی Android ادعا نمی‌شود. Dart/Kotlin/app/workflow و قفل تحویل تغییر نکردند؛332Flutter/تحلیل مربوط به منبع قبلیِ محصولِ یکسان است و برای این تغییر صرفاً Python محلی تکرار نشده‌اند. نتیجهٔ CI بعدی باید جدا ثبت شود.
31 +
32 +بازبین مستقل یادآور شد تفاوت دو نمونهٔ زمانی به‌تنهایی علت TTY را اثبات نمی‌کند؛ probe قدیمی پس از تأیید صفحه با فایل هم تکرار می‌شود. برای نبود این مشاهده ابتدا1تست RED شکست خورد و پس از اضافه‌شدن آن66تست ابزار دوباره موفق شدند. علت واقعی تا receipt جدید UNVERIFIED است.
docs/audits/evidence/personal-native-settings-2026-10-21.json
+57 -6
@@ -5,8 +5,8 @@
5 "scope": "Developer-only isolated fixture/runner extension; product lib/Kotlin/default DB and APK delivery hold unchanged.",
6 "sourceFiles": {
7 "apps/lifemate/tool/standalone_acceptance_fixture.dart": "7cb4b5e433b4a90b0ee456bbf4eb50f6854fa33fdab73277c9a265d594c815a2",
8 - "apps/lifemate/tool/test_standalone_android.py": "71dae413d3d02dc9bd728de160ad38fc48da58b0789fdcade4329df28ddd3607",
9 - "apps/lifemate/tool/test_standalone_android_test.py": "999bb5a92fad0ab5e7fa8f3219a1c2ef2cd5ef67e6776424f4e809bcb0c47308"
8 + "apps/lifemate/tool/test_standalone_android.py": "de611a0acda6d0877bff98bbd98226c5186a2ec3cb4500a56864660e1eb098e1",
9 + "apps/lifemate/tool/test_standalone_android_test.py": "08655e000eab54a0f961a7d7ced804e28ff39084b83cc0fae10c4a21cff74315"
10 },
11 "commands": [
12 {
@@ -47,11 +47,36 @@
47 "command": "dart format --output=none --set-exit-if-changed apps/lifemate/tool/standalone_acceptance_fixture.dart",
48 "status": "VERIFIED",
49 "output": "Formatted 1 file (0 changed) in 0.01 seconds."
50 + },
51 + {
52 + "command": "python3 -B -m unittest discover -s tool -p '*standalone*test.py' -v",
53 + "phase": "diagnostic RED",
54 + "status": "VERIFIED_EXPECTED_FAILURE",
55 + "output": "Ran 41 tests; FAILED (failures=2)",
56 + "reason": "Missing non-PTY file verification and missing sanitized diagnostic summary."
57 + },
58 + {
59 + "command": "python3 -B -m unittest discover -s tool -p '*test.py' -v",
60 + "phase": "Python-only diagnostic followup",
61 + "status": "VERIFIED",
62 + "output": "Ran 66 tests in 0.043s; OK"
63 + },
64 + {
65 + "command": "python3 -B -m unittest discover -s tool -p 'test_standalone_android_test.py' -k non_tty -v",
66 + "phase": "paired-observation RED",
67 + "status": "VERIFIED_EXPECTED_FAILURE",
68 + "output": "Ran 1 test; FAILED (failures=1): legacyTtyAfterFile not found before the followup."
69 + },
70 + {
71 + "command": "python3 -B -m unittest discover -s tool -p '*test.py' -v",
72 + "phase": "final paired-observation source",
73 + "status": "VERIFIED",
74 + "output": "Ran 66 tests in 0.028s; OK"
75 }
76 ],
52 - "review": "Independent read-only review found no blocking safety/data/consent defect. Reviewer did not execute native test.",
77 + "review": "Independent read-only review found no blocking safety defect. Its timing-confound finding was addressed by repeating the legacy probe after the strict file match. Reviewer did not run native tests.",
78 "hostTestLimitation": "XML parser rejection is real host code; orchestration uses an explicit synthetic Android model. Neither is OS execution evidence.",
54 - "newNativeScenario": "UNVERIFIED until CI receipt contains nativeNotificationSettingsWhileOff and sqliteAfterNotificationSettings PASS.",
79 + "newNativeScenario": "Original attempt FAILED; diagnostic followup native execution UNVERIFIED until its new CI receipt.",
80 "preservedGates": [
81 "explicit emulator serial",
82 "fresh API35/qemu/hardware/product",
@@ -92,7 +117,8 @@
117 "Original signing-key availability",
118 "No new backup/export/restore implementation",
119 "Full-history secret scan NOT_RUN",
95 - "Backend tests locally NOT_RUN: no backend change"
120 + "Backend tests locally NOT_RUN: no backend change",
121 + "Flutter/analyzer not repeated locally for Python-only followup; prior source48940b3/CI39660443665 passed332 and analyze. New CI pending."
122 ],
123 "actionsNotTaken": [
124 "merge",
@@ -102,5 +128,30 @@
128 "signing-key creation/export",
129 "APK handoff",
130 "uninstall or clear-data"
105 - ]
131 + ],
132 + "previousNativeAttempt": {
133 + "run": 39660443764,
134 + "source": "48940b35082cdee5498562f6bda2898a27931b98",
135 + "result": "FAIL",
136 + "phase": "native_notification_settings",
137 + "error": "notification_settings_screen_not_verified",
138 + "receipt": "personal-native-settings-failed-2026-10-21.json",
139 + "guard": "SKIPPED"
140 + },
141 + "parentGenericThisPr": {
142 + "run": 39660443665,
143 + "source": "48940b35082cdee5498562f6bda2898a27931b98",
144 + "result": "SUCCESS",
145 + "Flutter": 332,
146 + "Backend": 308,
147 + "role": 41,
148 + "regression": 96,
149 + "scope": "Before Python-only diagnostic followup; product/Dart/Kotlin remain identical."
150 + },
151 + "diagnosticHypothesis": {
152 + "status": "UNVERIFIED",
153 + "hypothesis": "/dev/tty may provide no hierarchy without an adb shell PTY. Compare it with a unique emulator-local dump file under the unchanged strict title/system-package predicate. Preserve sanitized booleans/counts and a synthetic-screen PNG; do not guess or weaken acceptance.",
154 + "causality": "Legacy TTY is repeated after the file predicate succeeds to separate initial UI readiness from a transport failure. It remains a hypothesis until the real paired observation."
155 + },
156 + "diagnosticPrivacy": "Raw XML is read in memory and the unique test-owned temporary file is removed in finally. Only booleans/counts and a fresh-owned synthetic-emulator PNG enter diagnostics. No private signing-key export or child-device access."
157 }
docs/audits/evidence/personal-native-settings-failed-2026-10-21.json new
+76
@@ -0,0 +1,76 @@
1 +{
2 + "run": 39660443764,
3 + "source": "48940b35082cdee5498562f6bda2898a27931b98",
4 + "receipt": {
5 + "schemaVersion": 1,
6 + "result": "FAIL",
7 + "syntheticDataOnly": true,
8 + "scope": "fresh API35 emulator; actual isolated SQLite and native notification",
9 + "currentPhase": "native_notification_settings",
10 + "limitations": {
11 + "physicalDevice": "UNVERIFIED",
12 + "reboot": "UNVERIFIED",
13 + "Doze": "UNVERIFIED",
14 + "soundOrVibration": "UNVERIFIED",
15 + "permissionConsentUI": "UNVERIFIED",
16 + "Safari": "UNVERIFIED",
17 + "signedRelease": "UNVERIFIED",
18 + "onlineFamilyOrSynchronization": "UNVERIFIED"
19 + },
20 + "checks": {
21 + "emulatorAndFreshInstallGates": "PASS",
22 + "actualUserApkFirstLaunchScreenshot": "PASS",
23 + "ownedFreshInstallFixtureUpgrade": "PASS",
24 + "onceAndEveryTwoDays": "PASS",
25 + "profilePersists": "PASS",
26 + "weeklyDifferentTimes": "PASS",
27 + "rawSqlAfterClose": "PASS",
28 + "processAbsentBeforeAlarm": "PASS",
29 + "notificationAfterProcessDeath": "PASS",
30 + "notificationContent": {
31 + "titleMatches": true,
32 + "genericBodyMatches": true,
33 + "privateCanaryAbsent": true
34 + },
35 + "relaunchReadOnlyPreservesNativeGeneration": "PASS",
36 + "independentEditAndTick": "PASS",
37 + "archivePersists": "PASS",
38 + "archiveBeforeDeadlineHasNoOSPost": "PASS",
39 + "offClearsNativeState": "PASS"
40 + },
41 + "apks": {
42 + "user": {
43 + "sha256": "5c088dff673106d4b0f791048a0122d42fcafd7a104d6874ddb1b224c1b6c00a",
44 + "package": "ir.lifeguide.app.device",
45 + "label": "لایف‌گاید شخصی",
46 + "debuggable": true,
47 + "internetPermission": false,
48 + "targetSdkVersion": 36
49 + },
50 + "fixtureNeverDistribute": {
51 + "sha256": "c46a44d109b93c48a60146ebd643ec6904c22d7b0b7542c947c6edaac18eb660",
52 + "package": "ir.lifeguide.app.device",
53 + "label": "لایف‌گاید شخصی",
54 + "debuggable": true,
55 + "internetPermission": false,
56 + "targetSdkVersion": 36
57 + }
58 + },
59 + "certificateSha256": "73d74e83bf2c4e3b66f7124ff325b75bec57f8af1a7c770381fb0dcf88ad0985",
60 + "userFirstLaunch": {
61 + "processAlive": true,
62 + "ordinaryLaunchNoExtras": true,
63 + "screenshotSha256": "c2ccabdf9f1c93c8e3fe788342abcbdcd93668c26392baf0b7820f33d023c998",
64 + "screenshotFile": "standalone-user-first-launch.png",
65 + "urlPromptDetected": false,
66 + "localWelcomeText": "UNVERIFIED"
67 + },
68 + "lastProcessState": "ABSENT",
69 + "processExit": {
70 + "confirmedAbsent": true,
71 + "ordinaryKillAttempts": 4
72 + },
73 + "error": "notification_settings_screen_not_verified"
74 + },
75 + "interpretation": "Original OS scenario failed; compatibility guard was skipped. The channel-settings UI cause is unknown because raw UI/image diagnostics were absent. No signer-failure attribution for this run."
76 +}