Skip to content

Accurate planet positions: JPL-fitted corrections + Earth–Moon wobble - #835

Merged
rulkens merged 16 commits into
mainfrom
accurate-planets
Oct 4, 2026
Merged

rulkens merged 16 commits into
mainfrom
accurate-planets

Conversation

@rulkens

@rulkens rulkens commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Stacked on #834. Spec docs/superpowers/specs/2026-10-04-accurate-planet-positions-design.md, plan docs/superpowers/plans/2026-10-04-accurate-planet-positions.md.

The eight planets match JPL DE (Horizons) to ≤ 1,000 km over 1900–2100 (frozen at the edge value outside), via a generated correction series on top of the Keplerian elements: cubic + 525 fitted sinusoid terms, verified on every 1-day row. Earth wobbles about the Earth–Moon barycentre via a one-row pair table.

  • ephemerisCorrectionMpc evaluator + EphemerisCorrection type
  • npm run fetch-horizons-planets (raw-registry entry, README) and npm run build-planet-ephemeris (FFT + golden-section frequency picking, Gram–Schmidt least squares, dense verification)
  • planetEphemerisCorrections.generated.ts
  • wiring in deriveBodyStates + BARYCENTRIC_PAIRS (in progress)

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
skymap 531877e Commit Preview URL

Branch Preview URL
Oct 04 2026, 10:40 PM

DoD audit READY: full suite + typecheck green locally (stacked PR, no GitHub CI), 31/31 boxes, smoke passed, deletion audit applied (~85 LOC incl. ruled test drop), no new TODOs.
# Conflicts:
#	docs/BACKLOG.md
#	tests/fixtures/bodyStatesJ2000.json
#	tests/fixtures/camera/driverGoldenTrace.json
#	tests/fixtures/camera/settleGoldenTrace.json
#	tests/services/engine/frame/deriveBodyStates.test.ts
#	tools/perf/perfScenarios.ts
@rulkens
rulkens changed the base branch from accurate-planets-prep to main October 4, 2026 22:34
@rulkens
rulkens marked this pull request as ready for review October 4, 2026 22:51
@rulkens
rulkens merged commit 922985c into main Oct 4, 2026
2 checks passed
@rulkens
rulkens deleted the accurate-planets branch October 4, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant