From 7ff96eb0eb0eb1816be6e5a020b5f3cc87840b7c Mon Sep 17 00:00:00 2001 From: Daniel Heene Date: Wed, 11 Nov 2026 06:38:00 +0100 Subject: [PATCH 01/30] docs: bring README, AGENTS and llms.txt back in line with the code README: CI section described a ci.yml that no longer exists; rewritten for lint-and-test.yml (incl. Semgrep, disabled E2E) and build-and-deploy.yml (boot checks, single build). Fixed dev/generate/build/seed scripts, env variable table (NEXT_PUBLIC_SERVER_URL, NEXT_PUBLIC_STATUS_PAGE_URL, RESUME_REDIRECT_URL_BASE), API routes and the project structure tree. AGENTS: dev no longer starts Storybook, all four authenticated SSE channel prefixes, Semgrep convention, plugins/stories/llms.txt notes, and a refreshed Known Issues list (pdfjs-dist pin replaces the removed postcss-merge-rules one). llms.txt: removed references to src/access, the heartbeat route and the next.config env block. --- AGENTS.md | 63 +++++++++++++------ README.md | 178 +++++++++++++++++++++++++++++++----------------------- llms.txt | 26 +++++--- 3 files changed, 164 insertions(+), 103 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index e59ace98..8e05b086 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,10 +30,12 @@ See `README.md` for setup/run instructions; this file focuses on conventions and ```bash bun install # install deps (Bun only — see packageManager in package.json) -bun run dev # runs Next.js dev server + Storybook in parallel -bun run dev:app # Next.js dev server only -bun run generate # regenerate Payload types + import map (run after changing collections/fields) -bun run build # production build +bun run dev # Next.js dev server via scripts/dev.mjs (--tunnel opens the Cloudflare Tunnel) +bun run dev:app # plain `next dev`, without the tunnel wrapper +bun run dev:storybook # Storybook on :6006 (not started by `bun run dev`) +bun run generate # regenerate Next route types, Payload types + import map +bun run build # production build (`next build --webpack`) +bun run typecheck # tsc --noEmit bun run lint # oxlint + oxfmt --check (does NOT auto-fix) bun run lint:fix # oxlint --fix + oxfmt (auto-fixes what it can) bun run format # oxfmt (formatting and import order only) @@ -59,7 +61,8 @@ Always spell scripts `bun run