WIP: feat: Join source inputs to production declarations #648

Draft
erikinkinen wants to merge 0 commits from feature/source-input-production-join into feature/complete-source-input-catalog
Owner

Summary and rationale

Check that the independently selected source-input catalog and production inventory describe exactly the same sources. A changed revision, file table or documentation declaration is rejected before later production acceptance.

Tracking and scope

Part of #643; depends on #644.

  • Reparse both original byte selections and compare every source field.
  • Preserve production completeness and versioned generated-input checks.
  • Connect the join to the complete original source-bundle producer and final native acceptance.

Architecture, authority and failure behavior

SourceInputCatalog.check_production compares declarations and returns no completion token. It does not acquire files, reconstruct producers or authorize native execution. Actual source and generated-input owners remain required through final acceptance.

Validation evidence

Ten declaration-join controls cover independent digest failures, altered roles and source coordinates, file modes and contents, nested documentation metadata, foreign receivers, and the original generated-input validators. The frozen-source run passes 38 join/catalog/input/syntax controls, with positive caller and descendant retirement; Markdown checks pass for 192 files. Exact-head CI is pending. Rust formatting and Clippy do not apply to these Python changes; this adds no guest behavior.

Review checklist

  • Signed commits, useful inline documentation and code below 1,000 lines.
  • Complete helper declaration and input-runner bindings renewed.
  • CI coverage and architecture/design documentation updated.
## Summary and rationale Check that the independently selected source-input catalog and production inventory describe exactly the same sources. A changed revision, file table or documentation declaration is rejected before later production acceptance. ## Tracking and scope Part of #643; depends on #644. - [x] Reparse both original byte selections and compare every source field. - [x] Preserve production completeness and versioned generated-input checks. - [ ] Connect the join to the complete original source-bundle producer and final native acceptance. ## Architecture, authority and failure behavior `SourceInputCatalog.check_production` compares declarations and returns no completion token. It does not acquire files, reconstruct producers or authorize native execution. Actual source and generated-input owners remain required through final acceptance. ## Validation evidence Ten declaration-join controls cover independent digest failures, altered roles and source coordinates, file modes and contents, nested documentation metadata, foreign receivers, and the original generated-input validators. The frozen-source run passes 38 join/catalog/input/syntax controls, with positive caller and descendant retirement; Markdown checks pass for 192 files. Exact-head CI is pending. Rust formatting and Clippy do not apply to these Python changes; this adds no guest behavior. ## Review checklist - [x] Signed commits, useful inline documentation and code below 1,000 lines. - [x] Complete helper declaration and input-runner bindings renewed. - [x] CI coverage and architecture/design documentation updated.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 04:11:35 +01:00
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.
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
This pull request has changes conflicting with the target branch.
  • scripts/dynlink_c_runtime.py
  • scripts/native_c_helpers.py
  • scripts/native_input_owner_cohort.py
  • scripts/run-owned-input.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

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