WIP: Retain original per-thread runtime state #89

Draft
erikinkinen wants to merge 66 commits from feature/owned-thread-runtime-state into main
Owner

Adds process-heap-backed thread state with independent locale, conversion and key values. Exposed storage and callback acquisitions remain retained when wrappers are abandoned.

  • Implement original state allocation, typed current borrows and independent function cells.
  • Retain callback duties, reentrant destructor passes and full-width failures.
  • Wire the explicit extended profile into initial and additional native entry and retirement.
  • Exercise the complete native thread workload.

The legacy 32-byte profile remains separate. Hosted controls and native target compilation establish local source behavior; they do not establish guest execution.

Design: #85.

Adds process-heap-backed thread state with independent locale, conversion and key values. Exposed storage and callback acquisitions remain retained when wrappers are abandoned. - [x] Implement original state allocation, typed current borrows and independent function cells. - [x] Retain callback duties, reentrant destructor passes and full-width failures. - [ ] Wire the explicit extended profile into initial and additional native entry and retirement. - [ ] Exercise the complete native thread workload. The legacy 32-byte profile remains separate. Hosted controls and native target compilation establish local source behavior; they do not establish guest execution. Design: #85.
feat: Provide an explicit freestanding C memory companion
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 7s
CI / memory (push) Successful in 1m40s
66956e80e7
Move the original EriX scalar memory instructions into one library-owned
assembler body with namespaced Rust declarations and an explicit partial C
header. Public and hidden aliases share that body without extra instructions;
callers retain range, lifetime and concurrency obligations.
feat: Add read-only C byte and string queries
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 13s
CI / memory (push) Successful in 1m55s
9b58521a4b
Provide original scalar strlen, strcmp, strncmp and memchr routines through the
same explicitly selected companion as the existing memory operations. Preserve
all memory instruction bytes while binding each new body and alias source to
the producer. Document caller-owned initialized ranges, termination, full-width
counts and returned-pointer access limits without allocation or service effects.
feat: Implement bounded C string copies and concatenation
All checks were successful
CI / markdown (pull_request) Has been skipped
CI / memory (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / memory (push) Successful in 1m49s
f05ae1f9bb
Add strcpy, strncpy, strcat and strncat through one original byte-loop
runtime section with versioned Rust entry points and opt-in public C aliases.
Document destination capacity, source validity, nonoverlap, zero counts,
padding and termination. Keep existing memory and query instructions intact;
the operations retain no pointers and require no allocation or authority.
feat: Add freestanding C string span and set queries
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / memory (push) Successful in 1m56s
b787dc1d12
Implement strspn, strcspn and strpbrk using caller-local 32-byte bitmaps.
Preserve byte-only input reads, NUL boundaries, read-only overlap and source
pointer permissions without shared state, heap allocation or service authority.
One selected companion retains all preceding memory and string instructions.
ci: Bind native producers to original receipt custody
All checks were successful
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / memory (push) Successful in 1m57s
2d2da4c514
Select the checked process owner and its exact import identity independently
from the instruction witness. Preserve exclusive receipt custody and document
the original accounting boundary without changing runtime instruction bodies.
feat: Provide explicit original initialized-thread primitives
Some checks failed
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / memory (push) Failing after 1m37s
3a8b1699a3
Implement original errno-location and sparse TLS-index accessors against the
initialized EriX TCB/DTV/registry, plus the register-preserving eager RAX
descriptor resolver. Expose documented unsafe Rust/C interfaces and exclusive
caller byte-image preflight without metadata as native authority or a global
errno fallback. Refactor one bounded original producer for separate memory/thread
roles and receipts, removing the superseded script path. Preserve all eighteen
older bodies and author literal image plus freestanding C/assembly controls.
Full consumer packaging, negative-link/guard driver and lifecycle stay open.
feat: Package initialized-thread compatibility primitives
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 11s
CI / thread (push) Successful in 1m14s
CI / memory (push) Failing after 1m37s
5b74da9b09
Package the existing memory, string and initialized-thread entries explicitly
while preserving standalone components. Share symbol and archive inspection
and retain exact signal-status cleanup evidence in bounded thread controls.
fix: Preserve exact thread image alignment with current strict lint
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m14s
CI / memory (push) Failing after 1m55s
1f6dbca7a3
Use equivalent integer divisibility predicates for the original thread pointer
and DTV alignment preflight. Preserve error precedence, complete original byte
immutability and explicit initialized-image authority. Formatting and strict
host/freestanding Clippy pass. Complete maintained companion-linked runtime
validation runs in parallel; raw Cargo tests without the required companion
cannot substitute for that matrix. Track the actual regression in issue #4.
fix: Preserve independent string-span ABI probes
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m17s
CI / memory (push) Successful in 2m1s
bd1538e423
Keep the span fixture directly callable through its freestanding ABI frame
and preserve the original input, output and refusal assertions.
fix: Keep high-bit length probes freestanding
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 14s
CI / thread (push) Successful in 1m16s
CI / memory (push) Successful in 2m5s
1ec556151e
Express the original high-bit probe count as its full literal value so debug
compilation does not introduce an unrelated integer-overflow helper.
build: Enforce rustdoc lint in discovered fixtures
Some checks failed
CI / thread (pull_request) Has been skipped
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 10s
CI / thread (push) Successful in 1m25s
CI / memory (push) Successful in 2m14s
9d04ca825a
Document the thread-image test crate and enforce missing_docs at its actual
crate boundary without changing production image or alias behavior.
ci: Require positive native producer cleanup receipts
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m31s
CI / memory (push) Successful in 2m19s
97d2a52656
Keep the selected process-owner source identity and require positive command
cleanup evidence. Preserve original native query and signal ownership contracts
while retaining the independent memory instruction witness.
feat: Add constant-storage substring search
All checks were successful
CI / thread (pull_request) Has been skipped
CI / memory (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m30s
CI / memory (push) Successful in 2m21s
a9406b863c
Implement strstr with full-width byte matching and critical-factor
progress for repetitive inputs. Keep caller-owned string lifetimes
and read-only aliases explicit, and expose the original body through
both namespaced Rust and conventional C declarations.
Extend the selected companion cohort while preserving existing
memory, string and thread implementations and export policies.
feat: Add an explicit C-locale error catalog
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m26s
CI / memory (push) Successful in 2m30s
57808d59dc
Provide immutable descriptions and canonical names for the assigned EriX
errors, with complete caller-owned copies that preserve short buffers.
Package the catalog as a separate companion and include its original bytes
in compatibility objects without accessing locale or thread state.
docs: Specify actual native runtime boundaries
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m23s
CI / memory (push) Successful in 2m31s
96ad6bfc1d
Describe the shared byte primitives, initialized-thread consumers and memory-only
bootstrap separately. Preserve the limits of partial runtime support and keep
implementation contracts distinct from complete libc or guest acceptance.
feat: Add explicit fixed C-locale integer conversions
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / thread (push) Successful in 1m25s
CI / memory (push) Successful in 3m3s
87af6cdc6f
Provide four LP64 conversion calls through one shared signed and unsigned
parser. Preserve complete digit endpoints, full-width limits and existing
thread errno on success; errors use only the admitted original thread word.
Select conversion and thread sources explicitly while keeping standalone
products and compatibility receipt fields stable.
feat: Add fixed C-locale character operations
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m26s
CI / memory (push) Successful in 3m15s
8dbb05dc52
Provide fourteen ASCII classification and case-conversion calls through a
separate scalar companion. Define the full signed-int domain and expose safe
Rust declarations without locale, thread or service state.
feat: Add explicit C sorting and binary search
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m21s
CI / memory (push) Successful in 3m19s
6123f2f38e
Provide allocation-free qsort and bsearch companions with conventional and
prefixed C entry points. Iterative heapsort and binary search use only caller
arrays and comparison callbacks, with documented relocation, ABI and lifetime
contracts and no implicit runtime state.
docs: Align dependency selection and review policy
All checks were successful
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / thread (push) Successful in 1m22s
CI / memory (push) Successful in 3m12s
06c97af246
Document main-tracking Cargo declarations and exact retained CI sources.
Put progress updates in comments while preserving review scope and acceptance
criteria in issue and pull-request descriptions.
feat: Add destination-end string copying
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m22s
CI / memory (push) Failing after 3m3s
0302b4ea10
Provide stpcpy through the explicit memory and compatibility companions. Return
the written destination terminator without reading destination bytes, allocating
storage or changing thread state, and bind the new checker helper to its source.
feat: Add raw byte copying with an end-pointer result
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m21s
CI / memory (push) Failing after 3m0s
51a08440f2
Expose GNU mempcpy through the existing memory runtime and C ABI. Copy the caller's complete representation-byte range without string termination, padding, allocation or retained pointers, and preserve the preceding routine sources.
feat: Expose memory and string declarations to C++ callers
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m22s
CI / memory (push) Failing after 3m4s
a4fb27c264
Use language-specific private header adapters and C linkage while preserving
all existing runtime instructions and caller storage obligations. Keep C and
C++ declarations on the same explicitly selected companion.
feat: Share one process heap between C and Rust
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / memory (push) Failing after 1m1s
CI / thread (push) Successful in 1m17s
83b4e7cfc0
Add an explicitly selected allocation companion over the existing region allocator. Keep one installed backing region for both the C allocation family and Rust layouts, with genuine thread errno and no implicit provider in shared objects.
feat: Add native C process startup and exit runtime
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 10s
CI / memory (push) Failing after 1m2s
CI / thread (push) Successful in 1m24s
cfa929449a
Construct counted mutable arguments and exported environment from admitted launch input. Retain the shared process heap, handlers, I/O backend and separate whole-process terminal owner across startup and exit.
feat: Duplicate byte strings through the process heap
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / memory (push) Failing after 1m3s
CI / thread (push) Successful in 1m37s
62e375c01e
Add strdup and strndup with checked terminated extents and independent same-heap ownership. Keep native error reporting on the initialized current EriX thread, preserve successful errno, and expose the same contracts through Rust and partial C/C++ declarations.
feat: Add caller-owned string tokenization
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 14s
CI / memory (push) Failing after 1m11s
CI / thread (push) Successful in 1m26s
465b091fe6
Split mutable byte strings with an explicit continuation pointer and unsigned separator membership. Supply the native alias through the original instruction companion without selecting a heap, thread runtime or shared parser state.
feat: Add shared-heap process environment mutation
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 12s
CI / memory (push) Failing after 1m14s
CI / thread (push) Successful in 1m33s
c4b7ee5681
Keep one current environment table over the original process heap. Support
copied setenv values, borrowed putenv bytes, direct environ replacement,
unsetenv and literal-NULL clearenv without provider discovery or added rights.
Retain actual table and string allocations while current interior aliases
remain, and keep environment data usable from normal exit handlers.
feat: Add explicit process-root C descriptor adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / memory (push) Failing after 1m16s
CI / thread (push) Successful in 1m29s
5bc2227f4a
Provide prefixed read, write and close entries over a concrete admitted
backend, with uninitialized-byte-aware read spans and independent call custody.
Keep completed errno separate from transport uncertainty and retain original
buffers, packets and raw returns until native retirement or group terminality.
ci: Verify complete native runtime helper imports
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / thread (push) Successful in 1m31s
CI / memory (push) Failing after 1m58s
6cf0b07b83
Verify the complete selected helper import closure before execution and
restore every original module slot afterward. Preserve exact command ownership
and matching source identities for the producer and generated Cargo checks.
fix: Retire generated Cargo evidence through its original owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m36s
CI / memory (push) Failing after 2m29s
5df6c5125b
Retire selected helper evidence independently of input verification and
preserve the caller until cleanup finishes. Carry the explicit helper selection
through workspace controls without reconstructing original ownership.
feat: Add typed mediated C file interfaces
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m30s
CI / memory (push) Failing after 2m36s
5f4949ba57
Extend the original process-root I/O binding with counted file operations, complete typed replies and caller-owned vector views. Preserve independent call lifetimes, full result bounds and terminal failure evidence without adding an allocator or provider lookup. Supply fixed C and Rust declarations, headers and component contracts.
feat: Add counted C file timestamp adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 14s
CI / thread (push) Successful in 1m21s
CI / memory (push) Failing after 2m32s
f493ecc4fe
Carry futimens and counted utimensat through the original typed IO binding.
Decode fractions before seconds so Now and Omit never read ignored fields,
preserve the full signed explicit domain, and retain ordinary target checks
for Noop without accepting caller-selected clocks or change times.
fix: Preserve unresolved names in C++ header refusals
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m19s
CI / memory (push) Failing after 2m33s
d02dac2fde
Report the actual unresolved end-copy symbols in the independent C++ refusal
control instead of losing their original diagnostic identity.
test: Keep string callback probes freestanding
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m25s
CI / memory (push) Failing after 2m28s
342761a4cd
Keep end-copy and tokenization callback probes free of compiler-generated
host runtime helpers in development builds while preserving their original
arguments, return values and independent ABI assertions.
fix: Keep C++ header callback probes freestanding
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m31s
CI / memory (push) Failing after 2m30s
fc56849972
Preserve actual missing-symbol diagnostics and keep C++ callback probes
freestanding so linking failures describe the intended header boundary.
feat: Add mediated directory changes and staged physical cwd reads
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m31s
CI / memory (push) Failing after 2m34s
88b5424851
Provide prefixed chdir, fchdir and getcwd interfaces over the bound process realm. Reserve release control before report acquisition, validate immutable pages and publish caller bytes only after report and native caller retirement.
feat: Add mediated directory iteration adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m30s
CI / memory (push) Failing after 2m24s
18c200108b
Give process-root C and Rust callers complete raw directory entries, EOF and opaque cursor operations through their retained realm binding. Publish output after caller retirement and preserve uncertain calls and their original buffers.
ci: Retain complete native command-owner lifetimes
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / thread (push) Successful in 1m30s
CI / memory (push) Failing after 2m29s
3572bfe65c
Verify the native lifetime helper alongside the existing selected command
owner imports. Preserve source identities and actual cleanup ownership across
helper aliases, and cover the complete admitted import cohort.
feat: Add mediated C poll and select interfaces
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m17s
CI / memory (push) Failing after 2m31s
7eb1fb6f14
Expose readiness calls with counted caller storage and checked output through the existing process I/O runtime. Bind the complete command-owner cohort used to build the runtime and retain its original lifetime across helper aliases.
feat: Add mediated C pipe creation
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m26s
CI / memory (push) Failing after 2m31s
87e9f729ae
Expose namespaced pipe and pipe2 through the existing process-root I/O provider. Keep separate descriptor and status flags, retain the original call through retirement, and publish both output descriptors only after a complete validated result.
feat: Add caller-owned multibyte conversion
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m23s
CI / memory (push) Failing after 2m23s
74cc39c57a
Implement strict C and UTF-8 conversion with explicit state, complete-character
output and independent query cursors. A separate process-root companion exposes
the native entries without selecting a locale, heap or service provider.
Append local terminal and encoding errors to the immutable catalog.
feat: Add checked time values and deadline arithmetic
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m20s
CI / memory (push) Failing after 2m34s
13d3c0b83d
Validate signed timespec values, clock tags and interval arithmetic before narrowing to native representations. Keep numeric validity separate from clock observations and native operation lifetimes so future time and sleep adapters can share one checked core.
feat: Add explicit C clock and sleep adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
CI / thread (push) Successful in 1m33s
CI / memory (push) Failing after 2m33s
80a62921d7
Provide signed time values and eight namespaced calls through a separate
process-root companion. Copy caller input before backend work, publish
outputs after retirement, and keep direct-error sleep independent of errno.
Admit the new workspace member and preserve the existing header contracts.
feat: Add mediated terminal identification and window controls
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m24s
CI / memory (push) Failing after 2m25s
29caf5759a
Route the two namespaced calls through the existing IO binding. Snapshot window
inputs and check every returned dimension before publishing output. Add the
original C probe for explicit terminal rights, window restoration and alias lifetime.
feat: Add caller-owned termios parameters and speed accessors
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m25s
CI / memory (push) Failing after 1m51s
5c58781191
Define the namespaced C and Rust parameter layout and complete local speed
accessors as an instruction-only companion. Preserve unrelated bytes and
errno without selecting a thread, terminal or service provider.
feat: Expose namespaced terminal attribute adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 14s
CI / thread (push) Successful in 1m23s
CI / memory (push) Failing after 1m43s
f885f812e9
Provide C and Rust attribute observation and immediate replacement through the original IO binding and independent native rights. Publish GET output only after retirement, snapshot semantic SET fields without reserved-byte reads, and resolve input speed zero without changing caller input. Unsupported processing and drain or flush actions remain explicit refusals.
feat: Expose namespaced terminal input flushing
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 8s
CI / thread (push) Successful in 1m28s
CI / memory (push) Failing after 1m52s
216b3ff014
Provide C and Rust TCIFLUSH through the original bound IO runtime and independently granted terminal view. Reject output and combined selectors before callbacks, preserve success errno and publish Unit only after native completion and original caller retirement.
feat: Expose mediated drain and deferred termios actions
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 12s
CI / thread (push) Successful in 1m20s
CI / memory (push) Failing after 1m52s
7cfd738c86
Add namespaced C and Rust tcdrain and support TCSADRAIN and TCSAFLUSH through original descriptor-bound terminal calls. Preserve early action refusal, copied input parameters, original caller retirement and executing errno behavior.
feat: Expose mediated terminal software flow
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m12s
CI / memory (push) Failing after 1m47s
7b783e5872
Add namespaced C and Rust tcflow through the original descriptor and explicit native flow rights. Preserve unknown-action refusal, original caller retirement and executing errno behavior.
feat: Complete retained timed terminal break
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 12s
CI / thread (push) Successful in 1m22s
CI / memory (push) Failing after 2m0s
469d3aa70c
Connect separately admitted serial control to hardware-timed UART pulses. Retain original callers, providers and pulse tokens through drain, physical clear and completion without replaying accepted waveforms.
feat: Add retained physical terminal line configuration
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / thread (push) Successful in 1m22s
CI / memory (push) Failing after 2m0s
0d7f637b1b
Observe actual UART speed and line format through the selected controller. Retain the original transaction through verified divisor cleanup and terminal-state reconciliation, including caller cancellation.
feat: Add explicit modem and reception controls
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 13s
CI / thread (push) Successful in 1m21s
CI / memory (push) Failing after 1m59s
19616195bd
Apply verified B0 modem-output transitions and receiver delivery policy through the original physical transaction. Require a separate modem permission based on actual pre-application observation.
docs: Wrap terminal provider contract prose
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 12s
CI / thread (push) Successful in 1m55s
CI / memory (push) Failing after 2m30s
1f032b36ec
Keep terminal line and parameter descriptions within the shared Markdown line width while preserving every contract word and inline symbol.
docs: Wrap terminal parameter contract prose
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 15s
CI / thread (push) Successful in 1m28s
CI / memory (push) Failing after 1m50s
880e992eb4
Keep the complete terminal parameter paragraph within the shared Markdown line width while retaining every contract word and inline symbol.
style: Format native terminal runtime adapters
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 1m11s
CI / memory (push) Failing after 1m41s
d4229a1c6b
Apply the workspace Rust formatter to terminal result matching and C entry-point adapters while retaining their existing request, result and export behavior.
refactor: Select the thematic runtime command owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / thread (push) Successful in 1m13s
CI / memory (push) Failing after 1m37s
bfb10d1269
Admit the reviewed command owner and its two actual import companions before native runtime production. Preserve exact temporary module restoration and select that immutable cohort independently from the Cargo source helpers.
feat: Retain the complete C runtime command owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / memory (push) Failing after 1m9s
CI / thread (push) Successful in 1m21s
2c90ba65a6
Keep the defining command, caller-channel and process-forest modules together through actual native retirement. Snapshot the selected helper bytes and bind lazy imports to that same graph instead of restoring unrelated ambient modules before execution.

Run tools through the original caller pipe and native engine with unchanged finite work budgets. Check caller and command diagnostics independently, while actual acquired native objects retain custody and cleanup authority.
test: Match terminal speed guards to the exported ABI
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / memory (push) Failing after 1m11s
CI / thread (push) Successful in 1m20s
fd5a47bfe9
The public speed companion already supplies conventional and namespaced C spellings for the same pure scalar leaves. Check both explicit alias pairs while retaining the exclusions for thread, errno and provider operations.
fix: Check terminal parameter bodies once per section
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / thread (push) Successful in 1m24s
CI / memory (push) Failing after 1m30s
b2415ea7f1
Both C naming conventions alias the same four termios instruction bodies. Check each original body once in its declared order while continuing to verify every exported alias, exact instruction bytes, section coverage, symbol rights, relocations and archive membership.
feat: Adopt the retained native process owner cohort
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / thread (push) Successful in 1m29s
CI / memory (push) Failing after 1m37s
e56b93d59c
Select the complete reviewed Integration command graph for runtime and thread producers. Preserve defining module custody and original finite caller limits while retaining descendant TERM grace after leader exit.

Keep source selection separate from actual native authority and the original-main Cargo admission gate.
feat: Adopt the ordinary startup process owner cohort
Some checks failed
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / thread (push) Successful in 1m2s
CI / memory (push) Failing after 1m4s
015337dd98
Select all six defining Integration owner sources together, retaining the real native channel and lifetime through operation retirement. Exercise actual retained operations and expired absolute-deadline refusal while preserving ordinary runtime caller clocks and independent source admission.
ci: Feed frozen development sources to the native Cargo owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 23s
CI / thread (push) Successful in 2m22s
CI / memory (push) Failing after 8m20s
0e88ae2ea5
Resolve shared companion branches before native acceptance and retain the selected snapshot with its helper and query evidence. Keep the published process, instruction and original-source owners unchanged; the existing pipeline acquires exact selected revisions without another branch query.
feat(directory): own generation-bound C and Rust streams
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 11s
CI / thread (push) Successful in 2m17s
CI / memory (push) Failing after 4m21s
7ec854af2c
test(directory): exercise fail-stop after unreturned callbacks
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / thread (push) Successful in 2m15s
CI / memory (push) Failing after 4m36s
835e53e617
ci: Select the directory stream runtime companion
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 9s
CI / thread (push) Successful in 2m20s
CI / memory (push) Has been cancelled
5c2b2353cb
fix: Select the complete native caller and failure-note cohort
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 7s
CI / thread (push) Successful in 2m17s
CI / memory (push) Has been cancelled
dba0cbee50
Keep the original runtime supplier aligned with its reviewed Integration command owner, including pure first-failure notes. Ordinary native C calls must remain independent of optional executable and signing-key modules while retaining the exact source, clock and cleanup checks.
feat: Retain original per-thread runtime state and destructor duties
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 11s
CI / thread (push) Successful in 2m25s
CI / memory (push) Failing after 4m12s
fc0df4140f
Keep mutable locale, conversion and key values in actual process-heap-backed thread registrations. Retain exposed storage and callback acquisitions independently of wrapper lifetime so abandoned or failed teardown cannot fabricate native retirement. Preserve the legacy profile while preparing explicit extended native entry integration.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 13:00:50 +01:00
feat: Bind extended thread headers to original allocated state
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Failing after 2m5s
CI / markdown (push) Failing after 10s
CI / thread (push) Successful in 2m18s
4375bb5847
Consume the shared dependency-free thread image package instead of duplicating layout definitions. Preflight the original caller TCB before publishing the actual state pointer and preserve its registration before any native Start can consume that pointer.
feat: Retain thread cleanup through original native self-exit
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 22s
CI / memory (push) Failing after 2m18s
CI / thread (push) Successful in 2m19s
b9b9e57753
Complete registered key callbacks before the current-only native exit bridge and preserve returned status failures on the original state. Pass the exact last-thread finalization duty back to the process root instead of treating local cleanup as proof of native departure or backing reuse.
ci: Select the actual extended thread runtime companions
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 8s
CI / memory (push) Failing after 2m0s
CI / thread (push) Successful in 2m18s
6ab3f8d7c2
Resolve the shared runtime ABI and compatible producer branches once per run through the common source protocol. Keep public dependencies on main and preserve existing Cargo gates while retaining frozen source evidence for the selected feature cohort.
fix: Publish complete thread failures before reentrant observation
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 19s
CI / memory (push) Failing after 2m10s
CI / thread (push) Successful in 2m17s
caa78c7d18
Refuse reentry while the original registration publishes its first error and expose the full cause only after the sole write ends. Recheck conversion admission after the user borrow returns so a failure cannot be reported as ordinary success. Keep the canonical state layout and original cleanup duties unchanged.
docs: Wrap thread and command owner contracts
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 16s
CI / memory (push) Failing after 2m8s
CI / thread (push) Successful in 2m26s
29e83773b0
Keep the shared layout and command lifetime descriptions within the documentation line limit without changing their contracts.
fix: Admit the genuine seven-member C runtime workspace
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / memory (push) Failing after 2m3s
CI / thread (push) Successful in 2m27s
337e46f3d1
Retain the original thread runtime as an explicit seventh local package before the maintained Cargo matrix. Validate actual captured Cargo metadata and preserve missing, extra and foreign-path refusals; update exact feature and helper-cohort controls for the already selected source variants without accepting arbitrary dependencies or weakening source ownership.
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / memory (push) Failing after 2m3s
CI / thread (push) Successful in 2m27s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
  • ARCHITECTURE.md
  • README.md
  • ROADMAP.md
  • docs/thread-runtime.md
  • scripts/check-memory-runtime.py
  • src/lib.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

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 'main'
git merge --no-ff 'feature/owned-thread-runtime-state'
git switch 'feature/owned-thread-runtime-state'
git rebase 'main'
git switch 'main'
git merge --ff-only 'feature/owned-thread-runtime-state'
git switch 'feature/owned-thread-runtime-state'
git rebase 'main'
git switch 'main'
git merge --no-ff 'feature/owned-thread-runtime-state'
git switch 'main'
git merge --squash 'feature/owned-thread-runtime-state'
git switch 'main'
git merge --ff-only 'feature/owned-thread-runtime-state'
git switch 'main'
git merge 'feature/owned-thread-runtime-state'
git push origin 'main'
Sign in to join this conversation.
No description provided.