ea0d3f1764
The catalog knew only 'present' or 'gone', and 'gone' orphans every customer already running the app. lifecycle: in .felhom.yml withdraws an app from new installs without touching anyone running it. Deploy gate is server-side and fail-closed, before any mutation, with the ruled Hungarian refusal - hiding a button is not a gate. Unknown values fail OPEN (available + one WARN), deliberately opposite, so a typo or a newer catalog cannot pull a working app out of every customer's list. Orphan detection never sees the field - a red-proof adds that filter and shows the abandoned app immediately reading as an orphan. Badge plumbing is generic (MetaBadge + meta_badge partial) so R-56's difficulty labels drop in with no new markup.
7 lines
346 B
HTML
7 lines
346 B
HTML
{{/*
|
|
meta_badge — one catalog-metadata pill (lifecycle now, R-56 difficulty later).
|
|
Takes a *MetaBadge; renders nothing when nil, so callers can pass the funcmap result directly
|
|
without an {{if}} around every call site.
|
|
*/}}
|
|
{{define "meta_badge"}}{{with .}}<span class="tag {{.Class}}" title="{{.Title}}">{{.Label}}</span>{{end}}{{end}}
|