WIP: fix: Allow input proofs after completed output captures #748

Draft
erikinkinen wants to merge 0 commits from fix/historical-output-capture-interval into feature/native-scripted-root-build
Owner

Allow a new independent input proof after a genuinely completed output capture. The journal retains completed predecessors as history; treating the latest entry as active prevented construction of the next library.

Historical admission requires the original completion, unit, producer, caller, retired compiler grants and native forest. Active producing frames, failed or opaque owners, uncertain cleanup, copied captures and substituted completions remain rejected. Later input operations still perform complete fresh source PRE and POST.

Builds on #690, including #742 and #745.

  • Distinguish completed predecessor history from active capture intervals.
  • Require original positive completion and retirement ownership.
  • Preserve active, failed, opaque and forged capture refusals and fresh source boundaries.
  • Support the complete same-stage library dependency chain.
Allow a new independent input proof after a genuinely completed output capture. The journal retains completed predecessors as history; treating the latest entry as active prevented construction of the next library. Historical admission requires the original completion, unit, producer, caller, retired compiler grants and native forest. Active producing frames, failed or opaque owners, uncertain cleanup, copied captures and substituted completions remain rejected. Later input operations still perform complete fresh source PRE and POST. Builds on #690, including #742 and #745. - [x] Distinguish completed predecessor history from active capture intervals. - [x] Require original positive completion and retirement ownership. - [x] Preserve active, failed, opaque and forged capture refusals and fresh source boundaries. - [ ] Support the complete same-stage library dependency chain.
erikinkinen added this to the Alpha 1 milestone 2026-11-11 20:41:38 +01:00
Allow independent source proofs after genuine historical output captures only when original completion, unit, caller, grant and forest retirement remain valid. Preserve active capture guards and reject failed, opaque or uncertain predecessors without treating a closed phase as authority.
Record the complete original provider source cohort after distinguishing completed output history from active input intervals.
build: Bind historical capture source declaration
Some checks failed
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
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
025b7cdc5d
Select the exact complete signed input-owner declaration while retaining original clocks, quotas and independent source boundaries.
test: Assert opaque fixture restoration retains original failure
Some checks failed
Markdown / markdown (push) Successful in 52s
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 2m31s
CI / rust (push) Successful in 17m48s
CI / native_sources (push) Successful in 1m22s
CI / cargo_publications (push) Failing after 24m13s
CI / host_zero (push) Failing after 14m15s
CI / host_two (push) Failing after 14m15s
CI / host_three (push) Failing after 14m16s
CI / host_one (push) Failing after 14m17s
CI / integration (push) Has been skipped
00b5344dcb
Make the fixture-only metadata restoration distinction explicit: the original graph failure remains registered before restoration and historical admission still refuses afterward.
Author
Owner

Completed output captures now remain usable as history for later independent input proofs. Historical admission still requires the original unit, caller, grants and native forest; active, failed, opaque and substituted captures remain refused. The complete library dependency chain remains open.

Completed output captures now remain usable as history for later independent input proofs. Historical admission still requires the original unit, caller, grants and native forest; active, failed, opaque and substituted captures remain refused. The complete library dependency chain remains open.
Some checks failed
Markdown / markdown (push) Successful in 52s
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 2m31s
CI / rust (push) Successful in 17m48s
CI / native_sources (push) Successful in 1m22s
CI / cargo_publications (push) Failing after 24m13s
CI / host_zero (push) Failing after 14m15s
CI / host_two (push) Failing after 14m15s
CI / host_three (push) Failing after 14m16s
CI / host_one (push) Failing after 14m17s
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/check-python-host-syntax.sh
  • scripts/dynlink_c_runtime.py
  • scripts/native_c_helpers.py
  • scripts/native_input_owner_cohort.py
  • scripts/run-owned-input.py
  • tests/fixtures/python-host-syntax-commands.json
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 'fix/historical-output-capture-interval:fix/historical-output-capture-interval'
git switch 'fix/historical-output-capture-interval'

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 'fix/historical-output-capture-interval'
git switch 'fix/historical-output-capture-interval'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/historical-output-capture-interval'
git switch 'fix/historical-output-capture-interval'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'fix/historical-output-capture-interval'
git switch 'feature/native-scripted-root-build'
git merge --squash 'fix/historical-output-capture-interval'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/historical-output-capture-interval'
git switch 'feature/native-scripted-root-build'
git merge 'fix/historical-output-capture-interval'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.