Repository navigation
Description
Problem
The product's default reader arrives without a key (PRODUCT.md: "without having to arrange a model key before they can begin"). Every message they send travels browser → Gamma Reader's server → provider: core/models/model-runtime.ts:20-25 routes every non-user provider through 'gamma-reader-proxy', and docs/self-hosting.md describes the browser sending chat requests through /api/agent/providers/:provider/chat/completions, where the server injects the credential.
The only in-product statement of what leaves the browser at the chat surface is the empty-conversation notice — "Messages and document excerpts used in chat are sent to the AI provider." (ui-packages/web/src/features/conversation/conversation-messages.tsx:192-196), shown exactly once, before the first message. It names only the final hop. The intermediate server is stated in the README ("through a Node proxy that holds the credentials but stores no conversation content"), in tutorial/guide/Your data and models.md ("messages, read passages and viewed images go through Gamma Reader's model proxy to the provider"), and in the BYOK dialog's own-key promise ("never sent to Gamma Reader") — but never where the free-allowance reader actually chats. The direction of the omission is the risky one: a local-first product that advertises no-account, in-browser storage under-states the one standing flow that does touch its server.
Proposal
- Rewrite the existing empty-conversation notice to name both routes in one sentence, e.g. "Messages and document excerpts go to the AI provider — through Gamma Reader's server on the shared allowance, straight from this browser with a model of your own."
- Change the sentence that already ships; add no new panels, badges, or dialogs.
- Keep the notice where it is: shown before the first message of a conversation, replaced by content once one exists.
Goal
After this, a reader at an empty conversation sees in the product, before sending anything, that shared-allowance messages pass through Gamma Reader's server — the README and tutorial stop being the only places the route is named.
Verification
grep -q "Gamma Reader" ui-packages/web/src/features/conversation/conversation-messages.tsx
pnpm --filter @gamma-reader/web test --silent
pnpm checkRefs
- ui-packages/web/src/features/conversation/conversation-messages.tsx:192-196 — the notice as shipped
- ui-packages/web/src/core/models/model-runtime.ts:20-25 —
'gamma-reader-proxy'vs. a reader's own key - docs/self-hosting.md — "Operating the proxy"; server-injected credentials on the chat routes
- README.md "Local-first by design"; tutorial/guide/Your data and models.md "What leaves the browser" — where the route is explained today
- Say at the web search toggle where its queries go — the one control that opens a second exit from the browser explains nothing today #173 — same genre, accepted and shipped for the web-search toggle; this is the chat path's counterpart
- Teach import paths and assistant capabilities at the empty states, not only in the README #39 — adding guidance copy at the fresh conversation was rejected as surface without a gap; this corrects the accuracy of the sentence that already ships, adding no surface
- No-key chat is a dead end — the only 'Add your own model…' entry hides exactly when no model exists #159, Give the used-up daily allowance a path to the fix it names — today the refusal notice says a key of your own is unaffected, offers nothing to click, and the reader re-sends into the same failure #246 — the no-key and shared-allowance experience this notice anchors
Activity
bencode commentedon Oct 27, 2026
Independent review — posted by the scheduled issue-reviewer loop, independent of the authoring session, under the maintainer's standing instruction.
Evidence audit (against
main@ad4bc66): all citations confirmed.conversation-messages.tsx:194, rendered only whilemessages.length === 0— names only the final hop, as claimed.model-runtime.ts:20-26—apiKeyForreturns'gamma-reader-proxy'for every non-user provider;docs/self-hosting.md:43(server injects the credential),README.md:41(Node proxy), tutorial line 18 (model proxy), BYOK promise atmodel-providers/index.tsx:165— all verbatim.ui-packages/web/PRODUCT.md:10(same sentence; repo has no root PRODUCT.md).Duplicate check: nothing overlapping in open or closed titles.
Sensor: lint ✓, verify ✗ — with one broken gate found and fixed. The first Verification line (
grep -rq "Gamma Reader" ui-packages/web/src/features/conversation) was green on main before any implementation:composer-toolbar.tsx:72("queries go through Gamma Reader's server", shipped with #173) lives in the same folder. Per policy I edited the Verification block — only that line, now:red on main today, green only when the notice itself names Gamma Reader — the proposal's own example sentence uses "Gamma Reader's server". Re-linted ✓. Note the block's other gate also stays red for an unrelated reason:
pnpm checkfails on main today (amouseReleased-area test diff), so no verify in this queue can pass until main is green.Verdict: valid, keep open — an accuracy fix to shipped copy, zero new surface, and the #173 precedent is exactly on point.
bencode commentedon Nov 2, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit at
d05b6b6— second-stalest review (12 commits since the only review @ad4bc66). The drift window reworkedfeatures/conversation/(14 files, +157/−7: thinking-status, reply announcements, say-what-happened) — the premise survives all of it. Valid, anchor drifted; stays open; no edits.conversation-messages.tsx:194→:209-212(+15 through the conversation work) and still reads exactly "Messages and document excerpts used in chat are sent to the AI provider." — final hop only, server unnamed. The goal sentence is as absent as at filing.apiKeyFor/'gamma-reader-proxy':features/assistant/model-runtime.ts:20-26→core/models/model-runtime.ts:25(the models layering move).model-providers/index.tsx:165→features/settings/model-providers/index.tsx:165-166(BYOK promise verbatim).docs/self-hosting.md:43restructured — the server-holds-credentials sentence now at:3(env table:21-22). The tutorial's model-proxy line moved file: "The reading assistant" →Your data and models.md:18("go through Gamma Reader's model proxy to the provider. The proxy stores neither files nor conversations.").README.md:41unchanged ✓. Body Refs left as-is per policy — implementers use the paths above.aacecc0) checked for overlap: its new copy names the server only at the web-search toggle (composer-toolbar.tsx:80, "queries go through Gamma Reader's server to the search service" — the Say at the web search toggle where its queries go — the one control that opens a second exit from the browser explains nothing today #173 sentence, moved +8) and announces key/background failures; nothing touches the first-chat notice. Adjacent, not implementing.grep -q "Gamma Reader" conversation-messages.tsx— is red today and discriminates; the original false-green line was already removed by the first review). Gate healthy as written, one command per line.bencode commentedon Nov 13, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit at
d05b6b6— stalest review in the queue this beat (12 days). HEAD still unchanged since 2026-10-28; valid, stays open; no edits.conversation-messages.tsx:209-212, verbatim "Messages and document excerpts used in chat are sent to the AI provider." — final hop only, the server still unnamed; the goal sentence is as absent as at filing.grep -q "Gamma Reader" conversation-messages.tsxred — discriminating as repaired in the first review). Gate healthy, one command per line.Verdict unchanged: valid, keep open.