Skip to content

feat(start-os): opt-in TPM-attested FDE (incomplete) - #4685

Draft
helix-white wants to merge 156 commits into
masterfrom
feat/tpm-attested-fde
Draft

helix-white wants to merge 156 commits into
masterfrom
feat/tpm-attested-fde

Conversation

@helix-white

@helix-white helix-white commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Not ready to merge

This draft is not the complete FDE feature requested. Protected boot remains disabled. Earlier final-review handoff did not authorize a foundations release.

Complete configured build/private signing, durable firmware→shim→UKI publication, compatible DEFAULT retirement, cancel/rollback, writer/device/mount reservations, reboot/lifecycle recovery, credential-copy reclamation, install/update/backup/_UNENC handling and firmware/UI proof remain unfinished. System → Encryption already persists signing authorities, requests firmware enrollment, installs administrator slots after approval and changes swap/core/startup handling without completing activation or offering cancellation. Acknowledged preparation captures/seals/projects an unpublished signed candidate, then attempts scoped disposal; it retains no activation receipt. No interim shipment. Managed Secure Boot/TPM2 proof is blocked by Helix#122. MOK refresh preserves shared pending subjects/authentication-write retries; unsafe stock targeted deletion is not a cancellation substitute.

Final cross-review 5965853357 remains outstanding. Repairs cover init/MOK/idmaps/reflash/producer output, privacy/RAM/profiles, capture/flags/thaw, raw transport/mtime, false progress and source/space/inherited leases. Transfer policy, orphan/published-reference reclamation and full shutdown/device availability remain unfinished. Reserved recovery removes recognized abandoned staging; standalone Drop leaves it. No complete boot generation publication/final answer/handoff/further cross-review round.

Live screenshots of the completed enrollment/locked/unlock journey are missing: activation is not wired and that managed firmware profile is unavailable, so the required states cannot yet be reached faithfully. UI compilation is not a substitute for this verification.

The integrated native startup owner maintains unencrypted account/setup proof-key mirrors in config. Protected-mode handling and reclamation of these copies remain additional unfinished credential-lifecycle obligations; this merge does not establish their encrypted-at-rest protection.

Pending availability, boot-selection and transfer decisions

Protected boot bypasses GRUB. Native grub-mkconfig/10_linux combine preferred-kernel ordering, administrator defaults/fragments and saved/default menu selection; the newest public-source module tree does not establish that result. Before implementing this boundary, decide whether enrollment snapshots the configured default Linux entry (including saved selection), or defines a dedicated prospective-OS kernel/normal-arguments profile that rejects alternate GRUB selections. No selection policy has been implemented or silently substituted. The settled whole-authorized-private-configuration trust policy is unchanged.

New-volume transfer now resets copied GUID/LUKS-UUID-bound administrator and account-slot records before initialization; same-drive attachment retains them. Copied signing records are unchanged, not approved for destination use: @dr-bonez must choose carryover with destination firmware recheck versus new RSA image-MOK/P-256 manifest-policy authorities and fresh enrollment. Neither policy is chosen; firmware observations are not transferable activation proof.

Reclamation availability needs a decision: may live enable/commit pause services/network for exclusion, must it remain online, or may space recovery wait for a separately requested maintenance window? Existing global import/runtime ownership proves no exclusive reclamation interval; no cold-boot-only policy is assumed.

Implemented contracts

  • The intended opt-in behavior requires the current password and acknowledgment: “After every restart, your server and its services will remain offline until you unlock it with your password.” Scope is the six generic UEFI x86_64/aarch64 variants, not board images. Enrollment intent, observed firmware enrollment and active protection remain distinct.
  • The branch implements authenticated generation, verity, UKI, TPM policy and bootstrap primitives; separate image/manifest/policy authorities; restricted encrypted-RPC/network/TLS unlock; and pre-PID1 service/SSH gating. TPM releases bootstrap identity/network credentials, never data passwords, volume keys or signing authorities. These pieces are not yet composed into a complete boot/activation transaction.
  • Preparation captures authorized configuration in private noswap RAM, queries native SSH in its actual namespace, projects private data and stages unpublished signed configuration. Neutral references expose no private bytes/attributes; encrypted backings retain metadata/aliases. Whole captured configuration, including executable/library/NSS/OpenSSL overrides, is trusted; hashes alone aren't authority. Includes/NSS remain native; HostKey lookup aborts after30s. Separate network-isolated public BuildSource receives no config/data/signing key. Matching retained public assets recheck current OS-signing policy/full bytes; misses use the shared backend registry client, not a server proxy; version/platform/build remain selectors. Unsigned kernel/initrd/os-release and actual rootfs/manifest/policy public anchors stage before CPIO capture—not final configured runtime, authenticated boot or activation.
  • DefaultKeyslots retains original DEFAULT independently of administrator targets. Retirement preserves reused-slot replacement keys, verifies DEFAULT absence and regenerates headers without volume-key rotation. After firmware approval/acknowledgment, enrollment persists original DEFAULT/install intent, verifies both administrator slots/headers and atomically commits their authority. Changed passwords abort unfinished targets before replanning; ordinary startup/restart recover pending keys without old plaintext, protected boot rejects DEFAULT recovery. Allocation/install/abort share password owners and preserve legacy flat plans. Shadow completion updates both active/saved console users despite retirement failure, preserving that error; stable retry repairs shadow failures. Durable compatible EFI activation must precede DEFAULT retirement. Btrfs discard/NVMe DLFEAT=001b is an obsolete-header assumption, not secure erasure/anti-rollback.

Paused bootstrap capture uses cached UI-only exposure/intermediate issuer/enabled ACME, without issuance or writes. Native profiles finish before thaw; zeroizing profiles/TLS survive teardown. After thaw/resume, sealing uses verified /run. Projection removes prior reserved bootstrap, then inserts fresh0600 ciphertext before signing, readable before unlock without a path-privacy exception. Root CA private keys, data passwords/keys and signing authorities stay excluded. Unsigned descriptor staging does not complete runtime/signing/publication/activation.

Shared-owner corrections

Native mount, crypto, keyring, filesystem, systemd, OpenSSH, libkmod, linker, archive, network and encrypted-session owners are reused rather than parallel platform engines. Review proposals by @helix-red informed the earlier credential/source repairs and namespace correction; proposal00a4a5a94245b5b5a7fea775576c759bc88171bf informed preceding repairs.

Source isolation belongs at creation: recursive readonly clones are private, writable slaves receive host mounts without propagating unmounts back. Native retirement releases systemd slave copies; privatizing retirement reproduced a nested leak and was removed with redundant helpers, not replaced by another owner/cache. Nonempty idmaps retain existing—not late—children; empty idmaps preserve inner propagation. Readonly SubContainer volumes/assets/dependencies/backups share the correction; plain nonrecursive bind caching stays unchanged.

Preflight unions independent base, merged /, working snapshot, all published rootfs/overlays/native stored images and selected-next outside that namespace. Masked base references stay live. Shell os-image-store owns byte-safe namespace/selection/legacy repair; capture and SourceCache/native pruning share it. Repair precedes retention/freeze under inherited lease, preserves existing pointer/rootfs-only fallback; BusyBox boot selection is unchanged. Parent resolves selection before symlink-atime writes can block frozen capture. Native capture rejects unknown devices/nonregular selected files and verifies inode identity through an RO parent, never inspecting a hidden file-bind underlay. Old cleanup requests omit selection safely. Sequential internal SquashFS mounts/native gzip-Zstd metadata/strict VerifiedMounts confer no extraction/codec/execution authority. Generation eligibility never filters retention; invalid inputs reject. Shared hardlink/canonical-GUID references read no private payloads. Generation-owned0600/fsynced rootfs.squashfs uses native copy, not an EXDEV-prone hardlink. Existing signed digest/verity bind retained bytes; publication/selection reject changed copies, enumeration rejects missing/redirected files. Publication uses the prepared rootfs digest, not its original pathname; private backing references retain independent lifetimes. Descriptorv2 pins exact SHA-256 bytes, not a legacy filename; selection/mount use retained images. Private RAM records the actual mapped source for later capture. Complete recovery/private-repack/active-source pins and all reader-writer-device-mount lifetimes/writable reclamation remain unfinished—no sweep/receipt.

IsolatedBind shares IDMAP's atomic attribute ABI, separates access-cache identities and requires source retention/write exclusion: topology isolation is not immutable contents. Linux6.15+ admission precedes enrollment effects. Base capture excludes children; data stays recursive. OverlayFS already hides lower submounts—not an earlier query bypass. Plain/recursive binds are unchanged; full metadata/reference composition and reclamation remain unfinished.

A Debian mokutil patch, not another EFI/password codec, adds --refresh-import-auth: only MokAuth changes; opaque MokNew and subjects survive authentication-write failure/retry. Variable/password owners are shared. Core preflights before mutation and shares one private hash-file lifetime for import/refresh. Legacy DKMS no longer globally revokes others' imports; FDE's reservation protects its approval code. Pending membership is not completed authentication.

Signed APT/Debian builds MOK for all variants; FDE stays six UEFI targets. GPL-3.0-or-later/OpenSSL-exception source ships at /usr/share/doc/mokutil/startos-source.tar.gz, without Rust linkage. Binary/.deb deployment omits it; old tools reject before import. Compile failures clean package/source changes; matching packages/inputs survive until hook success. Account retries preserve UID/home, development/locked defaults and missing-home rejection.

Systemd capture gets no signer/unlock credentials. Canonical root/working/raw-upper RAM writes reject; OS/main/package Btrfs freezes span native queries. Shared namespace/mount/SSH/tar/anonymous-file owners preserve native-byte immutable inputs. SIGKILL precedes thaw and cgroup join precedes output, including TERM-ignoring namespace init. Deadline300s does not end restoration: stop/post-stop restores writable intent; unconfirmed cleanup retains mutation admission. PatchDB pauses before Store writes while cached reads/subscriptions stay live; projection follows thaw/resume. Stability excludes application transactions/remote NSS snapshots. Private-RAM boot facts survive credential-handoff deletion without activation authority.

Capture/prune/download/upgrade/inherited workers share FileLock, shell/Rust basename/FD ownership and native descriptor checks; busy capture rejects. Upgrade/prune/chroot/GHA share it; old upgrade imports the authenticated helper. Running identity is mounted /media/startos/current device/inode or authenticated protected context/digest, independent of next current.rootfs. Trusted public bytes have independent running/next/stored/published-rootfs retention/offline reuse; recognized unpublished staging is excluded, invalid/unknown inputs stop pruning. Native image unlink re-evaluates cache dependencies before capacity recheck; metadata never grants source trust. Never-ingested/superseded/unpublished sources may require matching published assets/registry. Cache pruning precedes space admission; unlock never queries registries. Private repacks grant no public trust; whole-private authorization stays separate. Install/media/full retention/original-copy/build/activation remain unfinished. Obsolete shell prose was removed, checksum contracts retained.

Fixed .workspace/reserved-mapping recovery retires mounts before mapping/files; redirects, busy users and unknown nonempty directories reject nonrecursively. Retained hardlinks survive; admission/cache hits add no copy. A private mount/PID worker retains the inherited lease after requester loss. FileLock closes its descriptor without releasing child shares; public execution/private queries exclude nonstandard FDs. No arbitrary-directory ownership or orphan/private-backing GC.

Saved NM keyfiles share native naming/discovery and installer-key directory admission, encrypted backings, metadata/hardlinks and neutral references. Native tar separates secret bytes from name/mtime JSON; seekable framing/exact positioned reads avoid growing/serde/async scratch without moving cursors. NM owns duplicate selection; basenames/nanosecond mtimes survive encryption/materialization, including invalid-UTF8 filesystem errors. Bootstrap replacement rejects redirects/non-files/dependent hardlinks, preserving unrelated configuration. No parallel TLS planner/resolver/authority/secret registry/codec.

Cached-source removal reuses TmpMountGuard's slot and strict native mount enumeration: live Rust users or residual cached subtrees block admission; inspection errors reject. Backup-target removal shares complete_owned_operation through catalog commit after requester loss; shared-volume removal already owns its worker. The private runtime bind remains writable. Independent aliases/handles and FDE read/write lifetimes require their own owners; this is not global reclamation authority.

Additional fixes cover prewrite partition-holder reclamation, target-only mapper cleanup, durable password/account/shadow transactions, MOK coordination, native-byte/maximum-name credential replacement, neutral references, zeroizing I/O, preserved ACLs/xattrs/hardlinks/capabilities, SSH-key-tail truncation and idmapped file/directory targets. Redundant comments were removed; contracts remain.

Retention reuses signed RegistryAsset metadata, all-signature/current-policy checks, hardlinks and atomic publication. Native unsquashfs reads gzip metadata beyond Rust's Zstd profile without image execution. OS-image release/confinement owners remain authoritative; private repacks grant no public-source trust. Publication cleans aliases, syncs content/receipt/namespace and recovers records nonrecursively; errors have five-language ownership.

Direct/RPC/diagnostic/chroot/GHA pruning shares the shell owner/validated lease through real-product SourceCache; OS-volume roots support private fixtures. Every Rust product tracks shared cache/applet/protocol/platform inputs. Cache-absent old tools retain maintenance; unsupported retained state/uninspectable roots reject before pruning. Pointer repair grants no attestation; selected-image exclusion is fixed-string, not regex. Capture shares argument/runtime/exit primitives without changing shutdown/errors.

A new trailing-byte regression exposed an existing generic Blake3 verifier defect: it requested only the signed prefix. d25ac42 makes complete-resource copying reuse the existing verifying writer's exact-length/early-overflow checks, and file verification delegates to that same owner. Native OS downloads and disk rechecks share the fix; no second hash/length algorithm or unbounded oversized-body writer was added. This deliberate extra scope has its own changelog fragment.

Descriptorv2 derives the exact rootfs digest/manifest anchors from PreparedGeneration and existing TPM public-key export/codec. V1 artifacts reject; public Rust image-directory arguments remain for call compatibility, not byte selection. Only public anchors cross into the verified source namespace. Required fde-assemble-boot-inputs-v2.mjs rejects older assemblers instead of ignoring stdin/falling back. Completed-tree preparation installs create-only descriptor data before native archive capture; the archive owner covers it without another codec. Rust/Node share fde-descriptor-file and embedded-input dependencies; standalone/native fixtures require that input. Unsigned descriptor bytes confer no authenticated boot protection.

Public /etc admission precedes hardening: canonical bytes/modes and reviewed native table/link/umask output remain authoritative; linker paths have one owner. Udev/NSS/module/table checks neither complete late-plugin/configured-kernel closure nor narrow private authorization. Fixtures retain readonly matching /etc//usr, packaged Node filtering and source-GCC native multiarch rather than hardcoded x86 paths; no alternate resolver/authority.

Storage and API compatibility

Ordinary RPC/diagnostic OS updates now retain their unchanged public download and signatures on the OS filesystem before upgrade. Hard links avoid a second image copy at ingestion, but retention intentionally keeps required factory bytes after ordinary pruning removes their other name. Source publication failure aborts before upgrade; failed retention-root inspection preserves retained source records/images. Bootstrap, activation and DEFAULT behavior are not changed by caching.

