WIP: Check source bookends during target compiler input registration #739

Draft
erikinkinen wants to merge 10 commits from perf/target-cfi-source-bookends into perf/target-input-source-proof
Owner

Target compiler inputs reread source and SDK bodies several times before one compiler starts. Within the defining CFI prebirth methods, check the same original captures, complete namespaces, file metadata, descriptor witnesses and flags. Keep both full Call checks and all completion and failure checks.

Preparation failures also retain an independent full input postcheck. Ordinary APIs and unsupported external inputs keep their full source checks.

  • Implement original-association and physical source bookends.
  • Complete the original-owner fault controls and native effect qualification.

Depends on #740.

Target compiler inputs reread source and SDK bodies several times before one compiler starts. Within the defining CFI prebirth methods, check the same original captures, complete namespaces, file metadata, descriptor witnesses and flags. Keep both full Call checks and all completion and failure checks. Preparation failures also retain an independent full input postcheck. Ordinary APIs and unsupported external inputs keep their full source checks. - [x] Implement original-association and physical source bookends. - [ ] Complete the original-owner fault controls and native effect qualification. Depends on [#740](https://git.erikinkinen.fi/erix/integration/pulls/740).
erikinkinen added this to the Alpha 1 milestone 2026-11-11 18:19:35 +01:00
Separate existing completion, participant and capture registration checks from the ordinary full lease traversal. Fixed source proof operations can inspect actual original receivers while every public lease check retains its complete body checks.
Use the same complete structural source checks for ordinary source validation and the fixed target compiler bookkeeping boundary.
Retain the actual source associations before the full entry proof and recheck fresh file metadata, namespaces and descriptor custody during the defining CFI prebirth stack. Keep full ordinary input checks and completion and failure proofs, including failures during preparation, while retaining physical configuration, helper and executable checks.
Derive the complete input-owner source inventory from the committed bookkeeping and metadata implementation so every imported helper remains captured and parsed before execution.
build: Bind the target CFI bookend declaration
Some checks failed
Markdown / markdown (push) Successful in 16s
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 4m8s
CI / rust (push) Failing after 7m51s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 10m45s
d1cbf53052
Bind the actual complete code declaration to the input entry while retaining the original bootstrap and native helper selections.
Combine the original runtime, lease, profile and query checks in one fixed operation with independent complete source PRE and POST. Retain physical runtime checks, exact original registrations and immutable observation fields, while a negative-only journal preserves failures and fences effects until POST completes.
Bind the complete original input-owner cohort to the target source-boundary implementation so the maintained actor runner selects the same immutable source graph.
build: Bind target input proof owner declaration
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 18s
Coreutils provider graph / coreutils (push) Successful in 3m18s
CI / rust (push) Failing after 8m7s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 11m24s
fe4ba06975
Select the exact signed input-owner declaration for complete target input checks without changing resource bounds or accepting caller-provided source approval.
Use the complete source proof boundary as the prerequisite for CFI metadata bookends while keeping both defining Call checks and ordinary APIs intact. Regenerate the combined source inventory before publishing the new CFI head.
Keep the existing interpreter and capture retirement guards in the local source associations, freeze helper and Git-route literal fields, and repeat independent metadata and namespace bookends around the small physical readers. Register the actual CFI controls in the maintained finite producer gate.
Regenerate the whole immutable helper inventory from the reviewed prerequisite and the CFI source association and literal checks.
build: Bind the complete target CFI source inventory
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
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
CI / rust (push) Has been cancelled
CI / cargo_publications (push) Has been cancelled
Coreutils provider graph / coreutils (push) Successful in 4m46s
Markdown / markdown (push) Has started running
d26164cb82
Bind the actual declaration and source composition while keeping bootstrap and native helper origins unchanged.
erikinkinen changed target branch from fix/settled-recipe-lease-failure to perf/target-input-source-proof 2026-11-11 18:44:21 +01:00
test: Observe complete Call source boundaries in the CFI control
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 22s
Coreutils provider graph / coreutils (push) Successful in 6m11s
CI / rust (push) Failing after 9m12s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 10m17s
05f0d50462
Count the real Call input operations and their successful physical source PRE and POST after composing the complete target proof. Require both prebirth checks and a post-retirement completion check alongside real compiler, descriptor bookend and native forest evidence.
ci: Select external storage for input diagnostics
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 19s
CI / cargo_publications (push) Failing after 9m55s
Coreutils provider graph / coreutils (push) Successful in 6m26s
CI / rust (push) Successful in 17m23s
CI / native_sources (push) Failing after 2m46s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
8c39201a9f
Provide the runner temporary directory to the owned-input diagnostic step so its retained fixture data stays outside the source checkout.

(cherry picked from commit 4581a707a3)
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 19s
CI / cargo_publications (push) Failing after 9m55s
Coreutils provider graph / coreutils (push) Successful in 6m26s
CI / rust (push) Successful in 17m23s
CI / native_sources (push) Failing after 2m46s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'perf/target-cfi-source-bookends:perf/target-cfi-source-bookends'
git switch 'perf/target-cfi-source-bookends'

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 'perf/target-input-source-proof'
git merge --no-ff 'perf/target-cfi-source-bookends'
git switch 'perf/target-cfi-source-bookends'
git rebase 'perf/target-input-source-proof'
git switch 'perf/target-input-source-proof'
git merge --ff-only 'perf/target-cfi-source-bookends'
git switch 'perf/target-cfi-source-bookends'
git rebase 'perf/target-input-source-proof'
git switch 'perf/target-input-source-proof'
git merge --no-ff 'perf/target-cfi-source-bookends'
git switch 'perf/target-input-source-proof'
git merge --squash 'perf/target-cfi-source-bookends'
git switch 'perf/target-input-source-proof'
git merge --ff-only 'perf/target-cfi-source-bookends'
git switch 'perf/target-input-source-proof'
git merge 'perf/target-cfi-source-bookends'
git push origin 'perf/target-input-source-proof'
Sign in to join this conversation.
No description provided.