Repository navigation
feat(catalog): adopt the Lumen composition stack as the source of truth - #7
Merged
Merged
Conversation
The stack existed in three places: here (an older generation), in sourceplane/lumen, and in sourceplane/orun-cloud. The lumen and orun-cloud copies had already drifted apart, and nothing consumed the published OCI artifact — so cross-repo reuse, the whole point of a golden-path catalog, was unproven. This repo becomes the single source of truth. Compositions move from one monolithic compositions.yaml (inline schema, inline jobs, no profiles) to the decomposed composition.yaml + schema.yaml + jobs/ + profiles/ layout. Profiles are load-bearing: a profile includes a subset of a job's capabilities, which is how a verify lane differs from a deploy lane. The set is now 12: adds cloudflare-domain, cloudflare-workers-assets-turbo, db-migrate and publish-stack; drops workspace, helm-chart, helm-values and all Helm support, which no consumer repo uses. Reconciled against orun-cloud where it led: db-migrate and turbo-package take its job templates, so setup-pnpm runs before setup-node (warming and persisting the pnpm store cache) and installs use --frozen-lockfile. Verified lockfile-clean against the consuming repo first. cloudflare-worker-turbo deliberately keeps Lumen's escrow-based secrets step rather than orun-cloud's newer SS6 variant: the SS6 job calls tooling/secrets-sync/assemble.mjs --list-docs, an interface Lumen's copy does not implement, so shipping it would hard-fail Lumen's worker deploy lanes before reaching the clean-skip path. Fixes the publish target. publish-stack declared registry/root/version parameters that were never templated into the job, so orun publish fell back to git-remote inference (ghcr.io/<owner>/<repo>/<package>) and stack.yaml's version — publishing to the wrong repository path. Also drops a documented STACK_VERSION override that exists nowhere in orun, and corrects terraform-local's description, which claimed "plan and apply" while including neither terraform.apply nor terraform.aws-credentials. release.yml now creates the GitHub release first, then pushes the OCI package, then confirms it is pullable with orun fetch. Retires the old-layout tooling — verify-composition.sh, score.sh, generate-readme.sh, registry/index.json, blueprints/, and the scorecard and docs workflows — all of which assumed the monolithic layout and scoring model. verify.sh is rewritten to actually gate the new layout: orun publish --dry-run returns before packaging or validation, so on its own it is weak evidence. The gate now validates every contract structurally, stages the layers that actually ship, packs them, and resolves the packed artifact back through a throwaway consumer intent, asserting all 12 compositions export. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Replaces this catalog with the composition stack that has been developed in-tree in
sourceplane/lumen, and makes this repo the single source of truth for it.Why
The stack existed in three places: here (an older generation), in
lumen/stack-tectonic/, and inorun-cloud/stack-tectonic/. Thelumenandorun-cloudcopies had already drifted apart, and nothing consumed the published OCI artifact — so cross-repo reuse, the whole point of a golden-path catalog, was unproven.What changed
Catalog replaced with the newer generation. Compositions move from one monolithic
compositions.yaml(inline schema, inline jobs, no profiles) to the decomposed layout:Profiles are new and load-bearing: a profile includes a subset of a job's capabilities, which is how a verify lane differs from a deploy lane.
Composition set is now 12. Added
cloudflare-domain,cloudflare-workers-assets-turbo,db-migrate,publish-stack. Removedworkspace,helm-chart,helm-valuesand all Helm support — no consumer repo uses them.Reconciled against
orun-cloudwhere it led.db-migrateandturbo-packagetake orun-cloud's job templates:setup-pnpmnow runs beforesetup-nodeso the pnpm store cache is warmed and persisted, and installs use--frozen-lockfileinstead of--no-frozen-lockfile. Verified lockfile-clean against the consuming repo before adopting.cloudflare-worker-turbodeliberately keeps Lumen's escrow-based secrets step rather than orun-cloud's newer SS6 variant: the SS6 job callstooling/secrets-sync/assemble.mjs --list-docs, an interface Lumen's copy does not have, so shipping it would hard-fail Lumen's worker deploy lanes. orun-cloud can keep its newer job as a localdirsource that wins viaresolution.precedenceuntil Lumen completes SS6.Publish target fixed. The
publish-stackcomposition declaredregistry/root/versionparameters that were never templated into the job —orun publishwas falling back to git-remote inference (ghcr.io/<owner>/<repo>/<package>) andstack.yaml's version. They are now passed explicitly. Also removed a documentedSTACK_VERSIONenv override that exists nowhere in orun.OCI package is published after the release.
release.ymlnow creates the GitHub release first, then pushes the OCI artifact, then confirms it is pullable withorun fetch.Old-layout tooling retired.
verify-composition.sh,score.sh,generate-readme.sh,registry/index.json,blueprints/, and thescorecard.yml/docs.ymlworkflows all assumed the monolithic layout and scoring model.verify.ymlloses its hardcoded 11-composition matrix.verify.shrewritten to actually gate the new layout.orun publish --dry-runalone is weak evidence — it returns before packaging or validation. The gate now structurally validates every contract, then stages the layers that actually ship (stack.yaml+compositions/+examples/), packs them, and resolves the packed artifact back through a throwaway consumer intent, asserting all 12 compositions export.Docs and per-composition READMEs updated to match.
Verification
scripts/verify.shpasses: 12/12 contracts valid, 12/12 export from the packed artifact.lumenagainst this exact catalog:orun validatepasses with no repo-local compositions, and the full plan is 97 jobs / 46 components with job identity byte-identical to the previouskind: dirbaseline.Stack version bumped to
0.13.0; releasing requires tagv0.13.0.🤖 Generated with Claude Code