All workAndrew Cates.

Project 42 of 84

Formweave

One-question-at-a-time form builder (a Typeform alternative) for small-business lead and intake: owners build and publish forms with jump logic, respondents answer with no login (also without JavaScript), and owners are notified by email/webhook and review, search and export results.

Status
Shipped
Area
Personal Products & SaaS
Last activity
2026
Stack
  • TypeScript
  • Node
  • pnpm
  • Hono
  • Next.js
  • React
  • Drizzle ORM
  • Supabase Postgres

Highlights

  1. Designed and shipped formweave, a one-question-at-a-time form builder, from a multi-round Planner/Architect/Critic consensus plan (86 acceptance criteria) to production in about three weeks (first commit 2026-10-23, release v0.1.1 2026-11-13) across 35 merged PRs.
  2. Architected a no-login public responder as a separate Next.js 16 RSC/Server Actions app that never touches the database and reaches a Hono API only via HMAC-signed, nonce-protected, origin-verified server-to-server calls, keeping the form flow working without JavaScript.
  3. Built a Supabase Postgres data layer with RLS, immutability triggers and role-owned SECURITY DEFINER functions, plus owner-set retention and an Object-Locked S3 deletion ledger that replays deletions after a backup restore, rehearsed by an automated restore drill in CI.
  4. Implemented an agent-access path: an STS signer and OAuth facade (authorize, consent, CIMD, token exchange) minting on-behalf-of tokens, and a read-only MCP server with five tools, verified by the API against a five-read allowlist (sts-allowlist.ts); AI security reviews of the facade and MCP server recorded no critical or high findings and the signer review no blockers.
  5. Built a reliable notification pipeline: Postgres outbox with lease-claim worker, HMAC-signed SSRF-guarded webhooks with retries, SES SMTP email with socket-level deadlines, and a confirmation-link gate so only verified notify addresses receive submission mail.
  6. Deployed eight services to production: five on CapRover (API, worker, STS signer on an encrypted overlay, OAuth facade, MCP) via digest-pinned ECR images, and dashboard, responder and marketing site on Vercel behind Cloudflare with an origin lock, Zitadel auth, SES and UptimeRobot monitoring.
  7. Ran secrets as 1Password -> env-sync -> AWS SSM with a reconciling CapRover apps role, and moved CI and release workflows to self-hosted runners with isolated per-run stacks after hosted minutes ran out.
  8. Wrote a cross-fleet production deploy lessons guide (runners, env-sync, CapRover overlay/secret quirks, drift gate, Vercel origin lock) for onboarding other products to the same platform.
  9. Instrumented formweave's dashboard, public responder and marketing site for Playwright with a typed test-id catalog and state attributes (data-state, load state, submit epochs, aria-busy bound to the same pending flag that disables a control), plus route-level page objects (22) and specs, merged as one 61-commit PR (+4,060/-319 across 92 files).
  10. Ran a 3x burn-in with retries disabled and root-caused every shared-state flake (per-IP signup and per-address mail limits, a stale audit-ledger health check, a sign-out race, env-file selection, a stale Turbopack cache), reaching 288/288 default, 45/45 site and 15/15 Zitadel runs locally (local runs per PR #38 body; fixes in open PR #38, e2e.yml never run in CI).
  11. Wrote ADR 0001 moving long Playwright suites and the per-PR Docker image build to manual-dispatch workflows with a ref input, keeping a no-stack route-to-spec coverage ratchet in CI, to stop queueing on shared self-hosted runners (PR open).
  12. Added backward-compatible pagination and search to the forms and submissions APIs (page/per_page or offset/limit, X-Total-Count and Link headers, escaped search under RLS) and regenerated the OpenAPI spec and typed client.
  13. Added (in open PR #38) Claude Code guardrails for e2e: a report-only /e2e-check command, a path-to-spec map with a unit-tested resolver, and a Stop hook that prints which specs a change affects without running them.