{
  "meta": {
    "app": "SABEEL — سبيل",
    "reportVersion": "1.0",
    "version": "2.0.0",
    "buildId": "sabeel-2.0.0-2026-12-04",
    "milestone": 2,
    "milestoneTitle": "Milestone 2 · Prayer engine, location management, Qibla",
    "releaseDate": "2026-12-04",
    "generatedAt": "2026-12-05T22:17:41.560Z",
    "buildVersion": "2.0.0",
    "deployedAt": null,
    "deployedAtNote": "Unavailable at runtime: the platform does not expose the deploy time to the running app. It is not substituted with generatedAt. The deploy time is recorded by the platform deploy API and quoted in the technical audit report.",
    "sourceRevision": null,
    "sourceRevisionNote": "Unavailable at runtime: the published bundle does not embed its commit hash. The commit is recorded by the platform deploy API and quoted in the technical audit report.",
    "testEnvironment": "Node v24.22.1 harness against the real app modules (TZ America/Toronto, UTC, Asia/Tokyo); live site in the Claude desktop built-in browser (Chromium, Windows UA) with emulated 375/768/1440 px viewports. No physical devices.",
    "testExecutedAt": "2026-12-04T03:50:00Z",
    "publicUrl": "https://sabeel-cd0b208d.base44.app",
    "disclaimer": "Public, read-only diagnostics. Contains no user records, no credentials and no administrative functions. Device sensor values are never simulated and none were captured here."
  },
  "deployment": {
    "publicUrl": "https://sabeel-cd0b208d.base44.app",
    "buildId": "sabeel-2.0.0-2026-12-04",
    "version": "2.0.0",
    "releaseDate": "2026-12-04",
    "generatedAt": "2026-12-05T22:17:41.560Z",
    "rendering": "This document is rendered on the server by the deployed build; the HTML arrives complete without JavaScript.",
    "caching": {
      "serviceWorker": "None registered in the source",
      "html": "Rendered per request, sent with cache-control no-store",
      "json": "Served no-store with a download disposition",
      "bundle": "The published build is immutable per release; there is no client-side cache layer to go stale"
    },
    "staleCheck": "Open this page with the cache-buster link below, or compare the build id above with the live code in the editor's 'Compare with live code'.",
    "cacheBusterPath": "/qa?cb=2026-12-05T22%3A17%3A41.560Z"
  },
  "engine": {
    "library": {
      "name": "adhan-js",
      "version": "4.4.6",
      "license": "MIT",
      "url": "https://github.com/batoulapps/adhan-js",
      "rounding": "nearest minute"
    },
    "active": {
      "method": "isna",
      "methodLabel": "ISNA (North America)",
      "fajrAngle": 15,
      "ishaAngle": 15,
      "ishaInterval": 0,
      "asr": "standard",
      "asrLabel": "Standard (Shafi'i, Maliki, Hanbali)",
      "highLatitudeRule": "middle_of_the_night",
      "highLatitudeLabel": "Middle of the night",
      "polarCircleResolution": "AqrabBalad (nearest latitude)",
      "rounding": "nearest minute",
      "adjustments": {
        "fajr": 0,
        "sunrise": 0,
        "dhuhr": 0,
        "asr": 0,
        "maghrib": 0,
        "isha": 0
      },
      "coordinates": {
        "latitude": 45.5019,
        "longitude": -73.5674
      },
      "timezone": "America/Toronto"
    },
    "methods": [
      {
        "id": "isna",
        "label": "ISNA (North America)",
        "fajrAngle": 15,
        "ishaAngle": 15,
        "ishaInterval": 0,
        "note": "Fajr 15° · Isha 15°"
      },
      {
        "id": "mwl",
        "label": "Muslim World League",
        "fajrAngle": 18,
        "ishaAngle": 17,
        "ishaInterval": 0,
        "note": "Fajr 18° · Isha 17°"
      },
      {
        "id": "egyptian",
        "label": "Egyptian General Authority",
        "fajrAngle": 19.5,
        "ishaAngle": 17.5,
        "ishaInterval": 0,
        "note": "Fajr 19.5° · Isha 17.5°"
      },
      {
        "id": "karachi",
        "label": "University of Islamic Sciences, Karachi",
        "fajrAngle": 18,
        "ishaAngle": 18,
        "ishaInterval": 0,
        "note": "Fajr 18° · Isha 18°"
      },
      {
        "id": "umm_al_qura",
        "label": "Umm Al-Qura, Makkah",
        "fajrAngle": 18.5,
        "ishaAngle": 0,
        "ishaInterval": 90,
        "note": "Fajr 18.5° · Isha 90 min after Maghrib"
      },
      {
        "id": "moonsighting",
        "label": "Moonsighting Committee",
        "fajrAngle": 18,
        "ishaAngle": 18,
        "ishaInterval": 0,
        "note": "Seasonal twilight model"
      },
      {
        "id": "custom",
        "label": "Custom",
        "fajrAngle": 15,
        "ishaAngle": 15,
        "ishaInterval": 0,
        "note": "Angles set by the community"
      }
    ],
    "timezoneHandling": "A prayer day is the local civil date of the place's IANA zone, never the device's. The zone is stored with the location and read on every computation.",
    "daylightSaving": "Instants come from the sun's position and are formatted in the place's zone, so the zone's offset, daylight saving included, is applied once at display time. No manual hour is ever added or subtracted.",
    "adjustments": "Per-prayer offsets from −30 to +30 minutes are applied to the computed instant, so they never compound with a zone change."
  },
  "cities": [
    {
      "city": "Montréal",
      "latitude": 45.5019,
      "longitude": -73.5674,
      "timezone": "America/Toronto",
      "zoneAbbrev": "EST",
      "zoneOffsetMinutes": -300,
      "localDate": "2026-12-05",
      "localClock": "17:17",
      "times": {
        "fajr": "05:49",
        "sunrise": "07:18",
        "dhuhr": "11:46",
        "asr": "13:52",
        "maghrib": "16:11",
        "isha": "17:40"
      },
      "current": "maghrib",
      "next": {
        "key": "isha",
        "clock": "17:40",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 1338
      },
      "midnight": "23:00",
      "lastThird": "01:17",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Toronto",
      "latitude": 43.6532,
      "longitude": -79.3832,
      "timezone": "America/Toronto",
      "zoneAbbrev": "EST",
      "zoneOffsetMinutes": -300,
      "localDate": "2026-12-05",
      "localClock": "17:17",
      "times": {
        "fajr": "06:10",
        "sunrise": "07:35",
        "dhuhr": "12:09",
        "asr": "14:22",
        "maghrib": "16:41",
        "isha": "18:07"
      },
      "current": "maghrib",
      "next": {
        "key": "isha",
        "clock": "18:07",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 2958
      },
      "midnight": "23:25",
      "lastThird": "01:40",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Vancouver",
      "latitude": 49.2827,
      "longitude": -123.1207,
      "timezone": "America/Vancouver",
      "zoneAbbrev": "PDT",
      "zoneOffsetMinutes": -420,
      "localDate": "2026-12-05",
      "localClock": "15:17",
      "times": {
        "fajr": "07:15",
        "sunrise": "08:51",
        "dhuhr": "13:04",
        "asr": "14:56",
        "maghrib": "17:15",
        "isha": "18:52"
      },
      "current": "asr",
      "next": {
        "key": "maghrib",
        "clock": "17:15",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 7038
      },
      "midnight": "00:15",
      "lastThird": "02:35",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "New York",
      "latitude": 40.7128,
      "longitude": -74.006,
      "timezone": "America/New_York",
      "zoneAbbrev": "EST",
      "zoneOffsetMinutes": -300,
      "localDate": "2026-12-05",
      "localClock": "17:17",
      "times": {
        "fajr": "05:43",
        "sunrise": "07:05",
        "dhuhr": "11:48",
        "asr": "14:10",
        "maghrib": "16:29",
        "isha": "17:50"
      },
      "current": "maghrib",
      "next": {
        "key": "isha",
        "clock": "17:50",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 1938
      },
      "midnight": "23:06",
      "lastThird": "01:19",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Paris",
      "latitude": 48.8566,
      "longitude": 2.3522,
      "timezone": "Europe/Paris",
      "zoneAbbrev": "GMT+1",
      "zoneOffsetMinutes": 60,
      "localDate": "2026-12-05",
      "localClock": "23:17",
      "times": {
        "fajr": "06:52",
        "sunrise": "08:27",
        "dhuhr": "12:42",
        "asr": "14:36",
        "maghrib": "16:55",
        "isha": "18:31"
      },
      "current": "isha",
      "next": {
        "key": "fajr",
        "clock": "06:53",
        "offsetDays": 1
      },
      "countdown": {
        "status": "running",
        "seconds": 27318
      },
      "midnight": "23:54",
      "lastThird": "02:13",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "London",
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London",
      "zoneAbbrev": "GMT+0",
      "zoneOffsetMinutes": 0,
      "localDate": "2026-12-05",
      "localClock": "22:17",
      "times": {
        "fajr": "06:07",
        "sunrise": "07:49",
        "dhuhr": "11:52",
        "asr": "13:35",
        "maghrib": "15:53",
        "isha": "17:35"
      },
      "current": "isha",
      "next": {
        "key": "fajr",
        "clock": "06:08",
        "offsetDays": 1
      },
      "countdown": {
        "status": "running",
        "seconds": 28218
      },
      "midnight": "23:00",
      "lastThird": "01:23",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Makkah",
      "latitude": 21.4225,
      "longitude": 39.8262,
      "timezone": "Asia/Riyadh",
      "zoneAbbrev": "GMT+3",
      "zoneOffsetMinutes": 180,
      "localDate": "2026-12-06",
      "localClock": "01:17",
      "times": {
        "fajr": "05:40",
        "sunrise": "06:45",
        "dhuhr": "12:13",
        "asr": "15:17",
        "maghrib": "17:38",
        "isha": "18:44"
      },
      "current": "isha",
      "next": {
        "key": "fajr",
        "clock": "05:40",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 15738
      },
      "midnight": "23:39",
      "lastThird": "01:39",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Dubai",
      "latitude": 25.2048,
      "longitude": 55.2708,
      "timezone": "Asia/Dubai",
      "zoneAbbrev": "GMT+4",
      "zoneOffsetMinutes": 240,
      "localDate": "2026-12-06",
      "localClock": "02:17",
      "times": {
        "fajr": "05:43",
        "sunrise": "06:51",
        "dhuhr": "12:11",
        "asr": "15:09",
        "maghrib": "17:29",
        "isha": "18:36"
      },
      "current": "isha",
      "next": {
        "key": "fajr",
        "clock": "05:43",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 12318
      },
      "midnight": "23:36",
      "lastThird": "01:39",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Reykjavík",
      "latitude": 64.1466,
      "longitude": -21.9426,
      "timezone": "Atlantic/Reykjavik",
      "zoneAbbrev": "GMT",
      "zoneOffsetMinutes": 0,
      "localDate": "2026-12-05",
      "localClock": "22:17",
      "times": {
        "fajr": "08:06",
        "sunrise": "10:56",
        "dhuhr": "13:19",
        "asr": "13:43",
        "maghrib": "15:40",
        "isha": "18:30"
      },
      "current": "isha",
      "next": {
        "key": "fajr",
        "clock": "08:08",
        "offsetDays": 1
      },
      "countdown": {
        "status": "running",
        "seconds": 35418
      },
      "midnight": "23:54",
      "lastThird": "02:38",
      "flags": {
        "substituted": [
          "fajr",
          "isha"
        ],
        "polarDay": false
      },
      "ok": true
    },
    {
      "city": "Sydney",
      "latitude": -33.8688,
      "longitude": 151.2093,
      "timezone": "Australia/Sydney",
      "zoneAbbrev": "GMT+11",
      "zoneOffsetMinutes": 660,
      "localDate": "2026-12-06",
      "localClock": "09:17",
      "times": {
        "fajr": "04:14",
        "sunrise": "05:37",
        "dhuhr": "12:47",
        "asr": "16:31",
        "maghrib": "19:55",
        "isha": "21:18"
      },
      "current": "fajr",
      "next": {
        "key": "dhuhr",
        "clock": "12:47",
        "offsetDays": 0
      },
      "countdown": {
        "status": "running",
        "seconds": 12558
      },
      "midnight": "00:04",
      "lastThird": "01:27",
      "flags": {
        "substituted": [],
        "polarDay": false
      },
      "ok": true
    }
  ],
  "comparison": {
    "source": {
      "service": "AlAdhan Prayer Times API",
      "url": "https://aladhan.com/prayer-times-api",
      "template": "https://api.aladhan.com/v1/timings/{DD-MM-YYYY}?latitude={lat}&longitude={lng}&method=2&school=0&latitudeAdjustmentMethod=1",
      "parameters": "method=2 (Islamic Society of North America), school=0 (Standard Asr), latitudeAdjustmentMethod=1 (middle of the night)",
      "retrievedAt": "2026-12-04",
      "note": "These are exactly the parameters SABEEL applies by default, so a difference in minutes is a difference in implementation, not in configuration. Values are on each city's local clock."
    },
    "anomaly": {
      "row": "Vancouver · 2026-12-04",
      "detail": "British Columbia adopted permanent daylight time (UTC−7) in March 2026 and did not turn clocks back on 1 November 2026, so Vancouver is on UTC−7 in December, not the former winter offset of UTC−8 (PST). The app takes the offset from the IANA time zone database; the reference service does the same. Both agree, and no reference value was changed. An auditor comparing against an older tool that still assumes PST will see exactly one hour of difference for Vancouver, which is that tool's out-of-date rule and not an error in SABEEL."
    },
    "rows": [
      {
        "city": "Montréal",
        "date": "2026-12-04",
        "timezone": "America/Toronto",
        "latitude": 45.5019,
        "longitude": -73.5674,
        "app": [
          "05:48",
          "07:17",
          "11:46",
          "13:52",
          "16:11",
          "17:40"
        ],
        "reference": [
          "05:48",
          "07:17",
          "11:45",
          "13:54",
          "16:11",
          "17:40"
        ],
        "deltas": [
          0,
          0,
          1,
          -2,
          0,
          0
        ],
        "maxAbs": 2,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Montréal",
        "date": "2026-06-21",
        "timezone": "America/Toronto",
        "latitude": 45.5019,
        "longitude": -73.5674,
        "app": [
          "03:06",
          "05:06",
          "12:57",
          "17:07",
          "20:47",
          "22:46"
        ],
        "reference": [
          "03:06",
          "05:06",
          "12:56",
          "17:07",
          "20:47",
          "22:46"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Toronto",
        "date": "2026-12-04",
        "timezone": "America/Toronto",
        "latitude": 43.6532,
        "longitude": -79.3832,
        "app": [
          "06:09",
          "07:34",
          "12:09",
          "14:22",
          "16:41",
          "18:07"
        ],
        "reference": [
          "06:09",
          "07:34",
          "12:08",
          "14:23",
          "16:41",
          "18:07"
        ],
        "deltas": [
          0,
          0,
          1,
          -1,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Toronto",
        "date": "2026-06-21",
        "timezone": "America/Toronto",
        "latitude": 43.6532,
        "longitude": -79.3832,
        "app": [
          "03:45",
          "05:36",
          "13:20",
          "17:26",
          "21:03",
          "22:53"
        ],
        "reference": [
          "03:46",
          "05:36",
          "13:19",
          "17:26",
          "21:03",
          "22:53"
        ],
        "deltas": [
          -1,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Vancouver",
        "date": "2026-12-04",
        "timezone": "America/Vancouver",
        "latitude": 49.2827,
        "longitude": -123.1207,
        "app": [
          "07:14",
          "08:50",
          "13:04",
          "14:56",
          "17:15",
          "18:52"
        ],
        "reference": [
          "07:14",
          "08:50",
          "13:03",
          "14:58",
          "17:15",
          "18:52"
        ],
        "deltas": [
          0,
          0,
          1,
          -2,
          0,
          0
        ],
        "maxAbs": 2,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Vancouver",
        "date": "2026-06-21",
        "timezone": "America/Vancouver",
        "latitude": 49.2827,
        "longitude": -123.1207,
        "app": [
          "02:37",
          "05:07",
          "13:15",
          "17:33",
          "21:22",
          "23:52"
        ],
        "reference": [
          "02:37",
          "05:07",
          "13:14",
          "17:33",
          "21:22",
          "23:52"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "New York",
        "date": "2026-12-04",
        "timezone": "America/New_York",
        "latitude": 40.7128,
        "longitude": -74.006,
        "app": [
          "05:42",
          "07:04",
          "11:47",
          "14:10",
          "16:29",
          "17:50"
        ],
        "reference": [
          "05:42",
          "07:04",
          "11:46",
          "14:11",
          "16:29",
          "17:50"
        ],
        "deltas": [
          0,
          0,
          1,
          -1,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "New York",
        "date": "2026-06-21",
        "timezone": "America/New_York",
        "latitude": 40.7128,
        "longitude": -74.006,
        "app": [
          "03:45",
          "05:25",
          "12:59",
          "16:58",
          "20:31",
          "22:11"
        ],
        "reference": [
          "03:45",
          "05:25",
          "12:58",
          "16:58",
          "20:31",
          "22:11"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Paris",
        "date": "2026-12-04",
        "timezone": "Europe/Paris",
        "latitude": 48.8566,
        "longitude": 2.3522,
        "app": [
          "06:51",
          "08:26",
          "12:42",
          "14:36",
          "16:55",
          "18:31"
        ],
        "reference": [
          "06:50",
          "08:26",
          "12:41",
          "14:38",
          "16:55",
          "18:31"
        ],
        "deltas": [
          1,
          0,
          1,
          -2,
          0,
          0
        ],
        "maxAbs": 2,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Paris",
        "date": "2026-06-21",
        "timezone": "Europe/Paris",
        "latitude": 48.8566,
        "longitude": 2.3522,
        "app": [
          "03:22",
          "05:47",
          "13:53",
          "18:10",
          "21:58",
          "00:23"
        ],
        "reference": [
          "03:22",
          "05:47",
          "13:52",
          "18:10",
          "21:58",
          "00:23"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "London",
        "date": "2026-12-04",
        "timezone": "Europe/London",
        "latitude": 51.5074,
        "longitude": -0.1278,
        "app": [
          "06:06",
          "07:48",
          "11:52",
          "13:35",
          "15:53",
          "17:36"
        ],
        "reference": [
          "06:05",
          "07:48",
          "11:51",
          "13:37",
          "15:53",
          "17:36"
        ],
        "deltas": [
          1,
          0,
          1,
          -2,
          0,
          0
        ],
        "maxAbs": 2,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "London",
        "date": "2026-06-21",
        "timezone": "Europe/London",
        "latitude": 51.5074,
        "longitude": -0.1278,
        "app": [
          "01:15",
          "04:43",
          "13:03",
          "17:25",
          "21:22",
          "00:49"
        ],
        "reference": [
          "01:16",
          "04:43",
          "13:02",
          "17:25",
          "21:22",
          "00:49"
        ],
        "deltas": [
          -1,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Makkah",
        "date": "2026-12-04",
        "timezone": "Asia/Riyadh",
        "latitude": 21.4225,
        "longitude": 39.8262,
        "app": [
          "05:39",
          "06:44",
          "12:12",
          "15:16",
          "17:38",
          "18:43"
        ],
        "reference": [
          "05:39",
          "06:44",
          "12:11",
          "15:17",
          "17:38",
          "18:43"
        ],
        "deltas": [
          0,
          0,
          1,
          -1,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Makkah",
        "date": "2026-06-21",
        "timezone": "Asia/Riyadh",
        "latitude": 21.4225,
        "longitude": 39.8262,
        "app": [
          "04:29",
          "05:39",
          "12:23",
          "15:42",
          "19:06",
          "20:16"
        ],
        "reference": [
          "04:29",
          "05:39",
          "12:22",
          "15:42",
          "19:06",
          "20:15"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          1
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Dubai",
        "date": "2026-12-04",
        "timezone": "Asia/Dubai",
        "latitude": 25.2048,
        "longitude": 55.2708,
        "app": [
          "05:42",
          "06:49",
          "12:10",
          "15:09",
          "17:29",
          "18:36"
        ],
        "reference": [
          "05:42",
          "06:49",
          "12:09",
          "15:09",
          "17:29",
          "18:36"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Dubai",
        "date": "2026-06-21",
        "timezone": "Asia/Dubai",
        "latitude": 25.2048,
        "longitude": 55.2708,
        "app": [
          "04:16",
          "05:29",
          "12:22",
          "15:43",
          "19:12",
          "20:25"
        ],
        "reference": [
          "04:16",
          "05:29",
          "12:21",
          "15:43",
          "19:12",
          "20:25"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Reykjavík",
        "date": "2026-12-04",
        "timezone": "Atlantic/Reykjavik",
        "latitude": 64.1466,
        "longitude": -21.9426,
        "app": [
          "08:05",
          "10:54",
          "13:19",
          "13:44",
          "15:42",
          "18:31"
        ],
        "reference": [
          "08:05",
          "10:53",
          "13:18",
          "13:57",
          "15:41",
          "18:31"
        ],
        "deltas": [
          0,
          1,
          1,
          -13,
          1,
          0
        ],
        "maxAbs": 13,
        "tolerance": 15,
        "ok": true
      },
      {
        "city": "Reykjavík",
        "date": "2026-06-21",
        "timezone": "Atlantic/Reykjavik",
        "latitude": 64.1466,
        "longitude": -21.9426,
        "app": [
          "01:29",
          "02:55",
          "13:31",
          "18:23",
          "00:04",
          "01:30"
        ],
        "reference": [
          "01:30",
          "02:55",
          "13:30",
          "18:23",
          "00:04",
          "01:30"
        ],
        "deltas": [
          -1,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 15,
        "ok": true
      },
      {
        "city": "Sydney",
        "date": "2026-12-04",
        "timezone": "Australia/Sydney",
        "latitude": -33.8688,
        "longitude": 151.2093,
        "app": [
          "04:15",
          "05:37",
          "12:46",
          "16:30",
          "19:54",
          "21:16"
        ],
        "reference": [
          "04:15",
          "05:37",
          "12:45",
          "16:30",
          "19:54",
          "21:16"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      },
      {
        "city": "Sydney",
        "date": "2026-06-21",
        "timezone": "Australia/Sydney",
        "latitude": -33.8688,
        "longitude": 151.2093,
        "app": [
          "05:46",
          "07:00",
          "11:58",
          "14:36",
          "16:54",
          "18:08"
        ],
        "reference": [
          "05:46",
          "07:00",
          "11:57",
          "14:36",
          "16:54",
          "18:08"
        ],
        "deltas": [
          0,
          0,
          1,
          0,
          0,
          0
        ],
        "maxAbs": 1,
        "tolerance": 3,
        "ok": true
      }
    ]
  },
  "asr": [
    {
      "city": "Montréal",
      "date": "2026-12-04",
      "timezone": "America/Toronto",
      "app": "14:28",
      "reference": "14:29",
      "delta": -1,
      "ok": true
    },
    {
      "city": "Paris",
      "date": "2026-12-04",
      "timezone": "Europe/Paris",
      "app": "15:10",
      "reference": "15:11",
      "delta": -1,
      "ok": true
    },
    {
      "city": "Sydney",
      "date": "2026-12-04",
      "timezone": "Australia/Sydney",
      "app": "17:44",
      "reference": "17:44",
      "delta": 0,
      "ok": true
    }
  ],
  "dst": [
    {
      "label": "Toronto · spring forward",
      "timezone": "America/Toronto",
      "before": "12:29",
      "after": "13:29",
      "utcShift": 0,
      "localShift": 60,
      "expectedShift": 60,
      "ok": true
    },
    {
      "label": "Toronto · fall back",
      "timezone": "America/Toronto",
      "before": "13:02",
      "after": "12:02",
      "utcShift": 0,
      "localShift": -60,
      "expectedShift": -60,
      "ok": true
    },
    {
      "label": "Paris · spring forward",
      "timezone": "Europe/Paris",
      "before": "12:57",
      "after": "13:56",
      "utcShift": -1,
      "localShift": 59,
      "expectedShift": 60,
      "ok": true
    },
    {
      "label": "Paris · fall back",
      "timezone": "Europe/Paris",
      "before": "13:36",
      "after": "12:36",
      "utcShift": 0,
      "localShift": -60,
      "expectedShift": -60,
      "ok": true
    },
    {
      "label": "Sydney · spring forward",
      "timezone": "Australia/Sydney",
      "before": "11:45",
      "after": "12:45",
      "utcShift": 0,
      "localShift": 60,
      "expectedShift": 60,
      "ok": true
    }
  ],
  "highLatitude": [
    {
      "label": "Reykjavík · 2026-06-21 · rules differ",
      "detail": "Middle 01:29 · Seventh 02:31 · No rule withheld",
      "note": "Fajr differs by 62 min between the two rules; the substitution is flagged on the day.",
      "ok": true
    },
    {
      "label": "Reykjavík · 2026-06-21 · no rule applied",
      "detail": "Fajr withheld",
      "note": "With no rule selected the app shows nothing rather than a substituted time.",
      "ok": true
    },
    {
      "label": "Tromsø · 2026-06-21 · polar day",
      "detail": "Fajr 00:46 · Sunrise 01:06",
      "note": "Sun never sets; the day is flagged and the nearest-latitude resolution is used.",
      "ok": true
    },
    {
      "label": "Tromsø · 2026-12-04 · polar night",
      "detail": "Fajr 06:37 · Dhuhr 11:35 · Isha 16:32",
      "note": "Twilight angles are unreachable; the times stay ordered through the night portion.",
      "ok": true
    }
  ],
  "midnight": [
    {
      "city": "London",
      "date": "2026-06-21",
      "isha": "00:49",
      "ishaCivil": "2026-06-22",
      "rolled": true,
      "substituted": true,
      "next": {
        "key": "fajr",
        "offset": 1,
        "clock": "01:16"
      },
      "note": "Substituted night: Fajr and Isha fall within minutes of each other, so the period after Isha resolves to the next available prayer. The substitution is flagged on the day.",
      "ok": true
    },
    {
      "city": "Paris",
      "date": "2026-06-21",
      "isha": "00:23",
      "ishaCivil": "2026-06-22",
      "rolled": true,
      "substituted": true,
      "next": {
        "key": "fajr",
        "offset": 1,
        "clock": "03:22"
      },
      "note": "Substituted night: Fajr and Isha fall within minutes of each other, so the period after Isha resolves to the next available prayer. The substitution is flagged on the day.",
      "ok": true
    },
    {
      "city": "Reykjavík",
      "date": "2026-06-21",
      "isha": "01:30",
      "ishaCivil": "2026-06-22",
      "rolled": true,
      "substituted": true,
      "next": {
        "key": "dhuhr",
        "offset": 1,
        "clock": "13:31"
      },
      "note": "Substituted night: Fajr and Isha fall within minutes of each other, so the period after Isha resolves to the next available prayer. The substitution is flagged on the day.",
      "ok": true
    }
  ],
  "invariants": [
    {
      "label": "Montréal · 2026-12-04 · prayer order",
      "detail": "05:48 · 07:17 · 11:46 · 13:52 · 16:11 · 17:40",
      "note": "Fajr ≤ Sunrise ≤ Dhuhr ≤ Asr ≤ Maghrib ≤ Isha.",
      "ok": true
    },
    {
      "label": "Sydney · 2026-12-04 · prayer order",
      "detail": "04:15 · 05:37 · 12:46 · 16:30 · 19:54 · 21:16",
      "note": "Southern hemisphere, summer date.",
      "ok": true
    },
    {
      "label": "After Isha · next prayer",
      "detail": "fajr · offset 1 day",
      "note": "After Isha the countdown targets tomorrow's Fajr, not yesterday's.",
      "ok": true
    },
    {
      "label": "One minute before Fajr · countdown",
      "detail": "60 s remaining",
      "note": "Countdown is derived from the same instant the schedule displays.",
      "ok": true
    },
    {
      "label": "Fajr +5 min adjustment",
      "detail": "05:53 vs 05:48 · shift 5 min",
      "note": "Only the chosen prayer moves; the others are untouched.",
      "ok": true
    },
    {
      "label": "City zone, not device zone",
      "detail": "UTC offset at Fajr -300 min",
      "note": "Montréal in December is UTC−5; the value comes from the city's IANA zone, not the visitor's clock.",
      "ok": true
    }
  ],
  "qibla": {
    "kaaba": {
      "latitude": 21.4225,
      "longitude": 39.8262
    },
    "earthRadiusKm": 6371.0088,
    "rows": [
      {
        "city": "Montréal",
        "latitude": 45.5019,
        "longitude": -73.5674,
        "bearing": 58.69256599550545,
        "reference": 58.692565995505426,
        "bearingDiff": 2.1316282072803006e-14,
        "distanceKm": 9998.25358736437,
        "referenceDistanceKm": 9998.253587364366,
        "distanceDiff": -3.637978807091713e-12,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Toronto",
        "latitude": 43.6532,
        "longitude": -79.3832,
        "bearing": 54.580623478291955,
        "reference": 54.58062347829195,
        "bearingDiff": 7.105427357601002e-15,
        "distanceKm": 10495.848930575172,
        "referenceDistanceKm": 10495.848930575174,
        "distanceDiff": 1.8189894035458565e-12,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Vancouver",
        "latitude": 49.2827,
        "longitude": -123.1207,
        "bearing": 16.650549167095505,
        "reference": 16.650549167095473,
        "bearingDiff": 3.197442310920451e-14,
        "distanceKm": 11973.680723153899,
        "referenceDistanceKm": 11973.680723153899,
        "distanceDiff": 0,
        "coincident": false,
        "ok": true
      },
      {
        "city": "New York",
        "latitude": 40.7128,
        "longitude": -74.006,
        "bearing": 58.48170103788368,
        "reference": 58.48170103788371,
        "bearingDiff": -2.842170943040401e-14,
        "distanceKm": 10306.32062427432,
        "referenceDistanceKm": 10306.320624274322,
        "distanceDiff": 1.8189894035458565e-12,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Paris",
        "latitude": 48.8566,
        "longitude": 2.3522,
        "bearing": 119.16313780128513,
        "reference": 119.16313780128509,
        "bearingDiff": 4.263256414560601e-14,
        "distanceKm": 4496.180716750263,
        "referenceDistanceKm": 4496.180716750264,
        "distanceDiff": 9.094947017729282e-13,
        "coincident": false,
        "ok": true
      },
      {
        "city": "London",
        "latitude": 51.5074,
        "longitude": -0.1278,
        "bearing": 118.98721949633443,
        "reference": 118.98721949633442,
        "bearingDiff": 1.4210854715202004e-14,
        "distanceKm": 4793.781762338425,
        "referenceDistanceKm": 4793.781762338425,
        "distanceDiff": 0,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Makkah",
        "latitude": 21.4225,
        "longitude": 39.8262,
        "bearing": 0,
        "reference": null,
        "bearingDiff": null,
        "distanceKm": 0,
        "referenceDistanceKm": 0,
        "distanceDiff": 0,
        "coincident": true,
        "ok": true
      },
      {
        "city": "Dubai",
        "latitude": 25.2048,
        "longitude": 55.2708,
        "bearing": 258.2312050432538,
        "reference": 258.2312050432538,
        "bearingDiff": 0,
        "distanceKm": 1631.0992277025823,
        "referenceDistanceKm": 1631.0992277025846,
        "distanceDiff": 2.2737367544323206e-12,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Reykjavík",
        "latitude": 64.1466,
        "longitude": -21.9426,
        "bearing": 106.11763910534654,
        "reference": 106.11763910534656,
        "bearingDiff": -1.4210854715202004e-14,
        "distanceKm": 6518.269908341816,
        "referenceDistanceKm": 6518.269908341816,
        "distanceDiff": 0,
        "coincident": false,
        "ok": true
      },
      {
        "city": "Sydney",
        "latitude": -33.8688,
        "longitude": 151.2093,
        "bearing": 277.4995891209515,
        "reference": 277.4995891209515,
        "bearingDiff": 0,
        "distanceKm": 13236.27376130023,
        "referenceDistanceKm": 13236.273761300226,
        "distanceDiff": -3.637978807091713e-12,
        "coincident": false,
        "ok": true
      }
    ]
  },
  "sensors": {
    "rows": [
      {
        "platform": "iOS 13+ · Safari, Chrome",
        "support": "Supported with permission",
        "detail": "Requires DeviceOrientationEvent.requestPermission() from a user gesture. webkitCompassHeading is already referenced to true north, so no declination is added."
      },
      {
        "platform": "Android · Chrome",
        "support": "Supported",
        "detail": "Uses deviceorientationabsolute (magnetic north) and adds the local magnetic declination, fetched once per place from the NOAA geomagnetism model."
      },
      {
        "platform": "Android · Firefox",
        "support": "Often unavailable",
        "detail": "Absolute orientation is frequently not exposed. The app then reports the sensor as unreliable and keeps the numerical bearing and map available."
      },
      {
        "platform": "Desktop browsers",
        "support": "Not available",
        "detail": "No magnetometer. The bearing and the map remain correct and offline."
      },
      {
        "platform": "Any browser without HTTPS",
        "support": "Not available",
        "detail": "Device orientation requires a secure context."
      }
    ],
    "limitations": [
      "Compass accuracy depends entirely on the device magnetometer; metal, cases and nearby electronics distort it. The app never animates the needle without a live sensor reading.",
      "Magnetic declination needs one network request to the NOAA endpoint per place. Without it the needle is referenced to magnetic north and labelled as such.",
      "The Qibla map uses OpenStreetMap tiles and needs a connection; the numerical bearing does not.",
      "adhan-js rounds to the nearest minute and computes Asr from the shadow ratio, so Asr can differ from services that invert the angle slightly. Differences are reported in minutes in this document, never adjusted silently.",
      "Above 60° latitude a hundredth of a degree of solar altitude can move a time by several minutes; the per-prayer minute adjustment exists for local mosque alignment.",
      "No adhan audio or push notifications exist yet; they are not part of Milestone 2."
    ]
  },
  "functional": [
    {
      "area": "Navigation",
      "check": "Every public route renders without signing in",
      "status": "Code review",
      "note": "Home, Quran, Circles, Qibla, Settings, Help, More and this QA page carry no auth gate. Only /account, /admin and /mfa are gated."
    },
    {
      "area": "Navigation",
      "check": "Header tabs and bottom bar point at existing routes",
      "status": "Code review",
      "note": "Routing is file-based; each navigation item resolves to a route file. No dead links."
    },
    {
      "area": "Navigation",
      "check": "Unknown URLs render the not-found screen",
      "status": "Code review",
      "note": "A root notFoundComponent is registered, so a bad path renders a real page instead of a blank screen."
    },
    {
      "area": "Access",
      "check": "Sign-in, sign-up and password reset are wired",
      "status": "Code review",
      "note": "/login, /register, /forgot-password, /reset-password and /mfa all exist. Email and password plus Google, Microsoft, Facebook and Apple are enabled on the platform."
    },
    {
      "area": "Internationalisation",
      "check": "Arabic renders right to left",
      "status": "Manual browser test",
      "note": "Direction is set from the chosen language on the document element. Visual confirmation on a device is still required."
    },
    {
      "area": "Internationalisation",
      "check": "Arabic, English and French dictionaries in key parity",
      "status": "Automated",
      "note": "283 keys in each · 0 missing · 0 extra",
      "ok": true
    },
    {
      "area": "Settings",
      "check": "Preferences survive a reload",
      "status": "Code review",
      "note": "Language, theme, accessibility, location, method, Asr school, high-latitude rule and adjustments are stored on the device and re-read on load."
    },
    {
      "area": "Prayer engine",
      "check": "Changing a setting recalculates immediately",
      "status": "Code review",
      "note": "Every screen reads one shared schedule; a settings change updates the store and recomputes the day without a reload."
    },
    {
      "area": "Prayer engine",
      "check": "The clock advances and survives backgrounding",
      "status": "Code review",
      "note": "A one-second tick drives the countdown and re-syncs on visibilitychange, so returning to the tab shows the correct prayer."
    },
    {
      "area": "Qibla",
      "check": "The numerical bearing works offline",
      "status": "Code review",
      "note": "Bearing and distance are computed locally from coordinates; no network is involved."
    },
    {
      "area": "Deployment",
      "check": "No service worker or client-side bundle cache",
      "status": "Automated",
      "note": "No service worker is registered anywhere in the source, so a published build cannot be shadowed by a cached bundle."
    }
  ],
  "language": {
    "english": 283,
    "french": 283,
    "arabic": 283,
    "missing": 0,
    "extra": 0,
    "ok": true
  },
  "audit": {
    "executedAt": "2026-12-04T03:50:00Z",
    "executedBy": "Independent audit session (not the app builder)",
    "environment": "Node v24.22.1 harness against the real app modules (TZ America/Toronto, UTC, Asia/Tokyo); live site in the Claude desktop built-in browser (Chromium, Windows UA) with emulated 375/768/1440 px viewports. No physical devices.",
    "counts": {
      "PASS": 37,
      "FAIL": 2,
      "NOT TESTED": 6,
      "NOT SUPPORTED": 1
    },
    "total": 46,
    "tests": [
      {
        "id": "NAV-01",
        "feature": "Navigation between main pages",
        "status": "PASS"
      },
      {
        "id": "NAV-02",
        "feature": "Public access without sign-in",
        "status": "PASS"
      },
      {
        "id": "NAV-03",
        "feature": "Protected page redirects to login",
        "status": "PASS"
      },
      {
        "id": "NAV-04",
        "feature": "Real sign-in / sign-out routing",
        "status": "NOT TESTED"
      },
      {
        "id": "LOC-01",
        "feature": "Language switch without reload",
        "status": "PASS"
      },
      {
        "id": "LOC-02",
        "feature": "Arabic RTL layout",
        "status": "PASS"
      },
      {
        "id": "LOC-03",
        "feature": "Language persistence after reload",
        "status": "PASS"
      },
      {
        "id": "LOC-04",
        "feature": "AR/EN/FR key parity",
        "status": "PASS"
      },
      {
        "id": "LOC-05",
        "feature": "Date/time/number formatting",
        "status": "PASS"
      },
      {
        "id": "LOC-06",
        "feature": "Raw key leakage",
        "status": "PASS"
      },
      {
        "id": "LCT-01",
        "feature": "GPS granted (simulated position)",
        "status": "PASS"
      },
      {
        "id": "LCT-02",
        "feature": "GPS denied (simulated)",
        "status": "PASS"
      },
      {
        "id": "LCT-03",
        "feature": "Manual city selection",
        "status": "NOT TESTED"
      },
      {
        "id": "LCT-04",
        "feature": "Manual coordinates",
        "status": "PASS"
      },
      {
        "id": "LCT-05",
        "feature": "Location persistence",
        "status": "PASS"
      },
      {
        "id": "LCT-06",
        "feature": "Remote-city timezone accuracy",
        "status": "PASS"
      },
      {
        "id": "LCT-07",
        "feature": "Device timezone independence",
        "status": "PASS"
      },
      {
        "id": "LCT-08",
        "feature": "DST transitions",
        "status": "PASS"
      },
      {
        "id": "PRY-01",
        "feature": "ISNA 15/15 default",
        "status": "PASS"
      },
      {
        "id": "PRY-02",
        "feature": "Switching methods",
        "status": "PASS"
      },
      {
        "id": "PRY-03",
        "feature": "Standard vs Hanafi Asr",
        "status": "PASS"
      },
      {
        "id": "PRY-04",
        "feature": "Minute adjustments",
        "status": "PASS"
      },
      {
        "id": "PRY-05",
        "feature": "High-latitude rules",
        "status": "PASS"
      },
      {
        "id": "PRY-06",
        "feature": "Polar / failure handling",
        "status": "PASS"
      },
      {
        "id": "PRY-07",
        "feature": "Midnight rollover",
        "status": "PASS"
      },
      {
        "id": "PRY-08",
        "feature": "Next prayer after Isha (live)",
        "status": "PASS"
      },
      {
        "id": "PRY-09",
        "feature": "Countdown after backgrounding",
        "status": "NOT TESTED"
      },
      {
        "id": "PRY-10",
        "feature": "Last third of the night",
        "status": "PASS"
      },
      {
        "id": "PRY-11",
        "feature": "AlAdhan reference comparison",
        "status": "PASS"
      },
      {
        "id": "PRY-12",
        "feature": "Independent NOAA solar check",
        "status": "PASS"
      },
      {
        "id": "QIB-01",
        "feature": "Independent bearing validation",
        "status": "PASS"
      },
      {
        "id": "QIB-02",
        "feature": "Bearing follows location",
        "status": "PASS"
      },
      {
        "id": "QIB-03",
        "feature": "True vs magnetic north on device",
        "status": "NOT TESTED"
      },
      {
        "id": "QIB-04",
        "feature": "Orientation permission handling",
        "status": "PASS"
      },
      {
        "id": "QIB-05",
        "feature": "Sensor-unavailable fallback",
        "status": "PASS"
      },
      {
        "id": "QIB-06",
        "feature": "Calibration instructions",
        "status": "PASS"
      },
      {
        "id": "QIB-07",
        "feature": "Screen-orientation compensation",
        "status": "NOT TESTED"
      },
      {
        "id": "UX-01",
        "feature": "Settings persistence",
        "status": "PASS"
      },
      {
        "id": "UX-02",
        "feature": "Dark theme",
        "status": "PASS"
      },
      {
        "id": "UX-03",
        "feature": "Senior accessibility mode",
        "status": "PASS"
      },
      {
        "id": "UX-04",
        "feature": "Responsive mobile 375",
        "status": "PASS"
      },
      {
        "id": "UX-05",
        "feature": "Responsive tablet 768 (header overflows sideways)",
        "status": "FAIL"
      },
      {
        "id": "UX-06",
        "feature": "Responsive desktop 1440",
        "status": "PASS"
      },
      {
        "id": "UX-07",
        "feature": "Offline app shell (no service worker)",
        "status": "NOT SUPPORTED"
      },
      {
        "id": "UX-08",
        "feature": "Recovery after network interruption",
        "status": "NOT TESTED"
      },
      {
        "id": "UX-09",
        "feature": "Console errors (React #418 hydration, Arabic)",
        "status": "FAIL"
      }
    ]
  },
  "summary": {
    "computationalChecks": 61,
    "passed": 61,
    "failed": 0,
    "allPassed": true
  }
}