Skip to content
This repository was archived by the owner on Nov 3, 2026. It is now read-only.

Harden VM admission, mailbox custody, and practical onboarding - #30

Merged
0thernet merged 5 commits into
mainfrom
process-supervisor
Sep 20, 2026
Merged

0thernet merged 5 commits into
mainfrom
process-supervisor

Conversation

@0thernet

Copy link
Copy Markdown
Member

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.

@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
algal Ready Ready Preview Sep 20, 2026 5:16pm UTC

Request Review

@0thernet
0thernet merged commit a3b30a0 into main Sep 20, 2026
9 checks passed

This branch was successfully deployed

1 active deployment
Preview — 8baa3990 Deployed Sep 20, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant