Skip to content

WP-09: Marketing + free tools + admin + feedback - #12

Merged
gitAbid merged 3 commits into
mainfrom
wp-09-marketing-tools-admin
Oct 27, 2026
Merged

gitAbid merged 3 commits into
mainfrom
wp-09-marketing-tools-admin

Conversation

@gitAbid

@gitAbid gitAbid commented Oct 27, 2026

Copy link
Copy Markdown
Owner

WP-09: Marketing + free tools + admin + feedback

Completed by the integrator after two agents hit usage limits (their committed lib-layer + pages work is the bulk of this; final integration, fixes and verification here). Base includes all other WPs (main @2ced830 with WP-10).

Acceptance criteria

  • U16 ✅ visitor flow without signup on /tools/show-notes: paste → package-quality deterministic output + honest fallback note (Basic version — our AI writer was unavailable. Regenerate when you're ready.) + verbatim quote badge + Copy + CTA band — e2e visitor generates show notes without signup (deterministic path); the AI path is exercised via mocked registry in unit tests (tools.route, tools.run)
  • U17 ✅ legacy URL parity — browser test legacy URLs keep their paths walks the legacy sitemap paths; unit parity.test.ts asserts every legacy public path exists in the new router (tools/compare/guides/templates/samples)
  • Lighthouse ≥95 ✅ / = 95/98/100/100 · /tools/show-notes = 95/96/100/100 (performance/accessibility/best-practices/seo)

Deliverables

  • Landing per MK-1 (hero/pains/how-it-works/what-you-get/quote-check/pricing with DB-derived founding counter — null-keyless omits the count, never faked —/FAQ 6 with facts-only answers), /pricing, /privacy, /terms
  • Free tools at legacy paths with real LLM via the registry → deterministic fallback; BotID (fail-open on infra failure, dev-bypass off-Vercel — client and server conditions now MATCH) + 5/day/IP + FREE_TOOL_DAILY_USD cap (DB-backed when configured, per-instance fallback documented)
  • /admin per MK-11: DB-derived stat tiles (empty states keyless — no fake numbers), AI provider card consuming WP-04's routes, feedback table
  • Feedback: per-artifact FeedbackThumbs wiring + floating button → /api/feedback (+PostHog when key present); Resend owner email when key present
  • Two integrator fixes on top of the agent's work: (1) removed the WP-00 placeholder app/page.tsx that SHADOWED the marketing landing at / (the landing was unreachable); (2) BotIdClient renders only on Vercel — off-Vercel its worker script 404s and its fetch wrapper rejects (matching the documented server-side bypass)

Verification

pnpm lint 0 errors · pnpm typecheck clean · pnpm test 512 passed / 2 skipped (adds tools/rate-limit/cost-cap/parity/feedback/admin-stats suites) · keyless e2e 45 passed incl. landing/tools/admin · preview https://episodekit-biz0eq91q-pera-byte.vercel.app (landing/tools/pricing/admin all 200)

Decisions logged

Prior agents' entries (BotID fail-open, memory spend-store fallback, FAQ fact corrections vs mockup) + integrator fixes noted above.

Known limits (owner-key dependent, documented)

Live AI tool output and PostHog/Resend need valid keys (FOR-ABID.md §2); LS checkout buttons surface the preview copy until store setup.

# Conflicts:
#	web/.env.example
#	web/db/queries.ts
#	web/lib/billing/entitlements.ts
#	web/package.json
#	web/pnpm-lock.yaml
…k, URL parity; fix / shadowing + off-Vercel BotIdClient
@gitAbid
gitAbid merged commit 45e73a2 into main Oct 27, 2026
2 checks passed
@gitAbid
gitAbid deleted the wp-09-marketing-tools-admin branch October 27, 2026 16:39
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