Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
beab371
Fix ephemeris correctness, rendering lifecycle, and recovery
Protonmatter Nov 10, 2026
101d0b6
Bind startup descriptor to canonical LF checkout bytes
Protonmatter Nov 10, 2026
02aaec8
Verify deferred browser workflows against exact module and schema ide…
Protonmatter Nov 10, 2026
f66dc19
Address structural rendering, loading, and ephemeris weaknesses
Protonmatter Nov 11, 2026
371698b
Align the System browser smoke with demand loading and deferred frames
claude Nov 11, 2026
04475dc
Accept pinned JPEG reference images in the source-grid check
claude Nov 11, 2026
1e5e0c1
Check reference-layer provenance where the caption now places it
claude Nov 11, 2026
1073860
Keep the System accuracy line from reflowing as its epoch advances
claude Nov 11, 2026
f1869bd
Plan moon-shadow transit frames for physical-scale body inspection
claude Nov 11, 2026
371c30f
Measure the Io eclipse on a focused, physical-scale Io
claude Nov 11, 2026
d039f56
Frame the physical-scale Earth for the Earth look probe
claude Nov 11, 2026
da7205b
Back off failed quality upgrades and let paused scenes recover
claude Nov 11, 2026
ca0aa8d
Redraw only for real pointer interaction and widen touch targets
claude Nov 11, 2026
959a2ad
Keep the selected label beside a target near a canvas corner
claude Nov 11, 2026
b0cfb62
Skip unchanged label writes and cache the jump-bar inset
claude Nov 11, 2026
7ce4be7
Fade Sky star hit targets and paths with daylight
claude Nov 11, 2026
d8212ba
Require the wasm-release profile when validating current sources
claude Nov 11, 2026
a006698
Frame the physical-scale Earth for the submitted-spin gates
claude Nov 11, 2026
687e4d1
Point diagnostic facades at their owning chunks
claude Nov 11, 2026
7530c4d
Version the widened ephemeris snapshot contract as v4
claude Nov 11, 2026
62f22e3
Adapt two GPU validation harnesses to the bundled release
claude Nov 11, 2026
ee8f34a
Bound touch delivery after frame drain; give Python coverage headroom
claude Nov 11, 2026
2d26c8e
Merge pull request #135 from Protonmatter/fix/structural-label-policy
Protonmatter Nov 11, 2026
fe1e362
Give Auto resolution a start-up window and burst-tolerant paused reco…
claude Nov 12, 2026
1018ac9
Bind the WASM receipt profile to the build and restrict legacy receipts
claude Nov 12, 2026
b894758
Record the precision work in the changelog and mark unretained evidence
claude Nov 12, 2026
ba1ef17
Let Retry recover a view or catalogue whose download failed
claude Nov 12, 2026
6ea9f36
Reject component releases that omit their receipt or source distribution
claude Nov 12, 2026
f527e82
Guard UT1 = UTC + DUT1 with a high-DUT1 Horizons reference
claude Nov 12, 2026
7861f6c
Fix high-DPI timeline picking and bound module recovery to complete d…
Protonmatter Nov 12, 2026
87cfd6d
Pin visual comparisons to full display resolution
Protonmatter Nov 12, 2026
f21b5a2
Merge pull request #138 from Protonmatter/mkang/sharp-mccarthy-uyb81z
Protonmatter Nov 12, 2026
21b7668
Prevent longitude seams from selecting coarse texture mipmaps
Protonmatter Nov 12, 2026
402eb29
Merge pull request #139 from Protonmatter/codex/fix-longitude-texture…
Protonmatter Nov 13, 2026
ac363c3
Fix Earth layer seams and validate all planet texture paths
Protonmatter Nov 13, 2026
9538146
Merge pull request #140 from Protonmatter/codex/fix-all-planet-textur…
Protonmatter Nov 13, 2026
f220e01
Preserve reference texture color during resolution upgrades
Protonmatter Nov 14, 2026
b7aed0b
Merge pull request #141 from Protonmatter/codex/preserve-texture-upgr…
Protonmatter Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,24 @@
*.bin binary
*.f32 binary
*.txt text eol=lf
**/COPYING.LESSER.LGPL-3.0 text eol=lf
**/COPYING.GPL-3.0 text eol=lf
**/upstream/LICENSE text eol=lf
# Preferred ephemeris inputs are bound to original upstream bytes and Git blobs.
/crates/solar-ephemeris/rebuild/upstream/*.js -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol

# Immutable research bundles bind raw payload bytes, including line endings.
# Do not normalize their JSON during staging or checkout: that invalidates hashes.
# Recognize preserved CRLF while retaining the standard whitespace-error checks.
/apps/web/data/bundles/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/feed-source/bundles/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/canonical-moon-20261103/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/horizons-vectors-20261104/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/horizons-apparent-20261104/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/horizons-precision-1900-2200-20261104/** -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/iers-eop-20261104/** -text whitespace=-blank-at-eol,-blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/horizons-events-20261104/** -text whitespace=-blank-at-eol,-blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/canonical-moon-20261104/** -text whitespace=-blank-at-eol,-blank-at-eof,space-before-tab,cr-at-eol
/tests/fixtures/horizons-observer-seasonal-20261104/** -text whitespace=-blank-at-eol,-blank-at-eof,space-before-tab,cr-at-eol
# Retain the original clock regression bytes named by its provenance SHA-256.
/tests/fixtures/ephemeris-clock-boundary-20261104*.json -text whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol
110 changes: 101 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,54 @@ permissions:
contents: read

jobs:
moon-image-evidence:
name: Moon pinned-image evidence (${{ matrix.sample }})
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
strategy:
fail-fast: false
matrix:
sample: [1, 2]
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
persist-credentials: false
- name: Collect one read-only native image comparison
shell: bash
env:
SOL_MOON_GENERATOR_IMAGE_DIGEST: sha256:2986c55feb36e6cae00fa1fefb454283e4b33f35e75ff8bdd123b134130be301
run: |
set -euo pipefail
test "$(uname -m)" = x86_64
image="python@$SOL_MOON_GENERATOR_IMAGE_DIGEST"
mkdir -p build/moon-image-evidence
python3 tools/collect_moon_evidence.py --snapshot build/moon-image-inputs > build/moon-image-evidence/snapshot.json
docker pull --platform linux/amd64 "$image"
test "$(docker image inspect "$image" --format '{{.Os}}/{{.Architecture}}')" = linux/amd64
docker image inspect "$image" --format '{{json .RepoDigests}}' > build/moon-image-evidence/image-digests.json
docker run --pull=never --rm --platform linux/amd64 --network none --read-only \
--cpus=2 --memory=1g --pids-limit=128 --cap-drop=ALL --security-opt=no-new-privileges \
--mount "type=bind,src=$GITHUB_WORKSPACE/build/moon-image-inputs,dst=/work,readonly" --workdir /work \
--env PYTHONDONTWRITEBYTECODE=1 --env SOL_MOON_GENERATOR_IMAGE_DIGEST --env GITHUB_SHA \
"$image" python -B tools/collect_moon_evidence.py > build/moon-image-evidence/comparison.json
python3 - <<'PY'
import json
from pathlib import Path
report = json.loads(Path('build/moon-image-evidence/comparison.json').read_text())
if report['comparison_passed'] is not True or report['qualification_status'] != 'qualified':
raise SystemExit('Strict moon CI requires passing comparison and reviewed canonical qualification')
PY
- name: Retain candidate evidence without promoting qualification
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: moon-image-evidence-${{ github.sha }}-${{ matrix.sample }}
path: build/moon-image-evidence/
if-no-files-found: warn
retention-days: 90

candidate:
name: Candidate identity
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,9 +105,21 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: cargo test --workspace
run: cargo test --workspace --locked
- name: Test declared Rust minimum
shell: bash
env:
CARGO_TARGET_DIR: target/msrv-1.85.0
run: |
set -euo pipefail
rustup toolchain install 1.85.0 --profile minimal --target wasm32-unknown-unknown --no-self-update
cargo +1.85.0 check --workspace --all-targets --locked --offline
cargo +1.85.0 test --workspace --locked --offline
cargo +1.85.0 check -p solar-wasm -p solar-ephemeris --target wasm32-unknown-unknown --locked --offline

lint:
name: Rust lint (fmt + clippy)
Expand Down Expand Up @@ -90,11 +150,18 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: "22"
cache: npm
- name: Install locked release compiler
run: npm ci --ignore-scripts
- name: Build and stage final bytes once
run: |
python tools/build_wasm.py --locked --out-root build/wasm
Expand Down Expand Up @@ -162,11 +229,15 @@ jobs:
python-version: "3.12"
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
targets: wasm32-unknown-unknown

- name: Install locked browser-validation tooling
run: npm ci --ignore-scripts

- name: Verify parsed startup module graph
run: node tools/validate_module_graph.mjs

- name: JavaScript syntax (native ESM)
shell: bash
run: |
Expand Down Expand Up @@ -230,12 +301,12 @@ jobs:
# passes validate_body_constants.py and fails here.
run: python tools/validate_body_motion.py

- name: Moon orbits regen-stable + validated vs JPL Horizons
# Regenerates apps/web/js/moons.js from the committed Horizons elements and requires
# byte-identity, then interpolates every moon and compares against committed Horizons
# state vectors at times interleaved between the element knots. Offline —
# tools/fetch_moons.py is the only networked step and is never run here.
run: python tools/validate_moons.py
# Full moon regeneration + held-out Horizons checks run in both required
# moon-image-evidence jobs using the reviewed exact native image, rather
# than this runner's uncontrolled host interpreter/libm.

- name: EOP source-to-table correspondence (offline)
run: python tools/generate_eop.py --check

- name: EOP prediction coverage
run: python tools/check_eop_freshness.py --minimum-days 90
Expand Down Expand Up @@ -299,7 +370,26 @@ jobs:
- name: Generate on-device ephemeris v3 fixture
run: cargo run --quiet --locked -p solar-ephemeris --example snapshot > /tmp/ephemeris-v3.json

- name: Ephemeris v3 structural schema
- name: Approved 1900-2200 independent model samples
# Offline raw DE441 replay at every predeclared grid/irregular epoch.
# This is a blocking sampled-model gate, not continuous or release qualification.
run: python tools/validate_precision_window.py --out-dir build/precision-window-validation

- name: Retain complete precision-window model comparison
if: always()
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: precision-window-model-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }}
path: |
build/precision-window-validation/summary.json
build/precision-window-validation/all-comparisons.csv
build/precision-window-validation/observer/receipt.json
build/precision-window-validation/observer/native.csv
build/precision-window-validation/observer/epochs.txt
if-no-files-found: warn
retention-days: 90

- name: Ephemeris v4 structural schema
run: |
python - <<'PY'
import json
Expand All @@ -308,7 +398,7 @@ jobs:
sys.path.insert(0, "tools")
import jsonschema_min
data = json.loads(Path("/tmp/ephemeris-v3.json").read_text(encoding="utf-8"))
schema = json.loads(Path("docs/ephemeris-snapshot-v3.schema.json").read_text(encoding="utf-8"))
schema = json.loads(Path("docs/ephemeris-snapshot-v4.schema.json").read_text(encoding="utf-8"))
errors = jsonschema_min.validate(data, schema)
if errors:
print("\n".join(f"ERROR: {error}" for error in errors), file=sys.stderr)
Expand Down Expand Up @@ -407,7 +497,7 @@ jobs:
release-gate:
name: Release gate
if: always()
needs: [candidate, governance, test, lint, web, artifact, wasm, coverage, docs, determinism, determinism-compare]
needs: [candidate, governance, test, lint, web, artifact, wasm, coverage, docs, determinism, determinism-compare, moon-image-evidence]
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand Down Expand Up @@ -462,6 +552,8 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Reference simulation, twice — byte-identical on this OS
shell: bash
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
python:
name: Python coverage (>= 90%)
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand All @@ -156,6 +156,7 @@ jobs:
- name: Provider, schema, and semantic contract tests
shell: bash
run: |
set -euo pipefail
coverage erase
PYTHONPATH=tools coverage run --branch \
--source=services/ephemeris-server,tools \
Expand All @@ -164,11 +165,11 @@ jobs:
--source=services/ephemeris-server,tools \
-m unittest discover -s tests/python -p 'test_*.py' -v
coverage report \
--include='services/ephemeris-server/server.py,tools/jsonschema_min.py,tools/validate_ephemeris_snapshot.py,tools/validate_sdlc.py,tools/validate_ux_contract.py,tools/release_policy.py,tools/build_web.py,tools/build_wasm.py,tools/validate_release_manifest.py,tools/release_changes.py,tools/release_evidence.py,tools/release_crate.py,tools/verify_served_release.py,tools/data_bundles.py,tools/delivery_lifecycle.py,tools/orrery_earth.py,tools/orrery_refresh.py,tools/orrery_delivery.py,tools/fetch_public_data.py,tools/run_daily_ingest.py,tools/generate_fixture_snapshot.py,tools/observation_provenance.py,tools/validate_visual_assets.py,tools/validate_physical_assets.py,tools/validate_planet_phenomena.py' \
--include='services/ephemeris-server/server.py,tools/browser_smoke.py,tools/build_wasm.py,tools/build_web.py,tools/collect_moon_evidence.py,tools/data_bundles.py,tools/delivery_lifecycle.py,tools/ephemeris_distribution.py,tools/fetch_earth_reference.py,tools/fetch_public_data.py,tools/generate_eop.py,tools/generate_fixture_snapshot.py,tools/generate_independent_vector_evidence.py,tools/generate_moons.py,tools/horizons_apparent.py,tools/horizons_events.py,tools/horizons_observer_seasonal.py,tools/horizons_ranges.py,tools/horizons_reference.py,tools/horizons_vectors.py,tools/independent_vector_evidence.py,tools/jsonschema_min.py,tools/moon_model.py,tools/observation_provenance.py,tools/orrery_delivery.py,tools/orrery_earth.py,tools/orrery_refresh.py,tools/precision_window_reference.py,tools/rebuild_coefficients.py,tools/release_changes.py,tools/release_crate.py,tools/release_evidence.py,tools/release_policy.py,tools/run_daily_ingest.py,tools/snapshot_semantics.py,tools/startup_contract.py,tools/validate_accuracy_evidence.py,tools/validate_apparent.py,tools/validate_docs.py,tools/validate_ephemeris.py,tools/validate_ephemeris_snapshot.py,tools/validate_ephemeris_snapshot_v2.py,tools/validate_independent_vector_evidence.py,tools/validate_moons.py,tools/validate_operational_readiness.py,tools/validate_physical_assets.py,tools/validate_planet_phenomena.py,tools/validate_precision_window.py,tools/validate_ranges.py,tools/validate_release_manifest.py,tools/validate_sdlc.py,tools/validate_snapshot.py,tools/validate_ux_contract.py,tools/validate_vectors.py,tools/validate_visual_assets.py,tools/validate_web_static.py,tools/validation_output.py,tools/verify_served_release.py,tools/wasm_provenance.py' \
--fail-under=90 --show-missing
mkdir -p coverage
coverage xml -o coverage/python.xml \
--include='services/ephemeris-server/server.py,tools/jsonschema_min.py,tools/validate_ephemeris_snapshot.py,tools/validate_sdlc.py,tools/validate_ux_contract.py,tools/release_policy.py,tools/build_web.py,tools/build_wasm.py,tools/validate_release_manifest.py,tools/release_changes.py,tools/release_evidence.py,tools/release_crate.py,tools/verify_served_release.py,tools/data_bundles.py,tools/delivery_lifecycle.py,tools/orrery_earth.py,tools/orrery_refresh.py,tools/orrery_delivery.py,tools/fetch_public_data.py,tools/run_daily_ingest.py,tools/generate_fixture_snapshot.py,tools/observation_provenance.py,tools/validate_visual_assets.py,tools/validate_physical_assets.py,tools/validate_planet_phenomena.py'
--include='services/ephemeris-server/server.py,tools/browser_smoke.py,tools/build_wasm.py,tools/build_web.py,tools/collect_moon_evidence.py,tools/data_bundles.py,tools/delivery_lifecycle.py,tools/ephemeris_distribution.py,tools/fetch_earth_reference.py,tools/fetch_public_data.py,tools/generate_eop.py,tools/generate_fixture_snapshot.py,tools/generate_independent_vector_evidence.py,tools/generate_moons.py,tools/horizons_apparent.py,tools/horizons_events.py,tools/horizons_observer_seasonal.py,tools/horizons_ranges.py,tools/horizons_reference.py,tools/horizons_vectors.py,tools/independent_vector_evidence.py,tools/jsonschema_min.py,tools/moon_model.py,tools/observation_provenance.py,tools/orrery_delivery.py,tools/orrery_earth.py,tools/orrery_refresh.py,tools/precision_window_reference.py,tools/rebuild_coefficients.py,tools/release_changes.py,tools/release_crate.py,tools/release_evidence.py,tools/release_policy.py,tools/run_daily_ingest.py,tools/snapshot_semantics.py,tools/startup_contract.py,tools/validate_accuracy_evidence.py,tools/validate_apparent.py,tools/validate_docs.py,tools/validate_ephemeris.py,tools/validate_ephemeris_snapshot.py,tools/validate_ephemeris_snapshot_v2.py,tools/validate_independent_vector_evidence.py,tools/validate_moons.py,tools/validate_operational_readiness.py,tools/validate_physical_assets.py,tools/validate_planet_phenomena.py,tools/validate_precision_window.py,tools/validate_ranges.py,tools/validate_release_manifest.py,tools/validate_sdlc.py,tools/validate_snapshot.py,tools/validate_ux_contract.py,tools/validate_vectors.py,tools/validate_visual_assets.py,tools/validate_web_static.py,tools/validation_output.py,tools/verify_served_release.py,tools/wasm_provenance.py'
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
if: always()
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ephemeris-accuracy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
workspaces: crates/solar-ephemeris/fuzz
- name: Install cargo-fuzz
run: cargo install cargo-fuzz --locked
run: cargo +nightly install cargo-fuzz --locked
- name: Seed corpus with the committed blob
working-directory: crates/solar-ephemeris
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
ref: ${{ inputs.source_sha }}
persist-credentials: false
- uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
with:
toolchain: "1.96.0"
- name: Test and package exact source without registry credentials
run: |
set -euo pipefail
Expand Down
Loading
Loading