module-eval: pin a claude agent's subagent store identity
The subagent daemon gets the agent's store identity on every agent with a store, whatever its runtime. The case pinned only the two ACP arms; it now covers the claude runtime too, and checks BAO_CLIENT_CERT/KEY as well.
This commit is contained in:
parent
318f67cda9
commit
f9feb93ced
1 changed files with 9 additions and 0 deletions
|
|
@ -54,6 +54,12 @@ let
|
||||||
};
|
};
|
||||||
opencode = opencodeWith { };
|
opencode = opencodeWith { };
|
||||||
opencodeBao = opencodeWith { bao.addr = "https://bao.t.local:8200"; };
|
opencodeBao = opencodeWith { bao.addr = "https://bao.t.local:8200"; };
|
||||||
|
claudeBao = agentWith {
|
||||||
|
services.hyperhive.agent = {
|
||||||
|
runtime = "claude";
|
||||||
|
bao.addr = "https://bao.t.local:8200";
|
||||||
|
};
|
||||||
|
};
|
||||||
acpBao = agentWith {
|
acpBao = agentWith {
|
||||||
services.hyperhive.agent = {
|
services.hyperhive.agent = {
|
||||||
runtime = "acp";
|
runtime = "acp";
|
||||||
|
|
@ -107,8 +113,11 @@ let
|
||||||
]
|
]
|
||||||
&& u.environment.HIVE_AGENT_NAME == "a1"
|
&& u.environment.HIVE_AGENT_NAME == "a1"
|
||||||
&& u.environment.BAO_ADDR == "https://bao.t.local:8200"
|
&& u.environment.BAO_ADDR == "https://bao.t.local:8200"
|
||||||
|
&& u.environment.BAO_CLIENT_CERT == "%d/hive-agent-bao-cert"
|
||||||
|
&& u.environment.BAO_CLIENT_KEY == "%d/hive-agent-bao-key"
|
||||||
)
|
)
|
||||||
[
|
[
|
||||||
|
(subagent claudeBao)
|
||||||
(subagent acpBao)
|
(subagent acpBao)
|
||||||
(subagent opencodeBao)
|
(subagent opencodeBao)
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue