Repository navigation
Releases
v0.3.0-stateful-alpha: 0.52ms Stateful COW Runtime & Zero-Persistence Ledger
Supplemental x86_64 native evidence — 2026-10-23
Added in main commit 380849c. The release tag remains at 1320713d065f04ae701026e14edf46226e71af6d, and the original ARM64 executable archive is unchanged. This is a supplemental evidence upload, not a new tagged runtime build.
The supplied independent-host report records x86_64 / kernel 6.18.44-fc-v140, 1000 native samples after 100 reported warmups, nearest-rank p50 0.44322300000000003ms / p95 0.593124ms / p99 0.7238249999999999ms / max 1.8941999999999999ms. The native p95 <2.0ms gate and recorded 13 lifecycle cases / 23 worker receipts pass stored-record verification. This upload executes no Linux worker and is not an independent security audit.
ephem-phase3-x86_64-evidence.tar.gz: eight original evidence files plus an internal checksum list; no x86 executable binaries. SHA-256:caeefb3e43a3c86f9c03d02a02a4c5587a536e1c14b033e149cf06d696c1abb4.SHA256SUMS.txt: refreshed staging-layout checksums including the supplemental archive.DOWNLOAD_SHA256SUMS.txt: refreshed checksums for all five other flat release assets. Download all release assets together and runshasum -a 256 -c DOWNLOAD_SHA256SUMS.txt.
Production: HOLD. x86 PHP HTTP, the full reproduction checker, live PostgreSQL and BPF LSM remain UNRUN. Detailed host metadata and x86 binary bytes were not supplied. Issue #4 remains OPEN for unmet parity requirements. Historical ARM64 PHP paired p95 3.730803ms FAIL, full script exit 1, and all earlier failures/limits remain intact. See the ingestion audit.
The notes below describe the retained ARM64 base release and its original execution scope.
Phase 3: stateful warmed runtime
Status: implemented and Linux-tested for a bounded PHP adapter and one
transactional KV backend. Production HOLD; the complete universal contract in
the request is not established. The existing Phase 1/2 code and evidence remain
untouched. No existing service is configured or activated by these files.
Remote-sync integration check (2026-10-23 KST)
The integrated Linux checkout preserves the public ephem-gate 0.2.0 source.
Workspace format, clippy with warnings denied, 21 unit tests and release builds
passed. The three rebuilt runtime binary SHA-256 hashes matched the original
validation. However, the full reproduction script exited 1 at the PHP
paired-latency gate; this invocation is not an end-to-end reproduction PASS.
| Remote-sync PHP result | Observation |
|---|---|
| Functional status | PASS |
| Initial clean requests / distinct workers | 100 / 232 |
| Corrupted committed keys | 0 in the SQLite fixture |
| Complete contained PHP HTTP p95 | 18.569558ms |
| Uncontained Python/PHP baseline p95 | 29.886462ms |
| Signed matched PHP delta p95 | 3.730803ms; FAIL against the <2.0ms gate |
| Signed matched PHP delta maximum | 14.267238ms |
| Native stage in that script | UNRUN; the PHP gate stopped execution first |
The 21 passing unit tests comprise 16 attestation tests and five existing
gate tests; one PostgreSQL fixture remained ignored in this workspace run.
A separate native invocation then ran 1000 samples after 100 warmups:
| Separate remote-sync native event | p50 ms | p95 ms | p99 ms | max ms |
|---|---|---|---|---|
| Warm native lifecycle | 0.610938 | 1.444133 | 2.111405 | 3.505912 |
Its lifecycle checks and native p95 <2.0ms gate passed. This separate native
result and the retained 0.520076ms result show run-to-run variability; they
do not establish a stable 0.52ms runtime or a production tail bound.
The signed delta is a percentile of matched request differences; subtracting
the route percentiles does not reproduce it. Functional success and zero
corrupted keys do not satisfy the failed performance gate. The PHP run is
retained without retry. The separately executed native check has its own
receipt and does not turn this full-script failure into a pass.
Evidence: remote-sync precheck
and raw reproduction directory.
Production remains HOLD. The 0.52ms release headline names the retained
release-alignment native result below, not this PHP measurement.
Release-alignment follow-up (2026-10-23 KST)
The retained release-alignment native lifecycle p95 is 0.520076ms (approximately 0.52ms) on
the Linux ARM64 lab host. This follow-up reran the one-click reproduction
script for the native lifecycle and SQLite PHP paths. It preserves the
original 0.684507ms native result and all earlier raw evidence separately.
Their difference does not establish a measured performance improvement.
Production remains HOLD.
| Release-alignment measured event | p50 ms | p95 ms | p99 ms | max ms |
|---|---|---|---|---|
| Warm native lifecycle, 1000 samples after 100 warmups | 0.408537 | 0.520076 | 0.590034 | 0.928572 |
| Complete contained PHP HTTP, 100 measured pairs | 2.076555 | 3.316038 | 3.658867 | 3.750616 |
| Signed matched PHP delta | -1.510438 | -0.350578 | 0.543993 | 0.601366 |
The complete PHP response measurement is a separate event from the native
lifecycle. The signed paired delta retains the differing-supervisor and DB
connection-lifetime caveats below; it does not establish universal <2ms
switching cost or stock PHP-FPM performance.
This invocation passed 18 workspace unit tests and 12 reproduction-checker
regression tests. All five SQLite PHP fatal-fault fixtures returned HTTP 500,
withheld output, committed zero corrupted keys and allowed clean recovery.
The native lifecycle checks passed. PostgreSQL live/paused-backend tests and
BPF LSM enforcement were UNRUN in this invocation; their original retained
results do not become new results. x86_64 remains UNRUN, and production
throughput and tails remain UNMEASURED.
Follow-up evidence: release-alignment record,
native raw samples and receipts,
SQLite PHP samples and fault results,
PHP receipt stream,
and recomputed comparison.
The record describes the completed local preparation; publication receipts
belong to the subsequent Git release operation.
The measured workspace Cargo.toml
and Cargo.lock are preserved.
The published tree keeps the existing public ephem-gate package version
0.2.0; the measured lockfile recorded 0.1.0. These lockfiles differ only in
that package-version metadata. The existing public gate source is preserved;
the recorded Phase 3 runtime measurements are tied to their retained evidence,
and any subsequent integrated-tree validation is a separate invocation.
Verify downloaded release assets
GitHub release downloads flatten asset names. After downloading all assets
from v0.3.0-stateful-alpha into one empty directory, run:
sha256sum -c DOWNLOAD_SHA256SUMS.txt
mkdir payload
tar -xzf ephem-phase3-linux-arm64.tar.gz -C payload
(cd payload && sha256sum -c SHA256SUMS.txt)DOWNLOAD_SHA256SUMS.txt covers the uploaded archive, both JSON reports and
uploaded staging checksum file by their downloaded basenames. The uploaded
SHA256SUMS.txt describes repository staging paths, including the release
notes; the archive's own checksum file covers its extracted original paths.
The historical RELEASE_ALIGNMENT.json retains its earlier local-only
publication state. Current publication is evidenced by the Git tag and release.
Executable architecture
ephem-stateful first re-executes with an empty environment. Clearing environ
alone would leave old secret strings in the COW address space. On its only
thread, it loads the explicitly selected trusted PHP NTS embed adapter and
bootstrap, ignoring host php.ini and extension scan directories. Application
code has not run yet. No DB connection, sealing key, request listener, or
receipt log exists in this baseline.
WarmPool::start creates a privileged namespace launcher, then a namespace
PID 1 broker. PID, network, mount, IPC and UTS namespaces are established once.
A dedicated rootfs is recursively read-only, nosuid, nodev, and noexec. The
broker chroots, drops all supplementary groups and all user/group IDs to
65534, sets no-new-privileges and nondumpable state, and remains single-threaded.
Unprivileged user namespaces are unnecessary. A failure in any mandatory setup
operation aborts startup. There is no insecure fallback.
After that fork, the trusted parent opens its backend and generates its HMAC
key. Tokio admits bounded HTTP requests over a mode-0600 Unix socket. A bounded
queue feeds one blocking execution lane; the single broker handles one active
request. Multiple brokers would have to be initialized before starting threads
to create more lanes. No concurrency or throughput claim is made here.
For ea...
EPHEM v0.2.0-alpha.1 — one request, one disposable worker
EPHEM is an experimental Linux request-isolation runtime. Production qualification remains HOLD.
One request. One disposable worker.
This pre-release packages a Rust Unix-socket gate, a C namespace launcher, a restrictive seccomp/Landlock profile, private scratch state and mandatory cgroup-v2 resource scopes. Bounded output is released after successful lifecycle/OOM/disposal checks. The strict host profile refuses active swap and piped core collectors.
Verified scope:
- Linux ARM64: five Rust unit tests; 12/12 lifecycle tests; 50 distinct workers for 50 sequential requests; real memory-OOM output rejection; seven boundary and five seccomp probes; six startup controls; a pre-main parent-death regression.
- An unchanged 963-byte PHP-CGI receiver passed four tiny multipart requests on ARM64.
- A separate GitHub x86-64 runner passed build/lint/unit and the same named Linux integration suites. CI run.
- The successful-response secret counterexample is intentionally included. A clean exit is not DLP.
Threat model · Evidence and retained failures · Runbook · Prior art
The attached executables are Linux AArch64, built on Ubuntu 24.04 with GNU libc 2.39, and dynamically linked. They are not macOS or x86-64 binaries. Rebuild from source for other environments. Verify SHA256SUMS and follow the dedicated-VM setup before execution; there is no automatic installer.
No world-first, zero-deployment, patch-free, universal-compatibility, physical-erasure or invulnerability claim is made. The workers share the host kernel; the root control plane still needs privilege separation and external security assessment. Keep trusted components patched.