wb-gate: activate whole whiteboard on fresh germination (lib.sh trim fix + set-u fix + CIBTAG 0.2.0) + seed refresh (mcp 0.26.0/agents 0.7.5 + _app-template#6) #61
No reviewers
Labels
No labels
bug
discussion
duplicate
enhancement
goal
help wanted
horizon:backlog
horizon:governance
horizon:mvp
invalid
operator-decision
question
roadmap
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-platform/mitosis!61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/wb-gate-seed-refresh"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Makes a fresh germination activate the WHOLE whiteboard and ship apps first-try — validated live on a from-scratch k3d germination (wb-gate2).
Code fixes
bin/lib.shtrim_gitops_lean— stop regeneratingplatform/kustomization.yaml+flux-kustomizations.yamlfrom a hardcoded lean template that silently dropped every componentmaingrew since it was written (kyverno, kyverno-policies, letsencrypt, cosign-signing). Now the kept set is derived from the tree: platform kustomization keeps every declared resource minus the observability trims (monitoring/grafana/pgadmin) + keda; flux-kustomizations is trusted as-is, with_ensure_flux_kustonly self-healing an older tree (kyverno→cert-manager, kyverno-policies→kyverno). Cannot drift again.bin/lib.shunbound-var fix —local g="$1" P="$g/…"on one line threwg: unbound variableunderset -u(bash expands all RHS words before binding). Split sogis declared first. (This bug meant the dynamic-trim commit had never actually run — germinate died at the trim step; caught + fixed by this live validation.)bin/germinateCIBTAG 0.1.0 → 0.2.0 + derive the full ci-builder tag set from what the seed's workflows pin, so both0.2.0(POL-3 cosign toolchain for_app-template) and0.1.0(mcp/agents) get built. No version skew.Seed refresh (
genesis/seed.tar.gz)Rebuilt from
GITOPS_REF=feat/wb-gate-release-pins(mcp 0.26.0 / agents 0.7.5; kyverno/kyverno-policies/letsencrypt/cosign-signing in the tree), with the seed's_app-templatemain fast-forwarded to PR #6 socreate_appgenerates apps whose CI skips cosign gracefully when no key is provisioned.Live proof (wb-gate2, fresh cluster, no manual wiring)
kyverno+kyverno-policiesFlux Kustomizations Applied. Whole whiteboard reconciled (letsencrypt/cosign-signing secrets present, 10/10 Flux Kustomizations True).create_app→ CI green (ci-builder:0.2.0, cosign skipped) →release_app→wbgate-smokeRunning inplat--wbgate-smoke--prod, HTTP 200. No manual intervention, no known_hosts fix.tenant-quota+plat-kyverno-dos-boundResourceQuotas anddefault-deny/allow-egress/allow-ingress-traefik/allow-ingress-from-workflowsNetworkPolicies (labeledmanaged-by: kyverno, POL-1/2).Merge order
plat/_app-template#6(cosign conditional) — so origin_app-templatemain matches the seedplat/gitops#10(mcp 0.26.0 + agents 0.7.5 pins) — so origin gitops main matches the seedFollow-up (not a blocker): after this merges, one
GITOPS_REF=main bin/seedreseed embeds the fixedlib.shinto the seed's ownmitosisbundle so granddaughters also activate the whiteboard (the seed's mitosis bundle is built from origin main).seed: refresh genesis/seed.tar.gz — carry mcp 0.26.0 + agents 0.7.5 (Wave-1/2)to wb-gate: activate whole whiteboard on fresh germination (lib.sh trim fix + set-u fix + CIBTAG 0.2.0) + seed refresh (mcp 0.26.0/agents 0.7.5 + _app-template#6)