All workAndrew Cates.

Project 27 of 84

Collectweave

Focused content-request tool for web designers: a designer builds a request (sections and items), sends the client a tokenized link, and the client answers and uploads files through an anonymous, no-JS-capable form while the designer reviews, accepts or requests changes.

Status
Shipped
Area
Personal Products & SaaS
Last activity
2026
Stack
  • TypeScript
  • pnpm workspaces
  • Turborepo
  • Node
  • Hono
  • zod
  • Next.js
  • React

Highlights

  1. Designed and shipped collectweave, a content-request SaaS for web designers, from first commit to production v0.1.0 in under three weeks: Hono + zod-openapi API, Next.js 16 designer app, static marketing site and Playwright e2e in a pnpm/turbo monorepo with eight shared packages.
  2. Enforced tenant isolation in Postgres itself: forced RLS on every table, a non-owner NOBYPASSRLS runtime role switched per request via withActor, a CI check that fails on any table without forced RLS, and anonymous access only through SECURITY DEFINER functions keyed by hashed tokens.
  3. Built an anonymous, no-JavaScript-capable client portal on expiring, revocable links stored only as sha-256 hashes, with uniform 401s for bad tokens, per-address and per-token rate limits, and nginx access logging disabled for link paths in production.
  4. Implemented a presigned S3 upload pipeline with size/type checks and sha-256-verified promotion to content-addressed keys, plus short-lived presigned downloads scoped to the requesting designer.
  5. Delivered transactional email through a Postgres outbox poller under a dedicated worker role, MJML templates and Amazon SES, with an SNS-signature-verified delivery-events webhook (pinned certificate host/path).
  6. Provisioned production with Terraform (Zitadel OIDC app on the shared fleet IdP; SES identities, DKIM and config set), immutable ECR images, SSM as the sole env source, and CapRover deploys gated on health checks; enforced verify-full Postgres TLS with a pinned CA.
  7. Cleared all critical and high production advisories (pnpm audit --prod: 3 critical / 7 high to 0 / 0) by upgrading Next.js 16, nodemailer and MJML and adapting to MJML 5's async rendering.
  8. Raised e2e quality with typed test ids, aria-busy/data-load-state instrumentation and focus restoration across app and site, plus a route-to-spec coverage ratchet in CI that fails any new page without an e2e spec.
  9. Planned the architecture through a multi-round Architect/Critic consensus review and recorded decisions as ADRs and dated session dossiers, then executed it task-by-task with an independent security review per task.