Skip to content

feat: show cutoff-known post body beside the live rewrite (v2.1.0) - #218

Merged
seonghobae merged 1 commit into
feat/role-responsibility-agent-ontologyfrom
feat/source-post-revision-v092
Aug 17, 2026
Merged

feat: show cutoff-known post body beside the live rewrite (v2.1.0)#218
seonghobae merged 1 commit into
feat/role-responsibility-agent-ontologyfrom
feat/source-post-revision-v092

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Buyer impact

Opening a title marked Updated after cutoff now shows the body that run knew beside the live rewrite. After make seed, open Lineage reconstruction · Succeeded · Demo Corp, then Demo public post: Body this run knew is the January follow-up; the live body names the later delivery window. Compare those two texts. Demo private post stays unmarked and has no second text.

Scope

  • Migration 0024_source_post_revision.sql (ADR 0025) stores each title/body rewrite as a half-open valid-time interval. Clock-only updates do not pretend to be a rewrite.
  • GET /api/posts/{id}?as_of= returns known_at when a revision covers that clock. The live post_body stays the live row. A missing cover is omitted — never a fabricated cutoff sentence.
  • Analysis-run detail stays titles and clocks. The known body is only on the opened post.
  • Seed writes the January Demo public sentence, then rewrites it on 2026-01-13.
  • No TEPP theta is invented.

Base

Rebased onto #74 exact head d4d1048 (v2.0.0, includes #216). Do not merge before #74. Do not mix leftover pairs (#211) or #215 into this branch. Do not add commits to #74 or #92.

Review

Do not self-approve. Squash-merge only with independent current-head APPROVE and exact-head required success.

Verify

uv run --extra dev python -m pytest tests/test_source_post_revision.py tests/test_analysis_run_registry_schema.py tests/test_analysis_run_reconstruction_schema.py -q
cd frontend && pnpm run lint && pnpm run test

Frontend: oxlint clean, 67 passed. Python contract tests: 6 passed (16 skipped without local Postgres).

@cursor

cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 143fc0fd-43df-49a1-a4d5-4b3fccf2d646

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Open a marked Demo public post from the Demo Corp lineage run and the
January follow-up sits under Body this run knew; the live body names
the later delivery window. GET /api/posts/{id}?as_of= reads
source_post_revision. A missing cover is omitted. Do not invent a
cutoff sentence or a TEPP theta.
@seonghobae
seonghobae force-pushed the feat/source-post-revision-v092 branch from 66ce369 to 516f49f Compare August 17, 2026 08:36
@seonghobae seonghobae changed the title feat: show cutoff-known post body beside the live rewrite (v1.10.0) feat: show cutoff-known post body beside the live rewrite (v2.1.0) Aug 17, 2026
@seonghobae
seonghobae merged commit bda10d6 into feat/role-responsibility-agent-ontology Aug 17, 2026
3 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