Skip to content

feat(repo): serve the starter site from one worker - #41

Merged
kiro-systemf[bot] merged 32 commits into
mainfrom
lake1/site
Oct 7, 2026
Merged

kiro-systemf[bot] merged 32 commits into
mainfrom
lake1/site

Conversation

@systemfsoftware-maker

@systemfsoftware-maker systemfsoftware-maker commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Lake 1, U6, stacked on #37. Trimmed per Kiro's 2026-10-06 ruling on the starter spec.

apps/site (@endgame/site) is the one Cloudflare Worker: a TanStack Start site defined with Alchemy 2 (Cloudflare.Website.Vite in alchemy.run.ts, entry src/worker.ts, compatibility date and flags in site-worker.ts). pnpm --filter @endgame/site dev runs it under alchemy dev, Alchemy's local emulation in workerd, with local state only. apps/site-e2e holds the end-to-end journeys; its one script, journeys, runs them against SITE_URL (default http://localhost:1337).

  • apps/site: the home route (src/routes/index.tsx), the root route, the router, and vite-plugins.ts. The official @cloudflare/vite-plugin builds the Worker for pnpm build; inside Alchemy's build child (ALCHEMY_CLOUDFLARE_VITE_INJECTED=1) it is skipped, because Alchemy injects its own and a second one broke every deploy.
  • apps/site-e2e: home.integration.test.ts (the home page is server-rendered HTML carrying the starter heading) and request-timeout.integration.test.ts (a request that never answers is abandoned at its 30 s deadline with SiteRequestTimedOut).
  • Catalog: TanStack Start and Router, React 19, Vite 8, @cloudflare/vite-plugin, alchemy 2.0.0-beta.80, and workerd pinned through an override so one version resolves.

Removed by the trim: Markdown/HTML negotiation, /llms.txt, the README-opening home page and its Vite plugin, the agent journey, the front-door taxonomy and trace-taxonomy, the workerd render-failure harness, and the local/deployed vitest split.

Gate at 3aa8168

$ pnpm check:ci
checkci=0
$ bin/journeys from #42 (starts pnpm dev, runs the journeys, stops it)
journeys=0

@systemfsoftware-maker

Copy link
Copy Markdown
Collaborator Author

Fixes a1e149b + 2b763c1: (1) check (lint) failed with router.tsx:5:47 Unsafe assignment of an error typed value because routeTree.gen.ts is gitignored and only the build/typecheck scripts generated it; a turbo-cached build replays dist/** only, so lint ran without it. turbo gains a cached generate task (output src/routeTree.gen.ts) that lint and typecheck depend on. Red: with the old graph and the file absent, pnpm --filter @endgame/site lint -> src/router.tsx:5:47 ... error typed value. Green: file absent, build+generate replayed from cache (2 cached / 3), lint executed -> exit 0, file restored. (2) the TanStack generator temp file had come back into the index during the restack; untracked again. CI lint green on #45 and #49.

systemfsoftware-maker added a commit that referenced this pull request Oct 6, 2026
… and QA evidence

Findings for #35-#38 and #41 from ce-code-review (8 lenses, validator), the verifier's terminal probes of the confirmed findings, and the real-browser and real-CLI QA. Nothing applied; each finding waits for a ruling
@systemfsoftware-maker
systemfsoftware-maker removed this pull request from stack #34 October 6, 2026 16:04
@systemfsoftware-maker
systemfsoftware-maker added this pull request to stack #54 October 6, 2026 19:52
@systemfsoftware-maker
systemfsoftware-maker removed this pull request from stack #54 October 6, 2026 21:56
@systemfsoftware-maker
systemfsoftware-maker changed the base branch from lake1/local-stack to lake1/shared-configs October 6, 2026 21:57
@systemfsoftware-maker
systemfsoftware-maker added this pull request to stack #59 October 6, 2026 21:57
@systemfsoftware-maker
systemfsoftware-maker removed this pull request from stack #59 October 6, 2026 22:13
@systemfsoftware-maker
systemfsoftware-maker added this pull request to stack #61 October 6, 2026 22:13
starter-verify F10 and F13 (Kiro ruling, cycle 35): drop workflow_dispatch so mutation runs on push to main only; the README no longer claims Cell workflows, Cell.provide, tenant-bound store ports or compile-time phase markers, and no longer tells readers to run pnpm mutation locally
Ryan's standing rule via Kiro (cycle 52): no macOS anywhere. The flake builds x86_64-linux and aarch64-linux only; dprint pins only Linux archives; the comment-checker sandbox loses its sandbox-exec branch; AGENTS.md says CI is Linux only
Conductor ruling, cycle 62: the same bump pnpm-release-management#31 took. effect and every @effect/* stay at 4.0.1; none resolves lower. tsgo 0.50.0 reports nothing new: typecheck and lint are clean uncached. @systemfsoftware/oxlint-config-recommended 4.0.0 still pulls its own @effect/tsgo 0.45.0
# Conflicts:
#	pnpm-lock.yaml
#	pnpm-workspace.yaml
@kiro-systemf
kiro-systemf Bot removed this pull request from stack #61 October 7, 2026 15:41
@kiro-systemf
kiro-systemf Bot changed the base branch from lake1/shared-configs to main October 7, 2026 15:57

@kiro-systemf kiro-systemf Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conductor verdict: all checks green on ca40e7f, 0 threads, no unchecked boxes, hunt grep clean.

@kiro-systemf
kiro-systemf Bot merged commit 12a844f into main Oct 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant