Use the pure native owner for explicitly generic caller clocks #775

Open
erikinkinen wants to merge 26 commits from perf/generic-caller-native-owner into feature/native-scripted-root-build
Owner

Summary and rationale

The explicitly caller-clocked public API went through the Cargo-aware facade, importing source policy before discovering that this generic caller had no source capture to enroll. Route it directly through the existing shared pure executor.

The ordinary Source/Stage facade remains intact. This removes unnecessary cold source-policy imports without changing clock starts, cancellation, native Scope ownership, receipts or physical retirement.

Tracking and scope

Builds on the root owner composition, with a matching LibCstd companion. Related: the shared pure owner and its design.

  • Route only the explicitly generic public entry through the shared pure executor.
  • Preserve genuine Source/Stage enrollment and complete original owner source selection.
  • Add a fresh-interpreter no-Cargo-import control and private-cohort companion control.
  • Qualify original caller-clock/input controls and the actual source-backed compiler effect.
  • Complete CI.

Architecture, authority and failure behavior

No new handoff, caller flag or approval cache is introduced. Both routes retain the same original constructor, one-use Scope, child custody and complete physical cleanup. The generic API has no source capture to enroll and grants no caller-channel forest certificate. Existing deadlines and failure/status oracles remain unchanged.

Validation evidence

The complete native C and supervisor declarations are regenerated from the actual tree. The selected controls and genuine compiler effect are qualified. No elapsed improvement is claimed from removing the import; actual full-library and guest acceptance remain separate.

## Summary and rationale The explicitly caller-clocked public API went through the Cargo-aware facade, importing source policy before discovering that this generic caller had no source capture to enroll. Route it directly through the existing shared pure executor. The ordinary Source/Stage facade remains intact. This removes unnecessary cold source-policy imports without changing clock starts, cancellation, native Scope ownership, receipts or physical retirement. ## Tracking and scope Builds on [the root owner composition](https://git.erikinkinen.fi/erix/integration/pulls/690), with a [matching LibCstd companion](https://git.erikinkinen.fi/erix/lib-cstd/pulls/108). Related: [the shared pure owner](https://git.erikinkinen.fi/erix/integration/pulls/769) and [its design](https://git.erikinkinen.fi/erix/integration/issues/767). - [x] Route only the explicitly generic public entry through the shared pure executor. - [x] Preserve genuine Source/Stage enrollment and complete original owner source selection. - [x] Add a fresh-interpreter no-Cargo-import control and private-cohort companion control. - [x] Qualify original caller-clock/input controls and the actual source-backed compiler effect. - [ ] Complete CI. ## Architecture, authority and failure behavior No new handoff, caller flag or approval cache is introduced. Both routes retain the same original constructor, one-use Scope, child custody and complete physical cleanup. The generic API has no source capture to enroll and grants no caller-channel forest certificate. Existing deadlines and failure/status oracles remain unchanged. ## Validation evidence The complete native C and supervisor declarations are regenerated from the actual tree. The selected controls and genuine compiler effect are qualified. No elapsed improvement is claimed from removing the import; actual full-library and guest acceptance remain separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-12 09:04:30 +01:00
Avoid importing source policy for a generic entry that has no Source or Stage enrollment. Keep the shared executor, original Scope, cancellation, status and physical retirement semantics; ordinary source-backed calls retain their defining facade.
Derive all actual owner hashes before closing the full native C helper graph after the generic entry selects the pure executor.
Select the whole original owner family from the actual coherent source without importing source policy for generic execution.
build: Bind the complete generic caller owner declaration
Some checks failed
Markdown / markdown (push) Successful in 7s
CI / rust (push) Failing after 1m0s
CI / native_sources (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 2m33s
CI / cargo_publications (push) Has been cancelled
6eb753973d
Use the full immutable source and declaration at the unchanged bounded input entry.
test: Keep generic receipts distinct from actual forest certificates
Some checks failed
CI / rust (push) Successful in 9m45s
CI / native_sources (push) Successful in 12s
CI / host_two (push) Failing after 2m15s
CI / host_three (push) Failing after 2m18s
CI / host_one (push) Failing after 2m20s
CI / host_zero (push) Failing after 2m22s
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 12m47s
Markdown / markdown (push) Successful in 11s
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) Successful in 2m57s
f6333c08e8
The public generic call owns its original process group without a caller-channel VM backend. Require ordinary cleanup and refuse a manufactured forest certificate in the new no-source-import control.
erikinkinen changed title from WIP: Use the pure native owner for explicitly generic caller clocks to Use the pure native owner for explicitly generic caller clocks 2026-11-12 09:08:20 +01:00
Author
Owner

The explicitly caller-clocked public entry now runs through the shared pure owner without importing source policy. Fresh generic execution, the original cancellation/input controls and genuine source-backed compiler execution retain their original ownership and retirement checks. The Source/Stage facade remains unchanged.

The explicitly caller-clocked public entry now runs through the shared pure owner without importing source policy. Fresh generic execution, the original cancellation/input controls and genuine source-backed compiler execution retain their original ownership and retirement checks. The Source/Stage facade remains unchanged.
ci: Keep host summary capacity consistent
Some checks failed
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
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
CI / cargo_publications (push) Has been cancelled
CI / rust (push) Has been cancelled
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
d3a281d7d7
Use the existing caller output allowance for the complete inventory and all summary consumers. Preserve source-job dependencies, original clocks and complete coverage checks.
Retain a completed reader reservation separately from mask activation. Cancellation between construction and entry can withdraw an inert reservation after its defining frame unwinds, while activated or uncertain intervals still require physical restoration. Preserve the original failure and genuine native forest and descriptor retirement.
Bind the input producer to the actual reader reservation correction and its exact source bodies. The declaration changes no native authority or execution limits.
Require literal reservation states and the original exclusive Scope before withdrawing an unentered reader. Release the original frame holder when custody settles. Retain contradictory or interrupted native evidence and reject activation after withdrawal.
Select the corrected exclusive reservation source bodies for the original input producer without changing its authority or limits.
Authenticate the exact updated input-owner inventory so original retained-owner controls use the corrected public producer cohort.
Keep the reader reservation explanation consistent with the manual Markdown style.
Reject a foreign Scope receiver before reading its storage descriptor. Exact constructor type admission preserves the TypeError contract without invoking untrusted attribute callbacks.
Keep a refused reentrant output retirement sticky before later flush or progress. Compare defining code by identity so foreign CodeType constants cannot supply callbacks during custody admission.
Load each isolated live-output fixture through its canonical original module slot. Check both real reader and witness close receipts, and advance an explicit unit clock rather than changing original authority metadata.
Reject a copied withdrawal body containing poisoned code constants before any original reservation state changes.
Select the exact corrected original output custody body for the maintained input producer.
Authenticate the refreshed input producer declaration and its actual source revision.
Authenticate each original reader once during its callback-free retirement walk, while still checking every journal node and outcome. Keep individual effectful admission fully authenticated. Removing repeated whole-map scans restores linear retirement cost and allows long-lived nested commands to retire within their original clocks.
Bind the maintained input producer to the actual linear-retirement source correction.
Authenticate the exact maintained input-owner inventory after the retirement correction.
Refresh the complete actual source-helper graph and memory-owner declaration after the original reader retirement and Scope admission corrections. Keep every existing helper role, native source check and supplier bound.
Require the original acquired mask, attempted restoration and matching literal physical query in every restored interval outcome. A restored state label alone cannot replace native custody evidence.
Select the original reader outcome correction in the actual input producer inventory.
Authenticate the exact source inventory containing the stronger original mask outcome checks.
fixup! build: Refresh the complete generic caller command cohort
Some checks failed
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
Markdown / markdown (push) Successful in 5s
Coreutils provider graph / coreutils (push) Successful in 1m57s
CI / cargo_publications (push) Failing after 8m19s
CI / rust (push) Successful in 8m59s
CI / native_sources (push) Successful in 17s
CI / host_one (push) Failing after 14m24s
CI / host_zero (push) Failing after 23m3s
CI / host_two (push) Failing after 23m21s
CI / host_three (push) Failing after 23m24s
CI / integration (push) Has been skipped
79f00f6f0f
Keep the complete native source-helper and memory-owner declarations consistent with the final original mask outcome correction.
Author
Owner

Fixed cancellation between interval construction and entry. Cleanup can now withdraw an untouched reservation without claiming mask restoration; an entered mask still needs its original restoration evidence. Retirement also checks the journal in one pass instead of repeatedly rescanning it for each node. This addresses the owner-retirement failure affecting Cstd #108.

Fixed cancellation between interval construction and entry. Cleanup can now withdraw an untouched reservation without claiming mask restoration; an entered mask still needs its original restoration evidence. Retirement also checks the journal in one pass instead of repeatedly rescanning it for each node. This addresses the owner-retirement failure affecting [Cstd #108](https://git.erikinkinen.fi/erix/lib-cstd/pulls/108).
Some checks failed
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
Markdown / markdown (push) Successful in 5s
Coreutils provider graph / coreutils (push) Successful in 1m57s
CI / cargo_publications (push) Failing after 8m19s
CI / rust (push) Successful in 8m59s
CI / native_sources (push) Successful in 17s
CI / host_one (push) Failing after 14m24s
CI / host_zero (push) Failing after 23m3s
CI / host_two (push) Failing after 23m21s
CI / host_three (push) Failing after 23m24s
CI / integration (push) Has been skipped
This pull request can be merged automatically.
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 'perf/generic-caller-native-owner:perf/generic-caller-native-owner'
git switch 'perf/generic-caller-native-owner'

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-scripted-root-build'
git merge --no-ff 'perf/generic-caller-native-owner'
git switch 'perf/generic-caller-native-owner'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/generic-caller-native-owner'
git switch 'perf/generic-caller-native-owner'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'perf/generic-caller-native-owner'
git switch 'feature/native-scripted-root-build'
git merge --squash 'perf/generic-caller-native-owner'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/generic-caller-native-owner'
git switch 'feature/native-scripted-root-build'
git merge 'perf/generic-caller-native-owner'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.