Skip to content

feat: trust pages + Brain UI polish + schema integrity for June 1 launch#93

Merged
thecelestialmismatch merged 3 commits into
mainfrom
claude/condescending-visvesvaraya-6fcb48
May 26, 2026
Merged

feat: trust pages + Brain UI polish + schema integrity for June 1 launch#93
thecelestialmismatch merged 3 commits into
mainfrom
claude/condescending-visvesvaraya-6fcb48

Conversation

@thecelestialmismatch
Copy link
Copy Markdown
Owner

Summary

Sprint 4 follow-up. Resolves the credibility-killer contradictions the audit doc surfaced before the June 1 launch / June 5 client deadline.

The single highest-leverage problem the audit identified — "local-only marketing claim contradicted by hosted endpoint in docs" — is now answered on a dedicated /deployment-modes page with a compliance matrix any C3PAO can read in 30 seconds. The second — "no public security trust page, no SOC 2 timeline, no vulnerability disclosure" — answered on /security.

What ships

Trust pages (resolves local-only vs hosted contradiction)

  • /security — public security & trust page

    • Data egress boundary: what leaves the customer environment (license hash + scan count) vs what never leaves (prompt content, audit log, quarantine payloads)
    • Detection pattern SHA-256 integrity model + a one-line verification command an assessor can run
    • Compliance roadmap with honest status: SOC 2 Q4 2026 (Drata), FIPS 140-3 CMVP Q1 2027, FedRAMP-equivalent Q2 2027, HIPAA BAA available now on Growth+
    • Vulnerability disclosure policy: 24h triage, 90d window, safe-harbor clause, scope & out-of-scope explicit
    • Cryptography section covers TLS 1.3, AES-256-GCM quarantine, SHA-256 hash-chained audit log, BYOK on Enterprise
  • /deployment-modes — public deployment guide

    • Three modes side-by-side: hosted trial (60s, NOT for CUI), self-hosted Docker (10 min, CUI-safe, satisfies DFARS 7012 / SC.3.177), air-gapped (Enterprise + offline license)
    • Compliance matrix table with explicit Yes/No on CUI / PHI / air-gap
    • Hosted mode banner warns "Not for CUI or PHI" so no one mistakenly points sensitive data at it
    • 30-second decision flowchart + 5-question FAQ

Pricing + schema.org integrity

  • app/layout.tsx JSON-LD: stale prices (Pro $69, Growth $199, Enterprise $499) replaced with real grid (Pro $199, Growth $499, Enterprise $999, Agency $2499, + Audit Pack $999 one-time from the audit doc). AI search engines (Perplexity, ChatGPT, Claude, Gemini) read this — broken offers in schema hurt citations.
  • "Kaelus endpoint" residue removed from FAQ JSON-LD, partners metadata, and the CUI blog post — last of the rebrand cleanup.
  • Pricing page placeholder traction ("2M+ scans / 500+ teams") swapped for defensible numbers a C3PAO assessor won't laugh at (110 NIST controls, <10ms p95 latency, 16 engines, 76,598 DIB orgs needing CMMC Level 2).

Brain AI UI/UX (per primer.md — "trouble connecting" issue)

  • ReactMarkdown rendering for bot replies (was literal **bold** in the FAQ answers)
  • New greeting frames the product as "works offline" + 6 quick-action chips visible from chat open (previously hidden until first message)
  • Network-error fallback names the offline-answerable topics so users know what to retry
  • "Local CMMC knowledge · works offline" capability badge in chat footer

Discoverability

  • sitemap.ts adds /security + /deployment-modes at priority 0.85
  • Homepage footer + pricing footer wire Privacy / Terms / Security / Deployment as real links (was plain <span> for Security/Privacy/Terms)

Decision filter (from the operating prompt)

Every change passes the four-question filter:

  1. Closes a customer before June 5? Yes — every demo Jordan attends now lands on a security page that answers his C3PAO's first three questions without an email.
  2. Maps to a NIST 800-171 control? Yes — /security is the evidence for AT.2.056, AU.2.041, CA.3.162, MP.2.120, SC.3.177.
  3. Under $500 + 8 hrs solo time? Yes — zero new dependencies, two new pages, six edits.
  4. Would a competitor panic? Yes — Kiteworks and PreVeil don't publish anything this specific about their boundary. Nightfall can't, because their boundary fails SC.3.177.

Verification

  • npm run build — passing, both new routes prerendered static (/security 486 B, /deployment-modes 486 B)
  • ./node_modules/.bin/tsc --noEmit — clean
  • npm run lint — warnings only (pre-existing unused vars, not in changed files)
  • npm test138 passed, 0 failed

Secret / leak audit

