Fruitful

iOS APPLICATION

A local-first native iOS family health app uniting sympto-thermal Natural Family Planning, pregnancy symptom tracking, and longitudinal child development archiving on Apple HealthKit. Built with SwiftUI, @Observable stores, Swift Concurrency, and Swift Charts with zero cloud infrastructure and zero third-party dependencies.

Highlights

  • 100% on-device privacy built on Apple HealthKit and UserDefaults JSON across 5 Swift modules (~2,920 LOC) with zero third-party SDKs
  • @Observable + MainActor domain stores with 7-way async let HealthKit query fan-out and atomic batch symptom writes
  • Transparent sympto-thermal NFP engine with day-normalized conflict-preserving merge and explicit EntrySource provenance labels
  • Swift Charts BBT visualization with half-degree domain snapping, physiological clamping, and redundant color + point-area phase encoding
  • Procedural SwiftUI vector art (6-stage TreeGrowthBadge), 42-stage child development taxonomy, and deterministic Settings preview harnesses

Fruitful: Building a Local-First, Values-Driven Family Health App

A UX Engineering & Digital Humanities Case Study
Project: Fruitful (archangel-laboratories.fruitful, v1.0) · Author: Ryan R. C. Lewis (Archangel Laboratories)
Stack: Swift · SwiftUI · @Observable (Observation) · Swift Concurrency (MainActor default isolation) · Apple HealthKit · Swift Charts
Scope: 5 Swift modules (~2,920 LOC) · 0 third-party dependencies · 100% on-device data ownership
Repository Status: Local Git repository (6ad0be2, initial commit, with no public GitHub remote configured in .git/config yet). Everything I walk through below references the inspected source files and pairs them with system diagrams and interface renders pulled directly from the code.


1. Why I Built Fruitful

Most mainstream reproductive health apps are built around two quiet assumptions. First, they assume your data belongs in the cloud, which turns intimate biometric records into product telemetry that can be synced, analyzed, and eventually monetized. Second, they lean heavily on black-box algorithms that boil nuanced daily self-observation down into a single fertility score, while splitting fertility tracking, pregnancy, and parenting into completely separate apps.

There is an obvious appeal to that model. Cloud sync is convenient, and a simple green-or-red prediction feels effortless when you are half awake in the morning. Still, I think that design gets something basic wrong about how personal this part of life actually is. People deserve to own their health records outright, understand how their charts work, and have a tool that stays with them as a family grows instead of handing them off to a new subscription every nine months.

Fruitful is my attempt to build a grounded alternative on Apple platforms. It uses zero third-party SDKs and zero cloud infrastructure. Instead, it pairs Apple HealthKit's encrypted on-device store with transparent, inspectable sympto-thermal rules and warm botanical visuals across one continuous timeline:

  1. Sympto-Thermal Natural Family Planning (NFP) & Cycle Literacy: For those who are less familiar with sympto-thermal NFP, it is a method of understanding fertility by tracking physical signs together rather than guessing from calendar averages. Fruitful combines waking basal body temperature (BBT), cervical mucus quality, vaginal bleeding, intercourse, and qualitative notes, while always keeping track of where each piece of data came from.
  2. Gestational Accompaniment & Progressive Symptom Logging: During pregnancy, the app shifts into week-by-week physiological context paired with two-way HealthKit symptom severity logging.
  3. Longitudinal Family & Child Development Archiving: Once a child arrives, persistent per-child profiles track their growth through procedurally drawn trees and a 42-stage developmental guide stretching from newborn days through adolescence.

Depending on what kind of work you do, this project looks a little different up close. For Big Tech UX Engineering and Frontend Systems teams, it is a look at modern declarative state (@Observable paired with Swift Structured Concurrency), careful chart domain engineering in Swift Charts, deterministic preview tools for fast UI iteration, and an honest audit of where v1 cuts corners. For University Digital Humanities (DH), Health Humanities, and Research Software Engineering (RSE) groups, it is a working case study in Values-Sensitive Design (VSD), data provenance modeling, metaphorical and affective visualization, and IRB-friendly, privacy-preserving health instrumentation.


2. Interface Walkthrough

Fruitful four-screen code-derived interface walkthrough
Fruitful four-screen code-derived interface walkthrough

Screen-by-Screen Look


3. Technical Architecture

