WIP: Project source history paths once per proof #696

Draft
erikinkinen wants to merge 37 commits from perf/source-history-projection into perf/catalog-helper-verification
Owner

Summary

Project the complete source-read history with one output-path classification per distinct literal path during each graph proof. Every row passes the defining primitive-field guard before publication exclusion or comparison; output and publication containers refuse foreign hooks. Every original observation remains in order and every duplicate still has its extent, hash, mode and identity compared. Fresh physical source checks and independent PRE/POST boundaries remain unchanged.

The baseline full scripted-root diagnostic observed the history grow from 438 to 12,477 entries while its helper table stayed at 206. Inclusive function timings overlap; this change has no connected speedup claim yet.

Refs #663. Depends on #693.

Validation

  • Six focused controls passed through separate original 120/15 callers, with confirmed process and forest cleanup.
  • Complete 448-module helper/input declaration renewed and closure checked twice.
  • Complete scripted-root and EFI acceptance.

This WIP keeps the original deadline failures and broader production obligations open.

## Summary Project the complete source-read history with one output-path classification per distinct literal path during each graph proof. Every row passes the defining primitive-field guard before publication exclusion or comparison; output and publication containers refuse foreign hooks. Every original observation remains in order and every duplicate still has its extent, hash, mode and identity compared. Fresh physical source checks and independent PRE/POST boundaries remain unchanged. The baseline full scripted-root diagnostic observed the history grow from 438 to 12,477 entries while its helper table stayed at 206. Inclusive function timings overlap; this change has no connected speedup claim yet. Refs #663. Depends on #693. ## Validation - [x] Six focused controls passed through separate original 120/15 callers, with confirmed process and forest cleanup. - [x] Complete 448-module helper/input declaration renewed and closure checked twice. - [ ] Complete scripted-root and EFI acceptance. This WIP keeps the original deadline failures and broader production obligations open.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 19:11:45 +01:00
Retain every original observation and conflict comparison while avoiding repeated path classification within the same complete source proof.
build: Bind renewed source history input declaration
Some checks failed
Markdown / markdown (push) Successful in 28s
CI / cargo_publications (push) Failing after 1m28s
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 4m1s
CI / rust (push) Failing after 4m39s
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
6b7180d723
Preserve complete actual code-row coverage and native/source retirement relationships while avoiding repeated full forests for each passive helper. Keep all original file bytes, classification, namespace pre/post proofs, effect barriers and finite clocks.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Reject missing or inconsistent actual helper history even when an ordinary projection omits a row, retain immutable projection references, and preserve original postproof and withdrawal duties.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Retain original restored native action witnesses and compare their actual kernel records rather than ctypes object identity, while preserving the full passive lifecycle proof.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Cargo can supply leading Git configuration pairs before fetch. Preserve those literal arguments and apply the existing shallow-cache option to the actual fetch command, so a fresh Cargo cache can receive its selected shallow source without changing original history.
Bind the full original helper graph to the corrected literal Cargo Git route.
build: Bind callers to the shallow Git route correction
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
CI / cargo_publications (push) Failing after 4m25s
CI / rust (push) Failing after 4m40s
CI / native_sources (push) Has been skipped
CI / host_zero (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 / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m31s
b431f629b5
Select the complete declared source cohort in all original callers while preserving the native ownership interface.
Propagate the actual capture and controller first failures before generic lifecycle refusals and prove restored failure fields cannot reopen the original passive source.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Document complete retained helper coverage and actual native retirement prerequisites while preserving ordinary input checks and unchanged source and native clocks.
Prove the original graph producer occupation before the passive lifetime snapshot so a copied Scope cannot poison or invoke its original parent, and retain a genuine original healthy control.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Bind every original graph capture occupation throughout the closed phase and refuse extra entries before helper bodies, preserving original native failures ahead of generic lifecycle refusals.
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
build: Bind original callers to current source execution code
Some checks failed
Markdown / markdown (push) Successful in 39s
Coreutils provider graph / coreutils (push) Failing after 2m27s
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 / cargo_publications (push) Failing after 4m55s
CI / rust (push) Failing after 5m14s
CI / native_sources (push) Has been skipped
CI / host_one (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 / integration (push) Has been skipped
7c2df80dc3
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
Keep complete helper history and original retired-native relationships through the independently reviewed closed source phase.
Preserve actual compiler-specific Cargo source query behavior without changing original native clocks or source ownership.

# Conflicts:
#	scripts/dynlink_c_runtime.py
#	scripts/native_input_owner_cohort.py
#	scripts/run-owned-input.py
Retain the original once-initialized compiler receivers and their source registrations before resource effects.

# Conflicts:
#	scripts/dynlink_c_runtime.py
#	scripts/native_input_owner_cohort.py
#	scripts/run-owned-input.py
Select every actual module from the immutable current source execution implementation without transplanting individual source rows.
build: Bind original callers to current source execution code
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 23s
CI / cargo_publications (push) Failing after 4m58s
CI / rust (push) Failing after 5m3s
CI / native_sources (push) Has been skipped
CI / host_two (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 / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m42s
b752b08799
Authenticate the complete actual input declaration before changed-source controls while preserving original native owner contracts and finite resource policies.
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.
Normally compose the published source-entry guard. Validate every retained row before classification or publication exclusion, and retain both offline and catalog physical verification routes.
build: Bind complete guarded source history 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 23s
CI / cargo_publications (push) Failing after 1m42s
Coreutils provider graph / coreutils (push) Successful in 6m7s
CI / rust (push) Failing after 6m36s
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
f6df7edd5d
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 23s
CI / cargo_publications (push) Failing after 1m42s
Coreutils provider graph / coreutils (push) Successful in 6m7s
CI / rust (push) Failing after 6m36s
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
This pull request is marked as a work in progress.
View command line instructions

Checkout

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

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/catalog-helper-verification'
git merge --no-ff 'perf/source-history-projection'
git switch 'perf/source-history-projection'
git rebase 'perf/catalog-helper-verification'
git switch 'perf/catalog-helper-verification'
git merge --ff-only 'perf/source-history-projection'
git switch 'perf/source-history-projection'
git rebase 'perf/catalog-helper-verification'
git switch 'perf/catalog-helper-verification'
git merge --no-ff 'perf/source-history-projection'
git switch 'perf/catalog-helper-verification'
git merge --squash 'perf/source-history-projection'
git switch 'perf/catalog-helper-verification'
git merge --ff-only 'perf/source-history-projection'
git switch 'perf/catalog-helper-verification'
git merge 'perf/source-history-projection'
git push origin 'perf/catalog-helper-verification'
Sign in to join this conversation.
No description provided.