Skip to content

Release 1#1

Merged
kingdonb merged 11 commits into
mainfrom
release-1
May 10, 2026
Merged

Release 1#1
kingdonb merged 11 commits into
mainfrom
release-1

Conversation

@kingdonb

@kingdonb kingdonb commented May 10, 2026

Copy link
Copy Markdown
Owner

PR Description: Release 0.0.1 - Initializing the Moon Phase Clock

Overview
This PR establishes the foundational architecture and initial release (0.0.1) for the Moon Phase Clock. It implements the "Zero-Split-Brain" architecture, successfully
decoupling the core lunar math from the Android host environment via WebAssembly.

Key Features

🧠 Zero-Split-Brain Core

  • Implemented the core lunar logic in brain/ using no_std Rust.
  • Compiled to a WASM binary that handles all deterministic math (illumination, phase, and the "Torment Multiplier").
  • This ensures absolute consistency whether the logic is running on a mobile device, a CLI, or a cloud gateway.

📱 Android Client (Moon Phase)

  • Built with Jetpack Compose and a specialized dark-mode aesthetic.
  • Uses the Chicory pure-Java WASM interpreter to execute the Rust brain without needing native .so files.

🌑 Phased Icon System

  • Implemented a dynamic icon-swapping system using 8 activity-alias entries in the AndroidManifest.xml.
  • The app icon now updates on the home screen to reflect the current lunar phase.
  • Uses a robust "Target + Alias" strategy to prevent Activity not found errors during launcher refreshes.

🎨 Custom MoonView Visualization

  • High-fidelity, Canvas-drawn lunar graphic.
  • Spherical Rendering: Corrected terminator line math to ensure a proper convex shadow.
  • Lunar Texture: Added pockmarked craters (Tycho, Copernicus, etc.) that are dynamically clipped to the illuminated portion of the moon.

🤖 CI/CD Automation

  • Full GitHub Actions workflow integrated.
  • Automatically builds the Rust WASM core and the Android APK.
  • Release Automation: Triggers on version tags (e.g., 0.0.1) to create a GitHub Release named v0.0.1 with attached artifacts and changelog.

Changelog Summary

  • Added: Rust WASM Brain, Android Compose Client, Phased Icons, MIT License, and CI/CD.
  • Fixed: UI text clipping in the Torment Gauge, terminator line math, and activity launch paths.
  • Renamed: Reverted to Moon Phase for optimal home-screen display.

Release Instructions
Once merged to main, push the semantic tag to trigger the automated release:

1 git tag 0.0.1
2 git push origin 0.0.1


Status: Release Candidate 1 | Architecture: Zero-Split-Brain

@kingdonb kingdonb merged commit db80967 into main May 10, 2026
3 checks passed
@kingdonb kingdonb deleted the release-1 branch May 10, 2026 16:33
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