Fruitful runs on a unidirectional, local-first MVVM/Store architecture built directly on Apple's Observation framework (@Observable) and Swift 6-era concurrency defaults (SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor and SWIFT_APPROACHABLE_CONCURRENCY = YES in project.pbxproj). Plenty of teams like reaching for Redux-style architectures or external dependency injection containers on iOS, and those have their place in huge codebases. For a focused, zero-dependency app like this, I skipped the extra ceremony. The composition root (FruitfulApp in fertilityApp.swift) spins up three domain-isolated @MainActor @Observable stores and passes them down the SwiftUI view hierarchy with .environment(...).

3.1 System Architecture Diagram

flowchart TD
    subgraph CompositionRoot["Composition Root (fertilityApp.swift)"]
        App["FruitfulApp (@main)"]
        Scene["scenePhase Observer (.active -> refresh)"]
        Launch["FruitfulLaunchView (1.2s Procedural Vector Splash)"]
    end

    subgraph Presentation["SwiftUI Presentation Layer (ContentView.swift)"]
        TabRoot["ContentView (TabView + @AppStorage Mode/Preview State)"]
        Home["HomeTab (Adaptive Fertility / Pregnancy Modes)"]
        NFPUI["NFP Chart Card (Swift Charts + AddNFPEntrySheet)"]
        SymUI["Symptom Logger Card (Adaptive Grid + Discrete Severity Sliders)"]
        ChildUI["ChildTrackerTab (TreeGrowthBadge + AddChildSheet)"]
        SetUI["SettingsTab (Preview Harnesses + HealthKit Controls + mailto)"]
    end

    subgraph DomainStores["@MainActor @Observable Domain Stores"]
        HStore["FertilityHealthStore (14 HK Types, async let Fan-Out, 40-Week Fruit Map)"]
        NStore["NFPChartStore (Day-Normalized Upsert, Provenance Merge, Phase Classifier)"]
        CStore["ChildProfilesStore (Calendar Age Math, 42-Bucket Developmental Taxonomy)"]
    end

    subgraph Persistence["Local-First On-Device Persistence (Zero Cloud / Zero SDKs)"]
        HK["Apple HealthKit Store (Encrypted Biometrics + Background Delivery Entitlement)"]
        UD_NFP["UserDefaults JSON: nfpChartEntries"]
        UD_Child["UserDefaults JSON: childProfiles"]
        UD_Prefs["@AppStorage: journeyFocus, pregnancyPreviewWeek, cyclePhasePreview"]
    end

    App --> Launch
    App --> Scene
    App --> TabRoot
    Scene -->|"Task { await healthStore.refresh() }"| HStore

    TabRoot --> Home
    TabRoot --> ChildUI
    TabRoot --> SetUI
    Home --> NFPUI
    Home --> SymUI

    Home -->|"Reads snapshot, symptomSelections"| HStore
    SymUI -->|"saveSymptoms() batch write"| HStore
    NFPUI -->|"Reads chartEntries; writes addEntry()"| NStore
    Home -->|"40-day NFP bridge (loadRecentNFPObservations)"| HStore
    HStore -->|"ImportedObservation[] merge"| NStore
    ChildUI -->|"CRUD children"| CStore
    SetUI -->|"requestAccess() / refresh()"| HStore
    SetUI -->|"Bindings"| UD_Prefs
    TabRoot <--> UD_Prefs

    HStore <-->|"HKSampleQueryDescriptor & save()"| HK
    NStore <-->|"JSONEncoder / JSONDecoder"| UD_NFP
    CStore <-->|"JSONEncoder / JSONDecoder"| UD_Child

3.2 Module Inventory & Responsibility Boundaries

ModuleLOCRole & Key PiecesPersistence / System Boundary
fertilityApp.swift221Composition root, .environment(...) store injection, foreground scenePhase refresh trigger, and the TreeWithAppleIllustration and BranchShape procedural splash screen.SwiftUI ScenePhase lifecycle
FertilityHealthStore.swift7355-state HealthKit authorization machine, 7-way async let snapshot loader, 15 to 45 day outlier-filtered period estimator, 40-day NFP biometric bridge, atomic batch symptom writer, and 40-week fruit-size lookup.Apple HealthKit (6 core reproductive + 8 symptom types; fertility.entitlements)
NFPChartStore.swift305Sympto-thermal charting model (ChartEntry, EntrySource, CyclePhase), day-normalized conflict-preserving merge, 6-day rolling baseline +0.3°F thermal-shift classifier, and a 14-day synthetic biphasic test fixture.UserDefaults JSON (nfpChartEntries)
ChildProfilesStore.swift202Multi-child profile CRUD, reverse-chronological sorting, Calendar-accurate year/month age descriptions, and a 42-stage developmental prose engine covering month 0 through adolescence.UserDefaults JSON (childProfiles)
ContentView.swift1,6273-tab navigation shell, adaptive JourneyFocus routing, Swift Charts BBT plot with dynamic Y-domain snapping, progressive symptom logger, parametric TreeGrowthBadge and PeachPhaseBadge, and Settings preview harnesses.@AppStorage UI preferences + openURL (mailto:)

