Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-wire/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas de323a72dd swarm-builder: lock the swarm meta flake on request
A request on $SWARM.builder.lock-meta carries a rendered flake.nix. The
builder writes it into a scratch directory, runs `nix flake lock` there
with the same forge credential helper its builds use, answers with the
flake.lock nix wrote, and removes the directory. It commits nothing; the
controller commits the lock beside the flake.

Locks are answered in their own loop, like archetype evaluations, so one
does not wait behind an hour-long build. The auth callout grants the
subject to the builder (subscribe) and the controller (publish) only.

Ported from c574a1694 onto the swarm-wire crate.

Refs #4857
2026-10-24 21:13:24 +02:00
..
agent_archetype.rs swarmctl shares the create-agent, inference and permissions shapes with the controller 2026-10-19 18:58:00 +02:00
agent_icon.rs swarm-wire: take agent_icon's wire types 2026-10-18 22:50:02 +02:00
agent_inference.rs swarmctl shares the create-agent, inference and permissions shapes with the controller 2026-10-19 18:58:00 +02:00
agent_limits.rs swarm-wire: take agent_limits's wire types 2026-10-18 22:50:02 +02:00
agent_login.rs move the review classifier, agent login and inference types into swarm-wire 2026-10-18 19:27:30 +02:00
agent_permissions.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00
agent_schedules.rs swarm-wire: take agent_schedules's wire types 2026-10-18 22:50:02 +02:00
agent_status.rs swarm-wire: take agent_status's wire types 2026-10-18 22:50:02 +02:00
agent_term.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00
builder.rs swarm-builder: lock the swarm meta flake on request 2026-10-24 21:13:24 +02:00
claude_login.rs swarm-wire: use plain intra-doc links (redundant explicit targets are denied) 2026-10-18 12:36:45 +02:00
forge_events.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
lib.rs request the review classifier's review when a PR's head moves 2026-10-24 17:23:36 +02:00
notices.rs swarm-wire: take notices's wire types, fmt the moved imports 2026-10-18 22:50:02 +02:00
notify_flows.rs request the review classifier's review when a PR's head moves 2026-10-24 17:23:36 +02:00
notify_router.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
review_classifier.rs review classifier: queued review requests survive a restart and are never refused 2026-10-24 03:22:44 +02:00
router_sink.rs request the review classifier's review when a PR's head moves 2026-10-24 17:23:36 +02:00
router_todo.rs agents get a todo when assigned to an issue or PR, rewritten when unassigned and cleared on close 2026-10-22 07:28:53 +02:00
subagent_term.rs agent_permissions, agent_term and subagent_term take their wire contracts from swarm-wire 2026-10-19 18:30:44 +02:00
wanted.rs swarm-wire: take wanted's wire types 2026-10-18 22:50:02 +02:00