WIP: feat: Prepare complete source inputs independently of artifact recipes #644

Draft
erikinkinen wants to merge 1 commit from feature/complete-source-input-catalog into feature/owned-native-build-pipeline
Owner

Summary and rationale

Separate complete source-input selection from recipes for later artifacts. Share the existing source-file and Git-tree validators while keeping production admission strict.

Tracking and scope

Implements #643 and supports #628.

  • Complete literal repository/commit/file-table contract and deeply immutable metadata.
  • Shared original source validation without changing production completeness checks.
  • Fresh tracked-source reader with original descriptor custody and shared namespace/link checks.
  • Fresh original Git/Cargo producers for the new input contract.
  • Complete tracked/generated/object bundle production and independent admission.
  • Fixed archive/CLI continuation and complete selected-source acceptance.
  • Exact source join to the unchanged production contract and complete selected-source run.

Architecture, authority and failure behavior

Catalog data supplies no owner or execution authority. Reject missing, extra, changed and repeated roles before effects. Production status flags cannot substitute for this input contract. The final native, image and external-toolchain acceptance requirements remain unchanged.

Validation evidence

Fresh source-only dependency cases pass through original Git and Cargo, complete tracked/generated/object output copies, and a fresh independent admission: normal 10.547 seconds and packed 11.777 seconds, with positive caller and descendant retirement. No fixture package is compiled or executed. Catalog, byte-admission and constructor-refusal controls also pass.

The composed 358-module declaration is renewed; the complete guarded source/export, legacy bundle and strict production-contract DATA-join regression set passes. The earlier 77-role catalog remains DATA coverage; a complete selected-source operation, archive/CLI continuation and final production-contract join remain pending.

  • Complete source/archive, exact-head CI and final selected-source acceptance.

Rust formatting and Clippy are inapplicable to these Python changes. No guest behavior changes.

Review checklist

  • Signed commits, inline documentation and changed code below 1,000 lines.
  • Complete helper declaration and input-runner bindings renewed.
  • CI and syntax coverage enrolled; architecture and roadmap updated.
