Public: anyone can read this; nobody can change it.

germinate/seed: fix two cold-start blockers (seed branch resolution + dind MTU) #1

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

Two outstanding cold-start blockers on a fresh machine, validated end-to-end with a depth-2 germination chain (genesis → daughter → granddaughter) on real k3d clusters, all run under an adversarial init.defaultBranch=master.

Notes

shipped merged

opened this view on origin

Two outstanding cold-start blockers on a fresh machine, validated end-to-end with a depth-2 germination chain (genesis → daughter → granddaughter) on real k3d clusters, all run under an adversarial init.defaultBranch=master.

#2 — empty checkout when git's default branch isn't main

The gitops/mitosis seed bundles are built by explicit refspec and record no HEAD, so git clone falls back to the operator's init.defaultBranch; a master default checks out an empty tree → germinate dies with a misleading kustomization.yaml: No such file.

  • germinate clones every seed bundle with explicit --branch "$FLUX_BRANCH" (repairs already-shipped seeds)
  • seed records HEAD in the gitops/mitosis bundles so future seeds self-describe (the --all code bundles already did)

#3 — image builds stall on a dind MTU mismatch

dind's docker0 defaults to MTU 1500 while the k3d/flannel overlay is 1450, so large build pulls are silently dropped and the mcp/agents chart builds hang forever. Pin "mtu":1450 into the forgejo docker-daemon-config when restoring gitops; the edit is swept into the rekey commit (fork_rekey_sops's git add -A) and pushed to the daughter. Idempotent via the "mtu" guard; no-ops if the file is absent. The canonical fix belongs in the gitops manifest + re-seed.

Validation — depth 2, real clusters

  • #2 germinate: all 3 generations germinated the HEAD-less genesis gitops bundle under master default and reached "all 9 forged secrets sovereign-sealed" (empty checkout → that step is impossible).
  • #2 seed: daughter-seed and grand-seed record HEAD on all 7 bundles; master-default clone self-describes to main, non-empty.
  • #3: live dind docker0 = mtu 1450; 9/9 chart builds (ci-builder+mcp+agents × 3 gens) landed on attempt 1; mtu:1450 propagated through the chain and the shim idempotently no-ops on inherited seeds.

Lineage recorded: open-platform.sh → plat.local → daughter.local → grand.local.

Not exercised: the agent app-build layer (needs a Claude credential) — orthogonal to these germination/seed/MTU fixes.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs