From d6f8eb6c8e19c67c43f3747efe7e77bbaf90f46c Mon Sep 17 00:00:00 2001 From: Sluijsens Date: Sat, 31 Oct 2026 20:25:58 +0100 Subject: [PATCH] Moves the hydration test out of the routes folder The route generator scans that folder and warned about the test file. Co-Authored-By: Claude Opus 5.5 --- .../plans/start-migration-code-generation-plan.md | 4 ++-- .../construction/start-migration/code/verification-log.md | 6 +++--- web/src/{routes => }/hydration.test.tsx | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename web/src/{routes => }/hydration.test.tsx (100%) diff --git a/aidlc-docs/features/prerendering/construction/plans/start-migration-code-generation-plan.md b/aidlc-docs/features/prerendering/construction/plans/start-migration-code-generation-plan.md index 31f7b76..2919196 100644 --- a/aidlc-docs/features/prerendering/construction/plans/start-migration-code-generation-plan.md +++ b/aidlc-docs/features/prerendering/construction/plans/start-migration-code-generation-plan.md @@ -457,14 +457,14 @@ Disjoint from B2 and B4. Runs only targeted `vitest run` commands. The editing o - Do: review every new or changed file for header comments that say why (the strict CSP and Start's inline scripts for `inlineScripts.ts`, `externalizeInlineScripts.ts`, `previewServer.ts`; why `useHydrated` and the store pattern exist; why `ssr` defaults are used), comment language per neighbour, no leftover temporary constants, no `TODO` without owner, `data-testid` naming. Run `pnpm exec prettier --write` on touched files, then `pnpm lint` and `pnpm format:check`. - Done when: lint and format checks are clean and a `git diff --stat` shows only files named in this plan (plus `pnpm-lock.yaml`, `src/routeTree.gen.ts`). -### Step 30: Dependency hygiene (BR-BLD-11, V6) [ ] +### Step 30: Dependency hygiene (BR-BLD-11, V6) [x] - Executor: Haiku. - Implements: BR-BLD-11; NFR-PR-SEC-02; V6 (second part). - Do: find packages that are now unused (`@tanstack/router-plugin` if Start replaced it: `grep -rn "router-plugin" web --include=*.ts --include=*.json -l`; nothing else imports it) and ask the main session before removing anything whose use is not obvious; if it is clearly unused run `pnpm remove ` (this is the only install action allowed here). Check `pnpm-workspace.yaml` overrides are intact. Run `pnpm audit:deps` and `pnpm audit:dev`. - Done when: audit passes, lockfile consistent (`pnpm install --frozen-lockfile` succeeds), V6 updated. -### Step 31: Unit build and test verification (Step 13.5) [ ] +### Step 31: Unit build and test verification (Step 13.5) [x] - Executor: Haiku. - Implements: Code Generation Step 13.5; CP5; NFR-PR-Q-01. diff --git a/aidlc-docs/features/prerendering/construction/start-migration/code/verification-log.md b/aidlc-docs/features/prerendering/construction/start-migration/code/verification-log.md index c6b38d4..59beb71 100644 --- a/aidlc-docs/features/prerendering/construction/start-migration/code/verification-log.md +++ b/aidlc-docs/features/prerendering/construction/start-migration/code/verification-log.md @@ -30,13 +30,13 @@ Notes: | V3 | Inline scripts per real page | 4 (first look), 13 (final) | Final list from the real runner on a scratch copy of the Step 4 output (12 HTML files): every page has 3 moved scripts, `/contact` has 5, 16 distinct files in total. (1) router scroll restoration, 613 chars, no attributes, same file on all pages; (2) Start bootstrap `data-tsr-stream-part=""`, 916 to 1349 chars, one file per page; (3) boundary `document.currentScript.remove();/*$tsr-stream-boundary*/`, 56 chars, same file everywhere; only `/contact`: (4) `