Absent-by-default luksCredentials holds stable/installing/retiring account-slot intent; fdeEnrollment holds distinct private authorities/certificate/firmware approval on data, never public config. Absence preserves ordinary passwords. Optional fdeEnrollment.administrator tracks installing/installed setup, not protection, and original DefaultKeyslots independent of mutable administrator targets. Existing begin-enable prepares administrator slots after firmware approval, rejects reserved DEFAULT before effects, retains the acknowledgment/password contract and reports firmware observations—not removed preparedGeneration progress.

Generated enrollment status/begin-enable/locked startup/restricted unlock retain explicit acknowledgment/encrypted passwords. Begin-enable has no CLI/MCP exposure or activation receipt. Angular settings/firmware/HTTPS unlock share task/auth/routing/five-language owners. Password whitespace survives; ordinary prompts trim.

Executed verification

Across entries, skipped/unmatched cases, wrappers and repeated prerequisites are not extra passes. Build/typecheck/software/kernel component evidence never establishes containing-image, firmware, full reboot/lifecycle or complete-FDE proof; fixture placement is not encryption/erasure. Applicable prior consumer evidence is reused where surfaces are unchanged; acquisition/assembly is claimed only when explicitly recorded.

Current b95490f/masterb7ed50e5f preserves shared vhost TLS and classifies FDE MCP status Read/enrollment Destructive; enrollment stays withheld from MCP/CLI. Bridge hostname/SNI errors retained. 272Rust/46Jest/6suites, canonical generation(no drift), rebuilt core/SDK, web/runtime/native releases/manifests/format/versions/merge pass. Package check reproduces only known SDK5 TS2554—not green. No VM/new policy/activation/review round.

Earlier 117b4e9:147Rust/RPC matrices/46Jest/8suites; gateway issuance/live watches, cache-only capture, decoder defaults(approvalCode:null), SDK-owned runtime schemas. Namespace fixture self-skipped, not kernel proof; privileged/TPM ignores excluded.

Earlier 612dbb5:216Rust/12Jest/3suites/consumers pass, dictionaries1335–1337. Mutable subscriptions/reprojection survive queued writers and receive resumed revisions. Shared unlocked-only shadow reads stay zeroizing; FDE MOK ownership/required-default/optional-empty/masked-whitespace contracts survive.

Earlier 5adaf71:12Rust/125Jest/7suites, restore/account/transfer/registry/SDK-watch consumers pass. Interrupted compilation wasn't a pass; resumed run passed.

Earlier 8e4f5ceb0:73Rust/62Jest, canonical generation, runtime FDE CLI/MCP boundary and public-source fixtures. 14ecaa64c:26Rust/85Jest. 0055e11e3:103Rust/49Jest/RPC matrices. Exports/repeats excluded.

Earlier 38abd75: 19Rust file bodies; original-rootfs/workspace retirement permits intact publication; staged tampering rejects. Actual29c control.10s fails InvalidSignature. Release5m14; no VM/DTO/GC change. Full scope/evidence.

Earlier 29c372e/38d1df1fd: 66Rust(65file+kernel), native residual/subtree/invalid-byte rejection/exclusion.02s; old guard.00s/unowned paused-commit.05s controls fail. Release4m46;16repeats excluded. Native SMB skipped; setup corrected, guest inventory matches/fixtures/lease cleared. Full scope/evidence.

Earlier 7829f9d: 28Rust(23file+2software/memory+3kernel)+4Node, wrapper excluded. Digest binding survives legacy replacement/unlink; native mapping.85s/RAM working republish.97s/public-provider50.76s pass. Digest.18s/actualb320 lookup.27s/failure-cleanup.95s controls fail, not passes. Release6m19; per-case RAM/isolation/cleanup fixed after setup failures, baseline inventories match, files/lease cleared. Full scope/evidence.

Earlier b320e8b: 31Rust(27file+4shell), 187CI-tooling; independent release retention/current-policy/fail-closed staging pass. Three old controls.23s fail. Native maintenance.29/.25/.08s/alias-capacity.11s pass; old loop.10s fails. Controlled capacity, not measured free-space/erasure. Release4m46; restart followed completed verification, no duplicate build/VM. Full scope/evidence.

Earlier c14bf24/c0dc757b9: corrected 68Rust(63file+5kernel)+4Node, wrapper excluded; 187CI-tooling. Native root.04s/union.16s/Btrfs EXDEV-copy-unlink.18s/IDMAP.03s/PID110.52s pass; omitted-rootfs.22s fails. Fixture ENOSPC corrected to input+512MiB, production unchanged. Release5m08; basee8 preserves pinned-FD IDMAP/private clones. Helix#168: no original continuous baseline; fresh inventories match, fixtures/leases cleared. Full scope/evidence.

Recent historical9e2/18d9/3b71/98/f7/d597 guest inventories matched and fixtures/leases were cleared; b213 was component-only, not acquired/assembled/installed. Intermediate build timings are omitted; failures are not passes. Unchanged surfaces reuse consumer proof; SDK5 remains red below.

Earlier 9e2ca7c: 21Rust(18file+3kernel); selection/repair/type/device/old-request/cache cases pass. Native maintenance.21/.12/.08s; root.03s/eight-GUID.12s/PID19.46s. Corrupt/file-bind inputs reject with data intact; omitted-selected.04s/newline controls fail. Unit3m17/release4m35;8MiB fixture stack, no profile change. Full scope/evidence.

Earlier 18d9ab7/eaa5636ab: 20Rust(16file+4kernel), 38SDK/4suites. Masked-base union.09s/root.03s/cache.01s/PID110.05s preserve data/readers; corrupt inputs reject. Old newline/listing-error/omitted-input.05s controls fail; alias127/mkdir failures and4ignored excluded. Release5m20; base436 preserves atomic clone/idmap/pinned-FD/propagation. Full scope/evidence.

Earlier 3b71b86: 11bodies(8file+3kernel); all-published/old-request/passive SquashFS/cache admission passes. Merged.02s/gzip-Zstd union.04s/PID16.83s retain data/cached reads/post-thaw projection; unknown/corrupt inputs reject, omitted-publication.01s control fails. Unit3m11/control3m08/release6m06; test access corrected without production widening. Full scope/evidence.

Earlier 98ca6f6: 12bodies(10file+2kernel); canonical references/aliases/native bytes/hardlinks/fresh-resumed privacy pass. Kernel.03s excludes children/rejects absent backing; omitted-preflight.01s fails. Running-not-working PID16.72s preserves cached reads/post-thaw projection; readonly alias asserts preexisting GUID. Final unit11m26/10pure, production/control3m09/3m11/release4m27; corrected trait/path/fixture failures aren't passes. Full scope/evidence.

Earlier f7a59c0/266db6584: 4bodies(3file+kernel.02s) cover native lower/upper aliases, existing/late child exclusion, writable source/RO view, recursive data, nonattaching probe/teardown/OverlayFS behavior. Recursive/nonprivate controls fail; unit3m08/controls3m07/3m10/release4m15. Linux fixture gate3m12 reuses native proof, no non-Linux claim; two-call prototype is superseded, not atomic proof. ABI prose shortened/contracts retained.

Earlier d59702c: shell opens existing locks readonly/nontruncating, absent locks no-clobber; creators retain inode, native flock still waits—no new lock/authority/marker. 8bodies=7file-lease+PID1/Btrfs(.35s), shared basename/current script/real-flock nonblocking frozen-FS witness. Old sentinel/truncation/thaw(.82s) controls fail. Unit3m09/Make image-input/syntax/docs/version/merge pass. Rust/DTO/UI/CLI unchanged: f941 binaries/generated/consumers reused, no rebuild. graph/sweep unfinished, no release/handoff/Red request.

Earlier f941c60/91ad5238d: PID1 --pipe/stop-post retains the same OFD lease after requester/launcher death. Existing-file opens preserve write-only access/bytes/inodes; creation stays atomic. Descriptor allocation precedes request writes; providers receive null stdin. Shared-owner contracts above retain trust/pause/restoration; dead SSH annotation removed.

Nine bodies pass:six file/lease+stdin boundary+two genuine kernel/PID1. Requester/launcher death retains exclusion through blocked capture/stop-post until unit completion; normal freeze/cached reads/post-thaw projection pass. Native.39s/5.12s rejects competitors promptly on frozen Btrfs. Old stdin/query/truncation controls fail (contents cleared/block until thaw). Both production0.4.2.1/Linux7.2.12 hash/maps/loop/mount/swap baselines match; fixtures/leases cleared. b213 is read-epoch-only, not acquisition/assembly/image/firmware proof.

Unit3m14/old-opener3m11/dual release4m14,9warnings/fresh manifests/CLI3.0.0. Parallel shared-FD assertion failed; exact-subprocess concurrent fork/exec passes. Alias/directory/control-regex/import setup corrections are not passes. Format/docs/syntax/version/merge pass.

Earlier 00ea05a/6a4752714/b8b58fb78/3977c26d1: confined generation creation follows root/read-epoch checks. Reserved .staging-<Guid> recovery preflights leaf types/native mounts before deletion; redirects, mounted/uninspectable state reject. Published/unknown names/private backings survive. This is scoped recovery, not reference pruning.

Subtree teardown shares libmount findmnt JSON, not escaped /proc/mounts paths. TmpDir::unmount_and_delete synchronously disables Drop deletion, preserving mounted contents after failure/unpolled abandonment. Contracts remain; redundant commentary removed. Audited helper has no production workflow caller: controls test its API, not observed application data loss. 00ea05a removes the high-impact fragment; backing sweep/shutdown recovery remain incomplete.

**13 cases pass:**10file+2kernel+selector rejection. Escaped-path teardown, mounted/invalid-byte candidate rejection and published/busy contents preservation pass; old-method unpolled/busy controls fail. Final unit3m14/release4m20,9warnings/fresh manifests; unused test bindings removed. Master template unavailable; production0.4.2.1/Linux7.2.12 hash/maps/loop/mount/swap match, fixtures/lease cleared. No acquisition/assembly/firmware/erasure proof.

Merge 3977c26/master950c539cb preserves byte-identical parallel SquashFS compression. 17bodies pass(11codec+generation/privacy);4overlap earlier proof: 26distinct across batch, no controls/children/repeats. Unit3m11/dual release4m21,9warnings/fresh manifests/CLI3.0.0/hashes and format/docs/syntax/two versions/merge pass. No wire/UI/CLI change or handoff.

Earlier 61c0049 awaits generation removal before its fresh backing under image lease/data ownership. Reused/published backings, legacy files/runtime views remain; failed generation removal preserves backing. Construction attempts scoped cleanup; native destination-path admission precedes directory creation to avoid descriptor-created trees unsupported by the absolute writer. Shared result handling preserves primary/logs secondary errors. Drop still leaves staging; crash-orphan/published-reference pruning/shutdown remain unfinished. Redundant publication prose removed, contracts retained.

28 Rust bodies=24projection/retirement+2generation/disposal+primary-error/publication coherence: partial writes, long paths, fresh/reused/published preservation, failed retirement and requester loss retaining the lease. Three ignored software-TPM/max-name/managed-root cases excluded; native proof reused. Unit3m13/dual release4m52,9known warnings/fresh UI/setup manifests; returned CLI3.0.0/private hashes verified. No VM; unchanged consumers reused.

Deliberate extra scope 290b062 fixes a confirmed shared-tag race: the recipe built test imagec63… but the tag selected e245… without veritysetup. Test/formatter callers now share docker-build-image.sh and execute its validated immutable IID, not cache tags; overrides/toolchains/profiles remain unchanged. Native builder-selection recipe and formatter/document/syntax/version/merge checks pass, covering both consumers, IID without newline, invalid IID and build failure. Initial PATH_MAX cleanup failures, reverted generic-remover experiments, mutable-tag missing tools and an IID newline-read setup error are not passes; final corrected Rust cases alone count. No replacement deletion/GC engine remains.

Earlier 30a5757 resets copied administrator/DEFAULT and account-password slot plans atomically at setup::migrate, after both data copies and before sync/destination initialization. Secret-memory admission precedes mutation; opaque signing records are not decoded or rewritten. Same-drive attach is unchanged; fresh setup/backup recovery construct absent authority. Production contract/pending fragment updated. Three focused bodies pass: all six administrator/password-stage combinations and idempotence, ordinary absent/null records, and actual directory-copy/PatchDB reopen with unchanged source. Unit3m11/dual native release4m31 pass,9known warnings/fresh manifests; returned CLI reports3.0.0. A test-only PatchDB generic-argument error was corrected before execution; a relative scratch-output permission error launched no build. Unchanged native LUKS/header/keyring/generated/consumer proof reused. No schema/DTO/UI/CLI change, VM or firmware/activation claim.

Earlier 4a01a1a corrects enable/recovery caller contracts and consolidates eight running-pool callers in LuksPool::system, deriving the configuration parent from canonical HEADER_BACKUP_DIR. Three root literals disappear; five non-writing callers no longer pass the header subdirectory as its parent. Writer paths stay unchanged. Three pure cases pass: canonical header placement, invalid-pool rejection and protected DEFAULT-recovery denial. Unit3m34/dual release5m59 pass,9known warnings/fresh manifests. Unchanged native LUKS/header/generated/consumer evidence reused; no VM or wire/storage change.

Earlier 20e45c3 fixes entry ordering: workspace-only recovery defers retention inspection until native space admission repairs a legacy missing selection pointer. The native regression reproduces old-entry rejection, preserves retained bytes before repair and verifies pointer restoration/obsolete-source pruning; the affected unknown-root/non-UTF8 case still passes. Two scoped bodies pass (.22s/.14s), unit4m09/dual release6m14 with9known warnings/fresh manifests. Unchanged24 source/lease/kernel and generated/consumer proof reused; no VM, acquisition/assembly or complete-coordinator/firmware claim. Redundant source-stage commentary removed; caller/authority contracts retained.

Earlier 5c29e89 fixes public workspace recovery/space admission/inherited release/FD confinement. 24 bodies=19owner-file-lease+2real-product shell-GC/old-binary+3kernel: retained hardlinks, redirects/nonrecursive cleanup; shell-child flock after drop/release; stale mounted reserved mapping recovery preserving unrelated readable mapping; non-CLOEXEC parent-FD exclusion with stdin/stdout retained. Genuine pre-v2 b213 worker failure leaves no mounts; workspace reclaimed—not v2 admission. Invalid selector rejects before fixture creation.

Unit3m20/final harness3m33/4m02/dual release6m47,9known warnings/fresh UI/setup manifests. Untyped-fixture compile failure/FD-limit EINVAL corrected, not passes; prior successes reused. Native.34s/.01s/5.87s on managed master926e4aa82/Linux7.2.12 (production busy): installed hash/maps/loop/mount/swap match, cleanup/release complete. Generated/MCP/SDK/runtime/551Node/manpages from399 reused, including SDK5 red. No reacquisition/reassembly/substituted entrypoint.

Earlier 399f66d removes nonexistent preparedGeneration/generation-* progress and the unused destination getter; capture::prepare returns no ID/receipt. Corrected Drop prose: hidden .staging-* remains, not reclaimed. Unused generation::prepare_configuration becomes native-test composition; capture/projection/signing/legacy-plan coverage remains, docs retargeted. Cleanup unfinished.

7Rust/1generated-codec/551Node cover field absence/generation invisibility-abandonment/consumers. Unit3m43/actual-handler generation6m38/dual release4m57,9known warnings/fresh manifests. TS/MCP regenerated; PatchDB/core/SDK rebuild/workspace types-i18n/actual runtime pass; native-query/policy/lifecycle/manpage proof reused. Missing private tsc stopped package attempt after successes, reused rather than recounted. Unchanged hello-world/compiler/checker/current SDK tarball reproduces SDK5 buildManifest TS2554 versus4.1.0—not compatibility. Format/version/diff/native merge pass; full feature/handoff pending.

Earlier 8c333e0 preserves raw profiles/nanosecond mtimes through encryption/materialization. 34bodies=30owner+1NM1.52.1+2kernel-PID1+1selector; no-op/zero matches excluded. Cold NM picks the wrong duplicateUUID after timestamp loss; restoration preserves selection. Large escaped/Unicode bytes, negative times, exact ranges/cursor/truncation, privacy/aliases/saved-runtime rules pass. NM is capability-free/isolated-network/private-D-Bus/tmpfs, not activation/firmware proof.

Harness5m40/dual release8m28/fresh manifests/format-syntax-version-merge pass;11warnings include later test-scoped import,10known remain. RPC/consumer/policy reused. Import/Docker-load/alias/formatter-image/staging-permission failures corrected, not passes. Both wrappers enforce exact inventory after zero-match false success. Native6.07s/requester-death.35s; guest hash/maps/loop0/no-swap match, cleanup/release complete. Retained b213 is read-epoch-only, not acquisition/assembly/entrypoint/full-image/firmware/reclamation/handoff proof.

Earlier 32e3b38 admits capture before ZRAM/authority/admin slots, rejecting unsupported non-Btrfs in five languages—not adding ext4. Native findmnt --vfs-all/bounded internal mount preserve security/atime flags and raw-upper exclusion without bitmap/parser/fstab/helper authority. Kill precedes thaw; retained epoch/pause/image lease span restore retries, without new task/receipt/lock.

15 bodies=8owner/7kernel-PID1: flags/raw-alias EROFS/RW, stop refusal with cached reads live/writes paused, capture/projection, profile failure, helper/requester death and blocked writers. Initial OverlayFS-option replay failed; generic flags pass. Unit5m34/final6m25/dual release5m50,10known warnings/fresh manifests; faulty6m01 release is not final proof. Native recipes own toolchain/profile; repeats excluded, RPC/consumer proof reused. Master unavailable; productionLinux7.2 hash/maps/loop0/no-swap match, cleanup/release complete. b213 is read-epoch-only, not source-admission/firmware proof.

Earlier 673267d projects permission-private/non-searchable-parent files and hardlink aliases, not container permissions: NUT0640/unknown0600 bytes leave public images; backing metadata/aliases persist, references stay neutral. Prior reserved bootstrap is admitted/removed before projection; typed fresh ciphertext follows projection/before signing at0600/pre-unlock, without a path-privacy exception. Seal APIs require verified tmpfs(production /run), sharing workspace/memory owners. Uncalled capture entrypoints removed; file/hardlink classification shared. NM1.52.1 source supplies distinct saved/runtime naming/owner/access, suffixless /etc, temporary/certificate exclusions and followed regular symlinks. Conservative candidates retain basenames rather than hashes; unsupported projected redirects reject. Private trust/signing/firmware authority unchanged.

66bodies=59owner/6software-TPM/1exec-memory; no-op child excluded. Serialized privacy/fresh-resumed bootstrap/metadata-aliases/naming-suffixless-symlink-insecure files/reserved confinement/non-RAM rejection/seal-unseal-tamper-compatibility pass. Compiles3m16/3m27/3m21; setup/borrow/nonexistent-RAM failures corrected, not passes. Native resume reused4successes/ran3failed-unrun cases; fixed inventory excludes kernel/keyring tests. RPC/generated reused; format/syntax/version/diff/native merge926e4aa82 pass. NM naming was source, not daemon-lifecycle evidence; product/profile-priority proof supplied above.

Earlier f778dfa repairs final-review findings, not full FDE/handoff: all init callers pass imported GUID before setup writes selection; retained approval codes repair pending MOK authentication; reflash shares staged identity cleanup; kiosk retries preserve account/home and replace preferences; producer stderr stays outside tar stdout. Transfer repair is above; signing/firmware policy remains for @dr-bonez.

Managed initial-mount-namespace reproduction lost the idmapped view's existing child immediately. Creation-time privacy fixes it, without retirement privatization. Dependency/volume/image/shared-volume callers were traced; plain writable/empty-idmap late propagation remains. IdMapped/FDE.md/changelog record the nonempty-idmap exception; strengthened checks cover writable/readonly children/enforcement, cached retirement and empty-idmap late mounts.

29bodies=5enrollment/1auth-retry/5kernel/14identity/3producer/1kiosk. Old kiosk/stdout controls fail; PID/mount producer separates tar/stderr and joins detached writers on success/failure. Supported private MOK file backend, not EFI; wrappers/children/unmatched/ignored excluded. Unit3m23/4m52 covers init callers. Linux7.2 covers file/directory/readonly/source/OverlayGuard/systemd copies; Node24.22.3/genuine initramfs-tools is component, not full generator/OS proof. Installed binary/maps/swap unchanged; cleanup/release complete. Format/syntax/Make-input/version/diff/merge8e007437 pass; RPC reused/product supplied above. No full-image/firmware claim or unrelated tunnel work.

Earlier 5c92a8b integrates master through f09a255 in normal merges 7b67b38/7e811d9b6. The vhost insertion conflict retains both the injected TLS-handler constructor and upstream in-place replacement. Normal ACME failures keep the existing shared reporter; restricted serving gains no database dependency. Separate commits extend the injected trusted-TLS regression through still-admitted target replacement and keep withdrawal/owner cleanup checks; both secondary-loopback fixtures are Linux-scoped. The integrated locale/SDK5, full release-note rendering, NetworkManager DNS and WireGuard MTU changes remain intact. Runtime lock metadata now matches SDK5.

Manpage regeneration exposed an empty FDE CLI namespace despite its RPC-only operations. Separate fix cd92cba hides the parent through the existing no_cli adapter; a production-command regression and the returned binary's help confirm its absence. RPC/TypeScript/MCP passthrough is unchanged. The obsolete intermediate generated page is removed, not shipped.

114Rust/27CBOR-unlock/81SDK/551Node cases pass, plus four native manpages; six privileged/TPM/old-binary cases unexecuted. Coverage: injected trusted TLS, target retention/withdrawal, issuer/bootstrap credentials, WireGuard settings/MTU and signed-source retention. Unit4m30, compiled-handler binding/MCP7m07. Narrow runs use native test-env/pin/exact unit-test flags (aggregate has no case filter). PatchDB/core/SDK builds, all workspace types/i18n/runtime pass; Node zero failures/skips. Prior successes reused, repeated dictionary/exports excluded. RPC/consumer proof reused after CLI-only no_cli correction. Dual native release8m11,10known warnings/fresh matching returned UI/setup manifests; returned help omits server fde. Interrupted foreground/alias setup are not passes; remaining checks resumed. Scoped format/diff/merge pass.

Real-package check is not green: the unchanged hello-world package gains exactly buildManifest: Expected 1 arguments, but got 3 against published SDK4.1.0. This is the integrated SDK5 named-argument migration already specified in projects/start-sdk/release-notes/5.0.0.md, not a new FDE wire-shape error; the package remains unchanged and must migrate before adopting SDK5.

Earlier 6d89d32 normally merges master869a436 profile/classifier consolidations. One sourced profile/array owner replaces obsolete alias and CLI/backup-FS adaptations, retaining multi-package tests. Common native-input classification covers CLI/registry/tunnel/WRT; workflow/classifier/CLI-output tests replace obsolete WRT trigger tests. Upstream update availability, SDK security floors, rerun-safe publication and matching runtime lock metadata remain.

172 CI/63SDK/550Node cases pass, plus expanded native builder/profile, Make-input, five aggregate/CLI and release-resume/APT checks. Initial55 CI cases passed;10files lacked declared js-yaml. Repository dependency installation enabled117 resumed cases through native Node invocation (recipe has no file filter);55 successes reused, setup failure not a pass. Wrappers/repeated dictionaries excluded. Scoped format/syntax/diff/merge, rebuilt PatchDB/core/SDK, all workspace types/i18n and runtime consumer pass. Dual pinned release5m35,10known warnings/fresh UI/setup manifests. Unchanged Rust runtime/API/CBOR/generated/MCP proof reused.

Earlier bb79805 normally merges master7c88a1c, resolving four identity/upgrade conflicts while retaining both Make/docs sets. OTA leases images before identity publication and preserves running identity before real boot extraction/activation; helper bootstrap remains. The regression distinguishes helper from boot extraction. Protected restart requires retained keys before context creation. Shared startup APIs retain locked context-owned, unpersisted, explicitly temporary proof—not disk-selected identity. Existing transport admits unlock calls/streams; normal products still reject temporary peers without fingerprint history. Owner/docs record this without parallel identity/replay/signing engines.

43Rust/13OTA/25CBOR/549Node cases pass (Node zero failures/skips), plus actual Make-input guard. Coverage: temporary classification/clone/context separation, plaintext rejection, startup/account/restore identity, signed temporary RPC/GUID scope, init retirement, transport/revocation and native clients. Unit4m32, scoped format/syntax/diff and actual-handler binding/MCP generated-profile6m18 pass. PatchDB/core/SDK rebuilt; all workspace types/i18n/runtime pass. Dual Make release5m21,10known warnings/fresh UI/setup manifests; repeated four dictionaries excluded. Unchanged FDE/source/CI proof reused; ordinary identity-copy reclamation remains unfinished and boot policy unchosen.

Earlier 30974f2 shares CLI/registry/tunnel CORE_SOURCE_PATHS for core crates, embedded scripts and UEFI platforms; StartOS already selected them. Both WRT triggers consume matching CORE_SRC, preventing stale native-only builds without runtime/boot-policy changes. Profile-owner PR#4777 was pending then; later integration adopts it.

39 scoped cases pass (five new/34affected). Three native-input and one WRT-filter controls fail before the fix. Coverage: push/PR script/platform selection, exact boundaries, both WRT triggers, image-only exclusions, CLI step output and existing event/diff callers. package-ci-test native filters reuse37 successes before the remaining two cases; unmatched bodies/12file wrappers excluded. Prettier/Node syntax/diff/merge pass; dual-product/profile/FDE proof reused.

Earlier 29b9d7d normally merges basefc4aa59: one Rust-bin builder replaces four scripts, with native profile/flag ownership, backup-FS behavior/tracked inputs, real CLI-install fixtures and embedded FDE protocol/platform prerequisites preserved. Tests retarget the shared entrypoint; redundant profile comment removed. 12caller/profile combinations pass (release-flag clearing, unknown fallback, Cargo failure), plus existing pin/override/K1 checks and five aggregate/CLI cases (release/debug refresh release start-container; release/debug/unknown installs select output). Make-input, Bash/Prettier/diff/merge and release-resume pass. Missing documented apt-ftparchive initially stops APT; installing apt-utils enables only that resumed command. Successes reused; wrappers/unmatched Node cases excluded. Native dual release4m40,10known warnings/matching returned manifests/four dictionary cases; unchanged FDE proof reused.

Earlier 10fe107 admits public-bootstrap configuration. 19native cases pass (eight new/11linker): source/native tables, udev/NSS/fstab changes, mtab/leaf redirects, absent files, permissions, cleanup and linker-owned paths. Independent literal table/umask expectations avoid production-generated fixtures. Eight configuration cases**.07s**, linker integration**.34s**; ten others reuse selected linker run3.15s including integration. Unmatched26/36 excluded. Release4m29,10known warnings, product SHA2560f33bbdbed9278ae53e9aac1a1bdb8429c3b9c397c3f03073045494ec2aaadb9; scoped Prettier/Node/Bash/fragment/merge/diff/fresh UI+setup manifests pass. Behavior-neutral final API-comment/fixture refinement reuses release. Initial NUL escaping failed before admission, corrected—not a pass. Genuine matching /usr+/etc, packaged Node20/immutable fixture, no capabilities/VM/global-kernel mutation or repeated acquisition/assembly/image dispatch.

Earlier c4614bd connects generation-bound public descriptor staging. Eight cases pass (five new/three affected): real PreparedGeneration/SquashFS/verity/separate P-256 anchors(.08s); four Node path/bytes/mode/create-only/redirect/missing/CPIO-gzip cases(.05s); descriptor contract(.01s), Make-input guard and publication/native extraction(.05s). Wrapper excluded; fixture supplies CPIO/veritysetup without silent native skips. Unit3m12/release4m31,10known warnings; tests SHA25693a8ebd6b746590308583503702ab73b29031d39a8f99a6ef3b7dd83e0c8c469, product4a1ef0225b8b6721dd4b5eccac76986659df739631c20296d1517a471ca88ebd. Scoped Rustfmt/Prettier/Node/Bash/fragment/merge/diff/fresh returned UI+setup manifests pass. Full entrypoint/generator still needs a containing signed image; b213 lacks it. Extended assembly fixture updated, not claimed executed.

Earlier 412d757 connects real read-epoch bootstrap capture/sealing and private saved-profile projection. 30 distinct focused checks pass: eight new and22 affected existing. Twenty-seven pure cases cover read-only UI TLS/ACME selection and disabled intent, real cryptography, profile discovery/UTF8 errors, native-byte private transport, missing/trailing archive rejection, reserved-leaf admission, encrypted-payload primitives and private-reference metadata/aliases. Three explicitly executed managed-guest cases establish frozen-profile capture retained after thaw (5.78s), thaw/writable restoration after profile-read failure with no projection (0.28s), and actual software-TPM sealing/envelope insertion/unseal/tamper rejection (0.46s). The guest's installed binary, original four mappings, loop0, no-swap state and readonly OS-root intent remain unchanged; owned files/mounts/units are removed and the lease released. Fixture data placement is not encryption, hardware TPM/firmware boot or complete enrollment proof.

