Commit Graph
6 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 5ea4dab4fa fix(copy): every public claim matches the code — contact, legal, pricing, pros, 9 locales (#106)
* fix(copy): contact mail goes to a mailbox that exists

hello@ and support@petvity.com sat on the footer, every legal page, the
structured data and every email template. petvity.com is not ours (it is a
Netlify site with Zoho MX; lib/config/email.ts already lists it as "not
ours"), so privacy and support mail went to a stranger. APP.email is now
cato@orangecat.ch, the one address on the receiving apex, and supportEmail
is folded into it. lib/config/app.test.ts fails if it leaves the apex.

The pet-edit form also showed "petvity.com/pets/" as the share prefix; it
now derives the host from APP_URL.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): privacy and cookie policies describe the running system

Privacy: Neon was decommissioned in 2026-06 (the database is PostgreSQL on
the same Hetzner box, listening on 127.0.0.1 only), Google sign-in is not
configured in production while OrangeCat sign-in is, groomers and guest
checkout were missing, and "database connections use TLS" did not hold for
a localhost connection.

Cookies: Auth.js v5 sets authjs.* cookies, not next-auth.*, plus PKCE/state
cookies during OrangeCat sign-in; NEXT_LOCALE is a session cookie set on any
locale page, not a one-year cookie set only by the switcher.

Effective dates moved to October 2, 2026.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): marketing pages say only what the product does, in all 9 languages

- pricing: Pro and Clinic cards cut. Their buttons were href="#", neither
  plan is on ROADMAP.md, yet the FAQ called them "next".
- pros: cut vets reading clients' health history and sitters logging health
  during stays (records are owner-scoped; "Vet-facing records" is 0% on the
  roadmap), the unmeasured "growing community" card, and a sitter card that
  repeated its heading. Reviews tie to completed bookings, not confirmed ones.
- features: no refill tracking exists; charts span 30 days, not months; the
  twin is not built from 30 days on the dashboard (7); unverified pros are
  listed; cross-border adoption and "any language" were not true; handle host
  is the live one; groomers added.
- about: the "Behind the project" section was empty in 4 locales and claimed
  "a team of software engineers" in 5; cut.
- ar/ja/ko/tr/zh: the features, pricing, pros and about pages carried an
  older, differently ordered copy (stats swapped, "data export coming soon",
  "VitaReba"); retranslated from the current English.
- CHANGELOG: removed "health metrics that matter per species" (the
  observations config is not wired into any screen) and the Stripe claim;
  added 2026-10-02. ROADMAP: OrangeCat sign-in shipped, Google item dropped.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): close the gaps the verifier found, in all 9 languages

- Cookie policy names both ways NEXT_LOCALE is set: a session cookie per
  page, one year when picked with the language switcher.
- Privacy policy lists the Loki feedback widget as a service provider.
- /pros no longer says owners share pet records or Digital Twin data with
  vets and sitters (a booking shows them only the pet's name): rewrote
  metaDesc, heroDesc, vet/sitter hero copy; cut vb1 ("months of structured
  health history"); dropped 72 unrendered pros keys that still shipped the
  same claims in every page's message payload.
- Cut unmeasured timings: home heroSub ("30-second check-in"),
  benefitTrackDesc ("in 30 seconds"), "set up in minutes", "a few minutes".
- Species guide CTA: a record to show your vet, not one shared with them.
- ROADMAP/CHANGELOG: email+password sign-up still works for new users;
  changelog line lists what was cut instead of claiming all copy is true.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(copy): privacy names what an OrangeCat sign-in stores; drop a dead features key

- Privacy, "Data we collect": an OrangeCat sign-in also stores the name and
  profile picture from the OrangeCat account (accountkit's orangecatProfile
  maps name and picture onto users.name and users.image), not only the id.
- features.heroSubtitle is rendered nowhere but still shipped in every page's
  message payload, carrying "cross-border adoption" and "in any language" —
  both cut elsewhere in this PR. Removed from all nine locales.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 17:45:53 +01:00
CatoandClaude 8ac03c9743 docs(agents): fold CLAUDE.md into AGENTS.md, leave the pointer (#138)
CLAUDE.md now only points at AGENTS.md, the fleet's one agent-file shape
(bitbaum/fleet scripts/ci/agent-rules.mjs). Its runbook, routing rules,
data conventions, SSOT table, cron table and gotchas move into AGENTS.md,
checked against the tree:

- The private API prefix list had drifted (no groomers, sellers,
  availability, uploads); the doc now points at PRIVATE_API_PREFIXES.
- The OrangeCat provider lives in lib/auth/index.ts; there is no
  lib/auth/orangecat.ts. Roles include groomer; the doc points at the enum.
- The signal now has a new-pet grace; described.
- Dropped the schema table inventory (schema.ts is the SSOT), the phase
  history (ROADMAP.md / CHANGELOG.md hold it), the per-variable "set in
  production" status, and the second env-file location
  (.env.selfhost.local), which contradicted /opt/petvity/shared/.env.


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

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 12:45:40 +01:00
CatoandClaude Fable 5.1 ef4c7c3144 chore: rename FleetCrown to Loki (#93)
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
9 files changed, 15 insertions(+), 15 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.


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

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-13 16:25:03 -07:00
3a1f2c0746 docs: sync docs with actual stack (#76)
- CLAUDE.md: GitHub URL g-but/petvity -> bitbaum/petvity (matches git remote)
- CLAUDE.md + README.md: pnpm verify described as lint+typecheck+test; the
  script actually runs format check + lint + typecheck + CSS-var check + test
- CLAUDE.md: pet-signal.test.ts claimed 9 vitest tests; it has 21 — drop the
  rotting count
- README.md + CLAUDE.md: deploy sections described only the manual
  scripts/hetzner/deploy.sh path; push to main auto-deploys via
  .github/workflows/deploy.yml (fleetcrown reusable selfhost-deploy, gated on
  CI green) — manual script kept as fallback


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

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-04 16:43:47 +00:00
Mao NakamotoandClaude Opus 4.8 3365b503eb docs+config: correct stale Vercel/Neon refs to self-hosted Hetzner
petvity migrated off Vercel/Neon on 2026-06-12 (commit 9488221).
- CLAUDE.md: Vercel/Neon → self-hosted Hetzner (petvity.orangecat.ch,
  service petvity-app, self-hosted PG17, local-disk storage, deploy.sh);
  flagged that vercel.json crons no longer fire on the box (need a host
  timer) — left vercel.json intact rather than break the schedule
- README.md: replaced create-next-app boilerplate with a real README
- lib/config/app.ts: APP_URL fallback vercel.app → petvity.orangecat.ch
- removed default public/vercel.svg boilerplate asset
- .mailmap: collapse legacy g-but identity into Mao Nakamoto

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 21:26:21 +02:00
g-but f6befa379e Initial commit from Create Next App 2026-04-20 18:44:06 +02:00