Commit graph

19 commits

Author SHA1 Message Date
Jun-te Kim
acbb2c4054 fix(devcontainer): publish 8400 in compose so the CLI path exposes it
devcontainer.json's forwardPorts is a VS Code feature; the devcontainer CLI
(which devcontainer.sh drives) doesn't implement it. Compose only published
3000, so a container started via `./devcontainer.sh up|rebuild` left the
impeccable live helper on 8400 unreachable from the host — and the failure is
silent: the page loads, the injected script 404s, the element picker just never
appears.

Publish 8400:8400 explicitly. The mapping is fixed rather than dynamic because
the injected script hard-codes http://localhost:8400, which also means only one
container at a time can run live mode.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 17:43:55 +00:00
Jun-te Kim
b69ef47f22 feat(impeccable): vendor the skill and wire up live mode
Live mode (impeccable.style/live-mode) never worked here because the skill was
never actually installed: postCreate ran `skills add pbakaus/impeccable
--global`, which silently no-ops — it's absent from ~/.claude/skills. Vendor it
into .claude/skills/impeccable instead, so live mode's scripts/ sit on a stable
path and everyone gets the same version (`npx impeccable update` to refresh).
Drop the dead postCreate step.

Live-mode wiring:

- .impeccable/live/config.json for Next.js App Router (src/app/layout.tsx,
  </body>, jsx). detect-csp.mjs reports no CSP in this project, so no config
  patch is needed and cspChecked is honestly true.
- Forward port 8400 with requireLocalPort. The script injected into the page
  hard-codes http://localhost:8400, so if VS Code remaps it the element picker
  silently never loads — the one devcontainer-specific trap here.
- Ignore the per-session journal/screenshots; keep the configs tracked.

DESIGN.md is required — live.mjs refuses to boot without it (context_missing).
Generated via the `document` skill from the actual codebase, so it records what
the code really does, including the gaps (dark mode defined but dead, --font-sans
referenced but never defined, --radius unused, the broken Tremor colour block).
Worth a read rather than a rubber stamp: it's the context live mode generates
variants against.

Verified: live.mjs boots ok with the helper on 8400 and injects into layout.tsx;
live-server.mjs stop strips the tag back out cleanly.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 17:32:06 +00:00
Jun-te Kim
b914aca3ee chore(devcontainer): add Playwright with chromium and a headed noVNC viewer
Mirrors the Model devcontainer's Playwright setup for this Next.js repo, so
agents and humans can drive the running app in a browser.

The image bakes in chromium's apt libraries (as root) and the browser binary
(as vscode, so it lands in that user's cache), meaning a fresh container is
ready to run with no first-use download. The @playwright/test version and the
Dockerfile's PLAYWRIGHT_VERSION are pinned to the same number because Playwright
ties browser builds to a library version.

Also ports Model's headed viewer stack (Xvfb -> fluxbox -> x11vnc -> noVNC on
:6080) as scripts/start_viewer.sh, for watching a headed run.

Cypress is untouched; Playwright specs live in e2e/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 17:15:38 +00:00
Khalim Conn-Kowlessar
4232038a14 deploy? 2026-05-28 13:52:01 +00:00
Daniel Roth
40c0674d71 readme commit 2026-03-04 11:38:17 +00:00
5c9d355689 next js 2025-12-08 12:20:07 +00:00
825fb4cbfe save local changes 2025-12-08 09:28:01 +00:00
Khalim Conn-Kowlessar
0941942888 force deploy 2025-08-21 15:21:31 +00:00
Khalim Conn-Kowlessar
ea600d49aa adding variables to capture the impact of the new recommendations in the plan 2024-09-05 18:42:35 +01:00
Khalim Conn-Kowlessar
b15ab97bb2 trigger rebuild 2024-02-16 17:45:04 +00:00
Khalim Conn-Kowlessar
b270df8509 re-trigger deploy 2023-10-16 21:28:37 +11:00
Khalim Conn-Kowlessar
f23812130f trigger re-deploy for missing env variable 2023-10-05 11:52:28 +01:00
Khalim Conn-Kowlessar
3333e83139 trigger redeploy 2023-10-04 16:08:43 +01:00
Khalim Conn-Kowlessar
c1c235510d Added some documentation about generating presigned urls 2023-07-13 19:40:48 +01:00
Khalim Conn-Kowlessar
4db0ce0091 Added some documentation 2023-07-11 15:49:19 +01:00
Khalim Conn-Kowlessar
b3cdf6ac27 Added shortcut for creating user 2023-07-10 19:19:08 +01:00
Khalim Conn-Kowlessar
ec8da0e40b Added create_user script with documentation on how to create a user 2023-07-10 18:49:04 +01:00
Khalim Conn-Kowlessar
43617f3944 Added drizzle orm documentation 2023-07-10 17:57:34 +01:00
Khalim Conn-Kowlessar
9d687b881b Initial commit from Create Next App 2023-05-25 06:07:00 +01:00