Repository navigation
refactor(baseline): harden reconciliation invariants - #65
Merged
Merged
Conversation
stacknil
force-pushed
the
stacknil/baseline-reconciliation-hardening
branch
from
August 15, 2026 03:33
896cadc to
0fc4a74
Compare
Owner
Author
Delayed post-CI final diff reviewRe-reviewed the complete hardening diff after the delay window and after rebasing onto
Final evidence: the branch is 2 commits ahead and 0 behind |
stacknil
changed the base branch from
stacknil/baseline-reconciliation
to
main
August 16, 2026 14:52
stacknil
force-pushed
the
stacknil/baseline-reconciliation-hardening
branch
from
August 16, 2026 14:54
0fc4a74 to
1f8c605
Compare
stacknil
marked this pull request as ready for review
August 16, 2026 14:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack relationship
PR #64 merged as
95bda2e3. This follow-up now targetsmainand contains only the state, reuse, and performance hardening commits.Summary
BaselineDecisionstate and suppression invariants at construction timeDesign decision
reconcile_baseline()remains the only matching semantic core. Projections consume validated decisions, while ambiguous candidates stay visible, unmatched, and unconsumed. Exact fingerprints remain globally prior to weaker identities.Main risk
The internal matching engine was substantially reorganized. The primary risk is a phase-order or consumption regression under duplicate identities. Exhaustive small-domain permutation checks and the existing reconciliation matrix cover this boundary.
Compatibility impact
No CLI or serialized report shape changes are intended.
coerce_baseline_findingremains importable fromrepo_sentinel.baseline; this change only centralizes its implementation. Suppression, prune, and audit outputs retain the #64 contract.Rollback path
Revert commits
1f8c605and01ecc12. #64 remains independently functional without this stacked hardening.Validation
python -m pytest -q— 194 passedpython -m ruff check .— passedpython -u tests/validate_pre_commit_provider.py— passedpython -m build+python -m twine check+ wheel content inspection — passed