feat: compare live post write clock with analysis-run cutoff (v0.84.2) - #131
Closed
cursor[bot] wants to merge 5 commits into
Closed
Conversation
The #89 review asked for 12-character code and config prefixes so an operator can match the approved revision. Full digests stay on the API only. Do not merge until this review item is checked. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
aria-label on the digest paragraph hid the prefixes from assistive technology. Move the label to a group, keep prefixes as visible text, and put the full digest on hover. Tell the operator that a cutoff title opens the live body so they compare it with the run clock. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Opening a cutoff title still loads today's body. Surface source_post.updated_at against the run clock so an operator can refuse a later rewrite as reconstructed evidence. Historical seed rows keep updated_at = created_at. Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
This was referenced Aug 16, 2026
This was referenced Aug 16, 2026
Contributor
This was referenced Aug 16, 2026
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.
Why this exists
#127 warns that a cutoff title opens today's body, but the popup never showed the live write clock. An operator could not complete the comparison ADR 0016 asks for.
Change (v0.84.2)
source_post.updated_atwith that run's knowledge cutoff.GET /api/postsandGET /api/posts/{id}includeupdated_at.updated_at = created_atso January runs do not look rewritten at seed time.0019_source_post_write_clock.sqlstampsupdated_aton implicit updates and honors an explicit write clock.Post-body versioning at the cutoff remains later work. This slice does not invent a historical body.
Verification
cd frontend && pnpm run lint && pnpm run test && pnpm run build— 46 tests passed, including a rewritten-after-cutoff case and a list-open that must not show the comparison.pytest tests/test_analysis_run_live_body.py tests/test_documentation_hygiene.py— 4 passed. True-parameter style:created_atbefore cutoff andupdated_atafter cutoff is not reconstructed evidence.Merge gates
feat/role-responsibility-agent-ontology(Role, responsibility, and agent ontology (v2.10.0) #74), notmain.mainbefore Role, responsibility, and agent ontology (v2.10.0) #74.POST /api/analysis-runs. Do not open a second create PR.References
World Wide Web Consortium. (2022). Time ontology in OWL (W3C Recommendation). https://www.w3.org/TR/owl-time/
International Organization for Standardization. (2019). ISO 8601-1:2019: Date and time—Representations for information interchange—Part 1: Basic rules (confirmed 2024; Amendment 1:2022).