krz/moonrise

Night-sky companion for iPhone, Apple Watch and Vision Pro: what's up tonight, the Moon, planets, launches and missions, and a Library of the solar system. SwiftUI app with a Cloudflare Workers backend. astronomy cloudflare-workers ios night-sky space swiftui visionos watchos

Commit 0b974e0e15

0b974e0e1521edb257a4524bba077e333a792815

parent: ae13fc05cd

Unsigned

cmc <hello@cleberg.net> · 2026-10-20 23:54 UTC

PLAN: decisions and before-publishing list (!71)

Records the eclipse countdown decision (foreground, English), the shipped launch push, WeatherKit and test-aid work, and a before-publishing list: LL2 key, Astronomical League and Lunar 100 decision, safety wording review, privacy label, WeatherKit and launch push setup, device checks.

Layout: unified · split

PLAN.org +30 −8
@@ -433,8 +433,9 @@ Sky, System, Sun, Launches, Library core (above).
433433- Eclipse day for 2 August 2027. Done: IERS ΔT, contacts to 0.1 s, site
434434 time zone, precise location; cue script with safety rules, foreground
435435 spoken countdown, rehearsal, sun diagram, contact-time Live Activity.
436 Not done: background audio (App Review risk), Watch haptics, drive to
437 totality, cloud climatology, field test on 6 February 2027.
436 Decided: the countdown stays in the foreground (no background audio
437 mode) and in English. Not done: Watch haptics, drive to totality, cloud
438 climatology, field test on 6 February 2027.
438439- Siri, Shortcuts and Spotlight. Done: 9 App Shortcuts over a MoonriseKit
439440 =Answers= target; all Library pages in Spotlight; open page and show in
440441 sky. Not done: widgets and controls from the same intents, App Group,
@@ -451,13 +452,16 @@ Sky, System, Sun, Launches, Library core (above).
451452 =0004_launch_designator.sql= on the remote D1 before deploying the Worker.
452453 Not done: seeing the ascent (needs a trajectory model).
453454- Live Activities. Done: satellite pass activity; small, limited-width and
454 StandBy layouts for all activities; scheduled launch start at T−60 min.
455 Not done: push updates (broadcast channels; channel API from a Worker
456 untested), storms, meteor peaks.
455 StandBy layouts for all activities; scheduled launch start at T−60 min;
456 launch updates pushed over APNs broadcast channels, one per launch, with a
457 focused LL2 poll every 5 min from T−60 to T+15 (at most 13 anonymous
458 requests an hour); previews and DEBUG sample activities for testing. Not
459 done: storms, meteor peaks.
457460- Observing conditions. Done: dark window and Moon times in the Today
458 sheet, Moon notes on meteor peaks, passes and tours. Not done: WeatherKit
459 cloud (portal capability, opt-in decision, privacy text), light pollution
460 (licence), meteor radiant altitude.
461 sheet, Moon notes on meteor peaks, passes and tours; opt-in WeatherKit
462 cloud (off by default, location rounded to 0.1°, sent only to Apple) with
463 a go/marginal/no rating for tonight, passes and events. Not done: light
464 pollution (licence), meteor radiant altitude.
461465- Observing programs. Done: =:CATALOG:= and =:UTC_OFFSET:= in the log,
462466 catalogue name matching, Messier progress, user program lists as Org
463467 files, "not yet logged, up tonight". Not done: Astronomical League and
@@ -465,6 +469,24 @@ Sky, System, Sun, Launches, Library core (above).
465469- AR camera overlay: later. First measure draw time and pointing on a
466470 device and add one-object alignment with a gyroscope heading.
467471
472* before publishing
473- Launch Library 2 API key as the =LL2_API_KEY= secret. Anonymous calls from
474 Workers' shared IPs get HTTP 429 for hours at a time.
475- Decide on the Astronomical League lists (Herschel 400, Double Star, Lunar,
476 Binocular Messier) and Lunar 100 (Charles Wood, Sky & Telescope): ask for
477 permission or leave them to user program files.
478- Review of the eclipse safety wording outside engineering.
479- App Store Connect privacy label: Location, Coarse Location, App
480 Functionality, not linked, not used for tracking (WeatherKit).
481- WeatherKit: check a real forecast on a signed device build.
482- Launch push: Broadcast capability for =sh.krz.moonrise=; run the channel
483 trial in =spikes/apns-channels/README.org=; then either set
484 =APNS_MANAGE_CHANNELS= or fill the pool with =server/scripts/channels.ts=;
485 apply =0005_launch_channels.sql= on the remote D1 before deploying.
486- Device checks: Siri phrases, Live Activity layouts (Lock Screen, Dynamic
487 Island, Watch, CarPlay, StandBy), eclipse rehearsal with the silent
488 switch on, sky draw time and pointing.
489
468490* risks
469491- Library scope: 320 pages is most of the effort. Ship 1.0 with fewer
470492 pages before adding more.