Unit3m18/final error-admission3m10/3m11/release4m19 pass;10warnings/testSHA284bf5baed3d933e1a8d5bb7ecc03899fb6f9db7f45230092d63177e09389e39/producta8a965d82eaa44eacee71896d0a8d07b7ea6a7f6dcb15fbd5c13d0bbdb4ffad9. Format/Bash/fragment/merge/diff/fresh manifests pass. Native valid-input proof predates UTF8-error/reserved-leaf guards; focused owner regressions/final product cover additions. Parse/type/fixture failures aren't passes. Mode0700 export blocked D-Bus PID discovery; native traversal with protected parent fixed it. Readonly-root staging moved to owned writable config; package guards intact. Retained b213/immutable fixture are component-only, not acquisition/assembly/dispatch/containing-image admission.

Earlier 70e98dd, following 164840d, connects shell cache reclamation before native space admission and adds the exact selected-image regression. Three new checks and13 affected existing checks pass (16 distinct for this change): two real-product/real-shell integration cases, one actual Make prerequisite check, eight cache/metadata cases, two shared applet-parser cases and three genuine inherited-kernel-file-lease cases. The final extended native case passes 0.17s, exercising separate current/pending roots, unknown-root refusal without cache mutation, non-UTF8/regex-character paths, exact selected-image exclusion and obsolete-link removal even with no space deficit. An actual previous binary establishes cache-absent compatibility and safe refusal for unsupported retained state (0.08s). The other13 pass 0.19s/0.00s/0.21s. Initially ignored binary-dependent cases were explicitly executed; ignored/default listing entries and the repeated extended case are not extra passes. Metadata-only filesystem fixtures use native tools/real signatures, not runnable replacement OS images; no privileged mount, VM or firmware claim is involved.

Pinned unit compilation 3m05, final extended-fixture compilation 3m04, and production release 4m26 pass;10 existing warnings remain. Scoped formatting, Bash syntax, fragment/version, Make-input, native merge/diff and fresh returned UI/setup manifest checks pass. Final returned test SHA256 526ff6f27968f3490c81283fbb8cec2877f63cdd2a09c00c24a4b3679970138c, reused unchanged product c60cc0697e7fb87dfb765a7ddf07036af837debfdc7aad179fb2cbf368d81377, actual old-product control 04b4f55f6f038dd74fb5921127dc728023a755f736fcc858a97667095050bb31. Product Rust code did not change during the final selector extension, so its successful release build was reused rather than repeated. An inline Bash-alias invocation failed before execution and was corrected using the repository runner; an extended fixture accidentally enabled the legitimate legacy pointer fallback, then was corrected to supply an existing uninspectable root. Neither failure is a pass; production fallback was preserved.

Earlier b37f35e, following shared verifier fix d25ac42, adds connected source retention/offline selection and native update ingestion. 16 distinct focused checks pass (11 new, five affected existing): eight cache/metadata cases, three complete-resource commitment cases, one actual HTTP asset-download case and four existing archive/cleanup cases. Native gzip/Zstd metadata-only filesystem fixtures, real Ed25519 signatures and hard links establish original-name removal/offline reuse, current signer rejection, unsigned/tampered/advisory-identity/trailing-byte rejection, independent running/pending roots, private-repack exclusion, signature merge, interrupted receipt repair, foreign-directory preservation and temporary symlink/hardlink safety. Fixtures contain no runnable OS/kernel and establish no firmware or new producer-entrypoint admission. The exact-length owner covers known-length files, unknown-length nonterminating suffixes and real HTTP responses, rejecting overflow through the existing bounded writer.

Final pinned unit compilation 3m06, production release 4m17, scoped Rustfmt/Prettier/fragment/diff/merge checks and returned fresh UI/setup manifest comparisons pass; ten existing unwired-path warnings remain. Final test executable SHA256 b0541e23f3dee2aad204d2a40f451a780ebfdd8243bc00cd62ea92fb1d9edc30, release 04b4f55f6f038dd74fb5921127dc728023a755f736fcc858a97667095050bb31. Production make also executed its existing four dictionary/i18n checks and rebuilt UI/setup prerequisites. Initial compile setup errors and an assertion that incorrectly expected the native writer to emit an unsigned overflow byte were corrected, not passes. The earlier cache trailing-byte failure distinguished and drove the shared verifier fix. Full containing-image/source-entrypoint execution and install/media/shell-GC/full generation lifecycle remain explicit gaps; caching does not complete bootstrap, effective configured closure, UKI signing or EFI activation.

Earlier 57e3bb8 adds the connected public-source/boot-input stage. Eleven focused checks pass: five confined-identity/native-POSIX-tar/create-only-role/member/trailing-archive/cleanup cases, one temporary-filesystem ownership case, three affected existing OS-signature owner cases, and two genuine-source kernel/os-release selection cases. The signature cases retain native approved-key, unsigned/tampered/untrusted/all-signature rejection. Provider cases use the already acquired genuine b213 file tree, reject redirected/ambiguous inputs and execute no kernel. Pinned unit compilation 3m06, release build 5m44, scoped formatting/Node syntax/fragment/diff/merge checks and returned fresh UI/setup raw-static comparisons pass; ten warnings remain. Returned executable SHA256 e02690862b53e7b4efd52ea7ad0f7b37a1c9792427779784f81fb938fb9ade0c, release startbox ccb09b3a96d177d176dfe8fca303dc1ec2a4a6d7087b6145079b5e1a8a84c404.

Source staging uses native os.asset.get.squashfs, not update eligibility—installed releases remain valid inputs. It shares tar/role-file/kernel-selector/generator owners, downloads to the OS filesystem and never recursively cleans across retained mounts. Compile setup errors aren't passes. The authenticated lookup/download/mapping/new-entrypoint chain has not run in a containing image: b213 lacks it; sideloaded scripts aren't admission. The sealed read-epoch envelope grants no signing authority or authenticated initrd descriptor integration; final cmdline/effective closure/UKI/EFI remain unfinished.

Earlier 2339965 connects capture after the PatchDB owner change db077f6. Sixteen distinct focused/component regressions pass: five PatchDB mutation/reader/subscriber/durable-reopen/cancellation/close cases, three actual Rust/shell flock interoperability cases, two applet-parser cases and six managed-kernel cases. Four kernel capture cases establish actual loop-backing identity, frozen Btrfs writer exclusion, canonical and direct raw-RAM-upper write rejection, live cached DB reads, native byte-path SSH discovery and projection after thaw; helper death preserves initially readonly overlay/backing intent; a genuine blocked owned writer stops after early thaw; and killing the requester process leaves PID1-owned cleanup usable (4.96s/0.24s/0.40s/0.29s). The other two native cases verify authenticated boot roots/descriptor/profile remain after credentials are deleted (1.04s, real software TPM/verity/mounts), and native Include/NSS/OpenSSL/projection/signing/failure/deadline preparation after the split read/write epochs (52.90s). The requester subprocess is fixture plumbing, not another counted case.

The final returned capture executable SHA256 is 222a49b2bb8f2e7c34d69a493c8cafbed2fea6fbf7aa3112667e83179676eb04; returned release startbox 8594a7a57d87949db460796f1e1f5c12ca840ac7a64bfc759aba61d8fff4ebb9. Final pinned unit compilation 3m06 and release build 4m27 pass, with ten visible warnings including still-unwired full-feature/legacy preparation paths. Actual-handler bindings/MCP, rebuilt PatchDB/core prerequisites, SDK bundle, every workspace type/i18n check and the actual runtime consumer pass. Fresh UI/setup assets were returned in the same final build lease and raw/static manifests compared; unchanged543 frontend logic cases and earlier account/MOK/namespace proofs are reused, not rerun or counted again. Scoped Rustfmt/Prettier/Bash/fragment/diff/merge checks pass. The guest's installed binary hash, original mappings, loop and swap observations remain unchanged; owned files/mounts/units are removed and both leases released.

Invocation/compile/stop-timeout failures aren't passes. PID1/stacks proved thaw succeeded while namespace init ignored TERM; native SIGKILL fixes stop. Unoptimized fixture exceeded test-thread stack; shared TPM runner uses observed guest8MiB budget, no compiler/profile override. Immutable-IID recipe exports complete fixture into isolated mount/PID/network context; PID teardown joins software TPM/broker, package guards intact. Helix#127 records SSH-readiness recurrence; same-alias retry worked. Failed /tmp upload removed, public fixture moved to owned OS storage. Exact b213 reused component-only—not reacquired/repacked/current authenticated image. No source/image dispatch, physical TPM/EFI variables, fake hardware or live-UI substitute.

Earlier abea9a2 includes MOKa25a7f6, normal base0a2d684…795bf9b27 and hook retry. 11distinct cases=2Rust+3native-tool/file-backend+3Rust/native+1source/package/output+2build-root failure/retry/account. Unpatched control discards shared request on auth-write failure. Product preserves subjects, refreshes auth, refuses old tools before mutation and retries auth-file open failure. Build failure preserves original error, restores package/source config, retries/reuses completed package; account retry preserves UID/home/default credentials. Output verifies runtime package names/original APT sources. Skips/repeats excluded. Native libefivar's private file backend/SecureBoot disabled, no VM/firmware variables/keyring: not enrollment/NVRAM atomicity/power-cut/erasure/executable-boot/full-image proof.

The returned Rust test executable SHA256 is c95adee44c1a1222f6e34bd0eea59a7341b1ec27ae4a615609a4234062876c6b; actual native mokutil SHA256 1dc5fe47fcdf701ea86e5f25bf4a9074eeabfb9f93e71fbe145331e7398bcdee. Pinned release/test build12m50; final default-feature product check1m04/20 existing unwired warnings. Scoped Rustfmt/Prettier/Bash/C whitespace/fragment checks pass. Native fixture setup failures (Signed-By mismatch, removed source-management utility, absent private backend variable) were corrected, not counted as passes. Unified-diff context has a per-file whitespace rule; the actual C changes were checked separately.

Earlier live-data/registry/browser-revision integration preserves FDE startup/DNS/routing, dictionaries and the storage stub: canonical generation, 543frontend cases/zero skips or failures, workspace type/i18n, SDK/runtime and fresh UI/setup raw-static comparisons pass. Unchanged native/package evidence is reused.

Earlier a73b6e0 repairs the missed account-completion caller found while tracing activation. Five focused/native cases pass: three owner/model/mode cases, plus genuine LUKS1/2/keyring/DB/shadow regressions (159.01s/166.01s). Real second-volume retirement failure and blocked shadow-parent writes establish error preservation, console credential convergence for start9/kiosk in active/saved shadow, and repair after slots are stable. Pinned build5m09/product2m11/20 unwired warnings and scoped formatting/fragment checks pass. Guest baseline is unchanged and it is released. Transient managed SSH readiness recurred and was reported on Helix#127; unchanged-alias retry succeeded.

Earlier 57fcaaa: 27 distinct executed cases passed—21 focused storage/account/enrollment/mode cases and six native cases. Genuine LUKS1/2, root kernel keyring and PatchDB reopen exercise first-volume installation failure, changed account passwords, absent-key recovery, new-password-only resets, independent DEFAULT authority, stable retries and unchanged raw keys (146.33s/150.92s). Affected password/header, account/shadow/reopen and DEFAULT-retirement callers passed (280.78s/205.05s/190.53s/190.77s). The scoped executable was built in9m40; default-feature product check1m17/20 unwired warnings, formatting/Bash/fragment/merge checks passed. An initial stale test-field compile error was corrected. Missing guest ukify/Docker and a refused direct package install were not passes or bypassed protections: the complete repository native-tool fixture was built/exported on the host and used inside a private guest chroot. Real native tools/kernel/DB were used, not a replacement StartOS image, fake hardware or firmware proof. Device/loop/swap/image baseline remained unchanged; guest released.

Earlier 1b73cb4: 12 focused mount/cache/file-kind cases and six native cases passed. A fresh managed production 0.4.2.1 guest, running this branch's test executable rather than a replaced OS image, exercised a real pre-existing ProtectSystem=strict/PrivateTmp=yes systemd namespace under shared /var/lib. Readonly/writable rootfs, dependency and nested cached staging copies disappeared from its actual mountinfo while source data survived (0.04s). File/idmap/shared-source regressions passed; authorized native Include/NSS/OpenSSL/projection/signing/failure/deadline preparation passed (51.22s). The proposal-only residual failed before the correction. Guest mapping/loop/swap baseline was unchanged; the guest is released.

That earlier pinned release/test build 6m36, default-feature product check 2m11, scoped Rustfmt/Prettier/Bash and merge checks passed. Twenty visible warnings reflect unwired preparation/query APIs. Prior applicable evidence is reused: native LUKS1/2 DEFAULT/password-change/header/key-identity cases (184.27s/163.65s/272.08s), account/DB reopen and shadow recovery, TPM software policy/keyring lifetime, service gating, metadata/projection/native-byte cases, generated bindings/SDK/consumer checks and UI builds.

The genuine prior b213 source image was acquired from successful workflow43619143778. Native unsigned assembly against it passed with separately bound changed scripts; it does not prove admission of newer entrypoints or signing authority. Current draft CI skips builds/tests; metadata/conflict successes are not execution evidence. Native test timeout and cache-output failures were corrected/reported, not counted as passes.

Implementation diff: +15,343 / −1,268 lines in 186 files (excludes lockfiles, tests, docs, release notes, and changelog).

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@helix-white helix-white added minor repo Repository maintenance StartOS labels Nov 11, 2026
@helix-white
helix-white force-pushed the feat/tpm-attested-fde branch 2 times, most recently from e7949e6 to 948d166 Compare November 12, 2026 03:37
@helix-white

Copy link
Copy Markdown
Member Author

Progress through 7fe7f64: shared exposure/interface/vhost and intermediate-only TLS/ACME primitives are integrated, as is pre-mutation LUKS intent with abort/retry support. The trusted-TLS/interface-change regression and revised real LUKS1/LUKS2 fixture passed. The TPM profile now binds PCRs 0,2,4,7,11,12,13,14,15 and the policy reference binds that selection. Four focused unit tests passed; three fresh software-TPM fixtures passed, including independent PCR12/PCR13 mutations and direct weaker-policy bypass attempts after successful TPM PolicyAuthorize, which could not Unseal the new object. Production typecheck and scoped formatting/syntax checks passed. The nine-PCR fixture exposed tpm2-tools 5.7 raw-input grouping failure; authorization uses its documented PCR-digest input while TPM tooling still computes the policy. The field/register wire inventory is consolidated in one production declaration. Full boot, enrollment, cache/UI and writer integration remain unfinished; the PR stays draft and managed UEFI/Secure Boot/TPM2 proof remains blocked on Helix #122.

@helix-white

helix-white commented Nov 12, 2026 •

Copy link
Copy Markdown
Member Author

Latest CI inspection: current draft head 6ae79d60a3a4ff40c1362dd07a4e6f2f8dd9b17f. All 31 rollup entries inspected: 27 substantive checks skipped and four successful metadata/conflict entries, with no failed or pending entries. Notification run43543463004 has no failed-job logs. No confirmed source failure or code change indicated. Skips do not establish executed verification; current scoped/native/build evidence is in comment6869789066 and the PR brief. Full-feature implementation continues; this is not a review or merge-ready verdict.

@helix-white

Copy link
Copy Markdown
Member Author