## Summary and rationale Separate complete source-input selection from recipes for later artifacts. Share the existing source-file and Git-tree validators while keeping production admission strict. ## Tracking and scope Implements #643 and supports #628. - [x] Complete literal repository/commit/file-table contract and deeply immutable metadata. - [x] Shared original source validation without changing production completeness checks. - [x] Fresh tracked-source reader with original descriptor custody and shared namespace/link checks. - [x] Fresh original Git/Cargo producers for the new input contract. - [x] Complete tracked/generated/object bundle production and independent admission. - [ ] Fixed archive/CLI continuation and complete selected-source acceptance. - [ ] Exact source join to the unchanged production contract and complete selected-source run. ## Architecture, authority and failure behavior Catalog data supplies no owner or execution authority. Reject missing, extra, changed and repeated roles before effects. Production status flags cannot substitute for this input contract. The final native, image and external-toolchain acceptance requirements remain unchanged. ## Validation evidence Fresh source-only dependency cases pass through original Git and Cargo, complete tracked/generated/object output copies, and a fresh independent admission: normal 10.547 seconds and packed 11.777 seconds, with positive caller and descendant retirement. No fixture package is compiled or executed. Catalog, byte-admission and constructor-refusal controls also pass. The composed 358-module declaration is renewed; the complete guarded source/export, legacy bundle and strict production-contract DATA-join regression set passes. The earlier 77-role catalog remains DATA coverage; a complete selected-source operation, archive/CLI continuation and final production-contract join remain pending. - [ ] Complete source/archive, exact-head CI and final selected-source acceptance. Rust formatting and Clippy are inapplicable to these Python changes. No guest behavior changes. ## Review checklist - [x] Signed commits, inline documentation and changed code below 1,000 lines. - [x] Complete helper declaration and input-runner bindings renewed. - [x] CI and syntax coverage enrolled; architecture and roadmap updated.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 02:37:41 +01:00
Separate full literal source selection from later output recipes while retaining strict production inventory admission. Share the existing source and Git-tree validators instead of projecting an incomplete production inventory as complete.
Bind the shared source validators and their entire defining helper closure to the immutable source revision.
build: Bind original input runners to source row validation
Some checks failed
Markdown / markdown (push) Successful in 21s
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
Coreutils provider graph / coreutils (push) Has been cancelled
d2de35c504
Authenticate the full renewed helper declaration before original input production.
fix: Preserve nested documentation source declarations
Some checks failed
Markdown / markdown (push) Successful in 23s
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 5m32s
CI / rust (push) Successful in 10m1s
CI / native_sources (push) Failing after 29s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
e56e58050c
Keep original documentation metadata deeply immutable without interpreting later documentation recipes as source preparation prerequisites.
Share original source-file, link and namespace verification between distinct admission contracts. Retain actual capturers and reject copied or replaced readers before effects while keeping production inventory admission strict.
Bind both source admission contracts and their shared verification code to the immutable source revision.
Authenticate the complete renewed admission helper declaration before original input effects.
test: Exercise the defining source capture signal barrier
Some checks failed
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 38s
Coreutils provider graph / coreutils (push) Successful in 5m44s
CI / rust (push) Successful in 9m47s
CI / native_sources (push) Failing after 29s
CI / host_zero (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 / integration (push) Has been skipped
e4b605e50a
Inject pending-signal and restoration failures at the actual low-level mask operation while keeping the native file opener unchanged.
Require exact admission receivers before consulting current fields or methods, and preserve the original selection and failure through cleanup.
Bind all shared source verification bodies to their immutable source before renewing original input runners.
build: Bind input runners to guarded source admissions
Some checks failed
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 27s
Coreutils provider graph / coreutils (push) Successful in 5m51s
CI / rust (push) Successful in 10m33s
CI / native_sources (push) Failing after 18s
CI / host_three (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 / integration (push) Has been skipped
5b8c2e399f
Authenticate the complete current declaration without combining helper variants or changing native owner contracts.
Share initialized preparation and materialization receivers while preserving strict production inventory entry gates. Add a distinct source-input bundle carrying original tracked, generated Cargo and object closure, with fresh independent admission and retained partial duties. This is an implementation checkpoint pending genuine producer, archive and failure acceptance.
Derive every actual module body and mode from the immutable implementation checkpoint before genuine source producer controls.
Authenticate the independently committed code declaration and immutable source before native source preparation controls.
Refuse copied preparation before effects, bind original child capturers and manifest reader journals, and select a narrower original writer end before admission. Preserve the failed first control and every original parent counter and clock; shared writer custody corrections remain an independent prerequisite.
Derive the complete actual code inventory from the immutable receiver and cleanup correction before the changed producer control.
Authenticate all actual module bytes through the independently committed complete declaration.
test: Exercise source-only dependency export with original Git packs
Some checks failed
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 25s
CI / rust (push) Failing after 2m55s
CI / native_sources (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 / host_two (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 6m14s
428d81bb9c
Run the same original dependency-bearing source producer and independent admission through the existing finite pack/index recipe without changing production scopes or native limits.
Require both independently selected contracts to describe the same complete source table before later production acceptance. Reparse original bytes and retain existing generated-input completeness checks without creating source ownership or a reusable completion token.
Select the full transitive input implementation including the declaration join from its immutable source revision.
build: Bind input runners to the source contract join
Some checks failed
Markdown / markdown (push) Successful in 19s
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 / rust (push) Failing after 2m49s
Coreutils provider graph / coreutils (push) Successful in 5m41s
CI / native_sources (push) Has been skipped
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
71ac939aab
Use the same complete input implementation and declaration in every maintained source runner.
Keep independent capture journals before acquisition so copied writers, replaced participants and erased public lists cannot trigger or redirect original resource effects. Retain the actual completed materialization receiver for archive consumers and borrow original object descriptors during writes.
Select the full transitive source implementation and independent capture journals from the immutable original code revision.
build: Bind input runners to original source writer custody
Some checks failed
Markdown / markdown (push) Successful in 20s
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 / rust (push) Failing after 3m2s
CI / native_sources (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 / host_one (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m50s
7a29bffe9c
Keep all maintained source runners on the same complete original-custody implementation and declaration.
Keep fresh Git and Cargo source production connected to independent original input capture and cleanup journals. Preserve the completed live writer receiver for source archive consumers.
Require the independently selected source catalog and final production declarations to agree while preserving fresh original producers, generated inputs and writer custody.
Select the whole original preparation, materialization, custody and production join implementation from the immutable combined source revision.
build: Bind source runners to the complete input composition
Some checks failed
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
Coreutils provider graph / coreutils (push) Successful in 5m44s
CI / rust (push) Failing after 8m38s
CI / native_sources (push) Has been skipped
CI / host_zero (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 / integration (push) Has been skipped
d0db280843
Keep all maintained input runners on the same full original producer and admission implementation.
Author
Owner

Fresh normal and packed dependency producers now write tracked/generated/object inputs and pass fresh independent admission. The composed foundation retains original writer custody and the strict production-contract DATA join (#648, #649). Full selected-source, archive/CLI and final build acceptance remain open.

Fresh normal and packed dependency producers now write tracked/generated/object inputs and pass fresh independent admission. The composed foundation retains original writer custody and the strict production-contract DATA join (#648, #649). Full selected-source, archive/CLI and final build acceptance remain open.
test: Qualify the original source export fixture interpreter
Some checks failed
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 28s
Coreutils provider graph / coreutils (push) Failing after 2m40s
CI / rust (push) Failing after 3m29s
CI / native_sources (push) Has been skipped
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
2efa06d6de
Apply the existing actual-interpreter selection correction to this source-only fixture without importing newer archive tests or changing executable verification.
Some checks failed
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 28s
Coreutils provider graph / coreutils (push) Failing after 2m40s
CI / rust (push) Failing after 3m29s
CI / native_sources (push) Has been skipped
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 'feature/complete-source-input-catalog:feature/complete-source-input-catalog'
git switch 'feature/complete-source-input-catalog'

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/owned-native-build-pipeline'
git merge --no-ff 'feature/complete-source-input-catalog'
git switch 'feature/complete-source-input-catalog'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/complete-source-input-catalog'
git switch 'feature/complete-source-input-catalog'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/complete-source-input-catalog'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'feature/complete-source-input-catalog'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/complete-source-input-catalog'
git switch 'feature/owned-native-build-pipeline'
git merge 'feature/complete-source-input-catalog'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.