Summary
Extend [googlechat] beyond the trust fields (#1366): graduate from shared PlatformTrustConfig to a dedicated struct. Config-first invariant: [googlechat] → GOOGLE_CHAT_* env → default.
Fields to add
enabled, sa_key_file, sa_key_json, access_token, audience, webhook_path (env fallbacks: GOOGLE_CHAT_*)
Tasks
Refs
Umbrella: #1375 · Trust slice: #1366 · Reference: TelegramConfig (#1297) · L1: #1373
Summary
Extend
[googlechat]beyond the trust fields (#1366): graduate from sharedPlatformTrustConfigto a dedicated struct. Config-first invariant:[googlechat]→GOOGLE_CHAT_*env → default.Fields to add
enabled,sa_key_file,sa_key_json,access_token,audience,webhook_path(env fallbacks:GOOGLE_CHAT_*)Tasks
GoogleChatConfig+ resolve; keep existing trust fieldsAppState::apply_googlechat_config();audiencefrom config must feed the feat(gateway): warn when webhook L1 auth is unenforceable (#1356 Phase 1) #1373 L1 warning (JWT verifier construction)Refs
Umbrella: #1375 · Trust slice: #1366 · Reference:
TelegramConfig(#1297) · L1: #1373