atlas
fa56931a99
hive-runtime: respawn the ACP agent when its provider key changed after a failed turn
...
The provider key was resolved once, at spawn. A provider rejecting it
shows only as an empty end_turn or an idle timeout, neither of which
drops the agent, so a key rotated in the store never reached a running
opencode until the process died for another reason.
After a turn fails with EmptyEndTurn or IdleTimeout, the runtime now
resolves the key once more. When that yields a key that differs from
the one the agent was spawned with, the agent is dropped (SIGINT to its
process group, as every other respawn) and the next turn spawns it with
the new key and reloads the recorded session. No key read (inherited
env value, no store, a failed or timed-out read, nothing stored) keeps
the running agent. The failed turn's error is returned unchanged.
Part of #5017 (slice A).
2026-10-13 08:07:38 +02:00
..
agent-service.nix
hive-runtime: respawn the ACP agent when its provider key changed after a failed turn
2026-10-13 08:07:38 +02:00
bao.nix
agents: swap the agent's bao leaf in with one rename
2026-10-11 10:00:43 +02:00
bash-env.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
claude-settings.nix
agents: read the memory cap at boot, not from the build
2026-10-12 10:59:11 +02:00
dashboard-links.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
default.nix
agents: read the memory cap at boot, not from the build
2026-10-12 10:59:11 +02:00
docs.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
forge-accounts.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
forge-token.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
forge.nix
nix: comments state current behaviour, not history
2026-10-05 09:58:50 +02:00
frontend.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
github-token.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
github.nix
github: PATs live in swarm bao; the agent fetches them itself
2026-10-02 17:48:27 +02:00
hive-facts.nix
agents: login shells read the hive facts too; test the readers
2026-10-12 10:52:21 +02:00
logs.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
matrix.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
mcp.nix
agents: read the memory cap at boot, not from the build
2026-10-12 10:59:11 +02:00
memory-cap.nix
agents: always write the memory cap, infinity for none
2026-10-12 10:59:12 +02:00
network.nix
agent: order bao/github/forge-accounts logins after the isolated-DNS rewrite
2026-10-09 12:34:30 +02:00
otel.nix
agents: read the hive's name and domain at runtime, not from the build
2026-10-12 10:52:21 +02:00
packages.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
queue-identity.nix
agents: re-pull the agent's own bao mTLS leaf on a timer
2026-10-11 10:00:43 +02:00
queue.nix
hive-agent: the swarm queue connection is required; retry, then exit
2026-10-04 22:24:51 +02:00
renamed-options.nix
agents: read the memory cap at boot, not from the build
2026-10-12 10:59:11 +02:00
screen.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00
user.nix
user.nix: log failed ownership heals of the agent's own dirs
2026-10-09 11:30:30 +02:00
weston-vnc.nix
nix: move the agent option namespace under services.hyperhive.agent
2026-09-17 20:19:30 +02:00