Slice 6: notifications per §15
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user