Ran git ls-files | xargs grep -lE '(sk-[a-zA-Z0-9]{20,}|sk_live_|AKIA|ghp_|xoxb-|AIza|eyJ...)' across the tracked tree. Three matches:

  • app/demo/page.tsx:106sk-proj-abc123xyz456... (demo sample prompt, clearly fake)
  • components/dashboard/live-scanner.tsx:57AKIAIOSFODNN7EXAMPLE (AWS canonical example key)
  • lib/gateway/providers/index.ts:234 — comment about sk-proj- format

All three are example/demo strings with EXAMPLE markers. .gitignore covers .env*, *.key, *.pem, secrets.json, credentials.json, service-account*.json. Only .env.example is tracked.

Real secret leaks: 0.

Test plan

  • Open /security on the Vercel preview and confirm data egress / compliance roadmap / disclosure sections render in dark mode
  • Open /deployment-modes and confirm the compliance matrix table is readable on mobile (640px min-width)
  • Open chat (lower-right shield) on any page and confirm:
    • Greeting renders markdown bold
    • All 6 quick-action chips visible immediately
    • "Local CMMC knowledge · works offline" badge in footer
    • Code blocks in FAQ answers render as monospace with background
  • Inspect homepage source and confirm JSON-LD <script type="application/ld+json"> has the new offers (Pro $199, not $69, plus Audit Pack $999)
  • View page source on /pricing and confirm footer has 4 real links (Privacy/Terms/Security/Deployment)
  • Hit /sitemap.xml and confirm /security and /deployment-modes are listed

Out of scope (next PRs)

  • $999 Audit Pack Stripe SKU + checkout flow — requires Stripe dashboard, deferred to a follow-up
  • 14 NIST 800-171 policy templates bundle (the Audit Pack deliverable)
  • C3PAO endorsement letter outreach (Schellman / Coalfire / Sera-Brynn) — single highest-leverage external task
  • Docker Hub publish of houndshield/proxy:latest — referenced from /deployment-modes, needs CI workflow
  • 50 RPO outbound emails + 100 LinkedIn DMs (Days 4-7 of the war plan)

Gaurav added 2 commits May 13, 2026 13:20
PUT and DELETE handlers now await params per Next.js 15 requirement.
params is Promise<{id}> not {id} directly.
Sprint 4 follow-up. Removes contradictions and credibility gaps the
audit flagged before the June 1 launch and June 5 client deadline.

Trust pages (resolve the local-only-vs-hosted contradiction):
- new /security route — data egress matrix (what leaves vs what stays
  inside customer boundary), detection pattern SHA-256 integrity model
  with verify command, compliance roadmap (SOC 2 Q4 2026, FIPS 140-3
  Q1 2027, FedRAMP-equivalent Q2 2027), vulnerability disclosure policy
  with safe harbor and 24h/90d SLA
- new /deployment-modes route — hosted trial vs self-hosted Docker vs
  air-gapped, with DFARS 7012 / SC.3.177 / HIPAA / air-gap compliance
  matrix and a 30-second decision flowchart. Hosted is clearly labeled
  NOT for CUI/PHI

Pricing + schema.org integrity:
- fix layout.tsx JSON-LD — stale prices (Pro \$69) replaced with real
  grid (Pro \$199, Growth \$499, Enterprise \$999, Agency \$2499, plus
  the \$999 Audit Pack one-time SKU from the audit doc)
- drop "Kaelus endpoint" residue from FAQ JSON-LD and partners metadata
- pricing page placeholder traction ("2M+ scans / 500+ teams") replaced
  with defensible facts (110 NIST controls, <10ms p95, 16 engines,
  76,598 DIB orgs needing CMMC L2)

Brain AI UI/UX (was showing literal markdown + bland greeting):
- ReactMarkdown render for bot replies — bold, code, lists now display
- greeting frames product as "works offline" with 6 quick-action chips
  visible from chat open (was hidden until first message)
- network-error fallback now names the offline-answerable topics so
  users know what to retry
- "Local CMMC knowledge · works offline" capability badge in footer

Discoverability:
- sitemap.ts adds /security + /deployment-modes (priority 0.85)
- homepage footer + pricing footer wire Privacy/Terms/Security/Deployment
- blog post copy: last "Kaelus endpoint" residue replaced

Verification:
- npm run build: passing, both new routes prerendered static
- tsc --noEmit: clean
- npm run lint: warnings only (unused vars in pre-existing files)
- npm test: 138/138 passing
@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

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

Project Deployment Actions Updated (UTC)
compliance-firewall-agent Ready Ready Preview, Comment May 26, 2026 12:27am

@supabase
Copy link
Copy Markdown

supabase Bot commented May 25, 2026

This pull request has been ignored for the connected project qifynzuyrdxmxlumpsrq because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

…eroSection snapshot

Merging in 30+ main commits including BEAST UI v3.0 (steel/sky/cream palette,
NavV3 + FooterV3, PlatformDashboard in hero, L99 live scanner + ROI calculator,
HERMES agent roster, Day 3/7 email drip, SPRS dashboard widget, /sign-up 404 fix).

