Monorepo for the shop front end and API.
PROJECT DETOUR
Storefront app
Customer-facing shop: Astro front end, Workers API, D1 database. Global context applies first.
AI ENVIRONMENT
Environment and flags
Detour-specific operating constraints and tool settings.
Workspace defaults also apply; matching Detour values follow context precedence.
NODE_VERSION22No descriptionCONTROLLED TAGS
Tag sets
Create one or more controlled tag groups for this Detour.
Workspace and parent Detour tag sets are also available here.
No tag sets defined here.
SAVED CONTEXT
Context items 6
Cart lives in a Durable Object per session. Orders are written to D1 only after payment succeeds.
Reproduce first. Name the smallest failing case. Propose one fix and the test that proves it.
Add a numbered SQL file, run it locally with wrangler, and never edit a migration that has shipped.
Guest checkout is the priority this month.
GATHER CONTEXT
Save something useful
Capture the part an AI should remember next time.