4. Deep Dive: UX Engineering & Frontend Decisions

4.1 Fine-Grained Reactive State (@Observable + MainActor Isolation)

First up is state management. Classic SwiftUI apps built on ObservableObject and @Published tend to invalidate whole view subtrees whenever any published property changes. You feel that pretty quickly as UI jank when a high-frequency control, like dragging a SymptomSeveritySlider or updating symptomSyncMessage, sits on the same screen as an expensive chart.

To avoid that, Fruitful uses Swift's @Observable macro across all three stores (FertilityHealthStore.swift, NFPChartStore.swift, ChildProfilesStore.swift). That lets SwiftUI track property reads at the individual field level inside body. Paired with SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor, the compiler verifies that all UI state updates stay free of data races without having to sprinkle manual DispatchQueue.main.async hops all over HealthKit callbacks.

4.2 Structured Concurrency & HealthKit Query Fan-Out

If you have worked with older HealthKit codebases, you probably remember the nested pyramids of completion-handler HKSampleQuery calls. Here, FertilityHealthStore.refresh() (FertilityHealthStore.swift) uses Apple's newer HKSampleQueryDescriptor API together with Swift Structured Concurrency. It fans out 7 independent reproductive queries in parallel using async let and commits a single atomic FertilitySnapshot value struct back to observable state:

sequenceDiagram
    actor User
    participant App as FruitfulApp / HomeTab
    participant HS as FertilityHealthStore (@MainActor)
    participant HK as Apple HealthKit DB
    participant NS as NFPChartStore

    User->>App: Foreground app (scenePhase == .active)
    App->>HS: await healthStore.refresh()
    par 7-Way Structured Concurrency Fan-Out (async let)
        HS->>HK: Query latest menstrualFlow (limit 1)
        HS->>HK: Query latest ovulationTestResult (limit 1)
        HS->>HK: Query latest cervicalMucusQuality (limit 1)
        HS->>HK: Query latest basalBodyTemperature (limit 1)
        HS->>HK: Query last 24 menstrualFlow (period estimator)
        HS->>HK: Query latest pregnancy (gestational week)
        HS->>HK: Query latest pregnancyTestResult (limit 1)
    end
    HK-->>HS: Concurrent HKSample results
    HS->>HS: Commit atomic FertilitySnapshot + timestamp
    HS->>HK: Load today's 8 symptom category severities
    HK-->>HS: Populate symptomSelections map

    Note over App,NS: Parallel HomeTab .task lifecycle
    App->>HS: await loadRecentNFPObservations(days: 40)
    HS->>HK: Query 40d BBT + cervicalMucus + menstrualFlow
    HK-->>HS: Samples grouped by startOfDay & converted to °F
    HS-->>App: [ImportedObservation]
    App->>NS: importHealthObservations(observations)
    NS->>NS: Merge by day, preserve manual notes/intercourse, mark .combined

On the write side (saveSymptoms() in FertilityHealthStore.swift), I wanted to avoid optimistic-UI drift where the screen claims something saved that actually did not. So the store batches selected severities into [HKCategorySample], awaits healthStore.save(samples), and immediately re-reads symptomSelections back from HealthKit so HealthKit stays the single source of truth.

4.3 Multi-Source Data Provenance & Conflict-Preserving Merge

One of the most frustrating failure modes in personal tracking apps is silently losing your own written notes whenever a wearable or OS health database syncs over the top of them. NFPChartStore.importHealthObservations(_:) (NFPChartStore.swift) prevents that through day-normalized field-level coalescing and an explicit EntrySource provenance state machine:

stateDiagram-v2
    [*] --> manual: User saves AddNFPEntrySheet (no prior day record)
    [*] --> healthKit: 40-day HealthKit sync creates new day record
    [*] --> sample: User taps Load Sample Data (empty store)

    manual --> combined: HealthKit sync merges BBT/mucus/bleeding while preserving notes & intercourse
    healthKit --> combined: User opens AddNFPEntrySheet (auto-prefilled) and edits/adds notes
    sample --> combined: User edits sample day or syncs overlapping HealthKit date
    combined --> combined: Subsequent manual edit or HealthKit re-sync

On the UI side, AddNFPEntrySheet watches the selected date with .onChange(of: date, initial: true) (ContentView.swift, prefill(from:)) and automatically fills in existing observations whenever you pick a day you have already charted. That folds "Create" and "Edit" into a single modal with very little friction. Every row in NFPEntryRow then tells you plainly where the data came from ("Manual entry", "Imported from Apple Health", "Apple Health + manual", or "Sample data").

4.4 Data Visualization Guardrails in Swift Charts

Basal body temperature shifts are tiny, typically only 0.3°F to 0.8°F between the follicular and luteal phases. If you leave chart scaling on autopilot, you usually end up with one of two bad outcomes: either a wide physiological range like 95–102°F flattens the real signal into a straight line, or tight min...max clamping blows up 0.1°F of thermometer noise so it looks like a fever spike.

To keep the chart honest and readable, nfpTemperatureDomain (ContentView.swift) enforces four visual guardrails:

  1. Half-degree quantization: Observed extrema get padded by ±0.2°F and snapped to clean 0.5°F steps (floor((min - 0.2) * 2) / 2 and ceil((max + 0.2) * 2) / 2), so the dashed gridlines (nfpTemperatureAxisMarks) always land on easy-to-scan half-degree ticks.
  2. Physiological clamping: The domain stays inside 95.0...100.5°F so a stray sensor glitch cannot blow out the viewport.
  3. Minimum visual span: The chart requires upperBound - lowerBound >= 1.5°F, which stops two days of 0.1°F noise from looking like an ovulatory shift.
  4. Redundant multivariate encoding: A Catmull-Rom LineMark traces the temperature curve while overlaid PointMark nodes use both color and point area to encode the inferred CyclePhase (ovulation stands out at 90 pt² warm amber, menstrual days sit at 70 pt² rose, and follicular/luteal days use 60 pt² sage and forest tones).

4.5 Progressive Disclosure, Procedural Art & Deterministic Preview Harnesses

A few smaller interface choices ended up doing a lot of heavy lifting for the overall feel of the app:

  • Progressive-Disclosure Symptom Matrix (symptomLoggerCard in ContentView.swift): Dumping 8 stacked sliders on someone who is pregnant and tired is a rough way to start a form. Instead, an adaptive LazyVGrid (GridItem(.adaptive(minimum: 140))) shows lightweight toggle capsules. Tapping a symptom starts it at .mild and reveals its discrete 4-step SymptomSeveritySlider (Not present to Mild, Moderate, and Severe).
  • Parametric Procedural Vector Art: Both TreeWithAppleIllustration (fertilityApp.swift) and TreeGrowthBadge (ContentView.swift) are drawn entirely from resolution-independent SwiftUI Shape, Path, and RadialGradient primitives driven by a 6-stage TreeGrowthStage model (trunkHeight scaling from 46 to 94pt, canopySize from 56 to 124pt, deeper chlorophyll greens, and 1 to 6 accent leaves). There are zero raster image assets to maintain across iPhone, iPad, and visionOS screen densities.
  • Built-In Deterministic Preview Harness (SettingsTab in ContentView.swift): Longitudinal health apps are notoriously awkward to design-review and QA because real biological states play out across 28-day cycles and 40-week pregnancies. Fruitful bakes persistent @AppStorage overrides right into Settings (pregnancyPreviewWeek: 0...40 and cyclePhasePreview: automatic | menstruation | follicular | ovulation | luteal), along with a one-tap 14-day synthetic biphasic dataset (seedSampleDataIfNeeded()). That makes it straightforward to check every longitudinal UI state on demand without touching live HealthKit records.

5. Technical Trade-Offs & an Honest Architectural Audit

Any honest v1 build involves deliberate shortcuts. Part of doing real UX engineering and research software work is going back through your own code, naming what is rough around the edges, and spelling out how it needs to grow for v2. Auditing the source files turned up seven concrete trade-offs and bugs:

AreaWhat v1 Does TodayWhy I Built It That WayKnown Trade-Offs & Code-Level FindingsConcrete v2 Fix
1. Persistence & PrivacyApple HealthKit plus UserDefaults JSON blobs (nfpChartEntries, childProfiles), with no cloud backend.Full on-device data ownership, zero server attack surface, fast early iteration, and zero external dependencies.UserDefaults re-encodes the entire array on every change (O(n) write amplification), has no relational indexing or schema migration path, and offers no user-controlled backup or export.Move local stores to SwiftData / SQLite with a versioned SchemaMigrationPlan, optional end-to-end encrypted CloudKit sync, and portable CSV / JSON-LD / FHIR export.
2. Canonical Domain Engine & Unit ConsistencyPhase inference is split between makeCyclePhaseInfo in the view layer and NFPChartStore.phase(for:); BBT formats in °C in FertilityHealthStore and °F in NFPChartStore.Fast parallel prototyping of HealthKit dashboard cards alongside the standalone NFP chart.Two real bugs showed up in the audit: (a) mixed °C and °F units between FertilityHealthStore.swift L398–399 and NFPChartStore.swift L241; (b) makeCyclePhaseVisualState (ContentView.swift) checks .contains("menstruation") while live inference returns "Menstrual phase" (L201), which makes live menstrual snapshots fall back visually to .follicular.Pull this into a single, unit-tested CycleDomainEngine using strongly typed enums (no string matching on display labels) and Measurement<UnitTemperature> formatted with Locale.current.
3. Concurrency Side Effects & Query Parallelism7-way async let in refresh(), a sequential for-loop in loadTodaySymptomSelections(), and 3 sequential awaits in loadRecentNFPObservations().Clean, easy-to-read async/await control flow with minimal complexity.In refresh() (FertilityHealthStore.swift), loadLatestPregnancy() mutates currentPregnancyWeek as a side effect while snapshot reads currentPregnancyWeek inside the same initializer call, tying correctness to Swift argument evaluation order. On top of that, 8 sequential symptom queries add avoidable IPC latency.Have loadLatestPregnancy() return a pure (summary: String, week: Int?) tuple; parallelize the 8 symptom queries with withThrowingTaskGroup and the 3 NFP queries with async let.
4. Sympto-Thermal Clinical Fidelity vs. TransparencyDeterministic +0.3°F jump over a 6-day mean (>=3 prior temps), with cycle start anchored to entries.last(where: heavy || medium).Inspectable, transparent heuristic that avoids black-box ML predictions and sticks to non-diagnostic wording.entries.last(where:) (NFPChartStore.swift) anchors Cycle Day 1 to the last bleeding day rather than the first day of the current menstrual block. There is also no horizontal coverline (RuleMark) or 3-consecutive-high-temp confirmation per Sensiplan or SymptoPro rules.Detect contiguous bleeding blocks so Day 1 anchors to block onset, and add an explicit coverline RuleMark plus configurable method rulesets (Sensiplan, Creighton, Billings) with inline clinical disclaimers.
5. View Modularity & Design SystemViews, theme colors, and helper functions all live in one 1,627-line ContentView.swift.No jumping between files during a solo initial build, and easy refactoring of private structs.High merge-conflict surface if multiple engineers work on it; inline RGB literals (Color(red:...)) do not adapt to Dark Mode and have not gone through formal WCAG contrast checks.Split into Features/{Fertility,Pregnancy,Children,Settings} plus a DesignSystem with semantic Asset Catalog color tokens for Light, Dark, and Increased Contrast modes.
6. Accessibility (a11y) & Motor ErgonomicsStandard Dynamic Type text styles and native SwiftUI Form, Picker, and Slider semantics.Pretty solid VoiceOver and Dynamic Type baseline right out of the box.Custom procedural views (PeachPhaseBadge, TreeGrowthBadge) and Swift Charts lack explicit .accessibilityLabel, .accessibilityValue, and AXChartDescriptorRepresentable (Audio Graphs). symptomBubble uses .title3 with fixed horizontal padding that can crowd at AX3 through AX5, and picking 0.1°F on a 55-step slider (ContentView.swift) demands fine motor control.Add AXChartDescriptorRepresentable for sonified BBT charts, semantic accessibility summaries on vector badges, ViewThatFits plus a Stepper and numeric keypad for BBT entry, and #Preview checks at .accessibilityExtraExtraExtraLarge.
7. Multi-Platform Target ReadinessThe target declares iphoneos, macosx, and xros (project.pbxproj).Keeps the door open for iPad, Mac, and Apple Vision Pro from day one.ToolbarItem(placement: .topBarTrailing) (L102) and .navigationBarTitleDisplayMode(.inline) (L855, L1198) will fail to compile on macOS without #if os(iOS) guards, even though HealthKit degrades cleanly to .unavailable on the Mac.Wrap those modifiers in #if !os(macOS), add a Mac-friendly NavigationSplitView, and verify CI builds across iOS, macOS, and visionOS destinations.

6. Where This Connects to Digital Humanities & Academic Research

Outside of commercial frontend engineering, a lot of Fruitful's design maps directly onto methods in Digital Humanities (DH), Health and Medical Humanities, Science and Technology Studies (STS), and Human-Centered Research Software Engineering (RSE):

1. Critical Making & Values-Sensitive Design (VSD)

For those who have spent time with Friedman and Hendry's Value Sensitive Design or D'Ignazio and Klein's Data Feminism, the core premise is familiar: software interfaces are never neutral pipes. Every layout and database schema encodes cultural and ethical commitments, whether the author admits it or not. Instead of burying its worldview under sterile clinical minimalism or engagement-driven growth hooks, Fruitful puts its stance right out in the open (Genesis 1:28, hospitality toward family life, and complete user ownership of intimate records) in both its visual language and its zero-cloud architecture. It is a practical exercise in translating humanistic inquiry into working software decisions.

2. Data Provenance as a Visible Interface Element

In archival studies, digital editions (TEI/XML), and linked humanities data (CIDOC-CRM, W3C PROV-O), keeping track of the difference between a primary observation, a machine-imported record, a merged synthesis, and an illustrative sample is basic scholarly hygiene. Fruitful brings that exact habit into a consumer health app, both in the data model (EntrySource: .manual, .healthKit, .combined, .sample) and directly in the UI (NFPEntryRow provenance captions). It is a good reminder that humanities data-modeling discipline makes everyday consumer and clinical tools clearer and more trustworthy.

3. Affective, Metaphorical & Longitudinal Visualization

Numbers on a time-series chart only tell part of a human story. Fruitful pairs analytical visualization (precision Catmull-Rom BBT curves with strict half-degree domain guardrails) alongside metaphorical and biographical visualization (gestational fruit scales, phase-modulated peach icons, and procedurally growing trees matched with developmental prose). That dual-register approach translates naturally to DH projects in narrative medicine, oral history, biographical timelines, and public-facing cultural heritage exhibits.

4. IRB-Safe Prototyping & Reproducible Walkthroughs

Academic UX and participatory design researchers run into the same ethical snag all the time: how do you review a sensitive health or biographical interface with faculty collaborators, peer reviewers, or an IRB board without exposing real participant PHI? Fruitful's deterministic Settings preview harnesses (CyclePhasePreview, pregnancyPreviewWeek) and synthetic biphasic dataset (seedSampleDataIfNeeded()) double as a built-in research demo kit. Anyone can step through every state reproducibly for peer review, usability workshops, or classroom teaching without putting a single real person's data at risk.

More broadly, this zero-backend, HealthKit-backed setup works well as a reusable RSE reference pattern for university health-humanities and community-based participatory research (CBPR):

  • Participants keep 100% custody of their sensitive biometric and qualitative diary records on their own devices.
  • Studies can layer an explicit, revocable, locally anonymized export step (such as a JSON-LD or REDCap-compatible bundle) only at the exact moment of informed consent, cutting institutional security liability while giving participants real reasons to trust the tool.

7. Repository & Source Code Reference Map

Since .git/config currently points to a local repository without a GitHub remote set up yet, here is the module map across the codebase (structured to drop straight into a public GitHub repo with a README.md tying back to this write-up and its renders):

  • Application Entry & Procedural Launch Splash: fertility/fertilityApp.swift
  • HealthKit Store & Structured Concurrency Engine: fertility/FertilityHealthStore.swift
  • Sympto-Thermal NFP Store & Provenance Merger: fertility/NFPChartStore.swift
  • Longitudinal Child Profiles & Developmental Taxonomy: fertility/ChildProfilesStore.swift
  • SwiftUI Presentation, Swift Charts & Preview Harnesses: fertility/ContentView.swift
  • Entitlements & Multi-Platform Build Configuration: fertility/fertility.entitlements · fertility.xcodeproj/project.pbxproj · fertility/Fruitful.icon/icon.json

There is still real v2 work ahead, especially extracting the unified cycle domain engine, moving local storage off UserDefaults, and finishing the accessibility pass. Even at v1, though, building Fruitful confirmed something I have believed for a long time: you do not have to choose between serious engineering craft and software that treats human life with quiet respect.