Files
ironclaw/crates
Coffee ae9b179560 fix(channel): feishu pairing (#2454)
* Fix Feishu webhook auth refresh and extension card overflow

* Keep pending pairing approvals visible in active channel cards

* chore: fmt

* Fix WASM channel secret lookup owner context

* Make channel secret config injection manifest-driven

* Harden WASM secret config mappings and enforce owner scope

* Use owner scope for WASM channel webhook secret resolution

* Use owner scope for WASM channel credential injection

* Remove scope changes from Feishu secret mapping PR

* chore: fmt

* Centralize reserved WASM runtime config keys

* chore: fmt

* Address open review items on feishu-pairing PR

- Extract shared inject_wasm_channel_secret_config_mappings helper so
  startup, hot-activation, and refresh paths share identical behavior
  (env-var fallback + logging). Fixes drift flagged in review.
- Include 'ready' channel state alongside 'active' for the compact
  pending-pairing UI in the gateway.
- Add reserved-key coupling test so a new RUNTIME_CONFIG_KEY_*
  constant cannot be introduced without extending the reserved set.
- Restore OAuth nonce delete rationale after earlier reorder.
- Replace fully-qualified SecretConfigMappingSchema paths with module
  imports.
- Expand comment on validated_secret_config_mappings_with_warnings
  side-effect call.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Illia Polosukhin <ilblackdragon@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 02:38:32 +09:00
..