Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-controller/src/forge
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 1a31a4cd5a swarm: set an agent's config repo avatar from its icon
The agent module exposes the PNG nix renders from the agent's icon as the
read-only option services.hyperhive.agent.iconPng, which the forge and matrix
avatar syncs now share. When the builder reads an icon it builds that one
attribute with nix build and sends the file, base64, next to the SVG in the
meta build reply, so the builder runs no renderer of its own.

After recording the icon, the controller sets the avatar of
agent-configs/<agent> from the PNG as the forge admin, removes the avatar when
the icon is removed, and leaves it alone when the builder sent no PNG. A marker
per repo holds the image's fingerprint, so a build whose icon did not change
makes no forge call; a forge that refuses the avatar does not fail the build.
An old builder sends no PNG, so it changes nothing.
2026-11-23 10:11:16 +01:00
..
agent_max_repos.rs agents get a per-agent repo limit in their permissions record, orgs are locked 2026-11-16 01:21:25 +01:00
agent_token.rs swarm-controller: a TokenStore test double covers token mint and rotation 2026-11-19 09:38:13 +01:00
api.rs forge-client: take the token as a string, drop TokenSource and StaticToken 2026-11-15 23:22:48 +01:00
base_pulls.rs an agent gets one todo when its pr starts conflicting with the target branch 2026-11-11 09:12:05 +01:00
builder_account.rs tests for the ci metrics, builder and hive forge accounts 2026-11-17 00:26:27 +01:00
ci_metrics_account.rs tests for the ci metrics, builder and hive forge accounts 2026-11-17 00:26:27 +01:00
classifier_account.rs lock the service forge accounts out of creating organizations 2026-11-16 21:40:02 +01:00
docs_grant.rs swarm-controller: tests that the config repo grant is read and never lowers a write an operator made 2026-11-16 01:34:25 +01:00
hive_cutoff.rs a removed hive's OIDC client secret is deleted with its other store credentials 2026-11-19 08:42:46 +01:00
hive_token.rs swarm-controller: a TokenStore test double covers token mint and rotation 2026-11-19 09:38:13 +01:00
legacy_tokens.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
meta_repo.rs leave an agent with no config commit out of internal/meta; read config heads from main 2026-10-24 21:13:25 +02:00
objects.rs swarm-controller: config repos require the swarm-builder status and default to fast-forward-only merges 2026-11-21 21:40:56 +01:00
operator_profiles.rs keep the operator list under one key and read it with one direct get 2026-10-17 13:10:05 +02:00
pr_comment.rs only the controller's own comments carry the marker, and a cleared comment says resolved 2026-10-26 23:16:53 +01:00
pr_report.rs swarm ui: sort every pull requests column, and read a protection rule as the forge does 2026-11-07 11:46:05 +01:00
pull_diff.rs remove the swarm wireguard mesh; tombstone its options 2026-11-15 02:17:44 +01:00
repo_avatar.rs swarm: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
review_request.rs request the review classifier's review when a PR's head moves 2026-10-24 17:23:36 +02:00
runner_token.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00
service_avatars.rs swarm: set an agent's config repo avatar from its icon 2026-11-23 10:11:16 +01:00
site_admin.rs swarm-controller: re-read the forge token from the store when the forge rejects it 2026-10-14 10:16:18 +02:00