Skip to content

umbrella: Phase 1 trust migration — per-platform [section] for all adapters #1356

Description

@chaodu-agent

Summary

Track the migration of all platform trust configurations from legacy env vars / shared gateway config to first-class per-platform [section] entries in config.toml, as defined in the identity-trust-none ADR (#1291, docs/adr/identity-trust-none.md).

Goal

Each platform gets its own config section with allowed_users, allow_all_users, and platform-specific trust extensions. The shared PlatformTrustConfigs registry routes trust decisions per-platform. Legacy env vars are deprecated → error → removed across Phase 1/2/3.

Current Registry State (verified against src/main.rs on main, updated 2026-07-12 after #1363/#1365/#1366)

The PlatformTrustConfigs registry (crates/openab-core/src/trust.rs) is wired in src/main.rs:

Platform Migration Status

Platform Current State Remaining Work Sub-issue Status
Discord [discord] section wired into registry (L3) #1270 ✅ Done
Telegram [telegram] section wired into registry Group policy #1362 ⚠️ Partial
Slack [slack] wired into registry + shared gate (#1363) Enterprise Grid workspace_users #1361 ⚠️ Partial
LINE [line] section + registry override + deprecation warn (#1365) Group policy + Reply-API deny-echo #1355 ⚠️ Partial
Feishu Full [feishu] section + per-platform registry override (#1385 — last platform off the uniform seed) Eliminate gateway-side double-gate #1357 ⚠️ Partial
WeCom [wecom] section + registry override + deprecation warn (#1366) trusted_bot_ids / is_bot derivation #1358 ⚠️ Partial
Google Chat [googlechat] section + registry override + deprecation warn (#1366) is_bot derivation + deny-echo #1359 ⚠️ Partial
MS Teams [teams] section + registry override + deprecation warn (#1366) trusted_bot_ids / is_bot + deny-echo #1360 ⚠️ Partial

Shared Work (applies to all platforms)

Refs

Note

Sub-issues #1355, #1357#1362 are linked as native GitHub sub-issues of this umbrella (see the sub-issue tracker above the description).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions