Guard source admission before helper dispatch #672

Open
erikinkinen wants to merge 0 commits from fix/source-input-entry-guard into feature/source-input-offline-execution
Owner

Summary and rationale

Check the defining source-admission receiver before helper-idle dispatch. Foreign entry calls retain the existing ScopeError contract and cannot reach helper callbacks. Actual readers keep the same helper-idle, source-state and finite-operation checks.

Tracking and scope

Follow-up to #662 and #669. Fixes the current Rust CI admission regression without weakening its expected exception or negative checks.

Architecture, authority and failure behavior

The original typed admission and source registrations remain authoritative. The complete 412-module source/helper cohort is regenerated and bound to its immutable code. Native-owner and bootstrap bodies, source/native clocks and resource limits are unchanged.

Validation evidence

  • Eight admission controls, including refusal before helper callbacks
  • Full syntax traversal and complete helper closure checks
  • Complete original input-owner gate: the selected three source-binding controls had two passes and one existing 3-second startup timeout; failure evidence is retained without retry or limit change
  • Natural complete CI and native/guest acceptance

Rust and ABI implementation are unchanged.

## Summary and rationale Check the defining source-admission receiver before helper-idle dispatch. Foreign entry calls retain the existing `ScopeError` contract and cannot reach helper callbacks. Actual readers keep the same helper-idle, source-state and finite-operation checks. ## Tracking and scope Follow-up to [#662](https://git.erikinkinen.fi/erix/integration/pulls/662) and [#669](https://git.erikinkinen.fi/erix/integration/pulls/669). Fixes the current Rust CI admission regression without weakening its expected exception or negative checks. ## Architecture, authority and failure behavior The original typed admission and source registrations remain authoritative. The complete 412-module source/helper cohort is regenerated and bound to its immutable code. Native-owner and bootstrap bodies, source/native clocks and resource limits are unchanged. ## Validation evidence - [x] Eight admission controls, including refusal before helper callbacks - [x] Full syntax traversal and complete helper closure checks - [ ] Complete original input-owner gate: the selected three source-binding controls had two passes and one existing 3-second startup timeout; failure evidence is retained without retry or limit change - [ ] Natural complete CI and native/guest acceptance Rust and ABI implementation are unchanged.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 12:37:45 +01:00
Keep the defining receiver type and ScopeError boundary ahead of helper-idle dispatch. Preserve the existing helper and source state checks for actual readers, and verify foreign entry calls cannot reach helper callbacks.
Recompute all 412 defining helper modules from immutable cf8c84ed after restoring the original source entry type boundary, without changing native-owner or bootstrap bodies.
build: Bind source admission to its complete reviewed entry code
Some checks failed
Markdown / markdown (push) Successful in 24s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Failing after 1m40s
CI / cargo_publications (push) Failing after 4m54s
CI / rust (push) Failing after 10m52s
CI / native_sources (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
4d8a819183
Authenticate the actual immutable defining tree and its full derived input declaration before source execution, retaining all existing bootstrap and native-owner checks.
erikinkinen changed title from WIP: Guard source admission before helper dispatch to Guard source admission before helper dispatch 2026-11-10 12:40:56 +01:00
Some checks failed
Markdown / markdown (push) Successful in 24s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Failing after 1m40s
CI / cargo_publications (push) Failing after 4m54s
CI / rust (push) Failing after 10m52s
CI / native_sources (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/source-input-entry-guard:fix/source-input-entry-guard'
git switch 'fix/source-input-entry-guard'

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/source-input-offline-execution'
git merge --no-ff 'fix/source-input-entry-guard'
git switch 'fix/source-input-entry-guard'
git rebase 'feature/source-input-offline-execution'
git switch 'feature/source-input-offline-execution'
git merge --ff-only 'fix/source-input-entry-guard'
git switch 'fix/source-input-entry-guard'
git rebase 'feature/source-input-offline-execution'
git switch 'feature/source-input-offline-execution'
git merge --no-ff 'fix/source-input-entry-guard'
git switch 'feature/source-input-offline-execution'
git merge --squash 'fix/source-input-entry-guard'
git switch 'feature/source-input-offline-execution'
git merge --ff-only 'fix/source-input-entry-guard'
git switch 'feature/source-input-offline-execution'
git merge 'fix/source-input-entry-guard'
git push origin 'feature/source-input-offline-execution'
Sign in to join this conversation.
No description provided.