Skip to content

feat(baseline): multi-tenant-saas-2 as a Lumen-grade baseline — Multi-tenant LMS (LMB-1) - #28

Merged
ruehowl merged 1 commit into
mainfrom
orun/LMB-1-baseline
Oct 30, 2026
Merged

ruehowl merged 1 commit into
mainfrom
orun/LMB-1-baseline

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

multi-tenant-saas-2 becomes a Blueprint of itself. It is the second baseline built the way sourceplane/lumen-payload#30 (PB-1) built the first.

  • repo-blueprint.yaml places a branded learning platform on Payload CMS: academies, courses, lessons, quizzes and learners at its root, the staff console at /admin, and a seeded sample academy.
  • blueprint.yaml is its card: "Multi-tenant LMS".
  • Baseline CI proves that a placed, branded product installs, typechecks and passes every suite.

Same factory, different product

The factory is lumen-payload's, file for file, because the two products have the same shape:

  • Lumen's eight phases, with the CMS's data plane in 03 and 03-db and the CMS in 06-console.
  • The same rebrand engine. It reads this repository's own .rebrand/values.json and renames the CMS's platform word in every case-form, paths included. It re-seals each migration it rewrites; here that's 320_cms_lumen_identity.
  • The same gates, Tier 0 to Tier 2.

What differs:

  • the identity;
  • the learning platform in the card, the phase docs and the product templates (taken from this repository's own README and AGENTS.md);
  • the 06-console budget: 7 minutes, from this repository's eight CMS-deploying convergences (4m54s to 8m27s, median 6m48s);
  • the component review, regenerated for 49 components.

What Tier 2 found

The same four problems it found in lumen-payload, since this CMS layer was ported from there:

  • a test variable named lumen, now renamed person;
  • the migration checksum, now re-sealed;
  • the CMS's undeclared contracts edge (a devDependency it is built against), now declared;
  • the chain depth since the CMS's staff sign-in binding, now recorded as cms, 9 (the budget is 12).

The last two were already failing here, unseen: both suites are on quick-check, a profile that runs no tests.

The build time, 23 minutes, is derived, not timed end to end.

Verified locally

  • With orun v2.88.0 (the CI pin): all eight contract tests, leak and placement pass.
  • branded-fork passes (v2.89.0): 254 files rewritten and 41 paths renamed, then a frozen install, a typecheck of every package, and every suite green.

Orun-Task: LMB-1


Generated by Claude Code

…-tenant LMS (LMB-1)

multi-tenant-saas-2 becomes a Blueprint of itself, the second baseline built
the way sourceplane/lumen-payload's was (PB-1): repo-blueprint.yaml places a
branded learning platform on Payload CMS — academies, courses, lessons,
quizzes and learners at its root, the staff console at /admin, a sample
academy seeded — blueprint.yaml is its card ("Multi-tenant LMS"), and Baseline
CI proves a placed, branded product installs, typechecks and passes every
suite.

The factory is lumen-payload's, file for file, because the products are the
same shape: Lumen's eight phases with the CMS's data plane in 03 and 03-db and
the CMS in 06-console; the same rebrand engine, whose left-hand side is this
repository's own .rebrand/values.json and which renames the CMS's platform
word in every case-form, paths included, re-sealing the migrations it
rewrites (here 320_cms_lumen_identity); the same Tier 0-2 gates. What differs
is the identity, the learning platform in the card, the phase docs and the
product templates (from this repository's own README and AGENTS.md), the
06-console budget (7: this repository's eight CMS-deploying convergences,
4m54s to 8m27s, 6m48s at the median) and the component review (49 components).

Tier 2 found the same four things it found in lumen-payload, since the CMS
layer was ported from there: a test variable named `lumen` (now `person`), the
migration checksum, the CMS's undeclared contracts edge (a devDependency the
CMS is built against), and the chain depth since the CMS's staff sign-in
binding (cms, 9, under the budget of 12). The last two were already failing
here, unseen: both suites are on quick-check, which runs no tests.

The build time, 23 minutes, is derived, not timed end to end.

Orun-Task: LMB-1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
@ruehowl
ruehowl marked this pull request as ready for review October 30, 2026 04:17
@ruehowl
ruehowl merged commit c645283 into main Oct 30, 2026
9 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.

2 participants