Context
ts config push --adapter axum --local writes a local app-config envelope under .edgezero/. Axum startup reads a config-store-shaped environment variable through AxumPlatformConfigStore instead of opening that file. The existing scripts/smoke-axum.sh reads the pushed envelope and exports TRUSTED_SERVER_CONFIG_TRUSTED_SERVER_CONFIG_TRUSTED_SERVER_CONFIG before starting the adapter. This manual bridge is documented in docs/guide/axum-dev.md and was the gap reported during PR #1049.
Desired outcome
ts config push --adapter axum --local and ts serve --adapter axum have one supported local configuration handoff that an operator can follow without reconstructing it from internal store naming.
Scoped work
Decide whether Axum should consume the pushed local file directly or whether the CLI should explicitly export or launch with the required environment variable. Implement the chosen contract in the relevant commands or adapter, including its missing-config and invalid-envelope behavior. Retain secret handling through the documented local secret variables unless the chosen contract requires a deliberate change.
Done when
Evidence
Original PR #1049 finding; current crates/trusted-server-adapter-axum/src/app.rs and platform.rs, scripts/smoke-axum.sh, and docs/guide/axum-dev.md at 666953a0d.
Context
ts config push --adapter axum --localwrites a local app-config envelope under.edgezero/. Axum startup reads a config-store-shaped environment variable throughAxumPlatformConfigStoreinstead of opening that file. The existingscripts/smoke-axum.shreads the pushed envelope and exportsTRUSTED_SERVER_CONFIG_TRUSTED_SERVER_CONFIG_TRUSTED_SERVER_CONFIGbefore starting the adapter. This manual bridge is documented indocs/guide/axum-dev.mdand was the gap reported during PR #1049.Desired outcome
ts config push --adapter axum --localandts serve --adapter axumhave one supported local configuration handoff that an operator can follow without reconstructing it from internal store naming.Scoped work
Decide whether Axum should consume the pushed local file directly or whether the CLI should explicitly export or launch with the required environment variable. Implement the chosen contract in the relevant commands or adapter, including its missing-config and invalid-envelope behavior. Retain secret handling through the documented local secret variables unless the chosen contract requires a deliberate change.
Done when
ts serve,ts config push, the smoke script, and the Axum guide describe the same handoff.Evidence
Original PR #1049 finding; current
crates/trusted-server-adapter-axum/src/app.rsandplatform.rs,scripts/smoke-axum.sh, anddocs/guide/axum-dev.mdat666953a0d.