Repository navigation
MS3: medusa-storefront becomes an Orun baseline, built in one landing - #4
Merged
Merged
Conversation
The card (blueprint.yaml: the inputs, the two brokered Cloudflare keys, the programme, 12 minutes summed from the phases) and the build document (repo-blueprint.yaml: one module per shipped file or component, two phases in turso v8's fast shape - 01-product places, brands, re-tenants, links, reconciles the deploy credentials, finds its task and lands the whole storefront in one pull request checked in the box, then watches the convergence and probes both workers.dev URLs; 02-docs restores the promotion gate and dev's lanes and records the probed deployment). The machinery is cms-sanity's infra-free factory - .baseline/ (identity, the product README, the task contracts), the rename engine, the bootstrap helpers, the deployment-record renderer, the context pack, docs/phases, BOOTSTRAP.md, baseline.yml and tag.yml - renamed and rewritten for a storefront: the store's name is now one constant (src/lib/util/store-name.ts) that every place upstream spelled "Medusa Store" reads and the rebrand rewrites; the record reads each environment's mode from /api/health; the leak and placement gates read provenance prose in the owner's pages as turso-starter's do, and no longer read upstream's @lib/hooks imports as the factory's hooks/. The e2e shops the bootstrapped storefront with no backend: the home page under the store's name and the sample banner, prices per country, the build's own addToCart action twice and /cart/add once, the cart's lines and total, checkout's and sign-in's notices, then every route it promises and the health route. Every tier is green locally: the contract tests, the component docs' drift check, the blueprint and the catalog read by orun 2.89.0, the leak gate, the offline bootstrap with the product's own plan, and the e2e (dry run 9,717 KiB / 2,204 KiB gzipped). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNVpFBcbeiX3EHdXfmn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MS3 of the medusa-storefront epic (task MS-4).
What changed
blueprint.yaml(the console card):expectedMinutes: 12, the phases' sum.repo-blueprint.yaml(the build), in the turso v8 / orun v2.88.0 fast shape:01-productlands the whole storefront as one PR, checked in the box (checks: local). Before landing it places the tree, brands it, re-tenants it, links the repo and reconciles the deploy credentials. After the merge it watches the convergence and probes both workers.dev URLs. (11 min)02-docsrestores the promotion gate and dev's lanes, then records the probed deployment. (1 min).baseline/: the identity, the product README and the task contracts;docs/phases,BOOTSTRAP.md,baseline.ymlandtag.yml.apps/web/src/lib/util/store-name.ts:/api/health.ci.yml, byte for byte turso's, describes itself in those words.@lib/hooks/…imports no longer count as the factory'shooks/./us;addToCartaction ×2 and/cart/add×1, giving a cart of 2 × Cloud Tee + 1 × Cache Mug = €65;/api/health.The departures are in
specs/epics/medusa-storefront/IMPLEMENTATION-STATUS.md.Verified locally (orun 2.89.0, under the heavy lock)
manifest,phases,coverage,rebrand,retouchandbootstrap-deferpass, and so doesgen-component-docs.py --check.orun new --statusandorun catalog validateexit 0.leak.test.shpasses: 335 files derived, none of them factory files.placement.test.shpasses:webdeploying to stage and prod side by side and every Medusa ref optional;--resumeis a no-op.e2e.test.shpasses:Generated by Claude Code