Define versioned compatibility artifact contracts #16

Manually merged
erikinkinen merged 2 commits from feature/compatibility-artifact-contract into feature/documentation-lint-repair 2026-11-13 20:53:02 +01:00
Owner

Define erix-compat-artifact-v1 as an allocation-free record binding complete original ELF length, SHA256 and object role to required runtime mechanisms. Reject unknown versions, fields and substituted originals; requirements describe needs without granting file, mapping or execution authority.

Keep the native artifact contract separate, including its TLS, initialization and unwind rejections. Loaderd's explicit compatibility intake will admit only its implemented initial-TLS mechanism.

Refs #15. Builds on #14.

Define `erix-compat-artifact-v1` as an allocation-free record binding complete original ELF length, SHA256 and object role to required runtime mechanisms. Reject unknown versions, fields and substituted originals; requirements describe needs without granting file, mapping or execution authority. Keep the native artifact contract separate, including its TLS, initialization and unwind rejections. Loaderd's explicit compatibility intake will admit only its implemented initial-TLS mechanism. Refs [#15](https://git.erikinkinen.fi/erix/lib-dynlink/issues/15). Builds on [#14](https://git.erikinkinen.fi/erix/lib-dynlink/pulls/14).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:24:21 +01:00
feat: Define versioned compatibility artifact contracts
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / test (push) Has been cancelled
CI / markdown (push) Has been cancelled
e6b3cd124a
Bind complete original ELF identities and object roles to canonical runtime requirements. Keep compatibility descriptions separate from native artifact policy and execution authority; reject unknown versions, reserved fields and substituted originals before consumers admit supported mechanisms.
test: Bind compatibility fields to literal wire records
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / test (push) Successful in 1m22s
578906563c
Check executable and shared roles, the target and every named mechanism against independently assembled canonical records. Preserve full-width original identity and the published field meanings without relying on encoder-decoder agreement alone.
erikinkinen manually merged commit bfb03473b4 into feature/documentation-lint-repair 2026-11-13 20:53:02 +01:00
Sign in to join this conversation.
No description provided.