Integrated the preserved loader work and verified the previously interrupted legacy-enrollment delta at 437df7d, without adopting its stale TPM checkpoint. Capture validates known current shim/GRUB/kernel artifacts and discards the legacy tail; predictions remain direct-shim-only. MeasurementProfile now authenticates adjacent expected-PCR metadata by shared TPM policy recomputation, not signature checking alone. Loader and filesystem prediction share PCR-extension math. Also fixed two existing MOK-owner defects encountered during integration: already-enrolled/pending result handling and the fixed/default-permission password-hash file. Hash files now use unique private /run paths and drop cleanup; regression tests and a security fragment cover the changes. Integrated production check, 9 loader + 2 MOK + 5 TPM unit tests, both real-PE fixtures and all 3 software-TPM cases passed. The new profile fixture rejects substitution of every ordinary PCR even while its policy signature remains valid. Formatting and StartOS version checks passed. Firmware execution and the complete FDE boot/enrollment flow remain unproved and disabled; this stays draft.

@helix-white

Copy link
Copy Markdown
Member Author

Added trusted boot descriptors and generation admission at 01b6c90. The signed-initramfs descriptor pins the rootfs filename and public verification keys; public configuration cannot select a fallback boot mode. Admission reuses signed-generation ordering and authenticates matching expected-PCR metadata, skipping newer filesystems authorized only for another boot. Public keys reuse the existing DER codec, and PCR15 prediction shares the actual measurement guard. Malformed signatures are invalid at their verifier owner; operational TPM failures propagate. Production check, eight focused unit tests, two filesystem-selection regressions and four fresh software-TPM cases passed. The new fixture covers incompatible/missing/malformed/tampered profiles, unsigned metadata substitution despite a valid signature, hidden staging, wrong keys, rootfs tamper and repeated filesystem measurement. This is admission only: complete verity-mapping ownership, measurement/unseal ordering and fail-closed initramfs handoff are still next. No FDE activation or executable UEFI/Secure Boot proof is claimed; the PR remains draft.

@helix-white

Copy link
Copy Markdown
Member Author

Progress through f081270: Descriptor::mount now opens and fully reads both signed mappings, mounts only read-only SquashFS, and unwinds the root mount if configuration mounting fails. MountedGeneration::measure rechecks the live boot before the first PCR15 extension. Shared VerityMount owns mount-before-mapper teardown and explicit kernel-lifetime handoff; failed teardown retains protection. MountGuard supplies the existing mount primitive plus ownership transfer, without changing normal Drop behavior. Also moved TPM unseal output into a private workspace file, removed after zeroizing read, and consolidated software-TPM startup across fixtures. Production check, four software-TPM cases and three new real-kernel fixtures passed. The managed BIOS VM established rollback, handoff, read-only enforcement, dependent-mount retention, PCR15-before-unseal ordering and changed-boot rejection without extending PCR15. Its two combined TPM/kernel cases used private PID/mount chroots of the shared fixture image because Docker is absent in the guest; the Docker wrapper received syntax checks only. Returned-artifact hashes matched, and the VM was released. Touched mount-guard comments were cleaned up. Guarded bootstrap release, actual initramfs caller/root composition and FDE-only hardening remain unfinished; no feature activation or executable UEFI proof is claimed.

@helix-white

Copy link
Copy Markdown
Member Author

Added guarded bootstrap preparation at fe480e3. The internal start-fde-prepare applet reads a fixed authenticated-image descriptor, mounts/verifies signed filesystems, checks initramfs swap/core-dump conditions, measures PCR15 and decrypts a typed sealed snapshot into a private noswap RAM handoff. Workspace teardown precedes publication; error paths clean owned resources. Normal boot does not invoke the applet. Protection is scoped before handoff, not an OS-lifetime volume-key cache. The existing temporary-workspace owner now exports its base path instead of duplicating it; optional normal zram behavior is unchanged. Shared production check, two units, five software-TPM cases, an exec/core-limit case and four kernel cases passed. The two new kernel cases establish actual noswap/private publication, re-entry rejection and invalid-descriptor failure without a handoff/PCR15 extension; affected earlier mount cases also passed. Returned artifact hashes matched the managed BIOS VM; it was released. Guest Docker is absent, so kernel cases used private PID/mount chroots of the same fixture image; wrapper syntax was checked separately. Product-wrapper check is blocked by missing prebuilt ui/setup-wizard embed directories, not a new Rust error; no fake assets were used. Managed SSH initially rejected access and later accepted the unchanged alias; recorded on Helix #127. Root composition, generated FDE-only hardening/activation, full enrollment/UI/cache/writer integration and executable UEFI proof remain unfinished; this stays draft and disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Added isolated running/working root composition at 0920f51. Preparation now takes OS-volume and target-root mounts, builds the composed mounts before bootstrap release, and records the raw working-upper path. The running root uses immutable config/public lowers and its own RAM upper; the editable config-only view mounts inside the config bind with a distinct upper. Maintenance/current binds remain read-only. RootComposition owns reverse teardown through verified mapper lifetime and explicit handoff. OverlayFS options participate in mount identity without changing defaults; the working-filesystem owner centralizes snapshot-compatible options and replaces duplicated shell setup in the existing kernel fixture. Shared production check, two units and four real-kernel cases passed. Coverage proves working edits/native snapshot publication cannot alter the active lower/root view, public defaults and unsigned raw content do not enter the working snapshot, and composition failure removes resources before PCR15/publication. The remount capability probe initially failed because the mount command replayed filesystem options; the corrected flags-only nix syscall returns exactly EBUSY with an open writer, then makes the working mount read-only. No production quiescence guard has been selected yet. Returned artifact hashes matched; the managed BIOS VM was released. Full image build script is now read, and stock initramfs/provider sources were captured for the next audit; generated FDE-only integration/hardening is not implemented. Product-wrapper UI assets remain absent; executable UEFI/Secure Boot proof remains blocked. This stays draft and disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Added the reviewed initramfs control-plane transformer at 119d308. It pins the known generated init/scripts/configuration context and rejects changed/unknown inputs before mutation. Panic, break and independent alternate-init fallback cannot reach an interactive shell; the shared failure handler never falls through even if reboot returns. The fixed FDE route removes resume/live/keymap execution, runtime parameter sourcing and automatic /usr mounts; provider errors propagate through a terminal EXIT trap. Btrfs premount discovery runs after device readiness. Existing ordering is pruned rather than reimplementing dependency ordering. Twenty focused tests passed against captured generated sources under both dash and actual BusyBox, including failed/successful-returning reboot, provider failure, missing init, unchanged ordinary source, unsupported contexts and a symlinked executable entrypoint. Pinned formatting and shell syntax passed; no VM or unchanged Rust suite rerun was needed. Important limitation: this is not wired to image generation and does not complete the executable closure. Udev rules/helpers, copied tool dependencies and final archive verification still require audit/integration before signing or activating an FDE image. Ordinary initrds remain unchanged; the PR stays draft and FDE remains disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Extended the existing initramfs transformer at 3ba93db with reviewed udev-rule admission. It pins 13 known packaged rules (five optional), rejects changed/unknown rules and alternate rule locations before mutation, checks directory ancestors and canonical usr-merge, removes environment-selected removal commands and shell-based ibmveth naming, and preserves storage helpers and other interface naming. The pre-verification dispatch obligation is recorded in FDE.md. Shared input/context validation remains the owner; no parallel rule parser was added. Thirty-three focused cases passed, including real udevadm syntax verification and retained dash/BusyBox terminal cases; the optional/empty-alternate-directory case passed again after its extension. Pinned formatting, Node syntax and diff checks passed. No unchanged Rust suites or VM work repeated. The complete mkinitramfs and hook-functions sources are now read: hooks precede generated ordering, and there is no reviewed post-order extension selected yet. Important limits remain: helper/plugin/module-configuration closure and final archive verification are not done, packaged rules are not a capture of the complete production initrd, and no FDE image is generated or activated. The PR stays draft and disabled; managed executable UEFI/Secure Boot proof remains blocked.

@helix-white

Copy link
Copy Markdown
Member Author

Added module-command admission at 2891ea8 to the existing initramfs hardener. It uses the platform modprobe --showconfig operation, not a parallel configuration parser, to reject effective install/remove commands in normal configuration paths and generated modules.softdep/modules.weakdep. Configuration precedence, options, blacklists and dependency parsing remain unchanged. The query clears inherited command overrides; parser errors, symlinked inputs and ambiguous kernel directories reject before mutation. The contract requires matching libkmod semantics between the build query and copied runtime; helper/dependency closure and image integration still have to enforce that. All 47 focused cases passed against genuine kmod34.2 and the prior dash/BusyBox/udevadm fixtures; nine strengthened assertions then passed separately, proving command rejection rather than an unrelated failure. Pinned formatting, Node syntax and diff checks passed. The first test attempt exposed Node cp rewriting the fixture’s relative lib symlink; fixture copies now preserve symlinks verbatim, and that failed run is not counted as evidence. The configuration fixture uses an empty module directory: no kernel/module execution or boot proof is claimed. No unchanged Rust checks or VM work repeated. This remains draft and disabled pending helper/plugin closure, FDE-only packaging and final archive verification, plus the wider integration and managed UEFI proof.

@helix-white

Copy link
Copy Markdown
Member Author

Added private generated-archive provenance at 53fb2d7 after fully reading native unmkinitramfs0.148.4 C/source/docs/tests. Native extraction is not a sufficient final gate: the new regression demonstrates its listing omits an appended compressed CPIO archive. The helper instead compares native-generated prefixes and the complete decompressed main byte stream against private producer inputs, delegating gzip to zlib rather than implementing CPIO/compression parsing. Also established zlib stops at zero padding: explicit consumed-input checking rejects a compressed or raw tail hidden after padding, including across chunks. All 15 native CPIO/gzip data-archive cases passed; pinned formatting, Node syntax and diff checks passed. Prior transformer/Rust/TPM/kernel evidence is unchanged and retained; no VM or product rebuild repeated. Critical scope: these proof inputs must come from the same private, closure-audited native generation and remain stable through consumption. Public proof files cannot authorize an image; the helper does not establish arbitrary archive validity. Trusted-stream capture, helper/plugin closure and the post-order image-builder seam still require integration. No image is generated, signed or activated; this remains draft and disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Added private producer instrumentation at 418cb0d. Exact installed mkinitramfs/hook-functions0.148.4 contexts are required; system providers stay unchanged. The adaptation supplies the otherwise missing post-ORDER preparation boundary, retains native ordering/depmod/DSDT/microcode/file-list/CPIO/compression routines, and captures the native prefix/main streams with copy/tee and the existing failure-propagation mechanism. Captures are mode600/create-only, must live outside the generated tree, and reject reuse; unsupported compression and appended overlays fail. Source-context admission/replacement now shares one small owner with the transformer; capture filenames/order have one owner. Nine native packaging-tail cases passed, including the real transformer callback, stream provenance, provider preservation, re-entry, callback failure and both native capture-I/O failures. All47 affected transformer cases passed after the shared-owner extraction; pinned formatting, Node syntax and diff checks passed. Prior15 archive cases and unchanged Rust/TPM/kernel evidence are retained. Important limits: these tests execute the native packaging tail, NOT the full generator or a real product/kernel/firmware boot. The trusted preparation program still needs the complete executable/helper/plugin/early-stream audit and matching runtime providers. Full generation ownership, genuine product assets and managed UEFI proof remain unfinished. No image is signed/activated; normal initrds remain unchanged and the PR stays draft/disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Dependency tracing exposed a concrete diagnostic leak in the unfinished FDE primitives: tpm2-tss4.1.3 esys_crypto.c logs KDFa HMAC/session-derived keys at DEBUG. Fixed the common Workspace command boundary at 1d32951 to remove inherited TSS2_LOG, retaining default library diagnostics and existing transport/session behavior. Recorded the obligation in FDE.md and added a command-environment regression. Production check passed (3m08), optimized test compilation passed (6m08), the new regression passed, and all five software-TPM cases plus the isolated memory/exec case passed using the returned artifact. Pinned Rust/Markdown formatting and diff checks passed; the initial formatting-only gate was corrected before compilation. Unchanged producer/archive/kernel evidence is retained; no VM or product rebuild. Research also confirmed tpm2 is a multicall binary with package-owned aliases, and dracut-install106 resolves ordinary dependencies via ldd, not dlopen plugins; no duplicate dependency inventory or replacement resolver was introduced. Executable/plugin/early-stream closure and complete generation ownership remain unfinished. The PR stays draft and FDE disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Resolved the product-wrapper prerequisite with genuine UI builds, not placeholders: production start-os check (1m38) and optimized native startbox build (5m20) passed. The returned product binary (SHA256 10e530183fa810ad77bca9c5f70d4d869218c95880a752fd5c21edc9fd13ac67) rejected all three malformed FDE applet invocations. This is product compilation/dispatch evidence, not a full initramfs or firmware boot. The build-path audit also found four broken debug-profile fallback conditions and inherited BUILD_FLAGS affecting debug builds. Six product builders now use one normalized profile/flag owner; the existing recording-driver suite passed all 24 new selections, and shell syntax/diff checks passed. Recording drivers stop before cross-build execution. Root lock metadata was refreshed to match the local core manifest. The assertion for unexpected release flags was made explicitly fatal rather than relying on Bash errexit with negation. Latest pushed head aedaf0f; prior applicable Rust/TPM/kernel/archive evidence is retained. Full executable/plugin/early-stream closure and private generation integration remain unfinished; no image is signed or activated, and the PR stays draft/FDE disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Added the private-generation tools hook at 5e3e1b0. It directly reuses native copy_exec for the genuine product, verity helper, TPM multicall binary and ELF dependencies; the installed package owns the alias inventory, and the device-TCTI package explicitly supplies the dlopened provider. No replacement dependency resolver or duplicate Rust-tool inventory. The native copied-root fixture passed with the real startbox, verifier crypto success/tamper rejection, TPM aliases and device-provider loading against a deliberately absent TPM path; alias redirection, provider omission and missing-package rejection also passed. Source product/provider bytes stayed unchanged. The first expanded crypto run exposed an empty-/dev fixture gap; creating device nodes is restricted, so the final fixture binds standard kernel CSPRNG devices read-only, without simulated entropy, added capabilities, block mappings or TPM access. Pinned Markdown formatting and shell syntax/diff checks passed. Prior applicable production/TPM/kernel/transformer/archive evidence is retained. This hook is not installed into ordinary initramfs hooks and does not select boot transport, audit remaining plugins/early streams or constitute a complete generation/signing command. No image is signed or activated; draft/FDE-disabled status remains.

@helix-white

Copy link
Copy Markdown
Member Author

Closed the module-provider admission gap at 3f0df79. Copied modprobe and libkmod provider files must match their trusted native query sources byte-for-byte; provider links escaping the candidate reject before mutation. Inspection found Debian kmod34.2 links its internal library into the CLI, while udev dlopens the shared library (confirmed by native linkage and upstream build definitions). Admission therefore retains the native CLI query and adds the actual shared-library configuration view through its public read-only API, using a build-only Python standard-library ctypes bridge. It loads the admitted source library, never unadmitted candidate code. Both parser outputs feed the existing single external-command rule; native errors and inherited command/log overrides cannot bypass it. Requiring package versions to coincide was not used as a proxy for actual provider behavior. All54 affected transformer cases and all9 producer-tail cases passed, including missing/changed/escaping providers and native metadata/error reporting without executing configured commands. Pinned formatting, JS/Python syntax and diff checks passed; unchanged Rust/TPM/kernel/copied-root/archive evidence is retained. The configuration fixture now includes genuinely copied query providers but still has an empty module directory—not kernel/boot proof. Loader/helper/early-stream closure, full generation ownership and activation remain unfinished. Normal initrds are unchanged; draft/FDE-disabled status remains.

@helix-white

Copy link
Copy Markdown
Member Author

Added reviewed private native build-hook sources at 782c4d6. The adapted producer no longer invokes the global build-hook directory; its caller supplies the source set admitted before hook prerequisite/body execution. Unknown/changed/missing/non-executable contexts reject, known credential/resume/keymap/FUSE hooks stay out, and source providers remain unchanged. Native dependency ordering and microcode firmware selection/CPIO production are retained. Private Intel/AMD copies make missing helpers, unsupported kernels and generation/append failures fatal; the AMD package timestamp remains integer metadata, not rollback policy. Fourteen source-hook tests, all56 affected transformer tests and all9 producer-tail tests passed. Genuine Intel/AMD firmware plus iucode_tool/cpio produced native data archives; actual failed append, unsupported-version and missing-helper cases rejected in the existing unprivileged fixture image. No firmware upload, kernel execution, added capabilities or fake product/kernel/PE artifacts. The actual native hooks exposed two missing admission contexts: dmsetup copies 95-dm-notify.rules and udev can copy 71-seat.rules; both are now pinned/retained with drift and optional-absence regressions. Pinned formatting, syntax and diff checks passed; prior unchanged evidence is retained. Important remaining boundary: runtime-script prerequisite bodies, helper binaries and firmware inputs also need admission before execution/capture. This is not a full early-writer/loader audit or complete generation command. No image is signed/activated; ordinary initrds stay unchanged and this remains draft/FDE disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Added original runtime-source admission at be7a28d. The source check and generated-tree hardener share the same context implementation/list; no parallel source hashes, copied replacement tree or override/ordering algorithm. It checks original shared/private providers, requires the global functions source and refuses generated ORDER data as original source. A separate required FDE_ADMIT_RUNTIME stage runs before the native producer first sources functions or configuration. The late completed-tree callback cannot protect that earlier execution boundary; the installed source callback checks the actual source namespace and private configuration directory. Ten focused source/boundary cases, all56 affected transformer cases, 14 source-hook cases and all9 producer-tail cases passed. Tests use genuine captured providers plus controlled boundary sentinels, not product/kernel stand-ins or full generator proof. Pinned formatting, syntax and diff checks passed. Unchanged Rust/TPM/kernel/product/copied-root/microcode/archive evidence is retained. Source/candidate stability remains the generation-owner obligation. Helper/firmware/configuration admission, full loader closure, complete private generation ownership and executable UEFI proof remain unfinished. No image is signed or activated; ordinary initrds remain unchanged and the PR stays draft/FDE disabled.

@helix-white

Copy link
Copy Markdown
Member Author

Extended pre-source admission at 228a0ef to native main/shared/private/package configuration and the actual hook-functions provider. Generated configuration reuses its existing context owner; native hook-functions validation is shared with producer adaptation. Two genuine package conf-hooks contexts (BusyBox and cryptsetup, both assignment-only) are pinned before evaluation. The single source callback is now FDE_ADMIT_SOURCES / fde-admit-initramfs-sources.mjs; no extra callback phase, replacement tree, configuration parser or precedence algorithm. Every supplied fragment needs a reviewed context, including a masked shared fragment; native selection stays unchanged. All25 source cases passed, including changed/unknown/symlinked configuration and original hook-functions, optional absence and a configuration write sentinel blocked at the native pre-source boundary. All56 affected transformer,14 hook and9 native packaging-tail cases passed; pinned formatting, JS syntax and diff checks passed. These are source/component fixtures, not full generator/boot proof. Unchanged product/Rust/TPM/kernel/copied-root/microcode/archive evidence is retained. Helpers, firmware, remaining inputs/loader closure and complete generation ownership are still unfinished. Ordinary initrds remain unchanged; draft/FDE-disabled state remains and nothing is signed or activated.

@helix-white

Copy link
Copy Markdown
Member Author

Bound bootstrap preparation to the local TPM at d5ebe03. The signed FDE mount route waits up to30 seconds for /dev/tpmrm0 using native udevadm wait with initialized=no (TPM nodes need not have udev database entries), then supplies device:/dev/tpmrm0 only to the preparation command. Failure terminates before release; the parent environment and shared software-TPM consumers remain unchanged. The private tool hook requests the whole kernel TPM driver family using native manual_add_modules; native dracut dependency/firmware handling and udev modalias loading remain authoritative, with no private driver list or probing algorithm. All61 affected transformer/shell cases and9 producer-tail cases passed. Scoped shell cases record readiness and inspect the command environment rather than substituting product boot proof. A native zero-timeout absent-device case passed. The genuine copied-root product/tool fixture passed, including the actual native module-collector request and real environment-selected device-provider loading/error/omission checks. It does not copy/load kernel modules or access a TPM; actual kernel/firmware execution still needs the complete genuine target and managed fixture. Pinned formatting, shell syntax and diff checks passed; unchanged Rust/software-TPM/kernel/source-hook/archive evidence is retained. Helpers/firmware/loader closure and full generation ownership remain incomplete. Draft/FDE disabled, ordinary initrds unchanged, nothing signed or activated.

@helix-white

Copy link
Copy Markdown
Member Author

Added genuine-kernel TPM dependency-copy coverage at6aa3ebb99. Downloaded the completed master44a6f80 x86_64 SquashFS artifact (same base as this PR); archive SHA-256 matches its GitHub artifact digest. It supplies a real kernel7.2.12+deb13-amd64 and complete module/metadata tree, replacing the empty-directory limitation for this component. Unprivileged extraction returned2 because nine /dev character nodes could not be created; no privileged retry or fabricated devices. The retained image and extracted regular-file inputs remain genuine, not executable boot proof. Original runtime/configuration/hook-function source admission passed directly against that image. New unprivileged fixture runs the production tool hook and actual native collector/dracut dependency copier, checks all12 copied TPM modules byte-for-byte, then uses genuine depmod/modprobe metadata operations to resolve modular ST33 core/I2C dependencies. All passed; sources retain their hashes. No module insertion, kernel execution, TPM, added capabilities or VM. Existing immutable tool image was reused; no product or image rebuild. Pinned Markdown formatting, Bash syntax and diff checks passed; unchanged earlier evidence retained. Complete helper/firmware/loader closure and generation ownership remain unfinished. PR stays draft/FDE disabled; no signing/activation.

@helix-white

Copy link
Copy Markdown
Member Author

Closure investigation checkpoint (no source change): native dracut-install -L is not a sufficient provenance authority: it records source paths rather than full source/destination mappings, and append errors are logged without making copying fail. I am not adding a parallel copy ledger or treating those logs as signing evidence. Read-only inspection of the authenticated base ordinary initrd found330 regular ELF entries:62 match the same source path,264 are genuine BusyBox applet bodies and4 are genuine klibc relocations; no unmatched body in that inspection. Native readelf on the admitted source providers found only the standard systemd RUNPATH among these bodies. This is ordinary-image research, not FDE closure or complete-archive proof. Native extraction initially failed because zstd was absent on the host PATH, then succeeded with the genuine target zstd provider; no target code was run to establish its own trust. Next is enforcing the authenticated stable source namespace and same-private-generation handoff in the complete owner, not broadening trust from independently supplied manifests. Managed executable UEFI proof remains blocked on Helix#122 (open, no comments).

@helix-white

Copy link
Copy Markdown
Member Author

Added the private archive-lifetime owner at90cc8a04b. Existing producer and verifier components accepted independently managed paths; withPrivateInitramfs now creates one fresh0700 archive/capture workspace, runs trusted production, verifies its own captured streams, then finishes consumption before removing the workspace. Cleanup runs on success and producer/verification/consumer failures. Capture paths go only to production, not to an independently supplied public proof manifest. The simpler raw-path return would lose this consumption/cleanup lifetime. Source/closure admission and joined writers remain explicit trusted-producer obligations; this is not an authenticated-source factory or complete generation command. All13 native packaging/private-scope cases passed, including real native data-archive generation, mismatch before consumption, return-value propagation and cleanup after each failure boundary. Pinned formatting, Node syntax and diff checks passed; unchanged earlier evidence retained. No full generator, kernel or firmware executed; no image signed/activated. Draft/FDE disabled and ordinary initrds unchanged. Next is the complete source namespace/closure caller using this owner.

@helix-white

Copy link
Copy Markdown
Member Author

Reused the existing packaged Node runtime atf7997870a. The genuine public container-runtime image already contains Node20.19.2; Node24.2 was needed only for import.meta.main entrypoint detection. The shared hardening/source-admission implementation now lives in fde-initramfs-control.mjs and a small same-path CLI wrapper imports it. No duplicated rules, custom main-module detector or extra Node distribution; symlink CLI behavior remains. The genuine packaged runtime passed3 import/real-CLI/drift cases,15 archive cases and13 native packaging/private-lifetime cases in a read-only source namespace. Initial fixture failures identified Debian externalized builtin files at /usr/share/nodejs and a missing initramfs-tools share after composing that namespace; both are supplied from their genuine sources. Node20 can report an early stream abort for gzip padding; rejection remains fail-closed and tests accept the native rejection outcome rather than demanding one Node-version message. The production archive verifier is unchanged. Node24 passed all61 affected transformer/shell,25 source-admission and15 archive cases. Pinned formatting, syntax and diff checks passed. No package downloads, runtime/image rebuilds, kernel execution, TPM or VM; genuine runtime bytes came from the already-retained authenticated base image. Complete on-device source namespace/closure and generation integration still remain; this does not install Node in initramfs. Draft/FDE disabled, ordinary initrds unchanged, no signing/activation.

@helix-white
helix-white force-pushed the feat/tpm-attested-fde branch from 49a5377 to 19e8816 Compare November 12, 2026 19:00
@helix-white

Copy link
Copy Markdown
Member Author

This conflict notice references the superseded 9e2ca7c head. Fresh fetch/forge inspection shows c14bf24, with current master e8c4648 already an ancestor. git merge-tree --write-tree origin/master origin/feat/tpm-attested-fde exits0; GitHub reports MERGEABLE and the worktree is clean.

The earlier mount-syscall conflict was resolved in the existing normal merge c14bf24, preserving pinned-FD IDMAP and atomic private-path cloning through the shared syscall owner; its verification is recorded in the implementation response. No new merge, source change, retest or review request is warranted by this stale notice.

PR remains draft/incomplete, protected boot disabled and dr-bonez the sole requested reviewer. No further Red request, final handoff or merge. The separate scheduled software continuation remains responsible for unfinished dependency-pin/lifetime work; this notice does not consume or duplicate it.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Pushed b320e8b to extend the existing signed public-source retention owner.

  • Running and selected-next releases are no longer its only inputs: every native stored image and every recognized published-generation rootfs independently retains matching public sources. This covers stored private repacks through metadata without granting public execution trust. Offline reuse still requires current OS signer policy and complete signed bytes.
  • The existing generation layout owner supplies nonmutating namespace discovery. Ordinary absence stays absent; redirected ancestors, bad file types, unknown entries and uninspectable image metadata stop pruning before any cached source is unlinked. Recognized unpublished staging directories are excluded from published inputs, allowing an active preparation to perform native space admission under its existing lease.
  • Native image deletion now re-evaluates source dependencies before checking capacity again. Otherwise the newly retained public hardlink can outlive its last image name, free no space and make the loop fail despite reclaimable source storage. The actual script/cache/lease owners remain shared; no new marker, codec, authority or sweep was added.

**Executed:**31 distinct Rust bodies (27 filesystem/command +four actual current/legacy product maintenance cases),187 distinct CI-tooling bodies; native unit3m51/control3m26/dual release4m46, fresh UI/setup manifests/CLI3.0.0, formatting/image-input/version/diff/merge checks pass. All three predecessor retention controls fail as expected. The capacity-order case passes.11s; restoring the old loop fails.10s with Not enough space and nothing to prune. That case controls the capacity observation and proves real image/cache-alias ordering—not measured free space or erasure. Gzip/Zstd fixtures, real signatures, public-source policy rechecks, independent retirement and active staging run without privileged mounts or a VM.

The restart followed completed verification; artifacts, restored control inputs and working state were checked rather than rebuilding. Current masterf8d83990b merges cleanly, so no unrelated base integration was needed. Existing kernel/generated/consumer evidence is reused where unchanged; the SDK5 consumer migration remains known-red. No b213 reacquisition/reassembly, current containing-image or firmware proof.

This is still not complete FDE. Original boot-path pins, complete recovery/private-repack/active-reader source lifetimes, all reader/writer/device/mount exclusion through a writable MainData reclamation interval, configured closure/signing/publication/activation/cancellation/lifecycle and firmware/UI obligations remain unfinished. No backing sweep, erasure or activation receipt. The boot-selection and transfer-signing decisions remain unanswered. Canonical/copies/live summary synchronized after condensing repeated history; draft/protected boot disabled/dr-bonez only, no further Red request or final handoff.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Pushed 7829f9d: protected-generation selection and mounting no longer depend on the ordinary image filename surviving publication.

  • The unpublished descriptor artifact is now version2, carrying the exact rootfs SHA-256 digest and existing manifest/policy keys. for_generation derives that digest from the prepared manifest; policy staging rejects a different rootfs. V1 artifacts reject rather than silently fall back. Existing Rust image-directory parameters remain call-compatible but no longer select the bytes.
  • The existing generation verifier owns digest/key/content/verity/order admission. Both boot mounting and public-provider mounting open the generation-owned rootfs. A different rootfs signed by the same key remains ineligible; replacing or deleting the legacy name cannot redirect the admitted bytes. Public-source provenance still requires its independent OS-trust owner—configuration signing does not grant it.
  • The existing verity mapping owner supplies its actual image pathname to the private RAM boot context. Later protected capture reuses that context-owned source and checks the observed manifest digest, instead of reconstructing a legacy basename. Handoff deletion/daemon restart retain those noncredential facts.

