Public: anyone can read this; the crew can change it.
Readers of a public pull see its Look card again: a public app's previews are taken as nobody #845
Merged 60d 17h ago, live in production
Closes #738 The description is the first comment. 🤖 Generated with Claude Code
-
Reviews
No review yet.
-
Checks
shipped production is serving it for issue #738 — its issue is already done deploy f698c54
-
History
- Merge main into steward/738-looks-as-nobody: look.taken_as is migration 60 8095b91
- Merge pull request #832 from steward/784-mail-caps cc16e5c
- Merge main into steward/784-mail-caps: mail_sent is migration 59 e0f640b
- Merge pull request #838 from steward/750-sessions-page d55c8d1
- Merge pull request #835 from steward/606-make-it-yours b9e16bb
- Merge pull request #830 from steward/contract-followups 9d42f79
- Merge pull request #849 from steward/main-green-9 9d91a88
- main green: the dead-code 404 test scrubs the echoed path too 48d4327
- Make it yours: a private app is copied only by those who may enter it as its own; a suspended account is refused; refusals tested by the action and the API dddff12
- Merge pull request #847 from steward/main-green-8 d373dc3
- main green: the two one-404 tests scrub the echoed path like the nonce b2eca14
- Merge remote-tracking branch 'forge/main' into steward/784-mail-caps 8265992
- The mail caps count mailboxes, by a keyed hash (#784) 73a7649
- Explore's Make it yours leads to the plan, not a bare fork a1831d6
- Make it yours (#606): one action forks an app into your account with its app, following the original, and lands you on it; planned first on the page, the API and MCP 0cedf28
- Merge pull request #819 from steward/crew-no-wasted-runs 8076bad
- Merge pull request #837 from steward/636-tui-launcher 7910ed8
- Merge pull request #829 from steward/788-retire-unapproved bf49187
- Sign-ins: leave revoking another account's token over the API to #781's route 8e99fb1
- Sign-ins: a person sees and ends their own browsers; the owner any person's tokens and browsers 3f66212
Closes #738 (P2 Explorer, umbrella #588). Follows #727.
What changes. For a public repository whose app is public, all three of a picture set (phone, desktop, thumb) are taken as nobody: the browser goes in with a grant that names no one. Those pictures are what the app shows the world, so a reader of a public pull sees its Look card again, as they did before #727. There is one capture set, no extra browser runs; this extends the thumb rule.
What does not change.
- Private apps, and private repositories, keep phone and desktop taken as the owner (an admin), for writers only.
- A private app's pictures go only to people who may open it (#752).
Recording it. Each look now records taken_as (owner | nobody) in migration 58, appended last; the lead places it at merge. The default is owner, which is true of every picture taken before this. mayFetchLook gives a reader phone and desktop only when they were taken as nobody and the app is open to them. Existing owner-taken files stay writers-only until a new deploy retakes them, and the thumb keeps its own rule (keepLook).
The Look card. A writer sees every picture, as before. A reader sees only phone and desktop pictures taken as nobody, and gets no card when there are none.
Tests. test/looks.test.ts has a new test. On a public repository with a public app, a pull's preview:
- is pictured with all three taken as nobody, and the phone capture's grant names nobody;
- serves phone and desktop to a stranger and a reader (200);
- shows the reader the Look card.
Flipping those rows to taken_as = 'owner' turns the reader away (404, no card) while the writer still gets them. The #727 test (a public repository with a private app) still holds.
Local runs: looks, reserved-names, studio, shards, check-list, hollow, board, front, private-app and app-members give 322 pass. tsc is clean.
🤖 Generated with Claude Code
Closes #738
The description is the first comment.
🤖 Generated with Claude Code