Skip to main content

Module profile_routing

Module profile_routing 

Source
Expand description

Profile bootstrap and cloud-routing policy for the CLI runner.

Resolves the active profile, enforces whether a command may run locally or must route to a remote tenant, and initialises credentials, secrets, and paths accordingly. The single entry point is bootstrap_profile; its BootstrapOutcome tells the runner whether the command already ran on the remote tenant, should continue locally, or should reconnect against a cloud-issued database.

Copyright (c) systemprompt.io — Business Source License 1.1. See https://systemprompt.io for licensing details.

Enums§

BootstrapOutcome
What the runner does once the profile is bootstrapped.

Functions§

confirm_remote_job_run
is_cloud_bypass_command
require_explicit_cloud_profile