Skip to content

feat: refine product return provenance - #674

Merged
sanohiro merged 1 commit into
mainfrom
agent/pkg-db-l2b-a2-products
Jul 30, 2026
Merged

feat: refine product return provenance#674
sanohiro merged 1 commit into
mainfrom
agent/pkg-db-l2b-a2-products

Conversation

@sanohiro

@sanohiro sanohiro commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • preserve exact struct and tuple member provenance through construction, projection, mutation, destructuring, and control-flow joins
  • validate source-order value snapshots at owner-generation and eager action boundaries while keeping arrays, pipelines, and tags conservative
  • fail closed on malformed checked HIR and preserve whole-program/per-unit summary parity
  • record the L2b-a2-s implementation closure matrix and completion evidence

Verification

  • scripts/test-pr.sh
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test -p align_driver --test return_provenance --test per_unit
  • cargo test -p align_sema projected_return_provenance_fails_closed
  • summary inference: 3.147 ms/check, 22,848 bytes/check
  • import validation: 1.844 ms/import

@sanohiro
sanohiro marked this pull request as ready for review July 30, 2026 05:29
@sanohiro
sanohiro merged commit cc5b23a into main Jul 30, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant