Skip to content

docs(notes): add a field sample of ChatGPT's Google Drive approval card - #1

Merged
Nagi-ovo merged 2 commits into
voyager-crew:mainfrom
TanChuping:docs/approval-card-sample
Oct 19, 2026
Merged

Nagi-ovo merged 2 commits into
voyager-crew:mainfrom
TanChuping:docs/approval-card-sample

Conversation

@TanChuping

Copy link
Copy Markdown
Contributor

为什么改

2026-10-19 纪要里记着「允许 ChatGPT 使用 Google Drive」授权卡在测试中一次都没出现过;我们在 GPT-6 Pro 往 Drive 写文件时撞见过两次,这里把现场样本作为附件放进 docs/notes/,以后处理这张卡时可以直接拿来参考。

特别注意

  • 只是附件:截图、DOM 结构和一段点「始终允许」的参考脚本,没有接进 CLI、site.json 或插件。要不要做、放哪一层由你们定;README 末尾提了一个权限上的考虑(自动点「始终允许」等于替用户做权限决定)。
  • 只在中文界面(zh-CN)见过,英文界面的按钮文字没核对过。
  • 「卡出现时 bridge 可能报 reply-stalled 或一直等到上限」是推断,没用 bridge 实测。

改动概览

docs/notes/2026-10-20-approval-card/
├── README.md               何时出现、怎么认、脚本怎么用、留给你们判断的
├── card-before-click.png   只裁了卡本身的截图
├── dom-structure.json      现场抓的结构、类名、按钮、祖先链、点后核对(对话链接已去掉)
└── approval_card_click.js  参考脚本:找到卡、点「始终允许」,返回 clicked / none / ambiguous

可视化证据

截图见 card-before-click.png。脚本 2026-10-20 实测返回 {status: "clicked", clicked: 1, cards: 1};5 秒后页面上已没有这张卡,对话里出现「已使用 Google Drive 集成运行了命令」,要写的文件也出现在了 Drive 的目标文件夹里。

检查

  • 新增的 3 个文本文件过了 oxfmt --check 和 oxlint;docs/ 不在 tsconfig 和 vitest 的范围里。
  • 没在本机跑全量 bun run verify:本机是 Windows,检出时的 CRLF 换行会让全仓格式检查误报,另有 5 个只在 Windows 上失败的测试(文件权限位、bun 子进程)。这次只加了 docs/,以 CI 结果为准。

🤖 Generated with Claude Code

TanChuping and others added 2 commits October 20, 2026 01:21
The 2026-10-19 notes record that the "允许 ChatGPT 使用 Google Drive 吗?"
card never showed up in testing. It did show up twice for us while GPT-6
Pro wrote to Drive, so this adds the sample as an attachment: a cropped
screenshot, the captured DOM structure and a reference script that clicks
"始终允许". Nothing is wired into the CLI or the extension.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… on it

Drop the script that clicked "Always allow": either button is the
user's permission decision, so the bridge stops on the card and hands
it to the user (exit 3) instead. The 2026-10-19 note's todo now points
at this sample and tracks that bridge change.

Co-Authored-By: Claude <noreply@anthropic.com>
@Nagi-ovo
Nagi-ovo merged commit 119f4fc into voyager-crew:main Oct 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants