Use staging.openagents.com as the staging hostname
The runtime config, Gate 5 profile, and docs pinned `stage.openagents.com`,
and RuntimeConfig refused to boot against anything else
("endpoint_host must be the staging hostname"). That hostname no longer
exists: the owner had its Cloud Run domain mapping deleted on 2026-08-19
because the GitHub OAuth application is registered against the `staging.`
subdomain, and `staging.openagents.com` is what actually serves.
So the check was enforcing a hostname nothing could satisfy, and the staging
service could not start.
Changed the canonical staging host in the validator, the Gate 5 profile
(PHX_HOST, allowed origins, and the OAuth callback move together, or the
origin check fails), the runtime-configuration and API-authentication docs,
the infra README, and the runtime config tests.
Left alone: github_oauth/runtime_config_test.exs and route_authority_test.exs
also mention the old host, but as an arbitrary callback/routing input rather
than the staging contract -- any hostname satisfies them, so changing them
would be churn.
Use staging.openagents.com as the staging hostname
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
docs/api-authentication.md -
modified
docs/runtime-configuration.md -
modified
infra/staging/README.md -
modified
lib/openagents/runtime_config.ex -
modified
lib/openagents_web/allowed_origins.ex -
modified
lib/openagents_web/components/layouts/root.html.heex -
modified
ops/staging/gate-5-profile.sh -
modified
test/openagents/runtime_config_test.exs
Diff
8 files changed, +29 -29
docs/api-authentication.md modified +1 -1
@@ -17,7 +17,7 @@ curl \
| 17 | 17 |
|
| 18 | 18 |
|
| 19 | 19 |
|
| 20 |
|
|
| 20 |
|
|
| 21 | 21 |
|
| 22 | 22 |
|
| 23 | 23 |
|
docs/runtime-configuration.md modified +2 -2
@@ -56,8 +56,8 @@ URLs, receipts, or checked-in environment files.
| 56 | 56 |
|
| 57 | 57 |
|
| 58 | 58 |
|
| 59 |
|
|
| 60 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 | 61 |
|
| 62 | 62 |
|
| 63 | 63 |
|
infra/staging/README.md modified +1 -1
@@ -160,7 +160,7 @@ harness before you apply cleanup so it cannot create new run data concurrently.
| 160 | 160 |
|
| 161 | 161 |
|
| 162 | 162 |
|
| 163 |
|
|
| 163 |
|
|
| 164 | 164 |
|
| 165 | 165 |
|
| 166 | 166 |
|
lib/openagents/runtime_config.ex modified +1 -1
@@ -214,7 +214,7 @@ defmodule OpenAgents.RuntimeConfig do
| 214 | 214 |
|
| 215 | 215 |
|
| 216 | 216 |
|
| 217 |
|
|
| 217 |
|
|
| 218 | 218 |
|
| 219 | 219 |
|
| 220 | 220 |
|
lib/openagents_web/allowed_origins.ex modified +1 -1
@@ -12,7 +12,7 @@ defmodule OpenAgentsWeb.AllowedOrigins do
| 12 | 12 |
|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 |
|
|
| 15 |
|
|
| 16 | 16 |
|
| 17 | 17 |
|
| 18 | 18 |
|
lib/openagents_web/components/layouts/root.html.heex modified +16 -16
@@ -16,22 +16,22 @@
| 16 | 16 |
|
| 17 | 17 |
|
| 18 | 18 |
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 | 35 |
|
| 36 | 36 |
|
| 37 | 37 |
|
ops/staging/gate-5-profile.sh modified +3 -3
@@ -12,9 +12,9 @@ set -eu
| 12 | 12 |
|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 |
|
|
| 15 |
|
|
| 16 | 16 |
|
| 17 |
|
|
| 17 |
|
|
| 18 | 18 |
|
| 19 | 19 |
|
| 20 | 20 |
|
@@ -80,7 +80,7 @@ export OPENAGENTS_RA_EXPECTED_SIZE="3"
| 80 | 80 |
|
| 81 | 81 |
|
| 82 | 82 |
|
| 83 |
|
|
| 83 |
|
|
| 84 | 84 |
|
| 85 | 85 |
|
| 86 | 86 |
|
test/openagents/runtime_config_test.exs modified +4 -4
@@ -41,7 +41,7 @@ defmodule OpenAgents.RuntimeConfigTest do
| 41 | 41 |
|
| 42 | 42 |
|
| 43 | 43 |
|
| 44 |
|
|
| 44 |
|
|
| 45 | 45 |
|
| 46 | 46 |
|
| 47 | 47 |
|
@@ -287,10 +287,10 @@ defmodule OpenAgents.RuntimeConfigTest do
| 287 | 287 |
|
| 288 | 288 |
|
| 289 | 289 |
|
| 290 |
|
|
| 291 |
|
|
| 290 |
|
|
| 291 |
|
|
| 292 | 292 |
|
| 293 |
|
|
| 293 |
|
|
| 294 | 294 |
|
| 295 | 295 |
|
| 296 | 296 |
|