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

germinate: ship Grafana observability to daughters (#6) #8

opened this view on origin

Check · Review · Land · Live — It conflicts with its base. Next: builder, it conflicts with its base.

Merges on the origin

Threads the new gitops observability stack (`plat/gitops` `feat/observability-grafana`) through germination, so a sovereign daughter can ship Prometheus + Grafana. Closes the toolkit side of #6.

4 files · +78 −6

waiting it conflicts with main in bin/germinate, bin/lib.sh — bring the branch up to date and it can land

Check on open-platform/mitosis: has not run, as of

Checks and the preview wait for a writer to approve this head

A guest

This pull comes from a guest: its preview runs without the app's variables or a forge token until a person who can write here approves it.

This pull waits for a person who can write here to review it; it never lands on its own.

opened this view on origin

Threads the new gitops observability stack (plat/gitops feat/observability-grafana) through germination, so a sovereign daughter can ship Prometheus + Grafana. Closes the toolkit side of #6.

What

  • MONITORING=1 (env; surfaced in up + germinate usage) keeps the observability stack in a lean daughter; the full profile always ships it.
  • trim_gitops_lean: keep monitoring/ and emit its Flux Kustomization when opted in; drop it otherwise (lean stays minimal).
  • fork_regen_secrets: reseal grafana-oauth to the sovereign key with a fresh break-glass admin password — otherwise fork_verify_all_sealed rejects the genesis-sealed placeholder. Emits FORK_GRAFANA_ADMIN_PASSWORD.
  • fork_register_grafana_oauth (new): post-handoff, register a sovereign Forgejo OAuth app for Grafana and seal its client id/secret (no-op when monitoring is absent), mirroring the existing fork_register_oauth for plat-mcp.
  • The YOUR PLATFORM card shows the Grafana URL + break-glass admin when shipped.

Validation (unit-tested the functions on a real gitops clone)

  • trim_gitops_lean opt-in keeps monitoring/ + emits the Kustomization (8 total, valid YAML); opt-out drops both.
  • Fork forge → fork_verify_all_sealed passes: "all 10 forged secrets sovereign-sealed" (9 originals + grafana), grafana secret decrypts with the fork key.
  • rewrite_identity_domain rewrites grafana.<old>→grafana.<new> and the OAuth git.<old>→git.<new> with zero stale hosts and the dot-escape-sensitive plat-local-ca-tls intact.
  • bash -n clean on all scripts.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs