feat(cabr): add consensus time range and receipt correlation reporting#583
Merged
Merged
Conversation
Phase 5 of CABR consensus finalization - time-range query helpers and receipt correlation for filtered audits and cross-referencing consensus records to original CABR receipts. New API: - CABRTimeRangeFilter with validate() method - query_consensus_records_by_time() for filtered queries - CABRReceiptCorrelation and correlate_consensus_records_to_receipts() - CABRReceiptCorrelationReport and generate_receipt_correlation_report() - export_receipt_correlation_report_json() for deterministic JSON export WSP 97: All truth fields remain False. Observability only. Test coverage: 46 new tests, 245 total passing (no regressions) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
Phase 5 read-only reporting helpers for CABR consensus audit trails:
start_time/end_timefiltering with timezone-aware boundsreceipt_idorjob_idwhere availableWSP 97 Truth Boundaries
Test Coverage
Changed Files
cabr_consensus_reporting.py— Time range + receipt correlation helperstest_cabr_consensus_reporting_time_correlation.py— 46 focused testsSlice: CABR_CONSENSUS_FINALIZATION_PHASE5_TIME_RANGE_RECEIPT_CORRELATION
Worker: W1
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com