Conflict resolution:
- app/page.tsx, app/pricing/page.tsx → take main (new design system wins)
- app/security/page.tsx → take ours (audit-aligned: data egress matrix,
  vulnerability disclosure SLA, FIPS roadmap; main's version was a shorter stub)
- app/layout.tsx JSON-LD offers → manual merge: kept 4-tier pricing
  (Free / Pro $199 / Growth $499 / Enterprise $999) to mirror main's
  pricing page (no Agency tier), retained our Audit Pack $999 one-time SKU.
  Dropped Federal — pricing page no longer ships it.

Footer injection:
- components/layout/FooterV3.tsx: added /security to Resources column +
  bottom bar, /deployment-modes to Compliance column. Both dark and light
  variants.

Snapshot:
- components/landing/__tests__/__snapshots__/HeroSection.test.tsx.snap
  countdown drifted (170 → 168 days). Pre-existing fragile test using
  real-time `new Date()` — regenerated. Long-term fix is mocking Date in
  the test, deferred to a separate PR.

Verification:
- npm run build — passing, /security 485 B, /deployment-modes 485 B static
- npm test — 449/449 passing (was 448/449 before snapshot update)
- Brain UI markdown render, deployment-modes page, security page all
  rendered correctly against the new NavV3 + design-token palette
@thecelestialmismatch thecelestialmismatch merged commit fe989b1 into main May 26, 2026
4 of 5 checks passed
thecelestialmismatch pushed a commit that referenced this pull request May 26, 2026
…g doctrine

Merging 10 commits of main (PRs #87-#93) into the Stage 0 branch. Main's
work includes the BEAST UI v3 palette (#88), L99 demo+ROI+blog (#90), and
the June 1 trust pages launch (#93). Doctrine takes precedence on every
contested file; main's surface improvements are preserved everywhere they
don't conflict with HERMES doctrine.

Conflict resolutions:

- BACKLOG.md, CLAUDE.md, pricing/page.tsx → kept --ours (HERMES doctrine,
  $499 lead, RPO channel, Mode A/B/C architecture honesty are non-negotiable
  per the 2026-05-26 pivot in DECISIONS.md)

- app/page.tsx → kept --theirs (main rebuilt with NavV3/FooterV3,
  DeploymentModes component, FaqAccordion, scroll effects) THEN edited the
  PRICING block to align with doctrine:
  * Replaced 5-tier PRICING array (Free / Pro $199 / Growth $499 /
    Enterprise $999 / Federal $2,499) with a single LEAD_PRODUCT constant
    for the $499 one-time CMMC AI Risk Report
  * Replaced 5-card pricing grid with a focused single-card CTA section
  * Section CTA links to /pricing for the Stage 2 subscription tier table
  * Subtitle now reads "A $499 PO bypasses procurement. Subscriptions
    don't. Lead with the report, graduate to monitoring in Stage 2."

- app/security/page.tsx (add/add) → kept --ours (HERMES version has 23
  Mode-A/B/C/Vercel/FedRAMP/Brain-AI doctrine hits vs 2 in main's; ours
  is the security-team-grade page the doctrine requires)

- components/GlobalChat.tsx → merged: kept main's nicer markdown-formatted
  greeting structure (instant-answer bullets, quick-action prompt) but
  rewrote the greeting copy to lead with "public information assistant"
  framing, list the three deployment modes, and include the ⚠ CUI warning
  paragraph at the bottom. The consent-modal gate, persistent banner, and
  doctrine-aligned system prompt (committed in 2e5f7ba) are preserved.

- tasks/todo.md → merged: kept HERMES Stage 1/2/3 structure (HEAD), folded
  in main's done items (Supabase 010+011 migrations applied 2026-05-13 moved
  from blockers to a checked-off line) and main's "in-app coverage map
  shipped PR #77" line was merged into the Stage 2 section with a note
  pointing at ~/.claude/plans/stage-2-subscription-surface.md for the
  follow-up work. Killed "C3PAO white-label dashboard MVP (rebrandable)"
  per doctrine — replaced with Stage 3 read-only assessor view.

Verification:
- npx tsc --noEmit: 0 errors
- npm run build: green, all routes prerender
- grep for remaining conflict markers: only in archived legacy
  system_prompt_leaks files (literal content, not git markers)

What survives from main that's worth flagging:
- DeploymentModes landing component (components/landing/DeploymentModes.tsx)
  was already aligned with HERMES doctrine (Mode A non-CUI, Mode B Docker
  CUI-safe, Mode C air-gapped). No edit needed there.
- ScannerDemo, RoiCalculator, CountdownTimer, FaqAccordion — main's polish
  components are now live in the homepage.
- Supabase migrations 010 + 011 are already in prod (resolves a Stage 0
  blocker line in tasks/todo.md).
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