hyperhive/hive-c0re
iris dbb2ca4393 forge: upload hyperhive logo as the core user's avatar
The 'core' Forgejo user (hive-c0re's identity for commits in
core/meta + agent-configs/*) was showing the default hash identicon.
Adds a one-shot ensure_core_avatar in the ensure_all bootstrap that
POSTs the branding PNG to the admin avatar API and writes a marker
file (CORE_AVATAR_MARKER) so subsequent startups skip the call
(delete the marker to re-upload). Best-effort: a non-2xx is logged
and swallowed, doesn't gate startup.

PNG bytes baked in via include_bytes! from branding/hyperhive.png.
Base64 is hand-rolled (one small image in one cold path, not worth
a new workspace dep) with RFC 4648 §10 test vectors.

Closes #320.
2026-05-23 01:05:58 +02:00
..
assets dashboard: render META INPUTS as a full tree with bulk select 2026-05-22 23:50:20 +02:00
src forge: upload hyperhive logo as the core user's avatar 2026-05-23 01:05:58 +02:00
Cargo.toml forge: replace curl shell-outs with reqwest http helper (closes #249) 2026-05-22 16:26:44 +02:00