WIP: Adopt scoped POSIX and counted realm revisions #2
Closed
erikinkinen
wants to merge 191 commits from
feature/posix-compat into main
pull from: feature/posix-compat
merge into: erix:main
erix:main
erix:feature/selected-fat-metadata-verification
erix:feature/counted-client-geometry
erix:feature/acl-log-retirement
erix:feature/root-compare-linked-executable-sections-in-bootstrap-audits
erix:feature/namespace-refusal-provenance
erix:feature/namespace-refusal-retirement
erix:feature/bootstrap-phase-fixture-shapes
erix:feature/bootstrap-33-handoff-744b407
erix:feature/bootstrap-46-handoff-095961e
erix:feature/bootstrap-44-handoff-dcb765f
erix:feature/bootstrap-40-handoff-947a31b
erix:feature/bootstrap-28-handoff-438348f
erix:feature/bootstrap-24-handoff-ced6e2c
erix:feature/bootstrap-33-ac0f46f
erix:feature/bootstrap-28-f58bfbb
erix:feature/bootstrap-24-43e8712
erix:feature/bootstrap-provider-validation-cc55571
erix:feature/bootstrap-policy-46-808d6f7
erix:feature/bootstrap-policy-44-2ec616c
erix:feature/linked-footprint-8c37636
erix:feature/bootstrap-provider-validation-0a4aa91
erix:feature/explicit-terminal-endpoint-fixtures
erix:feature/issue-and-pr-tracking-policy
erix:feature/bootstrap-validation-b4bbc4a
erix:feature/artifact-scanner-failures-4b04585
erix:feature/bootstrap-validation-03e0979
erix:feature/rootd-main-providers-703b18d
erix:feature/ttyd-surplus-receiver
erix:feature/terminal-event-clock-provisioning-merge-ready-f3215eb7
erix:feature/prospective-source-custody-merge-ready-e0c9b479
erix:feature/prospective-source-custody
erix:feature/root-select-complete-original-dependency-transports
erix:feature/native-stream-metadata-provisioning-merge-ready-0b81ad7f
erix:feature/acl-fixture-contract-merge-ready-17dc5793
erix:feature/realm-client-authority-storage-merge-ready-a24857c9
erix:feature/realm-client-authority-storage-merge-ready-e9d3ea77
erix:feature/ci-artifact-tool-roles
erix:feature/realm-slot-geometry-contract-merge-ready-6f4ac5cb
erix:feature/bootstrap-terminal-acknowledgement-merge-ready-7710ca9e
erix:feature/bootstrap-terminal-acknowledgement-merge-ready-db00a16c
erix:feature/staged-installer-authority-merge-ready-7b4003ba
erix:feature/staged-installer-authority-merge-ready-0e472aa2
erix:feature/realm-startup-capacity-merge-ready-32425268
erix:feature/realm-startup-capacity-merge-ready-6c57574e
erix:feature/root-link-bootstrap-audit-artifacts-with-the-native-entry-merge-ready-cabbc524
erix:feature/root-link-bootstrap-audit-artifacts-with-the-native-entry-merge-ready-60fb86d5
erix:feature/bootstrap-terminal-generation-cleanup-merge-ready-4638ea43
erix:feature/bootstrap-terminal-generation-cleanup-merge-ready-5aaa308e
erix:feature/counted-boot-object-names-merge-ready-ee84dacd
erix:feature/current-bootstrap-measurements-merge-ready-c44ed789
erix:feature/namespace-source-classifications
erix:feature/optional-bootstrap-policy-checks
erix:feature/root-share-checked-cargo-inputs-with-native-checks
erix:feature/bootstrap-contract-formatting
erix:feature/retained-filesystem-verifier-contract
erix:feature/bootstrap-footprint-documentation
erix:feature/current-bootstrap-measurements-merge-ready-912d9ae5
erix:feature/acl-fixture-contract
erix:feature/owned-ci-source-graph
erix:feature/reproducible-bootstrap-artifacts
erix:feature/root-preserve-artifact-scanner-failures
erix:feature/bootstrap-roadmap-formatting
erix:feature/current-bootstrap-measurements
erix:feature/ci-source-acquisition
erix:feature/counted-boot-object-names
erix:feature/physical-serial-control-provisioning
erix:feature/terminal-timed-break
erix:feature/complete-startup-policy-forwarding
erix:feature/explicit-terminal-route-provisioning
erix:feature/launch-policy-storage-forwarding
erix:feature/manual-viewport
erix:feature/namespace-cancellation-verification
erix:feature/namespace-denial-verification
erix:feature/root-measure-executable-product-footprint-separately
erix:feature/owned-namespace-clients
erix:feature/root-retain-the-product-artifact-before-budget-checks
erix:feature/generation-bound-process-waits
erix:feature/root-check-the-linked-interactive-product-artifact
erix:feature/bootstrap-scenario-library
erix:feature/bootstrap-live-logging
erix:feature/bootstrap-surface-baseline
erix:feature/public-clock-deadline-fixtures
erix:feature/launch-retained-program-storage
erix:feature/native-stream-metadata-provisioning
erix:feature/terminal-event-clock-provisioning
erix:feature/realm-client-authority-storage
erix:feature/bootstrap-terminal-acknowledgement
erix:feature/realm-slot-geometry-contract
erix:feature/staged-installer-authority
erix:feature/bootstrap-terminal-generation-cleanup
erix:feature/realm-startup-capacity
erix:feature/root-link-bootstrap-audit-artifacts-with-the-native-entry
erix:feature/native-cli
erix:feature/phase-4-audit
erix:feature/dynlink
erix:feature/program-loader
erix:feature/e2fs-fat
erix:feature/block-devices
erix:feature/vfs
erix:feature/centralized-process-authority
No reviewers
Labels
Clear labels
alpha-1
EriX Alpha 1 release acceptance
bug
Something is not working
ci
docs
duplicate
This issue or pull request already exists
enhancement
New feature
help wanted
Need some help
invalid
Something is wrong
performance
Measured performance profiling, bottleneck analysis, and regression budgets.
phase-6
Phase 6: POSIX compatibility, full EriX self-hosting, and its required audits and validation.
question
More information is needed
refactor
Code cleanup, removal of obsolete paths, and structural improvements preserving behavior.
security
wontfix
This won't be fixed
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
erix/rootd!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Compose signed native and compatibility components with explicit counted realm capacities. Keep boot configuration descriptive and delegate stopped-client factory custody and genuine native start to the owning services.
Tracking and scope
The linked component audit, implementation and consumer requirements remain part of this WIP review. The phase-wide guest and toolchain build requirements stay with the phase completion issue.
Architecture, authority and failure behavior
Boot configuration carries explicit process, execution, invocation and readiness capacities using the authenticated target geometry in counted execution storage. Checked layout and packet extents determine storage; padding and spare rows grant neither membership nor capability authority.
An optional factory is an actual third client capability column, distinct from the stage grant and ingress receiver. Capacity zero supplies no factory. Positive capacity includes the initial execution and follows client factory custody and native factory provisioning; Rootd's configuration bytes cannot replace those original native sources or authorize a global Process route for a client.
Signed component selection preserves original source objects and separate bootstrap, memory, compatibility and runtime roles. Native mapping, startup acknowledgment, immutable configuration, readiness and cleanup each retain their original authority and failure boundaries. An uncertain accepted effect is not replayed or treated as positive source absence.
Complete source and frame admission, imported libc and dynamic ELF TLS consumers, and the signed native/VM workload remain open. The full EriX guest builds and external Rust/LLVM rebuild inside EriX remain phase requirements.
Validation evidence
Formatting, strict Clippy, warning-denied builds and documentation, unit tests, and applicable native/VM and consumer regressions remain required for the declared scope. Authored controls and older successful runs do not establish current full acceptance.
Review checklist
Strict Clippy, warning-denied builds/tests and supported configurations
Unit and relevant native VM execution
Documentation rendering and performance execution
Original source implementation and inline ownership documentation
Updated independent controls and affected documentation sources
Complete declared feature scope and required execution
This review remains WIP until its declared scope and dependent requirements are complete.
WIP: Keep roadmap evidence in owning issues and PRsto WIP: Validate artifact boundaries and signed runtime sourceserikinkinen referenced this pull request from erix/integration2026-09-15 19:34:19 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-21 19:17:02 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-21 19:17:04 +02:00
WIP: Validate artifact boundaries and signed runtime sourcesto WIP: Enforce startup storage and artifact boundarieserikinkinen referenced this pull request from erix/e2fsd2026-09-29 15:37:16 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-29 15:37:17 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-29 15:37:17 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 09:46:59 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 09:47:00 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 09:47:01 +02:00
erikinkinen referenced this pull request from erix/lib-posixabi2026-09-30 09:47:01 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 09:47:01 +02:00
erikinkinen referenced this pull request from erix/docs2026-09-30 16:12:16 +02:00
erikinkinen referenced this pull request from erix/integration2026-09-30 16:12:17 +02:00
erikinkinen referenced this pull request from erix/posixd2026-09-30 16:12:19 +02:00
erikinkinen referenced this pull request from erix/coreutils2026-09-30 17:11:55 +02:00
erikinkinen referenced this pull request from erix/e2fsd2026-09-30 17:12:32 +02:00
erikinkinen referenced this pull request from erix/exsh2026-09-30 17:12:34 +02:00
erikinkinen referenced this pull request from erix/extop2026-09-30 17:12:35 +02:00
erikinkinen referenced this pull request from erix/launchd2026-09-30 17:12:41 +02:00
erikinkinen referenced this pull request from erix/lib-ipc2026-09-30 17:12:44 +02:00
erikinkinen referenced this pull request from erix/lib-stdio2026-09-30 17:12:46 +02:00
erikinkinen referenced this pull request from erix/ramfsd2026-09-30 17:12:53 +02:00
erikinkinen referenced this pull request from erix/ttyd2026-09-30 17:12:54 +02:00
erikinkinen referenced this pull request from erix/vfsd2026-09-30 17:12:55 +02:00
WIP: Enforce startup storage and artifact boundariesto WIP: Coordinate original startup and storage observation routeserikinkinen referenced this pull request from erix/docs2026-10-01 02:30:57 +02:00
erikinkinen referenced this pull request from erix/posixd2026-10-01 02:30:57 +02:00
erikinkinen referenced this pull request from erix/integration2026-10-01 02:30:58 +02:00
WIP: Coordinate original startup and storage observation routesto WIP: Integrate original realm custody and filesystem workloadsWIP: Integrate original realm custody and filesystem workloadsto WIP: Adopt original realm and namespace lifetime workloadsWIP: Adopt original realm and namespace lifetime workloadsto WIP: Integrate original compatibility startup and runtime workloadserikinkinen referenced this pull request from erix/vfsd2026-10-01 21:46:11 +02:00
WIP: Integrate original compatibility startup and runtime workloadsto WIP: Adopt immutable POSIX runtime revisionsWIP: Adopt immutable POSIX runtime revisionsto WIP: Adopt scoped POSIX and counted realm revisionsSigned bootstrap checkpoint selects the coherent component graph and records the reviewed native namespace decoder, version-seven launch geometry and measured artifact identity. The original authority, syscall, unsafe, stage and semantic-baseline gates remain enforced.
Nine scoped commands pass without warnings: reviewed baseline generation and unchanged recheck, formatting, strict all-feature Clippy, 430 unit tests, threat model, phase contract, operation ownership and rustdoc. The commit prose says 139 tests; the captured full suite passed 430, which is the correct count. Full exact-head CI is tracked separately. The PR remains WIP and the complete guest builds are unfinished.
Updated the library graph and adopted the actual compiled Integration helper. Rootd retains the same 277,768-byte bootstrap baseline. The compiled helper revision remains distinct from newer Python and CI helper changes.
Rootd’s FAT completion markers used a diagnostic route that is retired after Logd starts. The repair submits each marker through the existing live Logd route after its verifier succeeds and stops if verification or submission fails. The original guest case and its acceptance limits remain unchanged; guest confirmation is pending.
Rootd now borrows the authenticated Logd submission binding separately from the query endpoint. Retirement closes that owner before native capability drops, including failed absence proofs. The updated source and supplier graph are in af0b426; the matching manual change is e54cbbd.
9c5de279 adds initial-shell failure context to Integration builds. A local recorder shares the existing borrowed Logd route and reports the first native error plus first/latest call framing, without copying payloads or acquiring a capability. Each message fits the existing log protocol. Product builds erase these hooks. This prepares diagnosis of Integration #125; the failing guest operation is still unknown.
The fix is in
5588d9d6. Timed and extended-VFS completion records now use the existing borrowed Logd submission route after the complete verifier and cleanup succeed. A submission error stops later records and pipeline work; direct-kernel diagnostics stay retired.Catalog adoption and confirmation of the affected guest scenarios remain open in Rootd #8.
Published the policy extraction in b2933983. Stack and driver decisions, completion sequencing and scalar diagnostics now live in the shared library. Rootd retains native response validation, capability custody, checked retirement and live Logd SEND checks.
Integration d5265676 adopts the published pair and retains the fourteen production validations. Guest acceptance, including #8, remains open.
The missing ACL completion record in #8 is repaired in
635892a8. The adapter borrows the existing live logging owner and leaves diagnostic retirement in place. Integration selects the repaired supplier in the next coherent component update.Supplier adoption is pushed in ff0bd1ef. Both dependencies now select the corrected EXT verifiers. The six original guest scenarios remain open in Integration #131.
9e57ea88 keeps completion tied to each exact process instance and leaves unrelated events queued. The product check now captures the executable from the successful Cargo invocation before applying the size limit, then inspects that captured file for unused scenario data and selectors. The 16 KiB limit is unchanged.
Pushed the namespace acquisition changes in
e413c3a3. The twelve verification reads now acquire and retire their original counted leases. Boot configuration, administrative mounts and Loaderd’s exact staged executable reads keep their existing paths. The coordinated guest run is still pending.Pushed
87a03553. The optional guest controller runs after signed mounts and before ordinary namespace verification. It keeps the original candidate and lease, cancels the pending Begin once, and reports completion only after the exact retirement response, native settlement and workspace quiescence. Refusals retain the original owners for the enclosing fail-stop path.Published
b4c7c4b7with the LibVfs change in feb949af. Scoped completion can now recognize an expected application refusal repeated in a positive disposal summary. Unexpected caller errors and independent cleanup failures still fail. The fresh Vfsd-to-Rootd hosted handoff passes; the actual guest result remains open in integration#176.This work is now split into feature PRs, starting at #10 and ending at #52. Each PR links to its prerequisite, and the complete stack preserves the original runtime changes. The feature PRs remain WIP for their remaining integration and review.
Closing this aggregate without merging; the replacement branches remain available for review.
Pull request closed