forge-client

The one place hyperhive builds a Forgejo client and reads a Forgejo notification. hive-forge (the blocking CLI), hive-forge-notify (the async poller), swarm-controller and swarm-ci-metrics share it, so a Forgejo schema change that forgejo-api does not yet model is fixed here once.

When to use it

Not here

Anything that decides what a notification means (delivery, read-state, filtering): that stays in hive-forge-notify and hive-forge.

A token that changes (the controller re-reads it from the secret store after a 401) is the caller's to track: it calls async_client again with the new value.