Check actual resolved CI source coverage #8

Open
erikinkinen wants to merge 3 commits from feature/ci-resolved-source-contract into feature/owned-ci-source-graph
Owner

The gateway can acquire sources for other nested-package policy checks without including them in the active Cargo metadata closure. Comparing all selected graph entries to the consumer descriptor therefore rejects legitimate preparation.

Require exact equality between the actual retained tree set and its checked original metadata resolutions, and require every actual revision to match the tracked graph. Keep original root and authored graph-byte checks. Missing, foreign, unlisted and mismatched actual trees still refuse.

Validation: positive nested-policy subset and refusal controls; all Markdown files passed. The same corrected comparison also passes genuine previously prepared Block and Time consumers. No source producer, native engine or Cargo gate changed; actual CI remains independent.

The gateway can acquire sources for other nested-package policy checks without including them in the active Cargo metadata closure. Comparing all selected graph entries to the consumer descriptor therefore rejects legitimate preparation. Require exact equality between the actual retained tree set and its checked original metadata resolutions, and require every actual revision to match the tracked graph. Keep original root and authored graph-byte checks. Missing, foreign, unlisted and mismatched actual trees still refuse. Validation: positive nested-policy subset and refusal controls; all Markdown files passed. The same corrected comparison also passes genuine previously prepared Block and Time consumers. No source producer, native engine or Cargo gate changed; actual CI remains independent.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 11:09:17 +01:00
test: Bind consumer coverage to actual resolved source trees
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / test (push) Successful in 2m19s
d54ea742ff
The gateway may acquire policy sources for other nested packages without compiling them. Require exact coverage of all checked metadata-resolved source trees and exact tracked choices for every actual revision, retaining original root and authored graph checks. Reject missing, foreign and mismatched actual trees.
erikinkinen changed title from WIP: Check actual resolved CI source coverage to Check actual resolved CI source coverage 2026-11-07 11:20:52 +01:00
ci: Use shared development dependency profiles
Some checks failed
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 8s
CI / test (push) Failing after 35s
e2c1758760
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Declare main and feature provider policy
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Successful in 1m30s
f98aded04e
Pass the provider policy explicitly. Main and tag builds must use main providers; feature builds keep their declared companions. Older helpers that lack this contract must fail before preparing sources.
Author
Owner

The remaining change is prepared at 8770a0a382e06f8a526a34a23f1a39f886ed844f on the current #5 branch: changes. It explicitly selects the main/feature provider policy. Actual source coverage stays in Integration’s shared verifier; no copied checker or guide is introduced. The prepared history preserves the journal companion profile, device changes and native gates. It needs fresh review; the original branch remains intact.

The remaining change is prepared at `8770a0a382e06f8a526a34a23f1a39f886ed844f` on the current #5 branch: [changes](https://git.erikinkinen.fi/erix/lib-block/compare/6d95734da3c179817eed36417f8ebe22195b90ca...8770a0a382e06f8a526a34a23f1a39f886ed844f). It explicitly selects the main/feature provider policy. Actual source coverage stays in Integration’s shared verifier; no copied checker or guide is introduced. The prepared history preserves the journal companion profile, device changes and native gates. It needs fresh review; the original branch remains intact.
Author
Owner

A signed preparation is available at 55a2440f. It preserves the original runtime, tests and documentation, keeps the destination source-policy guards, and retains separate feature boundaries. All local component checks and the exact preview’s CI run 46679 passed, including native strict Clippy/build, optimized tests, documentation and Markdown.

This checkpoint keeps the explicit main-to-auto provider-policy change separate. Its rewritten history needs renewed approval of this exact head; predecessor image acceptance remains open.

A signed preparation is available at [55a2440f](https://git.erikinkinen.fi/erix/lib-block/src/branch/feature/owned-ci-source-graph-merge-ready-55a2440f). It preserves the original runtime, tests and documentation, keeps the destination source-policy guards, and retains separate feature boundaries. All local component checks and the exact preview’s CI run 46679 passed, including native strict Clippy/build, optimized tests, documentation and Markdown. This checkpoint keeps the explicit main-to-auto provider-policy change separate. Its rewritten history needs renewed approval of this exact head; predecessor image acceptance remains open.
All checks were successful
CI / test (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 4s
CI / test (push) Successful in 1m30s
This pull request has changes conflicting with the target branch.
  • .github/workflows/ci.yml
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/ci-resolved-source-contract:feature/ci-resolved-source-contract'
git switch 'feature/ci-resolved-source-contract'

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-ci-source-graph'
git merge --no-ff 'feature/ci-resolved-source-contract'
git switch 'feature/ci-resolved-source-contract'
git rebase 'feature/owned-ci-source-graph'
git switch 'feature/owned-ci-source-graph'
git merge --ff-only 'feature/ci-resolved-source-contract'
git switch 'feature/ci-resolved-source-contract'
git rebase 'feature/owned-ci-source-graph'
git switch 'feature/owned-ci-source-graph'
git merge --no-ff 'feature/ci-resolved-source-contract'
git switch 'feature/owned-ci-source-graph'
git merge --squash 'feature/ci-resolved-source-contract'
git switch 'feature/owned-ci-source-graph'
git merge --ff-only 'feature/ci-resolved-source-contract'
git switch 'feature/owned-ci-source-graph'
git merge 'feature/ci-resolved-source-contract'
git push origin 'feature/owned-ci-source-graph'
Sign in to join this conversation.
No description provided.