Repository navigation
Conversation
- 复用现有服务账号访问 mxdeals1023 的「FZH运营知识中心」,无需新凭证或用户 OAuth - 新增 info/list/read/write/mkdir/sheet-*/smoke-test CLI,写操作默认 dry-run - 写入前校验祖先链,覆盖需 --overwrite,旧内容备份到仓库外 - 强制 IPv4、指数退避重试,并在 SSL 失败时回退 content.googleapis.com - 补充权限模型文档:另一个 Google 账号只需把文件夹共享给机器人邮箱 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
drive_folder_opsCLI,用现有服务账号在「FZH运营知识中心」等共享文件夹读写 Markdown / Google Sheet。colab-gsheets@gsheets-351101.iam.gserviceaccount.com,无需新建凭证或用户 OAuth。www.googleapis.com间歇 SSL EOF:强制 IPv4、指数退避重试、失败后回退content.googleapis.com。--overwrite、旧内容备份到仓库外、同名歧义拒绝。Test plan
uv run pytest drive_folder_ops/tests -q→ 21 passedsmoke-test --apply→md_create / md_readback / sheet_create / sheet_rw / doc_create / cleanup全部 OKwrite创建 → 回读 → 覆盖 → 备份 → 清理端到端通过sheet-new / sheet-write / sheet-readCLI 端到端通过uv run python scripts/check_secrets.py→ 0 findingsuv run python scripts/update_index.py --check→ OKNotes
AGENTS.md(治理草案)是另一会话/用户产物,本 PR 未修改。