|
| 1 | +# Task: Repeatable native QA selected by changed scope |
| 2 | + |
| 3 | +Status: complete |
| 4 | +Next action: Use `make native-qa-plan` for the next native interaction change, then run its reviewed scope. |
| 5 | + |
| 6 | +## Objective and scope |
| 7 | + |
| 8 | +- Connect existing self-checking native fixtures to one plan/run interface. |
| 9 | +- Select suites from working changes or an explicit base commit; allow explicit suites after reviewing shared-file behavior. |
| 10 | +- Preserve stable QA identities, local Developer ID signing, sandbox entitlements and isolated stores. |
| 11 | +- Accept a runtime check only after a fresh fixture build, successful exit and its expected completion marker. |
| 12 | +- Keep installed Finder callbacks, real authorization pickers, installer replacement and access migration as separate acceptance evidence. |
| 13 | +- No production installation, release publication, permission-database changes or signing keys in CI. |
| 14 | + |
| 15 | +## Selected context |
| 16 | + |
| 17 | +- Workflow: [AI Playbook](../AI_PLAYBOOK.md), [HARNESS](../../specs/HARNESS.md). |
| 18 | +- Native identities and execution: [Native QA](../../specs/verification/native-qa.md), [Finder/native checks](../../specs/verification/finder.md). |
| 19 | +- Domains for fixture adapters: [Creation](../../specs/domains/creation.md), [File tools](../../specs/domains/file-tools.md), [Startup/preferences](../../specs/domains/startup.md), [Updates](../../specs/domains/updates.md). |
| 20 | +- Entry points: `scripts/native_qa.py`, existing `build_*_harness.sh` and `*_smoke.swift`, `Makefile`. |
| 21 | +- Load additional product contracts before changing their assertions or runtime behavior. |
| 22 | + |
| 23 | +## Decisions and progress |
| 24 | + |
| 25 | +- `make verify` keeps running offline infrastructure tests. Actual signed GUI fixtures use a separate local command. |
| 26 | +- Nine automatic modes cover batch rename, template workflow/opening/update scheduling, open-with delivery, native icons, resource tools, design/settings and the headless favorite model. |
| 27 | +- The favorite-model probe is an additional headless native check. |
| 28 | +- Plans must retain manual boundaries and unknown runtime paths for review, rather than silently declaring them covered. |
| 29 | +- The first actual run caught a fixture startup race: appearance edits overlapped the production model's asynchronous template recovery. The automated design mode now waits for the same bounded ready state as the existing settings check, preserving all persistence, rollback and immediate-appearance assertions. Its focused rerun and the final full run passed. |
| 30 | +- Build-only project/CI edits do not start GUI checks. Config/entitlement changes still require scope review. |
| 31 | +- Actual run checks verify signatures and a new fixture build ID before execution; failed builds never launch retained bundles. Exit status, completion marker, timeout, manual requirements and source changes all participate in the result. |
| 32 | + |
| 33 | +## Evidence |
| 34 | + |
| 35 | +Tested commit/worktree: primary checkout based on `a0e86bf` plus the local implementation; only verification documentation was completed afterward. |
| 36 | +Environment: arm64 macOS 27.2, Xcode 27.1 (`27A9275`), Swift 6.4. |
| 37 | + |
| 38 | +| Check / command | Status | Observed result / evidence link | |
| 39 | +| --- | --- | --- | |
| 40 | +| Offline runner regressions and final `make verify` | passed | 20 runner regressions; existing Core/Images/Harness/CLI and offline checks passed. Log: `build/native-qa-automation-20261016/verify-final.log` | |
| 41 | +| Initial native run | failed | 8 passed, design readiness failed; preserved report: `build/native-checks.noindex/run.thvg3bkt/report.json` | |
| 42 | +| Focused design rerun | passed | Appearance, persisted settings/rollback, native captures and window dimensions; `build/native-checks.noindex/run.0t2f8uy6/report.json` | |
| 43 | +| Final selected native run | passed | 9/9 modes; six Developer ID signed QA app kinds, plus headless favorite-model check. Report: `build/native-checks.noindex/run.j298ucf_/report.json` | |
| 44 | +| Repeated representative builds/runs | passed | Batch rename, native icons and design: same IDs/paths/designated requirements; different build run IDs and data roots. `build/native-qa-automation-20261016/repeatability.json` | |
| 45 | + |
| 46 | +The nine final check commands took 50.33 seconds in total. GUI-fixture compilation, |
| 47 | +dependency preparation and preflight are recorded separately; the headless |
| 48 | +favorite-model command includes its compilation. This is one local observation, |
| 49 | +not a runtime guarantee. Office preview provider availability is recorded in the |
| 50 | +template log; a graceful unavailable-provider result does not prove rendering in |
| 51 | +an Office editor. |
| 52 | + |
| 53 | +## Handoff |
| 54 | + |
| 55 | +- Remaining implementation work: none for the connected automatic modes. |
| 56 | +- Known limits: injected fixtures do not prove installed Finder callbacks, persistent external grants or installed updates. |
| 57 | +- Interactive move/update authorization, isolated Sparkle replacement and access migration remain separate scenarios; no production installation, permission change, publication or remote CI execution was performed in this task. |
| 58 | +- Commands and scope rules are in the [native execution checklist](../../specs/verification/native-qa.md#automated-local-checks). |
0 commit comments