feat(phase4): marketing surface + Inngest cron + PostHog/Sentry wiring#1
Open
RexOwenDev wants to merge 1 commit into
Open
feat(phase4): marketing surface + Inngest cron + PostHog/Sentry wiring#1RexOwenDev wants to merge 1 commit into
RexOwenDev wants to merge 1 commit into
Conversation
Adds the Phase 4 buyer-facing demo polish layer:
- 11-section (marketing) route group: hero, how-it-works, security,
compliance, accessibility, tech-stack, metrics, case-study, source, hire
- Sticky dismissible demo banner ("resets nightly", links to walkthrough + source)
- PostHog provider with pageview tracker (no-op when key absent)
- Sentry client + server/edge init wired through instrumentation-client.ts
and the existing instrumentation.ts; withSentryConfig conditional on auth
token presence so dev builds stay quiet
- Inngest client + nightly-fixture-reset cron (0 3 * * *) + /api/inngest serve
- Cross-link env vars (NEXT_PUBLIC_*_DEMO_URL) so Phase 9 URL swap is config-only
- CSP relaxed for PostHog, Sentry, Loom, Cal.com endpoints
- Root /-redirect retired; / now serves the marketing landing
Build green, 120/120 tests pass, biome clean. Loom recording deferred.
Deploy notes: .claude/plans/foundation-outputs/04-deploys/autoflow-studio.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 4 buyer-facing demo polish: net-new marketing surface, instrumentation wiring, Inngest cron. The autoflow app itself is unchanged — all changes are additive scaffolding around it.
(marketing)route group:/,/how-it-works,/security,/compliance,/accessibility,/tech-stack,/metrics,/case-study,/source,/hire. Each ~50–120 lines, fintech-leaning compliance copy./api/inngestserve handler +nightly-fixture-resetcron at0 3 * * *.NEXT_PUBLIC_*_DEMO_URL) so Phase 9 URL swap is config-only./→/dashboard) retired; root now serves marketing landing.Verification
npx tsc --noEmit— cleannpx biome check— 0 errors / 0 warnings on new codenpm run build— green; 11 marketing pages prerendered as static;/api/inngestregisterednpm test— 120/120 passingDeferred (Owen-in-loop / next session)
/api/inngestendpointFull deploy notes:
.claude/plans/foundation-outputs/04-deploys/autoflow-studio.md(in studio workspace).Test plan
vercel link --project autoflow-studio-demosucceedsAPP_MODE=fixture//dashboardstill loads (existing app surface unaffected)nightly-fixture-resetregistered after endpoint sync$pageviewon a route nav