Skip to content

revise(content): restructure tech-story post per tech-story-eval verdict#6

Merged
mastermanas805 merged 1 commit into
mainfrom
fix/tech-story-revise
May 11, 2026
Merged

revise(content): restructure tech-story post per tech-story-eval verdict#6
mastermanas805 merged 1 commit into
mainfrom
fix/tech-story-revise

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Summary

`/tech-story-eval` scored the previous version 19/30 with verdict `revise`. Top problems:

  1. Hook was an aphorism, not a scene
  2. Five parallel sketches with no protagonist arc
  3. Unexplained jargon: pgvector / HNSW / RAG / p99

This PR applies the verdict.

Changes

Change Why
Open with Maya's 11:47 PM Sunday scene Demonstrate the thesis on the first sentence instead of asserting it
Maya promoted to full protagonist (~700 words) Single reader-following arc instead of five context switches
Other four demoted to ~120-word sidebars under "Four others, same Sunday-night shape" Same coverage, no longer competes with Maya's arc
Jargon defined inline at first use pgvector, RAG, HNSW, p99 all explained briefly without breaking flow
Title → "Maya shipped on Sunday night" Matches new protagonist focus
Closing kept verbatim Eval scored landing 2/3 — preserve what worked
"It was just Postgres" rewritten Curse-of-knowledge tell flagged by the rubric

Pre-commit security scan

`src/content/posts.ts` scanned for: secrets, internal FQDNs, production IDs, JWT tokens, cleartext creds, live pool tokens. 0 hits across all categories.

Test plan

  • `npm run build` passes (tsc + vite)
  • Closing section verbatim-preserved (verified)
  • Security scan clean

🤖 Generated with Claude Code

Scored 19/30 on the eval rubric — verdict: revise. Three problems:
hook was aphorism not scene, no single protagonist arc across five
parallel sketches, unexplained jargon (pgvector / HNSW / RAG / p99).

Changes:

  - Hook rewritten as a specific 11:47 PM Sunday scene with Maya. The
    eval's example rewrite kept verbatim — it was the right shape.
    Opening now demonstrates the thesis on the first sentence instead
    of asserting it.

  - Maya promoted from one of five vignettes to the full protagonist.
    Her section now runs ~700 words and walks the reader through three
    curls, the kaniko build, the cert-manager cert, and a 12:14 AM
    "send link to friend, sleep" beat. The reader follows one arc.

  - The other four personas (Cleo, Anders, Priya, Reza+Tamika) demoted
    to ~120-word sidebars under "Four others, same Sunday-night shape."
    Same archetypes, same outcomes, but no longer competing with
    Maya's arc for the reader's attention.

  - Jargon defined inline at first use: pgvector ("Postgres's
    vector-similarity extension"), RAG ("retrieval-augmented
    generation: feed the LLM relevant snippets from your own corpus"),
    HNSW ("the standard graph-based nearest-neighbor index"),
    p99 implied through "99th-percentile latency."

  - "It was just Postgres" curse-of-knowledge phrasing replaced with
    "The whole vector layer was Postgres, and he already knew Postgres."

  - Title changed from "Five people who built something on
    instanode.dev this week" to "Maya shipped on Sunday night" —
    matches the new protagonist focus. Excerpt updated to lead with
    Maya, with the four others noted second.

  - Closing section "What ties them together" kept verbatim. Eval
    scored landing at 2/3; the closing is the part that worked.

Pre-commit security scan (src/content/posts.ts):
  - secrets / internal FQDNs / production IDs / JWTs / cleartext creds
    / live pool tokens — 0 hits across all categories
  - curse-of-knowledge audit — "just Postgres" phrasing removed

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805
mastermanas805 merged commit 0eb1c05 into main May 11, 2026
@mastermanas805
mastermanas805 deleted the fix/tech-story-revise branch May 11, 2026 10:59
mastermanas805 added a commit that referenced this pull request Jun 5, 2026
…ause/resume-by-token (#192)

* test(e2e): Wave 2+3 — real-backend UI journeys + PR-smoke gate; fix pause/resume by token

Drive the ACTUAL dashboard in the browser against the real prod api with a
multi-tier minted cohort account, then reap (rule 24, no leak). Catches the
UI-against-real-backend breakage class (login-broke) that mocked Playwright +
tsc + vitest all miss.

Wave 3 — factory + named journeys (all proven green vs api.instanode.dev):
- e2e/factory.ts: thin wrapper over POST/DELETE /internal/e2e/account —
  mintUser({tier}), mintUserWithResources, mintAtDeployCap (hobby cap=1), reap;
  cohort-tagged + ledger-registered for the afterAll/out-of-process backstop.
- e2e/ui-helpers.ts: same-origin preview-proxy harness. The prod api CORS
  allowlist returns allow-origin ONLY for https://instanode.dev (AUTH-004), so a
  direct cross-origin fetch from the preview origin is CORS-blocked. The preview
  server proxies api paths to prod (vite.config.ts preview.proxy) and the SPA's
  api base is pinned same-origin → real backend, no CORS wall.
- e2e/live-ui-{auth,resources,deploy,team-vault}.spec.ts: journeys
  #1 auth round-trip (authed shell + /auth/me identity; magic-link form),
  #2 provision→view→metrics stream→creds reveal→delete,
  #3 deploy lifecycle + build-log SSE connect + make-permanent,
  #4 delete-when-exhausted→replace (hobby cap=1: #1 renders → #2 hits the 402
     wall → delete #1 → replacement succeeds) — the headline scenario,
  #5 pause/resume + 402 tier gate, #6 vault add→reveal→delete, #7 team invite.
- Manifest: live-ui.coverage.ts + done-bar wiring; add GET /deploy/:id/logs.

Wave 2 — PR-smoke gate:
- .github/workflows/e2e-pr-smoke.yml runs the @pr-smoke subset (#1/#2/#3) on
  every web PR via a minted+reaped account; no-ops cleanly on fork/secret-less
  PRs; full suite stays on the e2e-prod 30-min schedule.

REAL UI bug found + fixed (PauseResumeButton): pause/resume addressed the
resource by the UUID `id`, but the api resolves :id against the TOKEN column —
so every pause/resume 404'd ("Resource not found") through the dashboard. Now
uses resource.token (matches getResource/rotate/delete). Proven via journey #5.

Verified: all 10 live-ui tests green vs prod, ledger empty, reap 200; npm run
gate green (1129 tests).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test(e2e): drop unused mintUser import in live-ui-resources (code-quality)

All three resource journeys use mintUserWithResources; mintUser was imported but
never referenced. Flagged by github-code-quality on PR #192.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <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.

1 participant