跳到正文Skip to content
Agent J Beta
菜单Menu
中文EN
登录Sign in

搜索文档和页面Search docs and pages

文档Docs

手机上完成管理员授权和密钥录入Admin rights and API keys, from your phone

Agent 需要管理员权限或者某个 API key 时,会在你手机上弹一张卡片:密码和密钥在手机上输入,加密后直接交给你的Agent J 主机,Agent 自己看不到。When the Agent needs admin rights or an API key, a card appears on your phone: you type the password or paste the key there, it goes encrypted straight to the Agent J host, and the Agent never sees it.

有些事 Agent 自己做不了:装系统软件要管理员密码,接一个新服务要你的 API key。以前只能请你回到Agent J 主机前,在终端里输 sudo 密码,或者把 key 贴进对话里,key 就这样留在了聊天记录里,也发给了模型厂商。

现在这两件事都在手机上完成。Agent 发起请求,你的手机弹出一张卡片;你在卡片上输入密码或粘贴 key,内容加密后直接交给你的Agent J 主机。Agent 只拿到结果,看不到密码,也看不到 key。

管理员密码卡

Agent 需要以管理员身份运行一条命令时,会运行:

agentj sudo --why '<为了做什么,用大白话写>' --effect '<会改动什么>' -- <命令>

你的手机上会弹出一张卡片,标题是「需要管理员权限」,上面写着:

  • 「为了做什么」:Agent 用大白话写的用途,排在最前面;
  • 「要执行的命令」:完整的命令,一个字不少;
  • 「会改动什么」:Agent 写的影响;
  • 倒计时:卡片 2 分钟内有效。

看清楚以后,输入这台Agent J 主机的登录密码(管理员密码),点「同意并执行」;不想让它做,就点「拒绝」。

点「同意并执行」后,卡片先显示「执行中…」,等Agent J 主机核对密码。密码对了、命令开始运行,卡片马上关闭,不再挡住屏幕;输入框上方出现一条「sudo 执行中…」状态条,显示已经运行了多久。输出默认不会发到手机上:点状态条展开时,这台手机才会向Agent J 主机发一个签名请求,之后只有这台手机能看到实时输出,看起来像密钥或密码的内容会被隐藏;再点一下或按 ESC 收起,输出也随之停止发送。状态条上的「停止」要点两下,Agent J 主机才会停下这条命令;停止和同意一样,用这台手机的批准密钥签名,并记进审计日志。命令结束后,状态条显示结果和退出码(只有展开过输出的手机还会看到最后一段输出),同时弹出提示,聊天里也留下结果摘要。密码错了,卡片不会关闭,会请你重新输入。

解压备份等长命令执行时,仍能聊天,连接状态也会继续更新。短暂断线后,页面会重新核对这张卡的状态,避免一直停在执行中。命令默认最多运行 10 分钟;Agent 可以用 --timeout 指定秒数,最长 1 小时。

每张管理员密码卡和密钥卡的右上角都有一个向下的箭头「收起」,按 ESC 也一样。收起不等于拒绝:什么都不会发给Agent J 主机,卡片还在,正在运行的命令也照常运行;点输入框上方的状态条就能把卡片重新打开。不想让它做,请点卡片上的「拒绝」。

「为了做什么」写得太短,或者只是把命令抄一遍,卡片不会弹出来,Agent 得先把用途写清楚。管理 Agent J 自己的后台服务(启动、重启、停止)也不会弹这张卡:这些事不需要管理员密码,切换 AI 工具也一样,见 换 AI 编程工具。

  • 密码在手机上加密,只有你的Agent J 主机、只有这一张卡片能解开。Agent J 主机用它运行这条命令后就把它清掉(你打开了下面的 10 分钟开关时,只在内存里留到授权结束),不保存到磁盘,也不写进任何日志。
  • Agent 只拿到命令的输出和退出码,拿不到密码。
  • 密码输错了,卡片会重新弹出,告诉你还能试几次。一张卡片最多试 3 次。连续输错 3 次,所有密码卡锁定 1 分钟;再错,锁定时间翻倍,最长 1 小时。
  • 点「全部停下」,所有还开着的卡片立刻作废。Agent 那边的命令中途停了,密码卡也会自动撤回(密钥卡不会,见下)。

10 分钟内同样格式的只读命令免重复批准

