Skip to content

Order current evidence by UTC while retaining historical review replay - #6

Merged
dev-belly merged 2 commits into
mainfrom
codex/reliability-20261023
Oct 24, 2026
Merged

dev-belly merged 2 commits into
mainfrom
codex/reliability-20261023

Conversation

@dev-belly

@dev-belly dev-belly commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Raw ISO timestamp strings can order later deployments before earlier approvals when offsets or fractional seconds differ. Order the current timeline by parsed UTC instants while keeping source strings unchanged; omit unparseable display entries without changing the linked source record.

Complete this draft against current main as version 0.2.10 / bundle format 5. Formats 2–4 reconstruct their original lexical timeline before checking historical review fingerprints, explicitly returning legacy_timeline_order=true and a CLI notice. New bundles use UTC chronology. A corrected representation cannot automatically inherit an old-order closed review.

Validation: all 113 tests pass, including the two original mixed-offset/fractional cases and three display/legacy-binding regressions. Ruff, diff and offline lockfile checks pass. A retained actual 0.2.9 export replays under the legacy policy. Re-running its real test database returns the current review to pending, exports format 5 and replays successfully; all 28 source JSON/CSV files and the dataset fingerprint remain byte-identical between old/new bundles. The existing 0.2.8 fixture also replays. Every uploaded file matches its local Git blob hash.

@dev-belly dev-belly changed the title fix: order audit evidence timelines by the actual UTC instant Order current evidence by UTC while retaining historical review replay Oct 24, 2026
@dev-belly
dev-belly marked this pull request as ready for review October 24, 2026 05:50
@dev-belly
dev-belly merged commit 4428ea9 into main Oct 24, 2026
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