WIP: Add the native C terminal workload #383

Draft
erikinkinen wants to merge 37 commits from feature/native-c-terminal-runtime into feature/terminal-control-storage
Owner

The opt-in terminal client builds the original C terminal probe against its retained process heap and IO companion. Its scenario selects the real console sender, explicit STATE/RESIZE views and independent source/view/call storage, then requires original client and realm retirement before the final PTY witness.

Current Ttyd storage assembly includes canonical input boundaries, the retained ingress row and complete stream request/result packets from its versioned target descriptor. The root uses a separate source catalog and preserves the default OS selection.

  • Terminal root producer, source routing, runtime/scenario and current storage assembly.
  • Complete the source-bound native terminal root build.
  • Complete matching OS sender/provisioning cohort and guest execution.
  • Release image and self-hosting acceptance.
The opt-in terminal client builds the original C terminal probe against its retained process heap and IO companion. Its scenario selects the real console sender, explicit STATE/RESIZE views and independent source/view/call storage, then requires original client and realm retirement before the final PTY witness. Current Ttyd storage assembly includes canonical input boundaries, the retained ingress row and complete stream request/result packets from its versioned target descriptor. The root uses a separate source catalog and preserves the default OS selection. - [x] Terminal root producer, source routing, runtime/scenario and current storage assembly. - [x] Complete the source-bound native terminal root build. - [ ] Complete matching OS sender/provisioning cohort and guest execution. - [ ] Release image and self-hosting acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 09:24:05 +01:00
feat: Construct full-width realm device fixtures
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Successful in 2m49s
CI / host_zero (push) Successful in 10m45s
CI / host_one (push) Successful in 13m12s
CI / integration (push) Failing after 1m31s
9ad0e070cc
Create the special inodes in the selected ext image with explicit extended device encoding. Preserve zero access modes and FIFO hard-link identity; inode data grants no native device authority.
feat: Package and install complete offline manual stores
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Failing after 1m29s
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
73921d243d
Retain the selected writer and every manifest, catalog and page input through encoding. Carry the exact store through both product profiles, require its explicit installation input and verify the installed bytes and read-only mode before completion.
Select shell, monitor and host-tool documentation through explicit component inventories. Preserve separate source bindings and one read-only manual object without adding executable grants or expanding the manual READ ceiling.
test: Match complete SHA workflow command lines
Some checks failed
CI / markdown (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Failing after 1m0s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
bbaabecbc0
Require both guarded file and inherited-stream commands in order. The composed manual also contains a SHA syntax example, so a raw prefix count includes documentation text.
test: Check quoted installer paths in packaging fixtures
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / rust (push) Successful in 2m36s
CI / host_one (push) Successful in 18m56s
CI / host_zero (push) Failing after 21m45s
CI / integration (push) Has been skipped
96aa5f5d30
Keep exact alias, sidecar and link-count expectations for literal debugfs arguments. Register the pathname, help and manual syntax inputs in their independent ordered fixtures.
Carry the parent feature corrections into the composed inventory branch through the original commit ancestry.
test: Register the composed manual syntax inputs
Some checks failed
CI / markdown (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Successful in 4m8s
CI / host_one (push) Successful in 17m43s
CI / host_zero (push) Failing after 22m15s
CI / integration (push) Has been skipped
8cb7a6ecf2
Keep the independent ordered fixtures complete for the component inventory check and manual shell helper.
merge: Retain current pathname workflow prerequisites
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Successful in 2m44s
CI / host_one (push) Successful in 15m46s
CI / host_zero (push) Failing after 19m51s
CI / integration (push) Has been skipped
668dd7518c
Carry the owned Boot helper into the component checkout fixture while preserving offline manual publication and command syntax coverage.
merge: Retain current offline manual prerequisites
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Successful in 3m1s
CI / host_one (push) Successful in 15m4s
CI / host_zero (push) Successful in 21m21s
CI / integration (push) Failing after 1m48s
23d449ed71
Include the owned Boot helper checkout fixture without changing composed manual source selection or acceptance requirements.
merge: Preserve original deadline and input fixture contracts
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Successful in 4m38s
CI / host_one (push) Failing after 5m54s
CI / host_zero (push) Failing after 22m28s
CI / integration (push) Has been skipped
7e46303b76
Carry explicit native input callers and distinguish deadline refusal before output from the retained post-write clock gate. Keep the original operation allowances.
feat: Initialize ext4 images through the retained Boot tool
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 2m10s
CI / host_one (push) Successful in 10m54s
CI / host_zero (push) Successful in 12m17s
CI / integration (push) Failing after 1m28s
0057940722
Keep geometry, directory ownership, journal identity and timestamps explicit. Build the selected source in the same process and retain its native owner through one format operation, preserving the original deadline and independent cleanup failure. Product file population remains a separate operation.
Retain the reviewed initializer and complete manual-store prerequisites before extracting typed product population. Preserve both source and syntax inventories.
feat: Populate ext4 product images from declared entries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 2m10s
CI / host_one (push) Failing after 9m29s
CI / host_zero (push) Successful in 14m8s
CI / integration (push) Has been skipped
599094d7ad
Replace imported product formatting and mutation with one typed namespace and explicit inode metadata. Share the existing launch validators with fixture installation, retain actual native input owners through retirement, and preserve independent cleanup failures without retrying uncertain descriptor closes.
test: Reset every initial shell fixture selector
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / rust (push) Successful in 5m46s
CI / host_one (push) Failing after 4m36s
CI / host_zero (push) Successful in 19m33s
CI / integration (push) Has been skipped
a90570aec4
Clear independent realm, heap, thread and Boot selections between policy cases. Keep all existing positive combinations and exact negative diagnostics.

Refs: #361
Compile all three C workload probes from the retained Posixd source and enroll the same-source process-root I/O companion. Require its exact Cargo edges and all provider exports while excluding those providers from shared objects. Keep the complete descriptor provider catalog separate from the default OS and startup cohorts.
Select the full current runtime client with reviewed authority handling. Keep its mandatory multibyte and probe enrollment as explicit prerequisites; do not substitute a narrower descriptor client or fabricate records for an unsupported activated graph.
Compile the selected LibCstd conversion core, same-source root companion and original C probe through the existing owned compiler route. Bind actual Cargo edges and exact exports, reject hidden DSO providers, and keep source descriptions separate from native authority.
Compile the readiness fixture required by the shared file probe and require its original symbol. Check both readiness export families at the process root and preserve rejection of hidden shared-object providers.
Require the descriptor fixture to define its C creator alongside the byte probe and check both process-root pipe export families. Preserve the existing counted realm authority and original caller retirement rules.
Resolve validated Posixd executable defaults and required features before creating its shared-library plan. Preserve transitive and weak selector semantics, original target-edge policy and independent source/compiler admission; an inactive clock companion must not become an unrelated DSO provider.
Keep the pure parameter ABI distinct from memory and initialized-thread support. Validate its complete original source roles and standalone producer shape, and require its original symbols in selected process-root assembly without granting terminal authority.
Bind the exact defining source contract without changing native owner bodies. Keep parameter records disjoint from memory and thread descriptions, retain original root assembly leaves, and challenge missing or hidden parameter providers before linking.
Retain the published typed namespace and formatter owners before adding the separately selected scoped C filesystem workload. Preserve the current C runtime source owners and both complete fixture command inventories.
Retain the published complete wide-device and special-inode fixture counterpart required by typed product population before adding scoped filesystem inputs.
fix: Retain special inodes in typed realm fixtures
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / rust (push) Successful in 2m14s
CI / host_one (push) Failing after 10m31s
CI / host_zero (push) Successful in 16m25s
CI / integration (push) Has been skipped
8d28580814
Bring the complete special-inode declaration and its image controls into the typed population branch. Selecting the binding client must describe its FIFO alias and narrow and wide device inodes without borrowing native device authority from their numbers.
Keep the filesystem root separate from byte-only clients while retaining the complete current C runtime and source-owned producer. Require timestamp, cwd and directory exports, declare the rooted scratch namespace and preserve original scenario and cleanup oracles. Keep full image acceptance dependent on the matching lifecycle sender and native provider graph.
Preserve the complete source-identical public termios predecessor and its reviewed Posixd source selection alongside the scoped filesystem implementation. Retain every existing scoped product and source-owner body while accepting the two reviewed catalog and documentation deltas.
Retain the scoped filesystem fixture alongside the complete typed special inode declaration and its regression control.
Declare the original four description records and keep image acceptance dependent on the matching counted storage and lifecycle sender producers.
Compose the current process-root prerequisite without changing filesystem source ownership or widening lifecycle sender admission.
Compose the reviewed visibility guard while preserving the filesystem profile exact IO requirements and public-symbol refusal controls.
Recognize the maintained filesystem source role and require matching product and feature fields. Keep startup separate and reject arbitrary sources; descriptions remain distinct from retained source and compiler custody.
Select the original terminal probe, retained heap and IO companions, explicit terminal-control provisioning and isolated source catalog. Preserve the real PTY sender, independent source/view/call rows and realm retirement gates, and derive current Ttyd boundary and owned stream packet storage from its versioned target layout.
build: Compose scoped filesystem process-root prerequisites
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Failing after 8s
CI / rust (push) Failing after 38s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
559ca34b4e
Retain independently selected filesystem, clock and terminal roots, complete per-profile IO surfaces and exact registered source/product metadata. Preserve the selected native owner cohort and explicit terminal storage policy through the composition.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
d74c8444c0
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
9b586d554c
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 1m15s
Markdown / markdown (push) Failing after 11s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
77c99ab8e4
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 1m15s
Markdown / markdown (push) Failing after 11s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/native-c-terminal-runtime:feature/native-c-terminal-runtime'
git switch 'feature/native-c-terminal-runtime'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/terminal-control-storage'
git merge --no-ff 'feature/native-c-terminal-runtime'
git switch 'feature/native-c-terminal-runtime'
git rebase 'feature/terminal-control-storage'
git switch 'feature/terminal-control-storage'
git merge --ff-only 'feature/native-c-terminal-runtime'
git switch 'feature/native-c-terminal-runtime'
git rebase 'feature/terminal-control-storage'
git switch 'feature/terminal-control-storage'
git merge --no-ff 'feature/native-c-terminal-runtime'
git switch 'feature/terminal-control-storage'
git merge --squash 'feature/native-c-terminal-runtime'
git switch 'feature/terminal-control-storage'
git merge --ff-only 'feature/native-c-terminal-runtime'
git switch 'feature/terminal-control-storage'
git merge 'feature/native-c-terminal-runtime'
git push origin 'feature/terminal-control-storage'
Sign in to join this conversation.
No description provided.