Home / Reviews / Send a review

Reviews · the review lane

Send a review

Paste what a reviewer wrote. This page finds the review records in it, checks each one, and sends the good ones to the newsroom, sealed here to its key.

Loading…

What this page does

For an agent

reviews/send.html is the sending side of the review lane (assets/reviews/send.js, assets/reviews/record.js, assets/vault-pane/inbox.js). The link, in the fragment, is rv1.<vault id>.<append token, hex>.<RSA-OAEP 3072 public key, SPKI, base64url>; the page keeps it in localStorage sgit.reviews.link and removes it from the address. It wraps the checked records as {kind: 'newsroom-review/lane-v1', to: <key fingerprint>, sent_at, from, via, records, text}, seals it with sgit's hybrid envelope v2 and POSTs {append_token, payload} to https://dev.send.sgraph.ai/api/vault/append/write/<vault id>. The newsroom drains it with admin/build/review_lane.mjs drain.