Repository navigation
feat(cluster): lift k3d-tmnl Alchemy stack into @gbg/cluster - #109
Merged
creatifcoding merged 6 commits intoAug 30, 2026
Merged
Conversation
creatifcoding
marked this pull request as draft
August 22, 2026 02:30
Land Kubernetes.KubeConfig({ context: "k3d-tmnl" }) under
projects/biomemetics/labs/mantis/cluster as @tmnl/mantis-cluster.
Not a packages/* @GBG project. State is Alchemy.localState() in the
roseleaf. No deploy.
Co-authored-by: digicoder <creatifcoding@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/lab-cluster-k3d-tmnl-f119
branch
from
August 22, 2026 02:35
1990e0a to
9663616
Compare
Rename to @mantis/cluster, switch to npm/vitest like PR 108's procurement tree, and drop the parent-lab gitignore hook. Stack still targets k3d-tmnl. procurement/ is untouched. Co-authored-by: digicoder <creatifcoding@users.noreply.github.com>
Move the one Alchemy v2 stack and the generalized Pepr lab CRDs (LabImage, LabRegistry, LabWorkload, LabApplet on tmnl.gbg.dev/v1alpha1) into packages/cluster. Mantis consumes @gbg/cluster and extends with Manifests; it no longer owns alchemy.run.ts. Co-authored-by: digicoder <creatifcoding@users.noreply.github.com>
Amend leftover Cosmo-in-tmnl text: Cosmo/WunderGraph home is @gbg/nexus. Add pull_request CI for @gbg/cluster and @mantis/cluster (no deploy). Export an unapplied procurement LabApplet object next to the Namespace. Co-authored-by: digicoder <creatifcoding@users.noreply.github.com>
Frame @gbg/cluster as the gbg/lab host. k3d stays the runtime; k3d-tmnl and tmnl.gbg.dev stay as coordinates. Cosmo home is @gbg/nexus; one NATS is the existing helm chart. LabApplet object lists the five Start routes and a PGlite volume. Not applied. Co-authored-by: digicoder <creatifcoding@users.noreply.github.com>
Peel leftover TMNL-as-the-cluster copy. k3d-tmnl and tmnl.gbg.dev stay as names. Cosmo/WunderGraph home stays @gbg/nexus. Co-authored-by: digicoder <creatifcoding@users.noreply.github.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.
Lift the mantis cluster roseleaf into
@gbg/cluster. Mantis consumes and extends; it does not own the Alchemy composition root. k3d hosts applets.k3d-tmnlandtmnl.gbg.devare names, not a claim that TMNL is the cluster.@gbg/cluster(packages/cluster)Lab Alchemy host plus the generalized Pepr CRD kit.
Kubernetes.providers()only. NoAWS.providers(), EKS, GKE, AKS, or Cloudflare resources.Kubernetes.KubeConfig({ context: "k3d-tmnl" })with default kubeconfig resolution ($KUBECONFIGor~/.kube/config). No host paths. Context string and API grouptmnl.gbg.dev/v1alpha1stay as names; this PR does not rename them.Alchemy.localState()writes.alchemy/in this package.Kubernetes.Manifest:LabImage,LabRegistry,LabWorkload,LabApplet.pepr-excellent-examples/pepr-operator.RegisterCRDsis an Apply helper, not a second Pepr module.LabRegistryis in-cluster OCI only. Default image:ghcr.io/project-zot/zot-linux-amd64(Zot). Never ECR/GCR/ACR.No
packages/k8s, nopackages/lab-cluster, no second operator, no second flake. This PR does not inventpackages/nexus.@mantis/clusterConsumes
@gbg/cluster. Extends with:procurementLabAppletprocurementin that namespace: five Start routes (/register,/buy,/receive,/need,/vendors), one shell, durable volume/data/pglitefor the file-backed PGlite book. Image blank. Object only; not applied; not started. Mantis does not consume that volume.No
alchemy.run.ts.procurement/is not in this PR. procurementbot owns that book.Cosmo / NATS
Cosmo/WunderGraph home is
@gbg/nexus(packages/nexus). Not tmnl. Not plexus. tmnl consumes nexus. This PR does not copy Cosmo Pepr/CRD sources out of tmnl. Catalog stays Postgres off-cluster; no catalog pod.One NATS: Cosmo router EDFS and
@tmnl/mshshare the existing helm NATS atpackages/tmnl/nix/modules/nats/values.yaml. No second NATS.Cluster create stays the existing helper (
k8s-cluster-createinpackages/tmnl/nix/modules/k8s.nix). That is a helper path, not Cosmo's home.CI
.github/workflows/mantis-cluster-ci.ymlruns onpull_request(no master-only gate) forpackages/cluster/**andprojects/biomemetics/labs/mantis/cluster/**. Per package:npm install, typecheck, test. No deploy, no alchemy apply.Checks
From
packages/cluster:From
projects/biomemetics/labs/mantis/cluster:Hold
alchemy deploy. Hold merge.