Skip to content

feat: real Privacy, Terms, Security Overview and DPA pages - #25

Merged
ajitheee merged 2 commits into
mainfrom
legal-pages
Oct 4, 2026
Merged

ajitheee merged 2 commits into
mainfrom
legal-pages

Conversation

@ajitheee

@ajitheee ajitheee commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Closes the biggest remaining hole from the site audit: 14 dead links → 0.

The footer carried eleven href="#" stubs — including all four legal links — and the security section offered a "Security Overview (PDF)" that did not exist. For a product sold to university dining and hotel groups, those are the first links procurement clicks. The section meant to build confidence was quietly destroying it.

Four real documents

/privacy · /terms · /security · /dpa — written against what the system actually does, verified in the schema and the service code, not adapted from a template.

Each carries a Save as PDF button with print styles, since reviewers attach these to a vendor file.

Page Covers
Privacy Collection, the Gemini disclosure, sub-processors, retention, rights, controller/processor split
Terms Service scope, accuracy clause, trial/billing, data ownership, acceptable use, liability
Security Overview Architecture, RLS tenant isolation, encryption, access control, FERPA, incident response
Data Processing Roles, data categories, sub-processor table, transfers, deletion

Two points worth calling out:

  • Invoice images are never stored. image_url is never written and there is no Storage use — the file goes for extraction and is never persisted. That is a genuine strength and it is now stated plainly.
  • Invoice documents are sent to Google's Gemini API from the browser. That is a material disclosure an institutional reviewer needs, so it gets its own section rather than a footnote.

Two false claims corrected

The audit trail claim was not true. The landing page said "Complete audit trail — every action logged with user, timestamp, old/new values." The audit_logs table exists with exactly that shape, but nothing writes to it — no application code, no trigger. It would have failed the first question of a security review.

It now reads "Traceable records", describing the processed_by and created_at/updated_at attribution that genuinely exists, and the Security Overview states explicitly that field-level change history is not implemented yet.

SOC 2 is now attributed to the infrastructure provider rather than to ChefCode.

Also fixed

  • The logo linked to #, so on any sub-page clicking it did nothing. Now goes home.
  • Empty Blog / Careers / About / Status links removed rather than left dead; that footer column now carries real conversion links.
  • focus-visible rings added on every link touched here — a start on the accessibility finding.

Verification

  • All four pages render; 47 section headings, 5 tables, 7 callouts, ~4,000 words
  • Every internal route returns 200; the only external link is the Calendly booking URL
  • 0 dead links remaining (was 14)
  • No horizontal overflow at 375px on any of the five pages
  • Build green, both gates pass

Needs your attention

PRIVACY_CONTACT_URL currently points at the Calendly link, because there is still no working mailbox — chefcode.cc has no MX records. Privacy law expects a contact channel people can actually reach, so a real [email protected] mailbox should replace it.

These are solid, honest baseline documents, but I am not a lawyer — have counsel review before you rely on them in a signed enterprise agreement.

🤖 Generated with Claude Code

The footer had eleven href="#" stubs, including all four legal links, and the
security section offered a "Security Overview (PDF)" that did not exist. For a
product sold to university dining and hotel groups, those are the first links
procurement clicks — so the page that was meant to build confidence was quietly
destroying it.

Adds four documents at /privacy, /terms, /security and /dpa, written against
what the system actually does rather than from a template:

  - invoice images are sent to Google's Gemini API from the browser, and the
    uploaded file is never persisted (image_url is never written, no Storage
    use) — both stated plainly, because the first is a disclosure institutional
    buyers need and the second is a genuine strength
  - sub-processors are listed with purpose, data and location
  - tenant isolation is described as database-enforced RLS, with an invitation
    to verify it during evaluation
  - Terms carry an explicit accuracy clause: automated coding produces a draft
    a human must review before relying on it

Two claims on the landing page were corrected rather than repeated:

  - "Complete audit trail — every action logged with user, timestamp, old/new
    values" was not true. The audit_logs table exists but nothing writes to it
    and there is no trigger. Now "Traceable records", describing the
    processed_by and created_at/updated_at attribution that does exist, and the
    Security Overview says field-level history is not implemented yet.
  - SOC 2 is attributed to the infrastructure provider, not to ChefCode.

Also: the logo linked to "#", so on a sub-page clicking it did nothing; empty
Blog/Careers/About/Status links were removed rather than left dead; and the
footer column they occupied now carries real conversion links.

Dead links on the site: 14 before, 0 after.

Co-Authored-By: Claude Opus 5 <[email protected]>
@vercel

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
chef-code-ai Ready Ready Preview Oct 4, 2026 1:22am UTC

Replaces the booking-link placeholder with a monitored mailbox
([email protected]). Privacy law expects a channel a person can actually
reach, and a Calendly form is not that.

The four pages now end with a shared ContactBlock that prints the address in
full rather than hiding it behind a button — a reviewer copying it into a
vendor record needs to see it, and the previous mailto with target="_blank"
would have opened an empty tab. Each page passes its own subject line so
replies arrive pre-sorted. Also adds a Contact us link to the footer.

Worth revisiting once chefcode.cc has MX records: an institutional reviewer
reads a branded address as a stronger signal than a personal one.

Co-Authored-By: Claude Opus 5 <[email protected]>
@ajitheee
ajitheee merged commit a1430b2 into main Oct 4, 2026
3 of 4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 57a48caa Deployed Oct 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant