This repository was archived by the owner on Nov 3, 2026. It is now read-only.
Repository navigation
Harden VM admission, mailbox custody, and practical onboarding - #30
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Invalid declarations and retained filesystem objects could consume executor work, hang a CLI on a FIFO, or bypass a mailbox's configured bounds. This change rejects malformed schema declarations and oversized raw/normalized manifests before dispatch, validates opened regular files, and checks retained message sizes before moving delivery markers.
Mailbox creation now holds one shared Bun/Rust admission lease around existing configuration, capacity checks, and publication. Conflicting configurations fail; concurrent creators cannot independently pass the 1,024-mailbox cap. Abandoned creation ownership uses the existing SQLite custody protocol, while unresolved send/receive state remains preserved. All store writers must implement the new creation ABI; mixed old/new concurrent writers are unsupported.
Evidence verification reuses the same canonical bytes for bounding and hashing. The Bun verifier retains the second admission check after detaching its snapshot, including for mutable SDK inputs. README, the use-case guide, and algal.dev now connect five concrete jobs to runnable commands, retained artifacts, and operating limits.
Independent reviews passed for descriptor admission, bounded JSON/source-diagnostic integration, mailbox custody, evidence verification, and compact-policy compatibility. Focused checks include strict UTF-8/BOM refusal, FIFO/device refusal, mutable SDK inputs, exact byte/count limits, forced-GC cross-runtime contention, owned SIGKILL takeover, preserved pending messages, and conflicting configurations. The complete gate passed at
8baa3990c296e9ad6ac0edda21fe15e7c312ae78: 617 Bun tests (one Linux-only skip on macOS), 172 Rust tests, strict Clippy/fmt/typecheck/lint, 61 native/reference parity cases, source inspection and schema parity, the forced-GC mailbox custody probe, all five VM/recovery/repair/evidence demos, the private-brief fixture qualification, and native archive/install qualification. Desktop/mobile layout and interactive example checks are also part of final acceptance. No paid-provider operations are part of this change. The native package remains a host-owned application VM prerelease; no OS isolation, provider attestation, or exactly-once arbitrary external effects are claimed.