Public: anyone can read this; the crew can change it.
Public /privacy and /support pages (needed for the App Store listing) #17948
Merged 18h 12m ago, live in production
/privacy and /support are now public, signed-out pages, linked from every footer, including the landing page's own footer. Before you point the App Store at them, set FORGESUPPORTCONTACT. Without it the pages carry no email and send people to the forge repo's new-issue form (or / if that repo isn't public).
-
Reviews
Changes requested — before the latest pushThe pages work on the preview (/support answers 200 signed out), the contact is never built in, a non-address contact is never a link, and both doors share one set of rows. Security is clean: output is escaped and no write is added. Three things to fix in one round: (1) /privacy makes a count claim and an Apple-app claim as fact, and neither is checked. Remove the count, and either verify the app claim or have a person confirm it before the App Store points here. (2) Support and Terms keep two identical page functions and two identical terminal
linehelpers, which the gate already flagged: share one. (3) The shell-size ceiling in test/terms-page.test.ts was loosened to fit the new footer link. Prefer paying it back (trim the shell) over raising it; if you keep the raise, say why in the pull. Fix (1) first, since a false privacy statement on a store listing is the costly one.ApprovedApproved. Earlier asks are met: the unverified Apple-app claims are gone (one sentence that the app is a client of the forge you sign in to), the page count is gone, one policyPage renders /privacy, /support and /terms, the terminal helper is shared, and the shell-size ceiling is back at 11,000. Both pages answer 200 signed out on the preview. Contact comes from FORGE_SUPPORT_CONTACT and is linked only if it is an email or https URL. Output is escaped, there is a terminal door, a how-to, and tests. Non-blocking: a person should confirm the Apple app's real behaviour before the App Store points here, and set FORGE_SUPPORT_CONTACT.
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- Take /privacy and /support out of app.looks again 34352f8
- Looks: /privacy Looks: /support Name the new pages in app.looks so the gate can show before and after (#17947) 5f4a087
- Rewrap policy_rows comment; pay the terms page's pagehead debt ae778ea
- One policyPage for /privacy, /support and /terms; drop the unchecked app and page-count claims; one terminal draw 29de00b
- Name /support in the looks not-a-page list and the palette roster tests c90ce83
- Audit /support beside /privacy 6cab138
- Share one terminal screen and one rows list between the policy pages and /terms e1de099
- Public /privacy and /support pages, linked from every footer, with a terminal door and a how-to 8a5c701
- GET the models Talk offers me, and `model` on POST /api/v1/conversations and /conversation/messages (#17916) 2623a5e
- Traces: every conversation and run kept as a trace, imported from outside agents, and explored in the forge (#17943) ce8ccb6
- A cloud account can be a sealed, expiring, read-only view for a client (#17942) 046cfff
- Pages help a reader sift: icons, a type scale, settings in groups (#17940) 3000b02
- A command the box was not handed yet can be taken back (#17933) 703a520
- A game box that cannot lend says why, and new boxes can lend (#17941) 1d3c3d5
- The /search page keeps to the repository repo:owner/name names in q, as /api/… (#17932) c310a25
- Talk: no conversation cap; archive old threads to backup storage and restore on open (#17930) f8f8b8f
- JSON for the home lanes, figures and slot graphs, with ETags (#17923) e16b19a
- A crew run's page says how its model was fed, so a packed SubQ run compares with its explored run and with Claude (#17925) 52b26cd
- Infrastructure reads Azure: subscriptions, resources and costs (#17924) 4ceb81b
- Merge pull request #17921 from sold/azure-reads 509de83
7 earlier comments
The check failed because the new /support page had no entry in docs/design/audit.md. I added one beside /privacy's entry and reworded that entry to match its new content. test/design-audit.test.ts now passes, all four tests, and gate.ts raised no rule refusals. The fix is pushed.
I did not re-run the rest of the suite. I expect nothing else to change, since the only edit was a line in docs/design/audit.md.
The pull description above still applies unchanged. Set FORGE_SUPPORT_CONTACT before pointing the App Store at the pages, or the contact falls back to the forge repo's new-issue form.
I fixed the five failing tests and pushed. I ran those three test files and bun x tsc --noEmit, and all pass. I did not run the full suite or the design lint; the forge's check will run the suite on this push.
What was wrong: the /privacy and /support pages added earlier on this branch were never registered in two tests.
test/forge-looks.test.ts:/supportis now in the not-a-page list, with a note thattest/privacy-support.test.tscovers it.test/palette-roster.test.ts: the Privacy and Support entries are now expected in the roster for all four sessions: site-admin person, site-admin agent, member, and signed out.
I changed only the tests, because the pages and palette entries were already right.
bun scripts/gate.ts --fix printed two "one implementation?" notices and rewrapped nothing, so I left them alone. They flag supportPage as identical to termsPage in src/web/pages/terms.ts, and supportRows as 0.58 similar to privacyRows in src/view/policy.ts. If the check fails on those, merging the two is the next step.
Nothing needed changing. I'm pushing no new commit.
- Look pages: that comment is the gate's note
look pages (named), not a failure. The commitLooks: /names/, which is inapp.looksinforge.json, so the rule is met. I did not add/privacyor/supporttoapp.looks. - Direction line: the commits already carry
Direction: … (#17947). - Tests that build real inputs: this pull adds no
as nevercasts. - Dead code and module-level state:
test/unused-exports.test.tsandtest/module-state.test.tspass. The unused exports it lists (pinCrawlLag,notAdditiveand others) are in files this pull doesn't touch. - Other checks:
test/privacy-support.test.ts,bun x tsc --noEmitandbun scripts/design-lint.tsare clean.
Two "one implementation?" notes from the gate are still open. src/web/pages/support.ts#supportPage is identical to termsPage, and src/tui/screens/support.ts#line is identical to the line in the pricing screen. These are notes, not check failures. I left both alone to keep each page and screen in its own small module. Say if you want them merged.
Round of review fixes on #17948. Tests for these pages, tsc and the design lint pass locally; I did not run the full suite, so the forge's check will.
What I need from a person before the App Store points here: the repository contains no Apple app code. I could not confirm anything about what the app sends.
- Removed:
/privacyno longer says it "talks only to your forge" or "sends diagnostics only when you tap Report". The "tap Report" row is also gone from/support. - Kept: one sentence that the app is a client of the forge you sign in to and that forge keeps what it sends. That is true of the forge side of the code.
- Open: a person should confirm the app's actual behaviour, then add any stronger claim.
- Note: the privacy intro and the palette hint also no longer say "what the Apple app sends".
The other review points:
- Page count:
/supportnow says "Start with the guide." with no number. - One page function:
policyPageinsrc/web/policy_rows.tsnow renders/privacy,/supportand/terms, so there is no third copy./termstherefore uses the shared page head. I updated the design baseline to match (bun scripts/design-lint.ts --updaterewrotedocs/design/baseline.json). - One terminal helper: the policy screen now draws from a list of lines instead of its own
lineclosure, so it no longer duplicates the pricing screen's. I left the pricing screen alone. - Shell-size ceiling:
test/terms-page.test.tsis back at 11,000 B, the value on main. I paid the footer link back by putting the footer links on two lines instead of eight, so the new link costs nothing. The vague comment is replaced with the real number.
Left alone: the gate still lists privacyRows and supportRows as 0.59 similar. They are two different lists of copy, so I kept them separate.
[
{"go": "/privacy", "look": "The Apple app row and the intro", "expect": "One sentence: the app is a client of the forge you sign in to. No 'Report' or 'only talks to' claim"},
{"go": "/support", "look": "The Learn it row and the list", "expect": "'Start with the guide.' with no count; no Report row; contact, status and security rows remain"},
{"go": "/terms", "look": "Heading, six rows, footer", "expect": "Same six rows as before under the shared page head; footer shows Privacy and Support links"}
]This pull adds public /privacy and /support pages, linked from every footer, each with a terminal door and a how-to.
Review feedback
- Look pages: the gate wanted a commit line naming a page for the look. I first added
/privacyand/supporttoapp.looks. That broke the 32-path cap onapp.looks. It also broke the looks test, which keeps both pages in its not-a-page list. I revertedforge.jsonand the last commit saysNo look:with that reason. The gate no longer raises the look-pages note. - Comment width: the over-100-column comments in
src/web/layout.tswere already there onmain.gate.ts --fixchanged nothing, and the nightly rewrap handles them. - Duplicate functions: the gate noted
privacyRowsandsupportRowsas 0.59 alike. I left them as two. They are two short lists of different content, and merging them would only add indirection. - Other refusals the forge listed: the gate passes the name-the-issue and test-honesty rules for this pull. I added no module-level Map, Set or array.
Checks
bun x tsc --noEmitprinted nothing.- The looks and
forge.jsontests pass except "a real capture through the grant door, with /usr/bin/chromium". It needs Chromium, which this sandbox lacks, and I didn't confirm it passes elsewhere. - I never ran the full suite.
Not done
- No before/after looks for
/privacyand/support, because they stay out ofapp.looks. - My first push, 5f4a087d2, left five tests red. The second push, 34352f8d7, is the one that fixes them.
Try it
- Open
/privacyand/supporton the preview at https://lab--17948--forge-trevato-apps.open-platform.sh.
[
{"go": "/privacy", "look": "the page text and the contact row", "expect": "a plain policy page with the contact as a link, or as text when it isn't an https URL"},
{"go": "/support", "look": "the Docs, Status and Security links", "expect": "each link reaches its page"},
{"go": "/", "look": "the footer", "expect": "Privacy and Support are linked"}
]
🤖 Generated with Claude Code
/privacyand/supportare now public, signed-out pages, linked from every footer, including the landing page's own footer. Before you point the App Store at them, setFORGE_SUPPORT_CONTACT. Without it the pages carry no email and send people to the forge repo's new-issue form (or/if that repo isn't public).tsc, the design lint and the tests I ran pass; the forge's check runs the whole suite. I did not run a barebun test.gate.tsraised no refusals, only notes about functions that look alike (thelinehelper, the two row lists,supportPageagainsttermsPage).What changed
/privacyalready existed and covered visitor records only. It now opens with five rows: what a forge stores, your own AI account, what the Apple app sends, no tracking or ads, and a contact. The old visitor-record text stays beneath it under "Visitors to this site"./supportis new: docs, status, Report in the Apple app, a contact, and/securityfor vulnerabilities. It is also in the sitemap.src/view/policy.ts, so the web and terminal can't drift.docs/features/privacy-support.md. The/supportroute mark, the lazy route list and the generated marks are regenerated.docs/design/quiet-debt.jsonis lowered by one./terms, whose own screen is a one-line call. I also usedpageHead,publicForgeRepoand the/termspage pattern.Look at
/privacywording: it says the Apple app talks only to your own forge and sends diagnostics only on Report, as the issue stated. I haven't checked that against the app itself.test/terms-page.test.ts's shell-size ceiling from 11,000 to 11,100 bytes, because the footer's new link pushed the shell over it. That test was at its limit, not wrong.Left out
Try Open
/privacyand/supporton the preview signed out, then check the footer on/. In the terminal, open the palette and pick Privacy or Support.Closes #17947