Slice 6: notifications per §15

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ben Stull
2026-05-24 23:09:04 -07:00
parent 1b0968a9a2
commit f67d0aa0db
21 changed files with 3588 additions and 168 deletions
+7 -1
View File
@@ -352,7 +352,13 @@ def make_router(
""",
(viewer.user_id, slug, pr_number, new_sha, new_msg),
)
return {"ok": True}
# §15.7 reconciler: a scope cursor advance marks unread
# notifications scoped to this PR read.
from . import notify
reconciled = notify.reconcile_seen_advance(
user_id=viewer.user_id, rfc_slug=slug, pr_number=pr_number,
)
return {"ok": True, "reconciled": reconciled}
# -------------------------------------------------------------------
# §10.4: post a review-kind thread anchored to a diff range.