Skip to content

docs: close the credibility gap before submission - #149

Merged
Eslam93 merged 1 commit into
mainfrom
docs/credibility-pass
May 16, 2026
Merged

Eslam93 merged 1 commit into
mainfrom
docs/credibility-pass

Conversation

@Eslam93

@Eslam93 Eslam93 commented May 16, 2026

Copy link
Copy Markdown
Owner

Summary

Third-party review flagged a mismatch: codebase reads "serious engineer" but two visible bits — landing page footer and `frontend/README.md` — still read "unfinished scaffold." This PR fixes the visible mismatch without changing any behavior.

# Change File
1 Removed "Phase 2 scaffold — auth pages arrive in the next PR" footer; replaced with demo credentials hint `frontend/app/page.tsx`
2 Rewrote `frontend/README.md` to describe what actually shipped (routes, auth model, build path, layout) — old version was 4 PRs out of date `frontend/README.md`
3 "production-grade SaaS" → "production-minded SaaS demo" in the top README headline `README.md`
4 New "For reviewers" section between §1 and §2 — bullets the engineering signals + suggested reading order `README.md`

Why

Reviewer's "credibility mismatch" framing was correct. A reviewer skimming the live demo first hits the landing page; if it says "Phase 2 scaffold," the rest of the polished README gets discounted. The fix is two-line file edits with zero runtime risk.

Verification

  • `pnpm lint` ✅ · `pnpm format:check` ✅ · `pnpm typecheck` ✅
  • `pnpm test` ✅ (28 passed — no behavior change)
  • `pnpm build` ✅

Third-party review flagged a mismatch: the codebase reads "serious
engineer", but two visible-on-day-one bits still read "unfinished
scaffold." Four fixes, all reading-only:

1. Landing page footer (frontend/app/page.tsx)
   Replaced "Phase 2 scaffold — auth pages arrive in the next PR"
   with a demo credentials hint. Also dropped the stale comment
   above the Sign-in / Create-account buttons claiming the routes
   are non-functional placeholders — they ship and work.

2. frontend/README.md
   The old version listed P2.9b/P2.9c/P2.10 as "📋 not yet" with
   a status table that was four PRs out of date. Rewritten to
   describe the routes actually shipped (auth + dashboard +
   generate + improve + brand-voices + settings + usage), the
   actual auth model (in-memory access token + httpOnly refresh
   cookie + 401 interceptor + queryClient.clear on logout), the
   `NEXT_OUTPUT=export` build path used for current manual deploys,
   and the real component/lib layout.

3. README headline
   "production-grade SaaS" → "production-minded SaaS demo". Single-
   token swap that keeps the framing strong while not inviting a
   reviewer to attack the known demo compromises (public RDS, local
   image storage, deferred ElastiCache — all documented honestly in
   ARCHITECTURE.md).

4. README "For reviewers" section
   New unnumbered section between §1 Live demo and §2 What it does.
   Bullets the load-bearing engineering signal: provider abstraction,
   three-stage parse fallback, custom JWT, async repo architecture,
   CI gates, CDK infra, honest trade-offs, living devlog. Plus a
   suggested reading order pointing at ARCHITECTURE.md and the
   "What I'd add next" section.

Verification

  pnpm lint                       no ESLint warnings or errors
  pnpm format:check               clean
  pnpm typecheck                  clean
  pnpm test                       28 passed (unchanged — no behaviour change)
  pnpm build                      compiled successfully
@Eslam93
Eslam93 merged commit 2767d73 into main May 16, 2026
1 check passed
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