~bigbes/sr-ht-spec: 7f779fef

feat(web): review queue — inbox + policy-merged digest (Phase 4)

The backstop for work no link reached. /inbox lists every open proposal
on the instance ("waiting on you") and, below it, the digest of recently
policy-merged content — the firehose a human sees after the fact, which
is the whole reason approval=policy is kept distinct from human.

- service.InboxProposals / DigestProposals list instance-wide (one
  reviewer, so a per-space inbox would make them hunt), mapping each
  stored proposal's space_id back to a reference once from the space list.
- web/inbox.go + inbox.html render the two sections; the landing page
  links the queue for a logged-in owner.

Follow-up: the digest currently shows recent policy-merges rather than
"since you last looked" — the digest_mark table exists to track that, but
advancing it is a write and GET stays pure. Filed separately.

Eugene Blikh <bigbes@gmail.com> — 2026-07-23 06:51:51 UTC

Commit 7f779fef12194d49b9ce97ad4e2a80af1c3d6358view raw patch

Parent(s): 3c563e4d

10 changed file(s)

FileStatus+
service/review.go M +59
service/review_test.go M +55
web/inbox.go A +79
web/inbox_test.go A +68
web/reader.go M +14
web/router.go M +1
web/templates.go M +1 -1
web/templates/inbox.html A +53
web/templates/index.html M +1
web/web_test.go M +22