Skip to content

feat(legal): add /terms page + Google API Limited Use disclosure on /policy - #2

Closed
Shadysmetools wants to merge 237 commits into
mainfrom
claude/oauth-verification-content
Closed

feat(legal): add /terms page + Google API Limited Use disclosure on /policy#2
Shadysmetools wants to merge 237 commits into
mainfrom
claude/oauth-verification-content

Conversation

@Shadysmetools

Copy link
Copy Markdown
Contributor

Summary

Required content for Google OAuth verification submission (Odoo #5385). Adds the missing /terms route and the Google API Services + Limited Use disclosure section to the privacy policy at /policy.

What's in this PR

1. New route: https://knowcap.ai/terms

  • app/app/terms/page.tsx — page shell mirroring policy/page.tsx (theme toggle, footer)
  • app/components/terms-of-service-content.tsx — 14-section ToS rendered with the same motion-card pattern, brand colors (#0052CC / #005EFF), and TOC tile pattern as the existing privacy policy

ToS covers: Acceptance · Service Description · User Accounts · Acceptable Use · User Content (incl. no external model training) · Subscriptions/Billing · Service Availability · Termination · Disclaimers · Limitation of Liability · Indemnification · Governing Law · Changes · Contact.

Governing law: California (Sacramento County) to match SMETOOLS LLC's registered address at 101 Dowd Ct, Folsom, CA 95630.

2. New section in privacy policy: 6. Google API Services and Limited Use Disclosure

Inserted between current section 5 ("Data Sharing and Disclosure") and current section 6 ("Data Storage"). Sections 6–11 renumbered to 7–12.

Contents required for Google verification approval:

  • APIs enumerated: Google Identity, Calendar, Drive (file-scoped)
  • Per-scope justification for each of the 5 OAuth scopes Knowcap requests (userinfo.email, userinfo.profile, calendar.readonly, calendar.events.readonly, drive.file)
  • Limited Use disclosure in the exact wording Google's verification reviewers grep for, with a clickable link to https://developers.google.com/terms/api-services-user-data-policy
  • Explicit commitments: no AI model training, no selling, no advertising, no third-party transfers (except infrastructure providers), no human access (except consent / security / legal / aggregated-deidentified)
  • Revocation + deletion instructions

Files

File Change
app/app/terms/page.tsx New — route page shell
app/components/terms-of-service-content.tsx New — 14-section ToS content component
app/components/privacy-policy-content.tsx Modified — inserts new Section 6 + renumbers 6→7..11→12

Test plan (after Vercel preview lands)

  • /terms renders, all 14 sections appear, no console errors
  • /terms TOC tile anchors (#acceptance, #use-of-service, #liability, #contact-us) scroll to correct sections
  • /terms theme toggle works (light + dark)
  • /terms "Back to Top" button works
  • /policy renders all 12 sections in order (1-12, no gaps, no dupes)
  • /policy Section 6 displays the Limited Use blockquote with link to Google's policy
  • /policy Section 6 link to Google account permissions page opens in new tab
  • Mobile responsive on both pages
  • Footer renders correctly on both

After merge — remaining Cloud Console steps for Google verification

  1. https://console.cloud.google.com/apis/credentials/consent?project=637115873152 → fill in:
  2. Verify knowcap.ai ownership in Google Search Console (or reuse one of the 3 existing google-site-verification TXT records already in Cloudflare DNS)
  3. Confirm authorized redirect URI: https://app.knowcap.ai/api/auth/google/callback (currently live in prod)
  4. Record demo video (2-3 min) showing OAuth consent + Calendar list + Drive Picker → upload as YouTube unlisted
  5. Click PUBLISH APP + Submit for verification
  6. Wait 1-2 weeks for Google response

Why this isn't going to shady branch first

The staging-first lock (2026-05-04) governs the knowcap repo (the main app). knowcap-landing is the marketing site, deployed via Vercel auto-deploy on master. Vercel preview deploys are generated automatically for this PR — shady.knowcap.ai doesn't host the landing site, so there's no staging surface here other than the Vercel preview URL.

Refs Odoo #5385.

🤖 Generated with Claude Code

jhunterstudio and others added 21 commits December 18, 2025 11:37
…isclosure section to /policy

Required for Google OAuth verification submission (Odoo #5385). Adds:

  - New route /terms backed by app/app/terms/page.tsx + app/components/
    terms-of-service-content.tsx mirroring the existing /policy page shell
    (theme toggle, footer, motion cards, brand colors, TOC).

  - New section '6. Google API Services and Limited Use Disclosure' in the
    privacy policy at /policy. Enumerates the 5 OAuth scopes Knowcap
    requests with per-scope justification, includes the exact Limited Use
    disclosure wording Google's verification reviewers look for, and
    states the no-training / no-selling / no-third-party / no-human-access
    commitments required for the API Services User Data Policy.

  - Renumbers existing sections 6-11 -> 7-12 to accommodate the insert.

Governing law set to California (Sacramento County) to match SMETOOLS LLC's
registered address at 101 Dowd Ct, Folsom, CA 95630.

Refs Odoo #5385
@vercel

vercel Bot commented May 11, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
app Error Error May 11, 2026 11:25am

@Shadysmetools
Shadysmetools requested a review from Smetools May 11, 2026 13:33
@Shadysmetools Shadysmetools self-assigned this May 11, 2026
@Shadysmetools
Shadysmetools changed the base branch from master to main May 11, 2026 13:53
Smetools added a commit that referenced this pull request Jun 11, 2026
…+ shotgun-winning design (#34)

* feat(homepage): commitment-ledger homepage — full replacement of B/D rotation

Copy: commitment thesis (docs/brand/POSITIONING.md center of gravity).
H1 locked by Hassan after skill audit: 'Your company's deepest knowledge
is its commitments and the risks against them. Knowcap makes sure
they're kept.' Locked sentence #2 verbatim as hero doctrine card;
locked sentence #3 in footer.

- NEW components/home-commitment.tsx: self-contained page, one design
  (no theme switcher), DESIGN.md tokens, 'commitment ledger' language
  (§-numbered sections, mono marginalia, ledger exhibit, VERIFIED stamp)
- app/page.tsx renders it directly; middleware A/B rotation retired
  (admin/API guards unchanged); /a /b /c /d remain for reference
- Truthfulness fixes vs old variants: Odoo SH auto-PR claim removed
  (demo killed 2026-05-29) -> 'Odoo task'; WhatsApp/Zoom/Teams/Slack
  capture claims removed -> Meet/recordings/uploads/URL/Telegram
- Copy pipeline: product-marketing -> copywriting -> ogilvy ->
  stop-slop -> great-web-copy gate. Design QA: web-design-guidelines +
  baseline-ui (focus-visible, contrast bumps, heading hierarchy,
  noscript reveal fallback)
- .agents/product-marketing.md: positioning context doc for future
  marketing-skill runs; copy doc in docs/content-pipeline/drafts/

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* polish(hero): two-tier H1, ledger as visual anchor, decluttered fold

- H1 split: white setup line + larger green punch line (display:block accent)
- Ledger exhibit: green-tinted border, radial glow, staggered row entrance
  (commitment -> risk -> verified play out on load; reduced-motion safe)
- Hero bullets collapsed into a second mono trust line; more vertical air

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* feat(homepage): V6b 'Editorial Light × Product Window' — shotgun winner

Replaces the kinetic-dark treatment with the design Hassan picked from a
5-variant /design-shotgun round (+2 remixes), all built on the same locked
commitment copy:

- Cream editorial page, Fraunces display (green italics), Inter body,
  JetBrains Mono marginalia; light masthead header, asymmetric hero
- CSS-drawn app window (inbox sidebar + 3 staggered claim cards:
  commitment -> risk -> verified) as the hero cover photo
- Doctrine pull-quote band, editorial problem columns, 01-04 loop strip,
  80-seconds story with real screenshot + VERIFIED stamp, proof bar,
  MCP section with dark code island, editorial FAQ, dark ink closer
- A11y kept: focus-visible, AA contrast on dark bands, reduced-motion,
  noscript reveal fallback, h1->h2 hierarchy

docs/brand/design-explorations/shotgun-2026-06-10/ carries the full
decision trail: comparison board + v1-v5 + v6a/v6b remixes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

3 participants