Skip to content

Prepare a standalone Rust application SDK and build helper - #2

Merged
tas0dev merged 6 commits into
masterfrom
staging
Nov 11, 2026
Merged

tas0dev merged 6 commits into
masterfrom
staging

Conversation

@tas0dev

@tas0dev tas0dev commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Provide a standalone Rust application SDK setup Action and staging helper so independent app repositories can compile native mochiOS applications without checking out or building the OS. Install the published shared.8 C/C++ SDK through komeup, verify its pinned SHA-256, and fetch immutable Rust std, protocol, ViewKit and font sources. Use the same overlay namespace for build-std shims to avoid duplicate compiler runtime resolution.

The helper runs host tests, builds native ELF, checks host linkage/build paths, preserves application metadata/resources/capabilities and exports the actual Cargo resolution for review. It stages ordinary application installation metadata without built-in provenance. The public build-mpkg Action remains independently usable by any publisher.

Add trusted host msign preparation and a generic approval-protected artifact publication helper. It binds the actual MPKG manifest/checksum to the approved source and SDK, fails closed when the requested Team/branch Environment policy is absent or unreadable, uses explicitly configured signing credentials, verifies the resulting package, and refuses to replace releases/tags. No application code is checked out in the publication job; no release or production signing has been performed.

Validation: 13 Python tests pass locally; the signer preparation/build and existing signer tests passed on Actions at https://github.com/mochiOS/devkit/actions/runs/42973661191 . Edit completed 14 host tests, native compilation, MPKG generation and artifact upload at https://github.com/mochiOS/Edit.app/actions/runs/42973025838 ; downloaded payload hashes/sizes and absence of runner paths were verified. Latest approval-policy CI passed: https://github.com/mochiOS/devkit/actions/runs/42977073094 . The final Edit caller also passed at https://github.com/mochiOS/Edit.app/actions/runs/42977115103 ; its downloaded artifact source/SDK binding, all payload hashes/sizes, runner-path audit and committed dependency resolution were verified. Native target execution remains unverified.

@tas0dev
tas0dev merged commit e4958b2 into master Nov 11, 2026
4 checks passed
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