Reject duplicate fields in native runtime records #336

Open
erikinkinen wants to merge 6 commits from feature/native-runtime-record-contract into feature/native-runtime-fixture-catalog-controls
Owner

Reject duplicate encoded fields before native runtime component, role and policy
checks. Apply one fixed decoder to producer results, waits, caller diagnostics
and manifests; keep actual source and native custody independently required.
Shared compatibility validation now parses its description once.

  • Reject equal, conflicting and escaped duplicate keys at every level.
  • Accept only exact encoded data without caller decoder hooks.
  • Preserve complete current source roles and component policy checks.
  • Exercise malformed records after actual native production and retirement.
  • Document the data and native ownership boundary.

Builds on #334. The wider native source and guest execution gates remain separate.

Reject duplicate encoded fields before native runtime component, role and policy checks. Apply one fixed decoder to producer results, waits, caller diagnostics and manifests; keep actual source and native custody independently required. Shared compatibility validation now parses its description once. - [x] Reject equal, conflicting and escaped duplicate keys at every level. - [x] Accept only exact encoded data without caller decoder hooks. - [x] Preserve complete current source roles and component policy checks. - [x] Exercise malformed records after actual native production and retirement. - [x] Document the data and native ownership boundary. Builds on [#334](https://git.erikinkinen.fi/erix/integration/pulls/334). The wider native source and guest execution gates remain separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-05 21:11:07 +01:00
Decode producer, wait, caller and manifest records through one fixed duplicate-key check before component and source-role validation. Preserve actual source and native custody as independent requirements, and parse shared compatibility descriptions once while retaining hidden policy. Add malformed encoding and real retired-producer controls.
Retain the consumer feature source and its signed environment-prefix refusal followups as the prerequisite for native runtime record validation.
chore: Compose maintained source catalog syntax controls
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 4m18s
CI / host_one (push) Successful in 16m30s
CI / host_zero (push) Successful in 21m21s
CI / integration (push) Failing after 2m30s
5b8fa93f34
Retain the independent fixture path correction in both syntax inventories before the native runtime record feature is published.
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 12s
CI / rust (push) Successful in 6m11s
CI / host_one (push) Failing after 4m25s
CI / host_zero (push) Failing after 22m27s
CI / integration (push) Has been skipped
7ae21bf740
Clear independent realm, heap, thread and Boot selections between policy cases. Keep all existing positive combinations and exact negative diagnostics.

Refs: #361
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
526cab0b63
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: 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 / markdown (push) Successful in 14s
CI / rust (push) Successful in 6m1s
CI / host_one (push) Failing after 4m14s
CI / host_zero (push) Failing after 20m47s
CI / integration (push) Has been skipped
abf1eef19a
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 14s
CI / rust (push) Successful in 6m1s
CI / host_one (push) Failing after 4m14s
CI / host_zero (push) Failing after 20m47s
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

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/native-runtime-fixture-catalog-controls'
git merge --no-ff 'feature/native-runtime-record-contract'
git switch 'feature/native-runtime-record-contract'
git rebase 'feature/native-runtime-fixture-catalog-controls'
git switch 'feature/native-runtime-fixture-catalog-controls'
git merge --ff-only 'feature/native-runtime-record-contract'
git switch 'feature/native-runtime-record-contract'
git rebase 'feature/native-runtime-fixture-catalog-controls'
git switch 'feature/native-runtime-fixture-catalog-controls'
git merge --no-ff 'feature/native-runtime-record-contract'
git switch 'feature/native-runtime-fixture-catalog-controls'
git merge --squash 'feature/native-runtime-record-contract'
git switch 'feature/native-runtime-fixture-catalog-controls'
git merge --ff-only 'feature/native-runtime-record-contract'
git switch 'feature/native-runtime-fixture-catalog-controls'
git merge 'feature/native-runtime-record-contract'
git push origin 'feature/native-runtime-fixture-catalog-controls'
Sign in to join this conversation.
No description provided.