Commit Graph
40 Commits
Author SHA1 Message Date
SluijsensandClaude Opus 5.5 b6d5a85e41 Applies the owner's Lighthouse targets
Three pages no longer need an exception and the homepage target rises to its
measured score, so the gain cannot slip away unnoticed. Also adds the third
unit's code summary and updates the shared docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 20:07:24 +01:00
SluijsensandClaude Opus 5.5 498be43020 Adds the final measurement of the prerendering feature
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:51:44 +01:00
SluijsensandClaude Opus 5.5 6d4d01238a Hardens the upload path check and the deploy verification
A remote of . or .. could have made the cleanup pass delete the wrong folder, so
such paths are refused before anything runs. A connection error now ends in the
normal summary instead of aborting the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:31:21 +01:00
SluijsensandClaude Opus 5.5 afd9923950 Stops the production upload when a pass fails
Each pass is now its own lftp session with a marker in the log, so a failed
asset pass stops the script before any HTML goes up. The test checks those
markers instead of lftp's output format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 19:17:37 +01:00
SluijsensandClaude Opus 5.5 38708b8439 Compares the preview server with real nginx in tests
The preview server must behave like the real server, or Lighthouse and the
browser tests prove the wrong thing. The tests also cover the new URLs in a real
browser: one redirect, one title, a clean hydration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:30:08 +01:00
SluijsensandClaude Opus 5.5 e4e7f8c82c Adds the URL rules to the preview server, IIS config and deploy
The preview server and web.config now follow the same URLs as nginx, without
the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page
is audited through an opt-in route. The deploy checks the build first and the
served result afterwards. The IIS rules stay unverified until a host exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:13:21 +01:00
SluijsensandClaude Opus 5.5 716692825e Gives browser tests more time on the slow CI runner
Real nginx passes all 134 server rule tests in CI. The seven remaining failures
were tests cut off at 60 seconds on the Raspberry Pi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:02:59 +01:00
SluijsensandClaude Opus 5.5 8cb9185a69 Fixes two nginx rule defects found by real nginx in CI
Plain map keys compare case-insensitively, so /Over-Mij was not redirected. A
path starting with an encoded backslash could become an open redirect through
the trailing-slash rule; it now gets the 404 page. Also makes the tests readable
for nginx's workers and less sensitive to the slow CI runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 04:47:52 +01:00
SluijsensandClaude Opus 5.5 5ae1c5e999 Keeps the CI nginx package from starting a service
CI jobs share the host's network, so that service would try to bind the
runner's port 80. The tests start their own nginx on a free port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:01:25 +01:00
SluijsensandClaude Opus 5.5 33334b889d Generates the nginx rules for prerendered pages
Pages now map to their html file, other forms get one redirect, unknown URLs
get a real 404 and responses are compressed. A browser-free test suite runs the
rules against a real nginx, in CI only so far.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:00:07 +01:00
SluijsensandClaude Opus 5.5 4f32042410 Records the approval of the third unit's plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:41:36 +01:00
SluijsensandClaude Opus 5.5 c0dc08869a Adds the third unit's code generation plan and Pi install instructions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:36:22 +01:00
SluijsensandClaude Opus 5.5 2c25a536f0 Records the approval of the third unit's design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:27:17 +01:00
SluijsensandClaude Opus 5.5 1a4a432625 Finalises the third unit's infrastructure design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:21:39 +01:00
SluijsensandClaude Opus 5.5 7ccffe3d71 Adds the third unit's infrastructure design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:17:28 +01:00
SluijsensandClaude Opus 5.5 88cc6baef0 Records the approval of the second unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:02:27 +01:00
SluijsensandClaude Opus 5.5 b5fd83256d Loads the light logo after the page load
Lazy loading saved its bytes during page load, but left the logo empty for a
moment when navigating to the homepage on a wide screen. Also adds the second
unit's code summary and the shared docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 01:56:13 +01:00
SluijsensandClaude Opus 5.5 b965b8a227 Adds the second unit's measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 01:46:30 +01:00
SluijsensandClaude Opus 5.5 d11fcb1ff9 Marks the second unit as verified before measuring
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:58:14 +01:00
SluijsensandClaude Opus 5.5 2754890370 Adds browser tests for the page without JavaScript
The tests cover every page without JavaScript, the menu by keyboard and pointer,
the fade-in at load and on scroll, and image requests per width. They found that
the closed menu's shoot links could take focus, which is fixed here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:50:17 +01:00
SluijsensandClaude Opus 5.5 01fcfeefea Adds the fallbacks for visitors without JavaScript
The mobile menu works through CSS, and controls that need JavaScript are hidden
without it. The contact photo gets its own preload, and the tests cover the new
Reveal behaviour, the first row and the noscript markup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:09:33 +01:00
SluijsensandClaude Opus 5.5 44125155bc Makes Reveal, deferred images and the first row work from the HTML
Reveal content is visible in the HTML and only content below the viewport hides
after hydration. Deferred photos get a noscript twin, and the first row of the
portfolio loads eagerly per column count. Some old tests still expect the former
behaviour; they are rewritten next, so this commit's test run is not fully green.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:57:05 +01:00
SluijsensandClaude Opus 5.5 4139c8f732 Adds the second unit's code generation plan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:43:40 +01:00
SluijsensandClaude Opus 5.5 68cf46cf82 Records the approval of the second unit's design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:34:58 +01:00
SluijsensandClaude Opus 5.5 3dd1185751 Finalises the second unit's design with the owner's decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:28:38 +01:00
SluijsensandClaude Opus 5.5 5a0845ab57 Adds the functional design of the second unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:17:56 +01:00
SluijsensandClaude Opus 5.5 df10832086 Records the approval of the first unit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:47:50 +01:00
SluijsensandClaude Opus 5.5 7276fe95f2 Corrects a count in the gate measurement
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:03:16 +01:00
SluijsensandClaude Opus 5.5 a1d5c1ea4b Adds the measurement at the first unit's decision gate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:03:08 +01:00
SluijsensandClaude Opus 5.5 8dc120e78c Adds the first unit's code summary and updates the shared docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:28:41 +01:00
SluijsensandClaude Opus 5.5 d6f8eb6c8e 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 <noreply@anthropic.com>
2026-10-31 20:25:58 +01:00
SluijsensandClaude Opus 5.5 a68e84c3bb Removes plan references from the new comments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:20:39 +01:00
SluijsensandClaude Opus 5.5 8867c7833c Runs the browser tests in CI on the client output
The build artifact is now dist/client, so only that goes to the deploy jobs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:06:41 +01:00
SluijsensandClaude Opus 5.5 8bf0000531 Adds browser tests and fixes hydration of the 404 page
The prerendered 404 page is served for other URLs, so its dehydrated match id
differs and the router renders the catch-all's pending component first. Without
one that render was empty, which gave React error 418 and duplicate head tags.
The tests run the built output in a real browser under the production CSP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:03:07 +01:00
SluijsensandClaude Opus 5.5 0c5d8b8f40 Compresses responses in the preview server
The baseline ran on vite preview, which compresses, so measurements could not
be compared without this. Also records that the real servers need compression.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:30:30 +01:00
SluijsensandClaude Opus 5.5 fe1ec5db3d Wires the script step and preview server into the build
The build now moves inline scripts and fails on a violation. Lighthouse audits
/404.html, because it refuses a page with a real 404 status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:25:41 +01:00
SluijsensandClaude Opus 5.5 0b964b5466 Adds a preview server that follows the real server rules
Lighthouse and the browser tests need a real 404 status, the .html mapping and
the production headers, which vite preview does not give. It is not wired into
the scripts yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:20:22 +01:00
SluijsensandClaude Opus 5.5 1574726c1d Adds the step that moves inline scripts to files
TanStack Start writes inline scripts into each page, which the strict CSP
blocks. This step moves them to hashed files and checks the output: every page
is present, no executable inline script remains and the e-mail address appears
nowhere. It is not part of the build yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:12:42 +01:00
SluijsensandClaude Opus 5.5 c1e90f0768 Moves the app to TanStack Start with prerendering
Every page is now built as HTML from sitePages.ts, with a catch-all route for
404.html. Hooks that read the browser during render are safe for prerendering.
The script step that keeps the CSP intact follows, so this build still has
inline scripts and is not deployable yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:58:54 +01:00
SluijsensandClaude Opus 5.5 65c850e949 Adds the prerendering requirements, design and baseline
Records the requirements, execution plan, application design, the first unit's
functional design and code generation plan, and the baseline on master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 17:41:12 +01:00