有些只读命令的卡片上会多一个开关:「10 分钟内,同样参数格式的 gzip 只读命令不再询问」,开关下面写着它管哪些参数。这个开关默认是关着的;你打开它再输入密码同意,接下来 10 分钟内,同一个程序、同样参数、只换文件的命令就直接运行,不再弹卡(新文件还得和批准的那个在同一个文件夹里,见下面)。比如批准 gzip -dc /var/backups/a.gz 时打开开关,后面的 gzip -dc /var/backups/b.gz 就直接运行。每条自动执行的命令都会在聊天里留一条记录,Agent J 主机的审计日志也会记下时间、授权编号、请求编号,以及你打开了这个开关。

  • 只有一小批只看不改的程序会出现这个开关:cat、head、tail、ls、stat、du -s(看某个文件夹一共多大)、df、wc、file、sha256sum 这类校验工具、grep、zcat,gzip、xz、bzip2、zstd 的解压到屏幕或检查模式,journalctl、dmesg、ss、lsof,只看状态的 systemctl(如 status、show),以及 findmnt、lsblk、blkid、uptime、free。其他命令每次都要你批准。
  • 参数一变就要重新批准:批准过 gzip -dc,会把文件解压到磁盘的 gzip -d 仍会弹卡。
  • 带文件或文件夹的命令都只管你批准时的那个文件夹:cat、grep 这类看内容的命令是这样,ls、stat、du -s、wc、sha256sum 这类也一样。批准过 cat /var/log/a.log,cat /var/log/b.log 会直接运行;cat /etc/other.conf 换了文件夹,还会弹卡。命令里直接写的是文件夹(比如 ls /var/log),就只管这个文件夹本身。开关下面会写成 cat /var/log/* 这样,告诉你管到哪里。
  • 命令要写明看哪个文件:没写文件的 cat、grep x 这类命令没有这个开关。du 要带 -s,而且不能是 /、/etc、/var 这种最上层的文件夹。
  • 文件要写完整路径,并且放在只有管理员能改的文件夹里。碰到 /root、别人的家目录、/etc/shadow、sudoers、SSH 密钥、GPG 密钥、.env、证书私钥、Wi-Fi 和 VPN/代理的配置、数据库文件这类敏感位置,或者路径里有符号链接,都照常弹卡。
  • 运行 shell 或解释器的命令(如 bash -c、sh、python -c),以及带管道 | 的命令,每次仍要你批准。
  • 授权只对批准它的这台手机、这次 Agent 对话有效。10 分钟到期、点「收回授权」、解除配对、点「全部停下」、Agent J 主机或后台服务重启,授权都会立刻失效。自动执行的命令最多只能运行到授权结束。
  • 授权生效时,聊天页靠下有一条提示,写着还剩几分钟;随时点「收回授权」,下一条管理员命令会重新问你。
  • 这 10 分钟里,密码只留在 Agent J 主机的内存里,不写入磁盘,授权结束时清掉。只有 sudo 真的向你要了密码、并且密码正确,才会开始这 10 分钟;如果这台 Agent J 主机的 sudo 设成不用输密码,密码根本不会发给命令,也不会开始 10 分钟授权。用管理员小助手(不输密码)批准的命令不带这个开关。

密钥卡

Agent 需要一个 API key 时,会运行:

agentj secret request --name ELEVENLABS_API_KEY --purpose '<用途>' --dest env:<文件>

手机上弹出的卡片标题是「需要一个密钥」,写着「名称」「用途」「存到Agent J 主机上的位置」,以及「保存后的校验」怎么做。输入框里的字显示成星号。粘贴好以后点「保存到Agent J 主机」或按回车;没粘贴就点,卡片只会提示你先粘贴,不会当成拒绝。不想给就点下面单独一行的「不提供」,要连点两次。卡片 10 分钟内有效。

  • 加密后的 key 直接写进你Agent J 主机上的文件,只有你的系统用户能读。存进 .env 这类文件时,只改 ELEVENLABS_API_KEY= 这一行,文件里别的内容一个字节都不动。
  • 保存以后可以马上验一下 key 能不能用:要么访问一个只读的 https 地址,要么运行一条只读命令(key 只放在这条命令的环境变量里)。卡片上写明了用哪种方式。
  • 校验没通过、而且 key 比这家服务商常见的短很多时,手机会多提示一句:key 可能没复制完整。这时回服务商后台重新完整复制一次再贴。这个判断只看长度,不看 key 的内容。
  • Agent 收到的回执只有:名称、存放位置、长度、指纹的前几位,以及校验有没有通过。它从来拿不到 key 本身,也被要求不去读、不打印那个文件。程序要用 key 时,直接从那个文件里读。
  • Agent 那边的命令就算中途被打断(比如它的终端超时了),密钥卡也照样留在手机上,你提交后照常保存。Agent 之后运行 agentj secret result <卡片编号> 就能看到结果。
  • 每次批准、拒绝都记在Agent J 主机上的审计日志里,里面没有密码、没有 key,agentj secret log 可以复核。

密钥领取卡:把自己的密钥拿到手机上

反过来,你想从Agent J 主机上拿回自己的东西,比如代理的 SS 链接、带密码的配置文件,Agent 会运行:

agentj secret send --name 'Shadowrocket SS 链接' --value-from file:<文件>

手机上弹出「Agent 发来一张密钥领取卡」,内容先遮住。点「用 Face ID 查看」,验证通过后Agent J 主机才把内容发过来,可以复制或下载。看完点「完成」就从页面清除;聊天记录里只留「已领取」和时间。10 分钟内能领一次,过期后Agent J 主机也会把它从内存里清掉。没设 Face ID 的手机领不了,卡片上有「设置 Face ID」按钮。这张卡只发给你自己已配对的手机;Telegram、群聊和好友那边照样拿不到这些密钥。

管理员小助手(可选)

每次都输密码嫌麻烦,可以装一个管理员小助手:

agentj sudo-helper install

agentj sudo-helper install

agentj sudo-helper status

agentj sudo-helper status

agentj sudo-helper sync

agentj sudo-helper sync

agentj sudo-helper uninstall

agentj sudo-helper uninstall
  • install:装一次,需要在手机上通过一张普通的密码卡,输一次密码。
  • 装好以后,已配对的手机再收到管理员卡片,按钮变成「同意并执行(无需密码)」,不用再输密码。
  • 小助手以管理员身份运行,执行之前自己核对三件事:这个同意是你那台手机签的名、时间是刚刚、这一次的编号没有用过。Agent 可以调用小助手,但它造不出你手机的签名,所以这不等于让 Agent 不用密码就能当管理员。小助手只执行卡片上那一条命令。
  • sync:配对了新手机或者解绑了旧手机以后运行,更新小助手认的手机名单(也要过一张密码卡)。解绑手机后名单不会自动更新,记得运行一次。
  • status 看装没装好,uninstall 卸掉。

支持与限制

  • 已配对手机可用通行密钥(如 Face ID)确认,再输入Agent J 主机密码;Agent J 主机本机的 Touch ID 是另一条授权路径。
  • Windows 上还不能用。
  • Mac 已在真机上用过:2026-10-08 多台客户 Mac 实际使用密码卡和密钥卡成功。开启 sudo 指纹 / Touch ID 的 Mac 仍可能在Agent J 主机本机再弹一次验证;请在Agent J 主机前关闭 sudo 的 Touch ID,保留密码认证,具体检查与处理见Agent J 主机不休眠。
  • key 存进文件以后,Agent 和你用的是同一个系统用户,技术上它读得到那个文件。我们保证的是:key 不经过对话、日志、git,也不以明文经过手机和Agent J 主机之间的通道;Agent 被明确要求不去读、不打印它。

我们的服务器只转发加密后的内容,看不到你的密码和 key。更多见 数据安全,手机上的其他操作见 手机上怎么用。

邮件与敏感卡片的确认

只发给你自己的邮件不弹卡。发给别人的邮件(包括白名单联系人、会议纪要和邮件回复)点一下确认,不用 Face ID。卡片绑定收件人、内容、附件摘要和邮件服务器;白名单只决定来信是否处理。你在已配对的遥控器上亲手点「转发到邮箱」或转发到 Telegram,或者在客服会话里签名发邮件,这一下就是你的批准,直接发出,不弹卡片,也不要通行密钥。修改邮件设置和测试连接仍需签名确认;输入真实授权码仍走密钥卡。邮箱账号、登录名或 IMAP/SMTP 的服务器、端口、加密方式改变后,旧授权码立即作废。旧版本保存的授权码:邮箱用的是固定服务商(Gmail、QQ、163 等)时,升级后第一次运行会自动迁移,照常收发;自定义服务器的不会直接使用,先核验已登记候选,只有没有可用项时才需要在密钥卡重新输入。授权码只在密钥卡输入。

管理员密码卡填写密码后点按钮确认;显示真实密钥仍需要本机遥控器的审批通行密钥,未开通时先到设置里开通。更换已有通行密钥时,先用旧密钥验证本次注册邀请,再创建新密钥;取消或验证失败会保留旧密钥。账号登录的通行密钥与遥控器审批密钥分别设置。

哪些操作需要长按或刷脸

普通操作按当前会话的权限执行。审批卡若要求长按,请看清完整脱敏参数后按住确认;若显示「用 Face ID 确认」,请用通行密钥完成设备验证,设备也可能使用指纹或解锁密码。此前的验证不能代替这次确认。

账户页的扣款、订阅变更、席位变更和吊销操作,每次确认都绑定这次动作和目标;目标或费用变了,需要重新确认。付费查询和报告执行也各自确认,报告批准的是已固定的模板、数据与参数;随后发邮件仍要单独确认。审批卡的 Agent 附注会单独显示;参数太长或无法完整显示时会拒绝操作,请让 Agent 拆小后再试。

独立 Claude 会话始终保留安全检查,Codex 新建或恢复会话保留用户审查。关闭提醒或选择原生权限模式,不能代替敏感操作所需的确认。

提权失败怎么办

管理员密码未通过时,先手动输入:浏览器可能自动填入了以前保存的旧密码。命令已经运行但失败时,会显示退出码和一小段脱敏后的错误摘要。密码不会写进日志、回显或聊天。

Some things the Agent can't do alone: installing system software needs the admin password, and hooking up a new service needs your API key. Until now that meant going back to the Agent J host to type a sudo password in a terminal, or pasting the key into the chat — where it stayed in the history and went to the model vendor too.

Both now happen on the phone. The Agent asks, your phone shows a card, you type the password or paste the key into it, and it travels encrypted straight to the Agent J host. The Agent only gets the result; it never sees the password or the key.

The admin password card

When the Agent needs to run a command as admin, it runs:

agentj sudo --why '<what it is for, in plain words>' --effect '<what it changes>' -- <command>

A card titled "Admin rights needed" appears on your phone, showing:

  • "What it's for": the purpose in plain words, as the Agent wrote it, shown first;
  • "Command": the full command, nothing left out;
  • "What it changes": as the Agent wrote it;
  • a countdown: the card is valid for 2 minutes.

When you've read it, type the Agent J host's login (admin) password and tap "Approve and run"; if you don't want it to happen, tap "Decline".

After you tap "Approve and run", the card shows "Running…" while the Agent J host checks the password. As soon as the password is accepted and the command starts, the card closes so it no longer covers the screen, and a "sudo running…" strip appears above the message box with the time so far. The output is not sent to the phone by default: only when you tap the strip does this phone send the Agent J host a signed request, and then only this phone receives the live output, with anything that looks like a key or password hidden; tap again or press ESC to fold it, which also stops the output. "Stop" on the strip needs two taps, then the Agent J host stops the command; like an approval, a stop is signed with this phone's approval key and written to the audit log. When the command ends, the strip shows the result and the exit code (plus the last part of the output, only on a phone that opened it), a notice pops up, and the chat keeps a result summary. If the password was wrong, the card stays open and asks you to try again.

You can keep chatting while a long command, such as unpacking a backup, runs; connection status continues to update. After a brief disconnect, the page checks the card status again so it does not stay stuck on running. Commands have a 10-minute default limit; the Agent can set seconds with --timeout, up to 1 hour.

Every admin password card and key card has a down arrow at its top right, "Collapse (nothing is declined)"; ESC does the same. Collapsing is not declining: nothing is sent to the Agent J host, the card stays open and a running command keeps running — tap the strip above the message box to bring the card back. To refuse, tap "Decline" on the card.

If "What it's for" is too short, or just repeats the command, the card is not shown at all: the Agent has to say what the command is for first. Managing Agent J's own background service (start, restart, stop) never shows this card either: it needs no admin password, and neither does switching AI tools — see Switch AI coding tool.

  • The password is encrypted on the phone so that only the Agent J host, and only for this one card, can open it. the Agent J host uses it for this command and then wipes it (if you turned on the 10-minute switch below, it stays in memory only until that ends); it's never written to disk or to any log.
  • The Agent gets the command's output and exit code, never the password.
  • If the password is wrong, the card comes back and tells you how many tries are left — three per card. Three wrong passwords in a row lock all password cards for a minute; each further miss doubles the lock, up to an hour.
  • "Stop everything" voids every open card at once. If the Agent's command is interrupted, a password card is withdrawn as well (a key card is not — see below).

Same-format read-only commands for 10 minutes

Some read-only commands get one extra switch on their card: "For 10 minutes, don't ask again for read-only gzip commands in this same format", with the options it covers written under it. The switch is off by default. Turn it on and approve with the password, and for the next 10 minutes the same program with the same options, only on other files, just runs without a new card (the new file must also sit in the same folder as the one you approved; see below). Approve gzip -dc /var/backups/a.gz with the switch on, and gzip -dc /var/backups/b.gz just runs. Every command that runs this way leaves a note in the chat, and the Agent J host's audit log records the time, the approval number, the request number and that you turned the switch on.

  • Only a short list of look-but-don't-change programs offers the switch: cat, head, tail, ls, stat, du -s (how big one folder is in total), df, wc, file, checksum tools such as sha256sum, grep, zcat; gzip, xz, bzip2 and zstd when they unpack to the screen or only check; journalctl, dmesg, ss, lsof; systemctl only for looking (such as status, show); and findmnt, lsblk, blkid, uptime, free. Every other command asks you every time.
  • Different options ask again: after gzip -dc, a gzip -d that unpacks the file onto the disk still shows a card.
  • Every command with a file or folder only covers the folder you approved: commands that show what is inside a file (cat, grep and the like), and ls, stat, du -s, wc, sha256sum and the like too. When the command names a folder itself (such as ls /var/log), it covers just that folder. After cat /var/log/a.log, cat /var/log/b.log just runs; cat /etc/other.conf is in another folder, so it shows a card. The switch says this as cat /var/log/*, so you can see how far it reaches.
  • The command must name the file it reads: cat or grep x with no file never offers the switch. du needs -s, and never on / or a top-level folder such as /etc or /var.
  • Files must be given as full paths in folders only an administrator can change. Anything touching /root, another account's home folder, /etc/shadow, sudoers, SSH keys, GPG keys, .env, certificate private keys, Wi-Fi and VPN/proxy settings, database files and similar, or a path with a symbolic link in it, shows a card as usual.
  • Commands that run a shell or interpreter (such as bash -c, sh, python -c) and commands with a pipe | still ask you every time.
  • The approval only covers the phone that gave it and the current Agent conversation. It ends at once when the 10 minutes are up, when you tap "Revoke", when that phone is unpaired, on "Stop everything", or when the Agent J host or its background service restarts. A command run this way can only run until the approval ends.
  • While it is active, a bar near the bottom of the chat shows how many minutes are left; tap "Revoke" at any time and the next admin command asks you again.
  • During those 10 minutes the password stays only in the Agent J host's memory, never on disk, and is wiped when the approval ends. The 10 minutes only start if sudo really asked for the password and it was right; if this computer's sudo is set to need no password, the password is never passed to the command and no 10-minute approval starts. Commands approved through the admin helper (no password) don't offer the switch.

The key card

When the Agent needs an API key, it runs:

agentj secret request --name ELEVENLABS_API_KEY --purpose '<what it is for>' --dest env:<file>

The card on your phone is titled "A key is needed" and shows "Name", "Purpose", "Saved on the Agent J host at", and how the "Check after saving" works. What you paste shows as dots. Tap "Save to Agent J host" (or Enter) when it's in; tapping it with nothing pasted only asks you to paste first, it never counts as a no. "Don't provide" sits on its own line below and needs a second tap. The card is valid for 10 minutes.

  • The key is encrypted and written straight into a file on the Agent J host that only your system user can read. In a .env-style file only the ELEVENLABS_API_KEY= line changes; every other byte of the file stays as it was.
  • Right after saving, the key can be tested: either by a read-only request to an https address, or by a read-only command that gets the key only in its environment. The card says which.
  • When the check fails and the key is much shorter than this provider's keys usually are, the phone adds that it may not have been copied completely. Copy it again in full from the provider's dashboard and paste it. This looks at the length only, never at the key itself.
  • The Agent's receipt holds only the name, where it was saved, its length, the first few characters of a fingerprint, and whether the check passed. It never gets the key itself and is told not to read or print that file; programs that need the key read it from the file directly.
  • Even if the Agent's command is interrupted (say its terminal timed out), the key card stays on your phone and is saved when you submit. The Agent reads the outcome later with agentj secret result <card-id>.
  • Every approval and refusal is recorded in an audit log on the Agent J host, with no password and no key in it; agentj secret log lets you check it.

The pickup card: your own secrets, on your phone

The other way round — you want back something of yours from the Agent J host, like a proxy ss:// link or a config file with a password — the Agent runs:

agentj secret send --name 'Shadowrocket SS link' --value-from file:<file>

Your phone shows "Your Agent sent a secret pickup card", contents hidden. Tap "View with Face ID"; only then does the Agent J host send it, and you can copy or download it. Tap "Done" and it is cleared from the page; the chat keeps only "picked up" and the time. It can be picked up once within 10 minutes, then the Agent J host wipes it from memory. A phone without Face ID can't open it (the card offers "Set up Face ID"). It goes only to your own paired phones; Telegram, groups and friends still can't get these secrets.

The admin helper (optional)

If typing the password each time gets old, install the admin helper:

agentj sudo-helper install

agentj sudo-helper install

agentj sudo-helper status

agentj sudo-helper status

agentj sudo-helper sync

agentj sudo-helper sync

agentj sudo-helper uninstall

agentj sudo-helper uninstall
  • install: done once, through one ordinary password card on your phone.
  • After that, admin cards on your paired phones show "Approve and run (no password)" instead of asking for the password.
  • The helper runs as admin and checks three things itself before running anything: the approval was signed by your phone, it was given just now, and its one-time number hasn't been used. The Agent can call the helper but can't forge your phone's signature, so this does not give the Agent password-free admin rights. The helper only ever runs the one command shown on the card.
  • sync: run it after pairing a new phone or removing one, so the helper's list of phones is current (it takes one password card too). Removing a phone doesn't update the list by itself, so remember to run it.
  • status shows whether it's installed; uninstall removes it.

Support and limits

  • A paired phone can confirm with a passkey (such as Face ID) before entering the Agent J host password. Touch ID on the Agent J host is a separate authorization path.
  • It doesn't work on Windows.
  • Macs have been used successfully on real hardware: password and secret cards worked on multiple customer Macs on 2026-10-08. A Mac with sudo fingerprint / Touch ID enabled may still show another authorization dialog on the Agent J host. At the Agent J host, disable sudo Touch ID while preserving password authentication; see Keep the Agent J host awake for checks and recovery.
  • Once a key is in a file, the Agent runs as the same system user as you, so technically it could read that file. What we guarantee is that the key never passes through the chat, logs or git, and never crosses the phone-to-computer channel in plain text; the Agent is explicitly told not to read or print it.

Our servers only pass along encrypted data and never see your password or key. More in Data security; everything else on the phone is in Using it on your phone.

Confirming email and sensitive cards

Mail only to yourself goes without a card. Mail to anyone else, including allowlisted contacts, meeting notes and email replies, has a one-tap confirmation card; no Face ID. The card binds recipients, content, attachment hashes and mail servers. The allowlist only controls incoming mail. When you yourself tap Forward by e-mail or forward to Telegram on a paired remote, or sign a customer-service email, that tap is your approval: it goes out at once, with no card and no passkey. Mail settings changes and connection tests use their signed confirmation; entering a real app password still uses the secret card. Changing the account address, login name, IMAP/SMTP server, port or encryption invalidates the old app password. An app password saved by an older version moves over by itself on the first run after the upgrade when the mailbox uses a fixed provider (Gmail, QQ, 163 …). With a custom server it is not used directly: saved candidates are verified first, and you enter it again in the secret card only when none works.

Administrator password cards use password entry and a confirmation button; revealing a real secret still requires this remote's approval passkey. Enable it in Settings first. Replacing an existing passkey asks the old key to verify this one-use registration offer, then creates the new key. Cancellation or verification failure keeps the old key. Account sign-in and remote approval passkeys are set up separately.

When to hold or verify with a passkey

Ordinary actions follow the current session permissions. When an approval card asks you to hold, read its complete redacted parameters before holding the button. When it says “Confirm with Face ID”, use your passkey to verify on your device; it may use a fingerprint or device unlock code. An earlier verification does not approve this action.

Each account payment, subscription change, seat change and revocation confirmation binds the exact action and target. Changed targets or prices need a new confirmation. Paid queries and report execution each need their own confirmation. A report approval binds frozen templates, data and parameters; sending the resulting email needs a separate confirmation. Agent notes appear separately. Requests whose parameters cannot be displayed completely are refused; ask the Agent to split them into smaller actions.

Independent Claude sessions retain safety checks. Starting or resuming a Codex session retains user review. Turning reminders off or selecting native permissions does not replace confirmation required for sensitive actions.

When an admin command fails

If password authentication fails, type the password manually: your browser may have filled an old saved password. If authentication succeeds but the command fails, the result includes its exit code and a short redacted error summary. Passwords never appear in logs, echoed output or chat.

这一页的 Markdown 原文This page as Markdown: zh.md · en.md