didericis
  • Joined on 2025-09-19
didericis commented on pull request didericis/bot-bottle#115 2026-06-01 21:32:10 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

Similarly to codex, we should always include these in egress routes (whether or not auth_token is present), but we shouldn't always pass the auth token

200a113cce feat(manifest): add agent_provider.auth_token for Claude OAuth via egress
didericis commented on pull request didericis/bot-bottle#115 2026-06-01 21:16:28 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

RE didericis/bot-bottle#115 (comment)

Yeah, we should include it and rescope the other PR to be about injecting provider auth credentials and other…

didericis commented on pull request didericis/bot-bottle#115 2026-06-01 21:13:35 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

RE didericis/bot-bottle#115 (comment)

Yes, this is what the user defined egress routes are currently:

egress:
  routes:
    - host:…
didericis commented on pull request didericis/bot-bottle#115 2026-06-01 21:04:48 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

This doesn't need to be a separate function, and the organization is wrong/we want the code for a specific provider to be making the decision about placeholder envs (a function which switches on different provider templates is the wrong abstraction)

didericis commented on pull request didericis/bot-bottle#115 2026-06-01 21:03:19 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

I'm not sure if auth_role needs to be declared in the agent runtime anymore either

2eb6e02ee1 refactor(agent): move placeholder env injection into agent_provision_plan
didericis pushed to master at didericis/math-research 2026-06-01 20:56:30 -04:00
59410747ea Test inner-boundary conjecture on Holton-McKay duals
didericis commented on pull request didericis/bot-bottle#115 2026-06-01 20:50:56 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

lines 177-183 should also be moved into the agent provision step: it's the responsibility of the agent provisioner to determine whether or not there should be something like "egress-placeholder" in the env and which env var it should go into. This should also remove the need for placeholder_env in the provider runtime.

86cfd94b72 fix(codex): emit passthrough egress routes when not forwarding host credentials
didericis commented on pull request didericis/bot-bottle#115 2026-06-01 20:37:39 -04:00
PRD 0029: provision egress routes via AgentProvisionPlan

when we don't forward host credentials there should still be egress routes, just not egress routes with an auto-injected token (and we should have passthrough set to true so the tokens the user would set after logging in don't get stripped out)

0233b481b1 fix(egress): break circular import with manifest via TYPE_CHECKING
b79b49090f refactor: provision egress routes via AgentProvisionPlan
didericis commented on pull request didericis/bot-bottle#110 2026-06-01 19:10:18 -04:00
PRD 0029: Codex host credentials through egress

RE: didericis/bot-bottle#110 (comment)

I want to remove _ensure_codex_host_credential_route, and have that happen via an agent provider abstraction that…

didericis commented on pull request didericis/bot-bottle#110 2026-06-01 18:59:32 -04:00
PRD 0029: Codex host credentials through egress

why can't we just provision the bottle egress routes based on an agent provision plan?

didericis pushed to codex/prd-codex-host-credentials at didericis/bot-bottle 2026-06-01 18:42:45 -04:00
1fceaae8e6 refactor(agent): move claude env defaults into plan
didericis commented on pull request didericis/bot-bottle#110 2026-06-01 18:36:19 -04:00
PRD 0029: Codex host credentials through egress

this should also be in the agent provisioner now, assuming we can evaluate has_provider_auth at that stage. If not we'll need a more generic hook to call into here/there should not be any logic specific to an specific type of agent in here anymore.

didericis pushed to codex/prd-codex-host-credentials at didericis/bot-bottle 2026-06-01 18:32:12 -04:00
12f8c37af2 refactor(agent): surface provider env defaults
didericis commented on pull request didericis/bot-bottle#110 2026-06-01 18:16:45 -04:00
PRD 0029: Codex host credentials through egress

env provisioning should be a part of the agent provider plan/we shouldn't need to know anything about codex here.