Skip to content

Add native reduction provenance snapshots - #16

Merged
xtraid merged 2 commits into
mainfrom
feature/reduction-explanation-v1
Aug 27, 2026
Merged

xtraid merged 2 commits into
mainfrom
feature/reduction-explanation-v1

Conversation

@xtraid

@xtraid xtraid commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • add an opt-in native ReductionExplanation sidecar with exact signal orders and builder-produced gadget spans while leaving the standard build allocation-free
  • export closed, hash-bound reduction/manifest contracts and copy native provenance into immutable Python models
  • render a square-only reduction view with formula, signal routing, boundary colors, gadget overlays, fixtures, golden PNG, tests, and documentation

Validation

  • make check: 16 C binaries, 120 Python tests, Pages checks, native and cross-engine smoke
  • renderer: 238 tests
  • strict GCC and Clang, sanitizers, static analyzer, and Memcheck passed before rebase
  • post-rebase range-diff is identical and the old/new trees are byte-identical
  • post-rebase make check and renderer suite passed
  • diff, JSON, secret, dependency, workflow, and artifact audits passed

Scope note

Cachegrind was not rerun locally because this packet does not modify the solver or its hot path; provenance is opt-in and the standard builder performs no provenance allocation. Sanitizers and Memcheck cover the new native ownership paths. The normal CI dynamic-analysis job remains unchanged.

@xtraid
xtraid merged commit 8616e31 into main Aug 27, 2026
10 checks passed
@xtraid
xtraid deleted the feature/reduction-explanation-v1 branch August 27, 2026 12:48
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