Skip to content

docs(ai-sessions): bedrock/vertex blocks apply on record-based launches - #443

Merged
pllesperance-lc merged 1 commit into
masterfrom
docs/bedrock-vertex-on-hive-records
Sep 22, 2026
Merged

pllesperance-lc merged 1 commit into
masterfrom
docs/bedrock-vertex-on-hive-records

Conversation

@pllesperance-lc

Copy link
Copy Markdown
Contributor

What

The bedrock: and vertex: blocks on an ai_agent record are applied on every launch path — D&R rules, UI actions and ai start-session --definition — as well as on a direct SessionRequest. Both AI Sessions pages still carried warnings saying record-based launches ignored the blocks, and pointed readers at the manual environment-variable mode instead.

That was worse than a stale note for Vertex: the manual mode cannot carry a service-account JSON, so the docs effectively said Claude-on-Vertex was unreachable from a Hive record at all. A customer read it that way and asked us to confirm.

Changes

docs/9-ai-sessions/alternative-providers.md

  • Remove the three "not applied to record-based launches yet" warnings.
  • Make the structured blocks the recommended form; demote the manual environment-variable mode to "only for existing configurations that already depend on it".
  • Note that the schema now rejects a record with more than one credential source.
  • New warning for the one case that still silently routes to Anthropic: records written before the mutual-exclusion rule that carry anthropic_secret alongside a bedrock:/vertex: block. anthropic_secret takes precedence there, with no error — worth flagging for anyone with a data-residency requirement.

docs/9-ai-sessions/dr-sessions.md

  • bedrock / vertex field descriptions: "Accepted and validated, but not applied" → applied.
  • anthropic_secret Required: Yes → No, since a provider block can be the sole credential source.

Not covered

docs/9-ai-sessions/providers.md says storing a non-Claude provider choice on the record "is still rolling out". The record schema and both launchers do support the provider + credentials envelope, but non-Anthropic providers sit behind a deployment-level flag and I could not confirm its state in production — left alone rather than make a claim I can't back. Worth a follow-up once that's settled.

🤖 Generated with Claude Code

The `bedrock:` and `vertex:` blocks on `ai_agent` records are applied on
every launch path — D&R rules, UI actions and `ai start-session
--definition` — as well as on a direct SessionRequest. Both pages still
carried warnings saying record-based launches ignored the blocks and
pointed readers at the manual environment-variable mode instead, which
left Claude-on-Vertex documented as unreachable from a Hive record
entirely (the manual mode cannot carry a service-account JSON).

Remove the three stale warnings, make the structured blocks the
recommended form, and correct the dr-sessions field table: bedrock and
vertex are applied, and anthropic_secret is not required when a provider
block supplies the credentials.

Also document the one case that does still route to Anthropic with no
error — records written before the mutual-exclusion rule that carry
anthropic_secret alongside a provider block, where anthropic_secret
takes precedence.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@pllesperance-lc
pllesperance-lc merged commit 600181d into master Sep 22, 2026
7 checks passed
@pllesperance-lc
pllesperance-lc deleted the docs/bedrock-vertex-on-hive-records branch September 22, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant