Authentication-status replies are instructed to include user identifiers and granted scopes
Source references: 1The guide tells the agent to quote userName, openId, tokenStatus, and scope when answering a login-status request. openId is a stable account identifier and scopes reveal the application's capabilities; most “am I logged in?” checks do not require these details.
If the conversation is shared, logged, or forwarded, another person could learn an account identifier and its authorization footprint. The text does not require consent or redaction before displaying them.
The rule requires authentication-status answers to include userName, the stable account identifier openId, token status, and the full scope list. If the user only asks whether they are logged in, this may unnecessarily expose those fields in shared chats, logs, or screenshots. Users can ask that the default response show only identity, verified, and an overall status, with identifiers and scopes shown only for explicitly requested diagnostics.
| 指定单个 scope 授权 | `lark-cli auth login --scope "<scope>" --no-wait --json` || 检查当前登录态、是谁登录、token 是否有效 | `lark-cli auth status --json --verify`;回答时引用 `identity`、`verified`、`identities.user.status`、`identities.user.userName`、`identities.user.openId`(用户 open id)、`identities.user.tokenStatus`、`identities.user.scope` || 快速查看当前身份状态 | `lark-cli whoami`;实际生效的那一个身份 |