You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8453356
Browse filesBrowse the repository at this point in the historyBrowse files
The build 16 Siri actions persisted correctly, but each run produced an iOS `RUNNINGBOARD` termination with code `0xdead10cc`. The production fix must address persistence-resource lifetime rather than changing the intent's user-facing result.
4
+
5
+
lazy-senior check:
6
+
- lower rung: use UIKit's native background assertion around the existing short App Group lock
7
+
- GitHub prior art: skipped because this is a repo-local regression and Apple documents the exact termination and API
8
+
- new code justified: expiration and normal completion must balance one assertion without changing the shared file protocol
9
+
10
+
Focused verification on 2026-08-28:
11
+
- canonical iPhone 17 / iOS 26.5 simulator
12
+
- 38 selected App Intent and quick-surface lifecycle tests passed with zero failures
13
+
- coverage includes normal completion, expiration-before-activation, invalid task grants, sidecar failure, and publish/readback while the execution activity is held
14
+
- release guard and its mutation self-test passed before the focused run
15
+
16
+
Full verification on 2026-08-28:
17
+
- 523 unit and integration tests passed with zero failures after the final expiration-path test was added
18
+
- 53 non-screenshot UI tests passed with zero failures
19
+
- the UI run included quick-surface stop/review/save/discard, timer persistence across termination and relaunch, data management, history, reports, reminders, accessibility sizes, reduced motion, and EN/RU/UK launches
20
+
21
+
Adversarial review claim: the new assertion must cover every `flock` operation reached by the post-Siri reconciliation and must end exactly once without changing the extension or ledger writer. No actionable source finding remains after inspecting both call paths and failure paths. The residual gap is physical suspension behavior, which requires a new signed TestFlight build and fresh crash-log comparison.
- Two intentional Siri actions produced exactly two new active ledger entries and two matching create revisions: one service entry and one credit entry, each with the requested minute value and `shortcut` source.
5
+
- Both post-action databases passed SQLite integrity checks. No raw row values, object identifiers, device identifiers, or personal ledger totals are retained here.
6
+
- Each action was followed by a separate `RUNNINGBOARD``SIGKILL` with termination code `0xdead10cc`.
7
+
- Symbolication with the matching retained build 16 dSYM placed both terminations in the shared quick-surface file lock during host-app reconciliation. One path was launched by the scene-phase refresh and the other by the ledger-change refresh.
8
+
- The evidence therefore identifies a post-persistence suspension race, not a failed or duplicated Siri write.
Class: temporary task artifact. GitHub Issue #3 owns the public task state; code and tests own the accepted behavior. Finalization keeps only the compact PASS evidence needed to audit the release fix.
4
+
5
+
## Goal
6
+
7
+
Prevent iOS from terminating Hourleaf after a successful Siri/App Intent write while preserving the exact persisted result and the existing local-first ledger.
8
+
9
+
## Acceptance criteria
10
+
11
+
- AC1: The physical build 16 failure is identified from a sanitized device crash receipt, including the termination class and its relationship to the Siri runs.
12
+
- AC2: Service and credit App Intents each persist exactly one requested minute value through the shared command path, then release persistence resources before suspension.
13
+
- AC3: A focused regression test fails for the unsafe lifecycle and passes for the corrected lifecycle without introducing another ledger writer or dependency.
14
+
- AC4: Focused tests, the relevant full test suite, Release build, and release guard pass from current source.
15
+
- AC5: A new signed TestFlight build on the same physical iPhone records one service and one credit entry with the exact prompt, and fresh crash-log comparison shows no new Hourleaf termination for either run.
16
+
- AC6: The two build 16 diagnostic entries and any final-canary entries are removed through Hourleaf's interface; read-only persistence comparison proves no unrelated active entry changed.
17
+
18
+
## Constraints
19
+
20
+
- Preserve the production bundle ID, App Group, Core Data model, user records, notes, settings, and Watch packaging.
21
+
- No new dependency, analytics, telemetry, direct database mutation, or destructive storage cleanup.
22
+
- Keep private ledger values, identifiers, device identifiers, and raw crash reports out of Git and GitHub.
23
+
- Do not attach or submit a build to App Store review until physical acceptance passes.
24
+
25
+
## Non-goals
26
+
27
+
- Redesign Siri phrasing, quick-entry UI, reporting rules, or CloudKit behavior.
28
+
- Treat a Siri confirmation dialog as persistence proof.
29
+
- Diagnose unrelated historical device crashes.
30
+
31
+
## Verification plan
32
+
33
+
1. Preserve a sanitized build 16 crash signature and exact before/after ledger deltas.
34
+
2. Add the smallest lifecycle fix and a focused regression test.
35
+
3. Run focused and full automated checks plus Release validation.
36
+
4. Archive/upload a new build only after local proof and the existing release gate are current.
37
+
5. Repeat both Siri actions on the physical device, compare the ledger and device crash logs, then remove canary entries through the UI and verify cleanup.
0 commit comments