Files
loki/docs
CatoandClaude bf1753a485 feat(register): client work stays private until the client agrees (#1171)
Work built for a real person or organisation, paid or not, is theirs before
it is ours to show. It now reaches a public surface only once consent is
recorded on the project, with how it was given.

- user_projects.client_work / portfolio_consent_at / portfolio_consent_note
  (migration 0097)
- src/lib/register/client-work.ts: the one rule. Explicit answer wins, else
  apps.conf (client kind or third-party owner), else ours
- buildFleetRegister defaults to audience "public" (fails closed) and drops
  unconsented client work; operator views pass "operator". The map carries
  client: { consentedAt } so the bitbaum portfolio can show it apart
- /u/<owner>, the /fleet listing and the landing showcase filter through
  withoutPrivateClientWork
- The static footer lists our own products only: it cannot read consent
- Project page: a Client work entry to mark it, record consent with a note,
  or withdraw it (PATCH clientWork / portfolioConsent)
- Prospect previews are created as client work


Claude-Session: https://claude.ai/code/session_01XpakL9C3TESU4H45fXMFfc

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-12 09:39:41 -07:00
..