**Executed:**28 meaningful Rust bodies (23 file/command, software-TPM compatible selection, mandatory memory protection and three managed-kernel cases), plus four actual Node descriptor cases; the Rust archive wrapper is excluded. Kernel mapping/unseal.85s, RAM handoff/working republish.97s and genuine public-provider mount50.76s pass after legacy unlink. Omitted-digest control fails.18s; the actual b320 predecessor with the equivalent unlink fails.27s on the missing original name. Unit5m04/digest-control3m57/legacy-control4m04/native dual release6m19 pass,7known warnings/fresh UI/setup manifests/CLI3.0.0. A fixture-only3m49 rebuild reuses unchanged production release proof. Format/image-input/version/diff/merge checks pass; unchanged generated/consumer evidence reused, known SDK5 consumer migration still red.

Native setup exposed missing canonical verified RAM, shared /tmp/tpm across selected cases and an obsolete six-field assertion. The exported-root wrapper now provides fresh per-case RAM/mount namespaces, joins TPM/broker children, rejects leftover fixture mappings after success and retires only newly created root/config mappings after failure. The deliberately failing post-handoff case verifies cleanup (.95s), not an extra pass. An earlier failed fixture's two owned mappings were explicitly retired before retry. Final guest boot-id/installed binary/mapping/loop/mount/swap inventories match baseline; owned uploads removed and lease released. No binary installation, b213 reacquisition/reassembly/current containing-image or firmware proof.

Count correction: the c14 rootfs-retention report included the Rust wrapper around four Node descriptor tests. Its comment and summary now say 68 meaningful Rust +four Node, not69Rust; no verification was rerun or newly claimed for that correction.

This remains the incomplete full feature, not an interim release: recovery/private-repack/active-source dependencies and reader/writer/device/mount exclusion through writable MainData reclamation, configured closure/private signing/durable publication/EFI activation/cancellation/lifecycle/firmware/UI remain unfinished. No backing sweep, erasure or activation receipt. Boot kernel/arguments and destination-signing policy questions remain unanswered. Canonical/copies/live summary synchronized after condensing repeated history. Draft/protected boot disabled/dr-bonez only; no further Red request or final handoff.

…etirement

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Pushed 38d1df1, then separately integrated master d10acf7 in 29c372e. This closes two concrete native storage-lifetime gaps found while tracing FDE reclamation prerequisites; it does not complete or enable reclamation.

  • TmpMountGuard::reserve_unmounted retains the existing slot lock while checking strict native mount metadata. Residual mounts at the cached target or beneath it now prevent deletion admission even without a live Rust guard; inspection errors reject. Shared-volume and local backup-target removal reuse that owner.
  • Shared-volume removal already owns its worker. Backup-target removal now uses the existing complete_owned_operation through physical deletion and catalog commit, retaining its reservation after requester cancellation while the runtime lives. This does not survive daemon death, runtime shutdown or reboot.
  • Recorded the boundary at the native owners and in FDE/core documentation: the private runtime credential view remains writable. RootComposition protects its dependent mount teardown, not those contents. Cache reservations do not cover independent aliases, retained directory/file handles, other namespaces or all MainData writers. The collected FDE union remains ephemeral; no frozen MainData deletion, thaw-and-stale-snapshot sweep, erasure or activation receipt was added.

Executed: 66 distinct meaningful Rust bodies:65 unprivileged/file bodies plus one exclusive-guest kernel body. The kernel case tests uncached direct/descendant/invalid-byte mounts, source preservation and exclusion of new cached admissions (.02s); the old Rust-only gate fails (.00s). Real directory deletion with a paused database commit retains the reservation after requester abort; the unowned-operation control fails (.05s). Ignored SMB/Btrfs/kernel cases and repeated prerequisites are not passes.

Initial unit build 3m47, control 3m20, dual release 4m33. A formatter-chain mismatch in the control script interrupted setup after the successful units; fixed the script and resumed controls without repeating those tests. After integration, affected source/CIFS/backup-policy cases pass:28 executions include16 already counted plus12 additional CIFS bodies. Merged unit 3m16/dual release 4m46,7 known core warnings, fresh UI/setup manifests,CLI3.0.0. The sole merge conflict was architecture prose; retained both root-owned/container-nobody CIFS and storage-reservation contracts. Unchanged plain-bind kernel evidence is reused; this is not a new native SMB ownership test. Formatter/image-input/version/Bash/diff/merge checks pass. No DTO surface changed; existing generated/consumer proof remains applicable and SDK5's previously recorded hello-world failure remains unresolved.

The guest's boot-id, installed binary, mappings, loops, mounts and swap match baseline; uploaded fixtures were removed and the lease released. No VM/build/external operation remains held. No b213 acquisition/reassembly or current containing-image/firmware proof was claimed. Canonical/copy/live brief updated together, with repetitive historical evidence condensed.

Still OPEN/DRAFT, full feature incomplete, protected boot disabled. No Red re-request, final handoff or merge. Next work remains complete recovery/private-repack/active-source dependencies and exclusion spanning a genuinely writable MainData reclamation interval. The boot-profile and destination signing-policy questions remain unanswered; neither is inferred here.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Pushed 38abd75: prepared publication no longer depends on reopening the original rootfs pathname.

Tracing staging/recovery showed that PreparedGeneration already owns independent copied rootfs/configuration images, but publish still hashed its stored original rootfs path. Replacing or removing that original after successful preparation could therefore reject publication of intact retained bytes. Publication now uses the rootfs digest captured in its signed prepared manifest and the existing complete signature/digest/verity verifier; the unnecessary original-path field is removed.

The API/FDE contract explicitly separates the lifetimes: original rootfs paths may retire after preparation, staging stays stable through publication, and referenced private backings stay retained through every dependent use. This does not shorten the coordinator's image-store lease or authorize backing sweeping. Current capture owns that lease through preparation/disposal and recovers abandoned staging before admitting new preparation; public-source workers inherit it through teardown. RootComposition mount teardown and the writable private runtime view still do not provide global backing-content exclusion.

Executed:19 distinct Rust file bodies. The new regression publishes after original rootfs/configuration replacement and, separately, complete source-workspace removal, while verifying retained image bytes, signature/verity selection and unchanged captured configuration. Existing missing/redirected/changed staged-rootfs cases still reject. Publication coherence, recognized staging recovery, generation-first/fresh-backing disposal and descriptor callers pass. The actual29c predecessor production file fails the new regression at publication with Invalid Signature (.10s); its failed first branch is a control, not an extra passing body.

Unit build 5m09, predecessor control 4m02, dual release 5m14,7known core warnings, fresh UI/setup manifests and CLI3.0.0. Native formatter/image-input/version/diff/merge checks pass. No DTO or mounted-kernel behavior changed: applicable existing generated/consumer/kernel proof is reused; known SDK5 hello-world failure remains recorded. No VM, b213 acquisition/reassembly, current containing-image or firmware proof was needed or claimed. Temporary control sources were restored before release; no build/VM/external operation remains held.

Canonical/copy/live description synchronized after condensing older evidence. Still OPEN/DRAFT/incomplete/protected boot disabled. Full recovery/private-repack/active-reader dependencies and reader/writer/device/mount exclusion across a writable MainData reclamation interval remain unfinished; no frozen deletion, thaw/stale-snapshot shortcut, sweep, erasure or activation receipt. No policy inference, Red re-request, final handoff or merge.

@helix-white

Copy link
Copy Markdown
Member Author

Traced the native unlock/import/init ownership at 38abd75. No code change or reclamation sweep in this pass.

  • disk::main::import_with_keys accepts already-mounted RW Btrfs targets by current device identity and returns directly when both are present. Cached root-keyring authority can survive daemon restart. Neither condition proves a fresh, unexposed data filesystem.
  • The fresh branch mounts both LVs at global DATA_DIR paths through mount_all_with_credential; its return value is RequiresReboot, not a retained reader/writer/device exclusion owner. The password/import and read-only migration callers share those native mount owners.
  • init::init then binds the writable private runtime view before preinit, database and ordinary networking setup. disk::main::unmount_fs retires that view during normal MainData teardown. Moving reclamation before mount_runtime alone would not establish exclusion: the underlying mount is already globally visible, and restart can reuse it.
  • RootComposition::persist/MountedGeneration::persist transfer mount protection to the boot/kernel owner; a Rust cache-guard count cannot account for that lifetime. Existing image-store serialization does not cover all MainData credential writers, aliases and retained handles. Migration's deactivate is used for its separately imported old read-only tree before destination initialization; I found no reachable runtime-view leak there and made no speculative patch.

@dr-bonez: which availability contract should backing reclamation use?

  1. Live enable/commit may enter a maintenance interval that pauses ordinary services/network, with owned restoration before normal operation resumes.
  2. Live enable/commit must remain online; reclamation needs an enforced online reader/writer ownership scheme instead of a maintenance pause.
  3. Physical reclamation may wait for a separately requested exclusive maintenance/restart window; live commits retain obsolete space until then and may reject for insufficient space.

These are product/availability alternatives, not implemented or proven exclusion mechanisms. I have not assumed a cold-boot-only policy, added an import-freshness receipt, deleted frozen MainData, or used a thaw/stale-reference shortcut. Every option still requires the complete recovery/private-repack/active-reader graph and writer/device/mount lifetime proof before deletion. The existing boot-profile and destination-signing decisions also remain unanswered.

Recorded the availability question in the provisional description, preserving its contracts, evidence links and metadata. No builds, tests, VMs, reruns, review requests, final handoff or merge. PR remains OPEN/DRAFT/incomplete/protected boot disabled. Software wake997d114e is consumed by this investigation; no replacement software timer is scheduled while this decision is requested. CI notices remain independently owned.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Merged current master f6491f8 into the FDE branch in 3b20de0; Git's merge-tree confirms the repaired head is conflict-free. No force push or separate feature implementation.

The sole conflict was the SSH test module. Preserved master's reauthorization/update-in-place and failed-sync retry tests and the FDE host-key query/stdin/native-byte/private-key truncation tests. Automatic merges retain master's public PatchDB SSH-key intent/migration/initialization and generated schema/MCP changes, plus the FDE native query boundary (absolute executable, cleared environment, null stdin and deadline) and in-place private-key write semantics. Also integrated the base's range/domain renumber correction, undeclared action-input stripping, artifact pagination retry and RISC-V setup changes without choosing any FDE policy.

**Executed:**50 distinct scoped Rust bodies (SSH, same-version SSH/range migration, host/range/reassignment, bootstrap credentials and transfer authority);46 Jest cases across4suites;289 UI Node logic cases including SSH-key subscriptions and6artifact-pagination Node cases. Four man-page export wrappers, zero-match exver output, four i18n prerequisites and ignored native cases are not additional bodies. DNS/image-input/version/formatter/diff checks pass.

Actual production handler bindings, MCP catalog and man pages regenerate without drift. Rebuilt core/SDK, SDK typecheck, UI/setup typechecks, container-runtime typecheck and both native OS binaries pass. Verified the returned SDK's bundled input-validator owner checksum against the tested core build. The previously recorded SDK5 hello-world TS2554 migration remains unresolved; no new successful package-consumer claim. Existing native SSH/kernel evidence is applicable because those production paths are unchanged; no VM/current-image/firmware journey was run or claimed.

Unit build4m54; export recipes7m21/7m27; dual release5m13,7known core warnings, fresh UI/setup manifests, CLI3.0.0. Initial formatting met a missing cached Prettier prerequisite; normal dependency setup and the final formatter pass resolved that setup failure. The verifier's sourced test environment exported PROFILE, so Make selected release for export recipes; no compiler/toolchain/profile override was introduced to repair the merge. Unchanged dependency manifests/lockfiles retained their existing tooling audit findings; no breaking audit autofix applied.

Canonical/copy/live description synchronized after condensing historical evidence. Still OPEN/DRAFT/incomplete/protected boot disabled. No sweep/erasure/activation receipt, final handoff or merge. Availability question7028580148, boot-profile selection and destination-signing decisions remain unanswered. The established exhausted cross-review limit/no-more-Red direction remains in force, so no additional Red round was requested; existing findings remain binding and dr-bonez remains the sole requested reviewer. This base repair is not a policy answer or permission to ship. No VM/build/unfinished external operation remains held; no new software timer while awaiting the human choice.

Preserve FDE and registry translations in all five dictionaries. Regenerate RPC bindings from the combined handlers, keeping the removed server registry proxy absent. Adapt FDE public-source acquisition to the shared backend registry client used by OS updates, preserving independent signed-source admission.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Merged current master 95d728e in 0055e11, pushed normally without rewriting history. git merge-tree --write-tree confirmed seven real conflicts before the repair and succeeds afterward.

  • Combined all five dictionaries, preserving both FDE and registry text with matching unique IDs, including the exact acknowledgment: “After every restart, your server and its services will remain offline until you unlock it with your password.”
  • Regenerated the conflicted RPC files from the actual combined handlers. FDE endpoints remain; master's removed server registry proxy stays removed. MCP/manpage generation matches the integrated sources.
  • Resolved the related semantic conflict: FDE public-source acquisition referenced the removed proxy adapter. It now uses the existing backend registry client used by explicit-source OS updates, retaining the selected registry, canonical version/platform parameters, current OS-signer policy and complete-byte verification. This introduces no transport, public execution authority or unlock-time registry lookup.

Executed through the native cache-backed recipes: 103 distinct start-core test bodies, RPC/reflection feature matrices, 49 Jest cases in four suites, all web RPC/state/i18n/typechecks, SDK/runtime checks, image-input checks, and both StartOS release binaries. Checked the returned SDK's bundled validator checksum and fresh raw/static UI/setup asset manifests; bundled CLI reports 3.0.0. Unit compilation 12m15, canonical generation 12m10, release 11m02; seven known core warnings and the existing setup bundle-budget warning remain. Ignored native/live cases, export wrappers, zero-match runs and repeated feature/i18n executions are not extra test bodies. No new external-package consumer success or firmware/containing-image proof is claimed.

PR-delta whitespace/format/version checks pass. Whole-staged whitespace checking flags unchanged upstream WRT patch context; those patches are preserved verbatim. The brief was condensed and synchronized with its local copies. No VM was needed or acquired.

This remains draft/incomplete, protected boot disabled. The reclamation-availability question in #4685 (comment) remains unanswered; this integration chooses no availability, boot-profile or destination-signing policy. The established exhausted-round constraint remains in effect: no additional Red review round, final handoff or merge; @dr-bonez remains the sole requested reviewer.

Preserve FDE enrollment and unlock text while assigning matching IDs to the four command-line sign-in strings across all five dictionaries. Preserve automatically merged auth, limiter, generated-contract and SDK validation changes without introducing additional FDE behavior.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Merged master 09b0eee in 14ecaa6, without rewriting branch history. git merge-tree --write-tree confirmed five real dictionary conflicts before resolution and succeeds afterward.

Preserved existing FDE and registry copy/IDs, including “After every restart, your server and its services will remain offline until you unlock it with your password.” Master's four CLI sign-in strings now use matching IDs1330–1333 across all five dictionaries. Automatically merged auth-key/token commands, off-lock password verification and snapshot checks, loopback rate-limit separation, Tunnel client-address handoff, shared i18n map selection and SDK empty-text rejection remain intact. No additional FDE implementation changes were needed.

Verification through native cache-backed recipes passed:

  • 26 distinct Rust test bodies covering password/admission policy and redaction, replacement-hash rejection, auth metadata, rate limits, FDE locked/enrollment paths, account identity preservation, and actual Tunnel socket/address handoff. Two ignored native cases and four manpage export wrappers are not counted.
  • Actual-handler bindings, MCP catalog and manpages regenerate without drift from the automatically merged files.
  • 85 Jest cases in six suites, including SDK empty-text/pattern/acknowledgment validation and FDE enrollment/unlock. All web RPC/state/i18n/typechecks and rebuilt SDK/runtime checks pass; the returned SDK bundles the tested core validator.
  • Both StartOS release binaries and fresh UI/setup raw/static asset manifests pass. The actual bundled CLI exposes auth key add and auth token list, rejects removed auth session with exit2, and reports 3.0.0. Unit compilation12m52, generation10m10, release7m58; seven known core warnings and Angular CommonJS/bundle-budget warnings remain.
  • Formatting, image-input, product versions, PR-delta whitespace and merge checks pass. No dependency-install drift; Cargo.lock's Tunnel1.6.0 change comes from master. Unchanged RPC/reflection and privileged FDE evidence is reused, not rerun or recounted. No external-package consumer success or firmware/containing-image proof is claimed.

The condensed brief and its copies are synchronized. No VM was needed. This remains OPEN/DRAFT/incomplete/protected boot disabled; reclamation-availability question7028580148 and boot-profile/destination-signing policies remain unanswered. No new policy, destructive backing sweep, activation or interim shipment is authorized. The established exhausted-round/no-more-Red constraint remains in force; @dr-bonez remains the only requested reviewer, without a new final handoff or merge.

Preserve the expanded NUT command handlers and RPC-only FDE registration. Adapt public OS-source fixtures to the new RegistryAsset public defaults, and verify the established FDE MCP exclusion through the actual runtime tool policy. Keep generated contracts and existing lifecycle ownership intact.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Resolved the confirmed src/lib.rs conflict and merged the notified master a58eb56 in 8e4f5ce, with a normal push/no history rewrite.

  • Preserved master's NUT CLI handlers and the FDE registration. The broader CLI expansion does not expose FDE initiation: the established RPC-only CLI boundary and MCP exclusion remain intact.
  • Adapted the two affected public OS-asset fixture constructors to the new RegistryAsset fields (private: None, no readers). Production source trust, full-byte verification and retention ownership are unchanged.
  • Extended the existing runtime MCP server test to assert that server.fde.begin-enable is withheld while server.fde.status remains visible. This checks the actual shared tool policy, not a parallel exclusion list.

Native cache-backed verification:

  • 73 distinct Rust bodies pass: CLI descriptions/exposure, NUT, FDE input policy, signed-source/current-policy retention, whole-body HTTP verification, GPT sector layouts, shared-volume and backup deletion/admission—including requester-cancellation ownership—and the runtime MCP policy. Ignored privileged/shell fixtures and manpage export wrappers are excluded; no successful test bodies were unnecessarily rerun.
  • Canonical actual-handler bindings/MCP/manpages regenerate without drift. 62 Jest cases/five suites, all web RPC/state/i18n/typechecks and rebuilt SDK/runtime checks pass, including the changed health-check cancellation and subcontainer execution callers. The returned SDK bundles the tested core validator.
  • Both StartOS release binaries/fresh UI+setup asset manifests pass. Actual CLI help exposes NUT/effect commands and rejects server fde with exit2; bundled CLI3.0.0. Unit10m04, test-only MCP rebuild7m50, generation14m16, release8m15; seven known core warnings plus existing frontend budget/CommonJS warnings remain.
  • Initial compilation caught the second asset fixture's missing fields and was corrected. A static-catalog assertion was also corrected: the catalog intentionally includes withheld methods; the runtime policy filters them. This was a verification mistake, not an MCP exposure leak. The new runtime regression passes.
  • The continuation completed its application checks/builds, then its generic captured-tree whitespace gate flagged unchanged upstream-generated manpages. The PR-delta whitespace check passes; upstream generator output is preserved. Formatting, image-input and product-version checks pass. The root dependency/lock removal is inherited from master, not installation drift.

Master advanced during verification to 92b6760; native merge-tree against that latest base is also clean. Its unrelated restore fix is not claimed as part of the executed a58 integration snapshot. No VM, external-package consumer success, authenticated containing-image or firmware proof is claimed; unchanged privileged evidence is reused.

Brief/copies are synchronized. PR remains OPEN/DRAFT/incomplete/protected boot disabled. Availability question7028580148 and boot/destination-signing decisions remain unanswered; no backing sweep, activation, policy choice, interim shipment or final handoff. The exhausted-round/no-more-Red constraint remains in force; @dr-bonez remains the sole requested reviewer.

Preserve existing FDE and registry dictionary IDs and add the new Get help string consistently across all five languages. Retain automatically merged restore-account, registry base-URL, SDK watch/cancellation and sanitized-rendering changes without additional FDE behavior.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Merged master 55d207b in 5adaf71, preserving both branches without rewriting history. Native merge-tree confirmed five dictionary conflicts before repair and succeeds afterward.

The five dictionaries retain every existing FDE/registry string and ID, including “After every restart, your server and its services will remain offline until you unlock it with your password.” Master's Get help string now uses matching ID1334 in all languages. Automatic restore-account, registry base-URL, SDK watch/cancellation and sanitized-rendering changes remain intact. No additional FDE implementation, CLI/MCP exposure or policy change.

Verification passed through native cache-backed recipes:

  • 12 distinct Rust bodies: restore password/hostname/CLI policy, registry base-URL selection, account identity/backup compatibility and copied-volume authority reset/source preservation.
  • 125 SDK Jest cases/seven suites, covering FileHelper watch retry/backoff, abort-aware delays/context exit, daemon/health lifetimes and subcontainer execution/stdin. Core and SDK rebuilt before all web RPC/state/i18n/typechecks and runtime checks; the returned SDK includes the tested core owner and newly built watch/daemon modules.
  • Both StartOS release binaries and fresh UI/setup raw/static asset manifests pass. Unit11m44/release11m22; bundled CLI3.0.0. Seven known core warnings and existing frontend CommonJS/2.94MB budget warnings remain. Formatting, image-input, product-version, PR-delta whitespace and merge checks pass; no dependency-lock drift.
  • RPC method trees, DTO schemas, generated bindings/MCP catalog and manpages are unchanged in this integration. Their successful canonical-generation and FDE CLI/runtime-MCP boundary evidence from8e4f5ceb0 is reused rather than rerun. No new external-package consumer, authenticated containing-image or firmware proof is claimed.

The prior Helix process restart interrupted compilation before test results or requested artifacts were returned. I inspected its surviving log, merge state and current forge state before resuming; the resumed foreground verification completed successfully. The interrupted invocation is not counted as a pass. No VM was needed or acquired.

The near-limit brief was condensed and synchronized with its copies. PR remains OPEN/DRAFT/incomplete/protected boot disabled. Reclamation-availability question7028580148 and boot/destination-signing decisions remain unanswered; this repair chooses none, adds no backing sweep and authorizes no activation/interim shipment/final handoff. The established exhausted-round/no-more-Red constraint remains in force; @dr-bonez remains the sole requested reviewer. No resource or unfinished operation remains held.

Preserve FDE dictionary IDs, append synchronized-status translations, and regenerate RPC contracts from the combined handlers. Extend the existing PatchDB mutation-pause test to cover mutable subscription/reprojection liveness and resumed revisions without adding reclamation or activation behavior.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Preserve the storage reservation and requester-cancellation contracts alongside collision-free recovered names. Regenerate the combined shared-volume schema documentation and verify naming/migration callers without changing FDE policy.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
Retain FDE limiter visibility, pending-request ownership and masked password whitespace while adopting scoped diagnostic commands, firmware records and optional prompt semantics. Reuse the authoritative unlocked shadow-hash reader with zeroizing transport instead of duplicating the reader.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Resolved and normally pushed through 612dbb5. GitHub reports MERGEABLE against current master 9723793, matching the native merge-tree check.

Three integration commits preserve successive base changes rather than mixing in unfinished FDE implementation:

  • beca172: registry caching/subtree subscriptions, five dictionaries (Last synced/just now at1335–1336), canonical combined RPC generation. Extended the existing PatchDB pause regression to cover mutable subscriptions/reprojection behind a queued writer and revisions after resume.
  • be143d4: shared-volume name uniqueness/migration; retained both the recovered-name collision rule and this branch’s mount-reservation/cancellation contracts. Regenerated shared-volume schema documentation.
  • 612dbb5: CLI base URLs, context-scoped destructive disk commands, proxy/header/Origin protections and firmware records. Kept FDE limiter visibility and pending MOK-request ownership. DKMS/diagnostic auth use the single authoritative unlocked-only shadow reader with zeroizing I/O; locked factory credentials still do not stage enrollment. Prompt submission now matches the base’s required-by-default rule while retaining explicitly optional empty values and masked-password whitespace. Added focused prompt coverage; all existing dictionary IDs survive, with the master-password prompt at1337.

**Verification passed:**216 distinct meaningful Rust bodies across the three snapshots (40PatchDB+176backend), excluding manpage exporters, ignored cases and repeats;12Jest cases/3suites; canonical DTO/RPC/MCP/manpage generation; rebuilt core and SDK/bundled owner comparison; PatchDB client build/check; all workspace web/type/i18n and actual container-runtime checks; formatting/image-input/version checks; both native StartOS release binaries and returned UI/setup raw-static manifest comparisons. Newer snapshots reran affected checks; unchanged prior results are reused, not multiplied. Latest native unit/generation/release builds:12m11/11m43/8m41, with existing nonfatal Rust/CommonJS/budget warnings. No VM, firmware or activation proof is claimed.

The draft/full-feature-disabled state and unresolved availability/boot-selection/destination-signing decisions remain unchanged. No reclamation sweep, activation or final handoff was added. Per the established exhausted-round/no-further-Red instruction, I did not restart cross-review; @dr-bonez remains the sole requested reviewer. The brief/copies/live description are synchronized (65,339bytes). Current CI is pending and will be handled on its native notification; skipped checks are not application proof.

Preserve shared FDE exposure and TLS-handler injection while carrying the native gateway issuance and interface watch to ordinary and unlock serving. Keep capture cache-only and move its synthetic issuance adapter into test scope. Regenerate combined decoder contracts and verify their SDK/runtime callers.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white
helix-white removed the request for review from dr-bonez November 25, 2026 01:43
@helix-white

Copy link
Copy Markdown
Member Author

Resolved and normally pushed 117b4e9, merging current master d3f3e0b. Native merge-tree and GitHub both report a clean merge.

The two conflicts were net_controller.rs and vhost.rs: master added gateway-specific ACME issuance/interface watches where this branch shares exposure planning and TLS-handler injection with FDE. Both intents survive. Normal and unlock serving carry the selected issuance gateway and live interfaces through the native ACME owner; capture still selects cached provider credentials without issuing certificates. The synthetic bootstrap issuance adapter is test-only, rather than inventing a production gateway. No bootstrap credential wire format or FDE policy was changed.

Canonical regeneration also incorporates master's omitted-default decoder fix, including FDE approvalCode decoding to null. Container-runtime retains master's SDK-owned schema/Zod import; the returned bundled effects schema was fingerprinted and checked through its actual caller.

Verification:

  • 147 meaningful backend Rust bodies pass, covering shared exposure/TLS/ACME/DNS selection, cached bootstrap issuer/credentials and unlock network capture. Four manpage exporters and four ignored privileged/TPM cases are not additional passes. The gateway namespace fixture self-skipped under the container's namespace restriction; its reported ok is explicitly excluded, not kernel proof.
  • The repository's RPC/reflection feature matrices pass, including generated decoder/Serde interoperability; repeated feature runs are not extra distinct bodies.
  • 46Jest cases/8suites pass:20core wire/startup/FDE cases and26actual runtime adapter cases. Core and SDK were rebuilt before web/runtime consumers; workspace checks, formatting, image-input/version checks, both native release binaries and returned UI/setup raw-static manifest comparisons pass. Unit/generation/release builds9m18/8m07/5m49; existing nonfatal warnings remain.
  • A provisioned hello-world consumer actually ran against the returned SDK bundle, not a missing-dependency skip. It reproduces exactly the already documented SDK5 buildManifest TS2554 (one options argument versus three), with no additional introduced error. This package check remains known-red, not a pass.

No VM, activation, reclamation sweep, policy selection, new cross-review round or final handoff. The PR remains OPEN/DRAFT/MERGEABLE/incomplete. Helix withdrew the prior final-review request after this push; I have not re-added it while the full feature remains unfinished. The no-further-Red restriction remains. The live brief/copies are synchronized; current CI is pending and its native notification owns follow-up.

Keep shared vhost TLS ownership while adopting native tool effects. Classify FDE status as read-only and enrollment as destructive without exposing enrollment through MCP or CLI; retain runtime boundary regressions. Preserve the bridge hostname and SNI conflict changes from master.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
@helix-white

Copy link
Copy Markdown
Member Author

Resolved and normally pushed b95490f, integrating current master b7ed50e. Native merge-tree and GitHub report MERGEABLE.

The textual conflict was the vhost imports: retained this branch’s shared injected TLS ownership and master’s MCP effect annotations. The semantic integration also classifies FDE status as Read (cached database reads only) and enrollment as Destructive. Enrollment remains withheld from MCP and CLI; effect hints do not expose it or authorize activation. Existing runtime MCP tests now assert status’s read-only hint and enrollment’s destructive classification, alongside the existing withholding/CLI checks. Master’s startos.internal bridge hostname and Tunnel SNI conflict-error preservation remain intact.

**Verification:**272 distinct meaningful backend Rust bodies pass (MCP/API/CLI boundaries, host/exposure/vhost/DNS, bootstrap credentials/network and Tunnel API/PCP/context); four manpage exporters and four privileged/TPM ignores excluded.46Jest cases/6suites pass:20core FDE/bridge-address cases and26runtime adapter cases. Canonical RPC/DTO/MCP/manpage generation has no drift. Rebuilt core/SDK and their actual web/runtime consumers, workspace checks, formatting/image-input/version checks, native StartOS binaries and returned UI/setup raw-static manifests pass. Unit/generation/release8m57/10m04/8m36; existing nonfatal warnings remain. Unchanged RPC/reflection matrix evidence is reused, not rerun or counted again.

The provisioned real-package check consumed the returned SDK bundle and reproduces only the already documented SDK5 buildManifest TS2554; it remains known-red, not a passed consumer. No missing-dependency skip or additional introduced error.

No VM, reclamation sweep, activation or pending-policy decision. PR remains OPEN/DRAFT/incomplete with no reviewer requested; the exhausted/no-further-Red restriction stays in force, so this repair does not restart review or constitute final handoff. Brief/copies/live synchronized at65,476bytes. CI is pending; native notifications own follow-up.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor repo Repository maintenance StartOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants