mcp-gee-sweet 0.9.3.dev25__tar.gz → 0.9.3.dev29__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/CLAUDE.md +1 -0
  2. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/PKG-INFO +1 -1
  3. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/infra.md +27 -0
  4. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/roadmap.md +14 -8
  5. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/http_transport.py +108 -5
  6. mcp_gee_sweet-0.9.3.dev29/tests/test_http_transport.py +395 -0
  7. mcp_gee_sweet-0.9.3.dev25/tests/test_http_transport.py +0 -126
  8. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/cleanup-worktrees.md +0 -0
  9. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/merge-pr.md +0 -0
  10. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/notify-kai.md +0 -0
  11. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/notify-partner.md +0 -0
  12. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/orchestrator.md +0 -0
  13. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/prep-for-pr.md +0 -0
  14. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/qa-kickoff.md +0 -0
  15. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/release.md +0 -0
  16. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/retro.md +0 -0
  17. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/roadmap-status.md +0 -0
  18. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/security-advisory.md +0 -0
  19. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/start-worktree.md +0 -0
  20. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/team-member.md +0 -0
  21. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/commands/verify-pr.md +0 -0
  22. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/settings.json +0 -0
  23. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/amy.md +0 -0
  24. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/aziz.md +0 -0
  25. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/bob.md +0 -0
  26. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/dev.md +0 -0
  27. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/joy.md +0 -0
  28. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/kai.md +0 -0
  29. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.claude/team-roles/qa.md +0 -0
  30. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.dockerignore +0 -0
  31. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.gitattributes +0 -0
  32. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  33. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  34. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  35. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/dependabot.yml +0 -0
  36. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/workflows/ci.yml +0 -0
  37. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/workflows/docs.yml +0 -0
  38. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/workflows/publish-dev.yml +0 -0
  39. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.github/workflows/release.yml +0 -0
  40. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.gitignore +0 -0
  41. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.pre-commit-config.yaml +0 -0
  42. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/.python-version +0 -0
  43. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/CHANGELOG.md +0 -0
  44. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/CODE_OF_CONDUCT.md +0 -0
  45. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/CONTRIBUTING.md +0 -0
  46. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/Dockerfile +0 -0
  47. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/LICENSE +0 -0
  48. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/Makefile +0 -0
  49. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/README.md +0 -0
  50. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/SECURITY.md +0 -0
  51. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docker-compose.yml +0 -0
  52. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/assets/logo.png +0 -0
  53. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/auth.md +0 -0
  54. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/client-setup.md +0 -0
  55. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/configuration.md +0 -0
  56. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-async-tool-execution.md +0 -0
  57. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-auth-status-limitation-categories.md +0 -0
  58. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-cache-invalidation.md +0 -0
  59. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-chart-theming.md +0 -0
  60. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-comments-first-class.md +0 -0
  61. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-composite-tools.md +0 -0
  62. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-condition-type-docstring-generation.md +0 -0
  63. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-converted-doc-change-detection.md +0 -0
  64. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-dev-team.md +0 -0
  65. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-docs-formatting.md +0 -0
  66. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-fork.md +0 -0
  67. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-gmail-domain.md +0 -0
  68. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-grid-data-size-cap.md +0 -0
  69. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-impact-reach-triage.md +0 -0
  70. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-local-fs-test-harness.md +0 -0
  71. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-mcp-v2-resource-context-access.md +0 -0
  72. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-pillow-image-dependency.md +0 -0
  73. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-prompt-qa-role.md +0 -0
  74. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-publishing.md +0 -0
  75. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-release-docs-roles.md +0 -0
  76. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-repositioning.md +0 -0
  77. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-response-size-cap-generalization.md +0 -0
  78. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-response-size-cap-reevaluation-519.md +0 -0
  79. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-review-finding-ticket-bar.md +0 -0
  80. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-supports-all-drives-lint-check.md +0 -0
  81. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-sync-folder-recursion.md +0 -0
  82. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-testing.md +0 -0
  83. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/decision-tool-error-visibility.md +0 -0
  84. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/index.md +0 -0
  85. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/decisions/role-file-history.md +0 -0
  86. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/blockquote-representation.md +0 -0
  87. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/borderless-table-columns.md +0 -0
  88. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/doc-replace-backup.md +0 -0
  89. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/doc-revision-export.md +0 -0
  90. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/doc-to-markdown.md +0 -0
  91. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/docs-ast-pipeline.md +0 -0
  92. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/effectiveformat-spike.md +0 -0
  93. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/heading-anchor-resolution.md +0 -0
  94. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/image-conversion.md +0 -0
  95. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/image-share-lifecycle.md +0 -0
  96. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/index.md +0 -0
  97. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/local-file-access-policy.md +0 -0
  98. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/markdown-support.md +0 -0
  99. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/module-history.md +0 -0
  100. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/oauth-reauthorize-from-tool-call.md +0 -0
  101. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/phase3-theme-system.md +0 -0
  102. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design/sse-consent-off-event-loop.md +0 -0
  103. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/design.md +0 -0
  104. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/index.md +0 -0
  105. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/known-limitations.md +0 -0
  106. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/notes-read.md +0 -0
  107. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/README.md +0 -0
  108. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r01-meeting-notes.md +0 -0
  109. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r02-project-plan.md +0 -0
  110. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r03-spec-prd.md +0 -0
  111. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r04-readme.md +0 -0
  112. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r05-status-report.md +0 -0
  113. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r06-howto.md +0 -0
  114. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r07-comparison.md +0 -0
  115. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r08-research-summary.md +0 -0
  116. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r09-changelog.md +0 -0
  117. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r10-task-plan.md +0 -0
  118. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r11-incident-postmortem.md +0 -0
  119. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r12-interview-guide.md +0 -0
  120. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r13-api-reference.md +0 -0
  121. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r14-study-notes.md +0 -0
  122. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r15-travel-itinerary.md +0 -0
  123. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/realistic/r16-planning-notes.md +0 -0
  124. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/state/theme.json +0 -0
  125. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-01-starts-bullets.md +0 -0
  126. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-02-starts-numbered.md +0 -0
  127. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-03-starts-table.md +0 -0
  128. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-04-starts-code.md +0 -0
  129. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-05-starts-quote.md +0 -0
  130. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-06-starts-image.md +0 -0
  131. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-07-starts-rule.md +0 -0
  132. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-08-ends-table.md +0 -0
  133. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-09-ends-list.md +0 -0
  134. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-10-empty.md +0 -0
  135. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-11-whitespace-only.md +0 -0
  136. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-12-no-trailing-newline.md +0 -0
  137. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-13-crlf-line-endings.md +0 -0
  138. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/docstart/ds-14-front-matter.md +0 -0
  139. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-adjacency-blank.md +0 -0
  140. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-adjacency-noblank.md +0 -0
  141. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-blockquotes.md +0 -0
  142. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-breaks-rules.md +0 -0
  143. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-code-blocks.md +0 -0
  144. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-containment.md +0 -0
  145. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-emphasis.md +0 -0
  146. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-escapes.md +0 -0
  147. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-headings.md +0 -0
  148. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-images.md +0 -0
  149. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-inline-code.md +0 -0
  150. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-inline-html.md +0 -0
  151. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-inline-matrix.md +0 -0
  152. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-links.md +0 -0
  153. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-lists-blocks.md +0 -0
  154. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-lists-boundaries.md +0 -0
  155. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-lists-markers.md +0 -0
  156. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-lists-nesting.md +0 -0
  157. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-long-document.md +0 -0
  158. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-tables.md +0 -0
  159. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-tasks.md +0 -0
  160. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/md/syntax/md-unicode.md +0 -0
  161. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/qa-fixture-pixel.png +0 -0
  162. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-d195-create-doc.md +0 -0
  163. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-d196-create-doc.html +0 -0
  164. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-d213-dollar-escape.md +0 -0
  165. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-d226-heading-table.md +0 -0
  166. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc102-image-conversion.html +0 -0
  167. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc103-image-conversion.md +0 -0
  168. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc104-nested-lists.html +0 -0
  169. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc105-nested-lists-gfm.md +0 -0
  170. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc106-nested-lists-4space.md +0 -0
  171. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc135-paragraph-boundary.md +0 -0
  172. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc136-interrupted-block-boundary.md +0 -0
  173. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc137-inline-hr-no-block-ancestor.html +0 -0
  174. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc138-nbsp-spacer-paragraph.md +0 -0
  175. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc141-mismatched-list-tags.html +0 -0
  176. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc142-heading-anchors.md +0 -0
  177. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc144-anchor-in-table-cell.md +0 -0
  178. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures/tc-doc145-anchor-on-first-element.md +0 -0
  179. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/fixtures.template.md +0 -0
  180. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/gmail-test-plan.md +0 -0
  181. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/operations.yaml +0 -0
  182. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/playwright_oauth.md +0 -0
  183. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/.gitkeep +0 -0
  184. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-02.md +0 -0
  185. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-14.md +0 -0
  186. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-17.md +0 -0
  187. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-18.md +0 -0
  188. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-21-drive-discovery.md +0 -0
  189. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-21-sheets-delete-clear.md +0 -0
  190. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-06-28.md +0 -0
  191. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-07-04-docs.md +0 -0
  192. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-07-04-drive-smoke.md +0 -0
  193. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-07-04-infra.md +0 -0
  194. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-07-04-sheets_read.md +0 -0
  195. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-07-04.md +0 -0
  196. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-09-04.md +0 -0
  197. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-10-17-pass-audit.md +0 -0
  198. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-10-17-spec.txt +0 -0
  199. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-10-17.md +0 -0
  200. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/results/2026-10-18-markdown.md +0 -0
  201. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/retro-v0.8.0.md +0 -0
  202. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/retro-v0.9.0.md +0 -0
  203. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/retro-v0.9.2.md +0 -0
  204. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/run.md +0 -0
  205. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/README.md +0 -0
  206. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/v0.8.0.md +0 -0
  207. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/v0.8.1.md +0 -0
  208. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/v0.9.0.md +0 -0
  209. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/v0.9.1.md +0 -0
  210. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/runs/v0.9.2.md +0 -0
  211. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/setup.md +0 -0
  212. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/calendar.md +0 -0
  213. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/docs_content.md +0 -0
  214. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/docs_layout.md +0 -0
  215. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/docs_markdown.md +0 -0
  216. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/docs_style.md +0 -0
  217. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/docs_tables.md +0 -0
  218. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/drive_activity.md +0 -0
  219. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/drive_files.md +0 -0
  220. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/drive_sharing.md +0 -0
  221. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/drive_transfer.md +0 -0
  222. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/gmail.md +0 -0
  223. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/sheets_charts.md +0 -0
  224. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/sheets_mgmt.md +0 -0
  225. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/sheets_read.md +0 -0
  226. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/qa/tests/sheets_write.md +0 -0
  227. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/style-guide.md +0 -0
  228. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/docs/tools.md +0 -0
  229. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/mkdocs.yml +0 -0
  230. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/pyproject.toml +0 -0
  231. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/pyrightconfig.json +0 -0
  232. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/check_supports_all_drives.py +0 -0
  233. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/gen_tool_docs.py +0 -0
  234. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/lane_context_hook.py +0 -0
  235. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/oauth_setup.py +0 -0
  236. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/qa_cancel_insert_local_images.py +0 -0
  237. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/qa_compile_results.py +0 -0
  238. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/qa_gen_md_fixtures.py +0 -0
  239. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/qa_gmail_fixtures.py +0 -0
  240. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/qa_revision_temp_doc_parent.py +0 -0
  241. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/setup_team.sh +0 -0
  242. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/scripts/write_team_mcp_configs.sh +0 -0
  243. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/server.json +0 -0
  244. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/.env.template +0 -0
  245. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/__init__.py +0 -0
  246. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/auth.py +0 -0
  247. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/cache.py +0 -0
  248. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/local_files.py +0 -0
  249. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/reauth.py +0 -0
  250. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/server.py +0 -0
  251. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/sse_shutdown.py +0 -0
  252. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/__init__.py +0 -0
  253. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/atomic_write.py +0 -0
  254. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/cache.py +0 -0
  255. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/calendar.py +0 -0
  256. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/concurrency.py +0 -0
  257. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/__init__.py +0 -0
  258. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/anchors.py +0 -0
  259. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/ast.py +0 -0
  260. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/ast_to_markdown.py +0 -0
  261. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/comments.py +0 -0
  262. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/content.py +0 -0
  263. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/doc_to_ast.py +0 -0
  264. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/editing.py +0 -0
  265. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/emitter.py +0 -0
  266. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/html_parser.py +0 -0
  267. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/images.py +0 -0
  268. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/indices.py +0 -0
  269. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/layout.py +0 -0
  270. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/markdown_export.py +0 -0
  271. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/named_ranges.py +0 -0
  272. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/style.py +0 -0
  273. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/docs/tables.py +0 -0
  274. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/drive/__init__.py +0 -0
  275. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/drive/activity.py +0 -0
  276. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/drive/files.py +0 -0
  277. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/drive/sharing.py +0 -0
  278. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/drive/transfer.py +0 -0
  279. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/gmail.py +0 -0
  280. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/http_errors.py +0 -0
  281. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/mime_types.py +0 -0
  282. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/pagination.py +0 -0
  283. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/response_limits.py +0 -0
  284. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/sheets/__init__.py +0 -0
  285. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/sheets/data.py +0 -0
  286. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/sheets/helpers.py +0 -0
  287. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/src/mcp_gee_sweet/tools/sheets/structure.py +0 -0
  288. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/__init__.py +0 -0
  289. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/conftest.py +0 -0
  290. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/drive/__init__.py +0 -0
  291. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/drive/test_activity.py +0 -0
  292. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/drive/test_files.py +0 -0
  293. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/drive/test_sharing.py +0 -0
  294. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/drive/test_transfer.py +0 -0
  295. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/fakes.py +0 -0
  296. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/integration/__init__.py +0 -0
  297. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/integration/conftest.py +0 -0
  298. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/integration/test_local_fs_harness.py +0 -0
  299. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/sheets/__init__.py +0 -0
  300. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/sheets/test_data.py +0 -0
  301. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/sheets/test_helpers.py +0 -0
  302. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/sheets/test_structure.py +0 -0
  303. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_atomic_write.py +0 -0
  304. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_auth.py +0 -0
  305. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_cache.py +0 -0
  306. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_calendar.py +0 -0
  307. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_check_supports_all_drives.py +0 -0
  308. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_concurrency.py +0 -0
  309. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_anchors.py +0 -0
  310. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_comments.py +0 -0
  311. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_content.py +0 -0
  312. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_core.py +0 -0
  313. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_editing.py +0 -0
  314. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_images.py +0 -0
  315. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_indices.py +0 -0
  316. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_layout.py +0 -0
  317. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_markdown_export.py +0 -0
  318. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_named_ranges.py +0 -0
  319. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_revision_export.py +0 -0
  320. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_style.py +0 -0
  321. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_docs_tables.py +0 -0
  322. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_gen_tool_docs.py +0 -0
  323. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_gmail.py +0 -0
  324. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_http_errors.py +0 -0
  325. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_lane_context_hook.py +0 -0
  326. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_local_file_sites.py +0 -0
  327. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_local_files.py +0 -0
  328. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_mime_types.py +0 -0
  329. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_qa_gen_md_fixtures.py +0 -0
  330. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_qa_gmail_fixtures.py +0 -0
  331. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_reauth.py +0 -0
  332. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_response_limits.py +0 -0
  333. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_server.py +0 -0
  334. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_server_json.py +0 -0
  335. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_sse_shutdown.py +0 -0
  336. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/tests/test_team_mcp_configs.py +0 -0
  337. {mcp_gee_sweet-0.9.3.dev25 → mcp_gee_sweet-0.9.3.dev29}/uv.lock +0 -0
@@ -134,6 +134,7 @@ Set `AUTH_METHOD` to pin a specific method with no fallback — removes ambiguit
134
134
  **Async execution** (`execute_in_thread` + `thread_http`, in `http_transport.py`; full rationale in `docs/decisions/decision-async-tool-execution.md`, [History](docs/design/module-history.md#async-execution)):
135
135
  - Every `@tool()` function must be `async def`, even one with no API calls: `_timed` awaits it, so a plain `def` raises `TypeError` (`test_server.py::TestAllToolsAreAsync` guards this).
136
136
  - Wrap every `.execute()` as `await execute_in_thread(chain.execute, service)`. Never write `asyncio.to_thread(chain.execute, http=thread_http(service))`: the kwarg is evaluated on the event-loop thread, so concurrent calls share one non-thread-safe `httplib2` transport.
137
+ - A per-thread transport's pooled connection goes stale while the server idles (#1052). `thread_http` builds `_RefreshTrackingHttp` over `_StaleConnectionHttp`, whose `_conn_request` override tracks staleness per connection, because a busy transport can still hold an idle token-endpoint connection. It closes a connection idle longer than `_IDLE_RECONNECT_SECONDS` before reuse, by wall-clock time, since `time.monotonic()` stops during system sleep. It also closes one that fails with a `_CONNECTION_ERRORS` error, since httplib2 itself drops a connection only on a socket timeout. `_RefreshTrackingHttp` resends a read once (GET, HEAD, or a POST carrying `x-http-method-override: GET`, which googleapiclient sends for a URI over 2048 characters), and `_ResendingRefreshRequest` resends a token refresh once. Never resend a write: the server may have applied it before the connection died.
137
138
  - Six multi-call tools (`sync_folder`, `get_multiple_sheet_data`, `get_multiple_spreadsheet_summary`, `import_csv_to_sheet`, `share_spreadsheet`, `share_file`) fan out with `asyncio.gather(..., return_exceptions=True)`.
138
139
  - A `ctx.report_progress()` call inside a gathered per-item coroutine must be wrapped in its own try/except, or a dropped client session turns an already-successful item into a failure.
139
140
  - Cleanup that must run when a tool call is cancelled (revoking a temporary share, deleting a temp file) needs `with anyio.CancelScope(shield=True):`, not just a `finally`. mcp cancels a request through an anyio cancel scope, which re-delivers the cancellation at every `await`, including the cleanup's own `await` inside `finally`. Shield the step that creates the resource too, or one created mid-`gather` is never recorded for cleanup. Keep shielded work bounded: a cancel waits for it. `images.ImageShareLifecycle` is the reference (PR #877, #908).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: mcp-gee-sweet
3
- Version: 0.9.3.dev25
3
+ Version: 0.9.3.dev29
4
4
  Summary: MCP server for Google Workspace — Sheets, Drive, Docs (HTML or Markdown), Calendar, and Gmail.
5
5
  Project-URL: Homepage, https://github.com/khuisman/mcp-gee-sweet
6
6
  Project-URL: Bug Tracker, https://github.com/khuisman/mcp-gee-sweet/issues
@@ -1748,3 +1748,30 @@ Same driver, fresh subprocesses on this head. Step 1: `upload_local_file` listed
1748
1748
 
1749
1749
  **Result (2026-10-17) ⏭️ SKIP — v0.9.2 release pass**
1750
1750
  Needs SSE, a LOCAL_FILE_ACCESS change, an invalid startup setting, or an HTTP transport.
1751
+
1752
+ ---
1753
+
1754
+ ### TC-I65: the first calls after a long idle don't fail on a stale connection (issue #1052)
1755
+
1756
+ **Background:** `thread_http` caches one transport per worker thread, and a thread's pooled keep-alive connection sits unused while the server is idle. Before #1052, the first request on a connection Google had since dropped failed with no retry: `[Errno 54] Connection reset by peer` at once, or `[Errno 60] Operation timed out` after 50–200 s. In a wide `get_multiple_sheet_data` call that showed up as one per-query `error` among otherwise correct results. Now a pooled connection idle longer than `_IDLE_RECONNECT_SECONDS` (wall-clock time, so a laptop's sleep counts) is closed before reuse, a connection that fails is closed rather than left pooled, and a read (GET, HEAD, or a method-override GET) or a token refresh that still hits a dead connection is resent once. Writes are never resent, so step 3 checks that a write after idle succeeds on its first attempt. The mocked unit tests can't show what Google's front end actually does to an idle connection, so this needs a live server and real idle time.
1757
+
1758
+ **Setup:** a server that has already made a few calls, so its worker threads hold pooled connections. Before each step, leave it idle (no tool calls at all) for **at least 10 minutes**, the idle time that reproduced the defect in the v0.9.2 pass.
1759
+
1760
+ **Action**
1761
+ 1. After the idle wait, call `get_multiple_sheet_data` with 12 single-cell queries: `queries` = `[{"spreadsheet_id": "{SPREADSHEET_ID}", "sheet": "Sales", "range": "A1"}, …]` over `A1`, `B1`, `C1`, `A2`, `B2`, `C2`, `A3`, `B3`, `C3`, `A4`, `B4`, `C4`. Time the call
1762
+ 2. Idle again, then repeat step 1 with 24 queries, one per cell of `A1:D6`
1763
+ 3. Idle again, then `create_folder` with `name: "TC-I65 idle write"` and `parent_folder_id: QA_SCRATCH_FOLDER_ID`
1764
+ 4. Run steps 1–3 on a second server prefix too (both OAuth and service account, if both are available)
1765
+
1766
+ **Checks**
1767
+ - 1, 2: every query returns its cell's data, none has an `error` field, and the call returns in a few seconds (no 50–200 s stall)
1768
+ - 3: the folder is created on the first call, with no `Connection reset by peer`, `Broken pipe`, or `Operation timed out` error
1769
+ - 4: the same on the second server
1770
+
1771
+ **Cleanup:** `delete_file` each `TC-I65 idle write` folder.
1772
+
1773
+ **Result (2026-10-19) ⚠️ PARTIAL — PR #1126 round 1 (Sky) @ 9cc9baa6**
1774
+ OAuth server (`mcp-gee-sweet-sky`), warmed at 22:12 with a 12-query fan-out, then left idle 10+ min before each step. Step 1 (22:22): 12/12 cells correct, no `error`, returned in under a second. Step 2 (22:33): 24/24 correct, no `error`, under a second. Step 3 (22:44): `create_folder` succeeded on the first call; folder trashed afterwards. The server log has no live `Resending` line, so the idle close alone handled every stale connection. Didn't run: check 4. This lane has no service-account server; the service-account run is left for the release pass.
1775
+
1776
+ **Result (2026-10-20) ⚠️ PARTIAL — PR #1126 round 2 (Sky) @ 4e854115**
1777
+ Re-run after the per-connection rewrite (`_StaleConnectionHttp`), on the OAuth server (`mcp-gee-sweet-sky`). Warmed at 23:28 with a 12-query fan-out, then left idle 10+ min before each step. Step 1 (23:39): 12/12 correct, no `error`, under a second. Step 2 (23:50): 24/24 correct, no `error`, under a second. Step 3 (00:01): `create_folder` succeeded on the first call; folder trashed afterwards. No live `Resending` line in the server log, so the per-connection idle close handled every stale connection. Didn't run: check 4. This lane has no service-account server; the service-account run is left for the release pass.
@@ -356,16 +356,20 @@ Requires `gmail/v1` client and `https://www.googleapis.com/auth/gmail.modify` sc
356
356
 
357
357
  Feature set and fill set by the maintainer 2026-10-18, under the release-scoping rules in [#1085](https://github.com/khuisman/mcp-gee-sweet/issues/1085). The release ships when the feature set is done and passes release QA. **Locked 2026-10-18**, after Aziz's #1044 Phase 1 baseline: the baseline's defects joined the Markdown feature set, and #646, #957, #1078, #1100, #1103 and #1104 moved to ankylosaurus. From here only urgent fixes join (the rubric's in-flight cases and security fixes); Phase 2 findings come in only that way. The comments work follows [`docs/decisions/decision-comments-first-class.md`](decisions/decision-comments-first-class.md) ([#661](https://github.com/khuisman/mcp-gee-sweet/issues/661)) and ships a breaking rename that the release notes must call out.
358
358
 
359
+ **Renumbering, 2026-10-19 (maintainer):** 0.9.3 ships ahead of this feature set, carrying what's already merged plus #1052 and #1124. This feature set becomes **v0.9.4**. Tickets move to the [`v0.9.4`](https://github.com/khuisman/mcp-gee-sweet/issues?q=is%3Aissue+label%3Av0.9.4) label as they're confirmed not to ship in 0.9.3 (marked _→ v0.9.4_ below); the rest move when 0.9.3 is tagged, and this section is retitled then.
360
+
359
361
  **Feature set: Markdown → Docs fidelity**
360
362
 
361
363
  - [ ] QA: Playwright-verified test plan for Markdown → Google Docs rendering (full syntax, every entry point) — absorbs #477 (full-construct fixture), closed into it 2026-10-18 ([#1044](https://github.com/khuisman/mcp-gee-sweet/issues/1044))
362
- - [ ] Markdown sub-lists indented 2 or 3 spaces don't nest ([#1071](https://github.com/khuisman/mcp-gee-sweet/issues/1071))
363
- - [ ] A numbered list restarts its numbering after a nested bullet list ([#1072](https://github.com/khuisman/mcp-gee-sweet/issues/1072))
364
- - [ ] Images inside table cells are dropped silently ([#1073](https://github.com/khuisman/mcp-gee-sweet/issues/1073))
365
- - [ ] HTML input: whitespace between list tags becomes stray bullet paragraphs ([#1074](https://github.com/khuisman/mcp-gee-sweet/issues/1074))
366
- - [ ] A bare '-' (empty list item) isn't recognized in Markdown ([#1075](https://github.com/khuisman/mcp-gee-sweet/issues/1075))
367
- - [ ] Markdown strikethrough (~~text~~) and HTML <del> aren't converted ([#1077](https://github.com/khuisman/mcp-gee-sweet/issues/1077))
368
- - [ ] Blockquote indent invisible on single-line quotes (no `indentFirstLine`) — `wrong/narrow, observed`; #1044-relevant — lane B ([#1056](https://github.com/khuisman/mcp-gee-sweet/issues/1056))
364
+ - [ ] Markdown sub-lists indented 2 or 3 spaces don't nest ([#1071](https://github.com/khuisman/mcp-gee-sweet/issues/1071)) _→ v0.9.4_
365
+ - [ ] A numbered list restarts its numbering after a nested bullet list ([#1072](https://github.com/khuisman/mcp-gee-sweet/issues/1072)) _→ v0.9.4_
366
+ - [ ] Images inside table cells are dropped silently ([#1073](https://github.com/khuisman/mcp-gee-sweet/issues/1073)) _→ v0.9.4_
367
+ - [ ] HTML input: whitespace between list tags becomes stray bullet paragraphs ([#1074](https://github.com/khuisman/mcp-gee-sweet/issues/1074)) _→ v0.9.4_
368
+ - [ ] A bare '-' (empty list item) isn't recognized in Markdown ([#1075](https://github.com/khuisman/mcp-gee-sweet/issues/1075)) _→ v0.9.4_
369
+ - [ ] Markdown strikethrough (~~text~~) and HTML <del> aren't converted ([#1077](https://github.com/khuisman/mcp-gee-sweet/issues/1077)) _→ v0.9.4_
370
+ - [ ] get_doc_as_markdown indents a numbered sub-list under a numbered item by only 2 spaces, so it re-imports flat. Found in the 0.9.3 release-QA pass ([#1128](https://github.com/khuisman/mcp-gee-sweet/issues/1128)) _→ v0.9.4_
371
+ - [ ] search_files/search_spreadsheets/list_spreadsheets miss Shared Drive files under a service account when no folder is given. `wrong/narrow`, observed in the 0.9.3 release-QA pass; v0.9.3's fill is locked ([#1127](https://github.com/khuisman/mcp-gee-sweet/issues/1127)) _→ v0.9.4_
372
+ - [x] Blockquote indent invisible on single-line quotes (no `indentFirstLine`) — `wrong/narrow, observed`; #1044-relevant — lane B ([#1056](https://github.com/khuisman/mcp-gee-sweet/issues/1056)) (PR #1089)
369
373
  - [ ] Loose list items (<li><p>…</p></li>) lose their bullet — lane A, html_parser cluster ([#1111](https://github.com/khuisman/mcp-gee-sweet/issues/1111))
370
374
  - [ ] Markdown soft line breaks become paragraph breaks — html_parser cluster ([#1093](https://github.com/khuisman/mcp-gee-sweet/issues/1093))
371
375
  - [ ] Write side: <br> in a prose paragraph becomes a paragraph break, not a soft break — html_parser cluster ([#1091](https://github.com/khuisman/mcp-gee-sweet/issues/1091))
@@ -403,7 +407,7 @@ Feature set and fill set by the maintainer 2026-10-18, under the release-scoping
403
407
  - [ ] create_paragraph_bullets adds the requested nesting level to an item's current level instead of setting it ([#1069](https://github.com/khuisman/mcp-gee-sweet/issues/1069))
404
408
  - [x] `get_doc_as_markdown` emits a raw `\u000b` for a soft line break in non-code text — `wrong/narrow, observed`; #1044-relevant — lane A ([#1057](https://github.com/khuisman/mcp-gee-sweet/issues/1057)) (PR #1088)
405
409
  - [ ] `transfer_ownership(send_notification=False)` can never succeed — `loud/narrow` ([#1055](https://github.com/khuisman/mcp-gee-sweet/issues/1055))
406
- - [ ] create_bookmark doesn't create a bookmark Docs lists — docstring fix (option 2) now ([#1076](https://github.com/khuisman/mcp-gee-sweet/issues/1076))
410
+ - [ ] create_bookmark doesn't create a bookmark Docs lists — docstring fix (option 2) now ([#1076](https://github.com/khuisman/mcp-gee-sweet/issues/1076)) _→ v0.9.4_
407
411
  - [ ] **Docstrings, one item:** Tool docstrings: strip internal issue refs again, and add a guard test ([#1045](https://github.com/khuisman/mcp-gee-sweet/issues/1045)), Docstrings: 'Requires OAuth or ADC auth' is wrong for a service account on a Shared Drive ([#1046](https://github.com/khuisman/mcp-gee-sweet/issues/1046)), list_spreadsheets docstring sends callers to list_files for a result cap it now has ([#1047](https://github.com/khuisman/mcp-gee-sweet/issues/1047)), Docstring fixes: named-style resets, and set_cache_ttl's transport claim ([#1058](https://github.com/khuisman/mcp-gee-sweet/issues/1058)), Docstrings: create_paragraph_bullets carries internal API-quirk mechanics plus residual bare issue refs in style.py tool docstrings ([#683](https://github.com/khuisman/mcp-gee-sweet/issues/683))
408
412
  - [ ] **`font_family`, one item:** Document `font_family` on `insert_softbreak_paragraph` and widen the style_doc_range font test ([#1037](https://github.com/khuisman/mcp-gee-sweet/issues/1037)), Harden `font_family` in Docs text-style requests: preserve weight, reject empty values, share one builder ([#1038](https://github.com/khuisman/mcp-gee-sweet/issues/1038))
409
413
  - [ ] Refresh stale TC expectations found in the v0.9.2 pass ([#1060](https://github.com/khuisman/mcp-gee-sweet/issues/1060))
@@ -411,6 +415,7 @@ Feature set and fill set by the maintainer 2026-10-18, under the release-scoping
411
415
 
412
416
  **Release process**
413
417
 
418
+ - [ ] Publish dev and stable releases from one workflow file, so PyPI stops flagging every stable release with a "Change of provenance" warning. Added to the locked fill by the maintainer 2026-10-19; lane A after #1052; maintainer adds the new trusted publisher on PyPI before merge ([#1124](https://github.com/khuisman/mcp-gee-sweet/issues/1124))
414
419
  - [x] Release-scoping rules in `kai.md`: a version is a named feature set plus a locked 10–15-item fill, ships when the feature set is done; `planned: <name>` labels until in flight; feature-placement order; `needs-version-call` circuit breaker. Process ticket, v0.9.3 by the release-gate test: v0.9.3's fill is to be set under these rules. Kai writes it, Bob reviews (prompt-QA). The backlog re-triage is separate and maintainer-led ([#1085](https://github.com/khuisman/mcp-gee-sweet/issues/1085)) (PR #1106)
415
420
 
416
421
  **Shipped this cycle**
@@ -469,6 +474,7 @@ Fill candidates moved from v0.9.3 and the decision-needed backlog on 2026-10-18.
469
474
 
470
475
  **Triaged in 2026-10-18**
471
476
 
477
+ - [ ] `create_paragraph_bullets` drops a blockquoted paragraph's quote indent — `wrong/narrow`, observed; from PR #1089's review, after v0.9.3's lock ([#1090](https://github.com/khuisman/mcp-gee-sweet/issues/1090))
472
478
  - [ ] DocContentCache.store has no epoch guard; a pre-edit fetch can overwrite an edit's mark_dirty — `wrong/rare` ([#1032](https://github.com/khuisman/mcp-gee-sweet/issues/1032))
473
479
  - [ ] Doc-edit tools outside content/images leave the doc cache stale when cancelled mid-edit — `wrong/rare` ([#1030](https://github.com/khuisman/mcp-gee-sweet/issues/1030))
474
480
  - [ ] pre-commit's ruff-format hook skips Markdown, but CI's ruff format --check . formats it ([#1087](https://github.com/khuisman/mcp-gee-sweet/issues/1087))
@@ -2,11 +2,14 @@ import asyncio
2
2
  import contextlib
3
3
  import contextvars
4
4
  import logging
5
+ import ssl
5
6
  import threading
7
+ import time
6
8
  from collections.abc import Callable, Iterator
7
9
  from contextlib import contextmanager
8
10
  from typing import Any
9
11
 
12
+ import google_auth_httplib2
10
13
  import httplib2
11
14
  from google.auth.exceptions import RefreshError
12
15
  from google_auth_httplib2 import AuthorizedHttp
@@ -73,12 +76,112 @@ def _note_refresh_failure(error: RefreshError) -> None:
73
76
  state.refresh_error = error
74
77
 
75
78
 
79
+ # Measured 2026-10-19: Google's front end closes a keep-alive connection after 240 s
80
+ # idle. A FIN that arrives is harmless (httplib2 reconnects on the empty read), but one
81
+ # lost or delayed on the way, or a NAT/VPN entry that expires sooner, leaves a dead
82
+ # socket the client still thinks is open. Reconnecting well inside that window costs one
83
+ # TLS handshake after a minute of quiet.
84
+ _IDLE_RECONNECT_SECONDS = 60.0
85
+
86
+ # Methods safe to resend after a connection-level failure. A write isn't resent: the
87
+ # server may have applied it before the connection died, and a repeated create or
88
+ # append would land twice.
89
+ _RESENDABLE_METHODS = frozenset({"GET", "HEAD"})
90
+
91
+ # What a dead keep-alive connection raises on reuse: ECONNRESET/EPIPE (ConnectionError),
92
+ # ETIMEDOUT or a socket timeout (TimeoutError), or a TLS EOF.
93
+ _CONNECTION_ERRORS = (ConnectionError, TimeoutError, ssl.SSLEOFError)
94
+
95
+
96
+ class _StaleConnectionHttp(httplib2.Http):
97
+ """httplib2.Http that doesn't reuse a pooled connection that has likely died (#1052).
98
+
99
+ Staleness is per connection: a transport busy with one API host can still hold a
100
+ token-endpoint connection that has sat idle since the last refresh. `_conn_request`
101
+ is the one step every request on a connection passes through, AuthorizedHttp's
102
+ token refresh included, so the idle check and the dead-connection close live there.
103
+
104
+ Idle time is wall-clock time (`time.time()`), not `time.monotonic()`: the monotonic
105
+ clock stops while a laptop sleeps, so a stdio server waking after hours would see
106
+ seconds. A clock jump in either direction counts as idle; the worst case is one
107
+ extra handshake.
108
+ """
109
+
110
+ def _conn_request(self, conn: Any, *args: Any, **kwargs: Any) -> Any:
111
+ last_used = getattr(conn, "_mcp_gee_sweet_last_used", None)
112
+ if last_used is not None and abs(time.time() - last_used) > _IDLE_RECONNECT_SECONDS:
113
+ conn.close() # httplib2 reconnects a connection whose socket is None
114
+ try:
115
+ return super()._conn_request(conn, *args, **kwargs)
116
+ except _CONNECTION_ERRORS:
117
+ # httplib2 drops a failed connection only on a socket timeout. Left pooled,
118
+ # the dead socket would fail the next request to this host too.
119
+ conn.close()
120
+ raise
121
+ finally:
122
+ conn._mcp_gee_sweet_last_used = time.time()
123
+
124
+
125
+ class _ResendingRefreshRequest(google_auth_httplib2.Request):
126
+ """The transport AuthorizedHttp hands the credentials for a token refresh, which runs
127
+ before the request itself is sent. A refresh is safe to repeat, so one that hits a
128
+ dead connection is resent once, whatever the method of the request it precedes.
129
+ google-auth-httplib2 wraps only httplib2's own errors, so a socket error arrives raw."""
130
+
131
+ def __call__(self, *args: Any, **kwargs: Any) -> Any:
132
+ try:
133
+ return super().__call__(*args, **kwargs)
134
+ except _CONNECTION_ERRORS as e:
135
+ logger.info("Resending a token refresh on a new connection after %r", e)
136
+ return super().__call__(*args, **kwargs)
137
+
138
+
139
+ def _is_resendable(method: str, headers: Any) -> bool:
140
+ # googleapiclient sends a GET whose URI is over 2048 characters as a POST with an
141
+ # x-http-method-override header; it's still a read.
142
+ if isinstance(headers, dict):
143
+ for name, value in headers.items():
144
+ if name.lower() == "x-http-method-override":
145
+ method = value
146
+ break
147
+ return method.upper() in _RESENDABLE_METHODS
148
+
149
+
76
150
  class _RefreshTrackingHttp(AuthorizedHttp):
77
- """AuthorizedHttp that records a failed token refresh before raising it. Every
78
- request goes through here: `.execute()` via execute_in_thread, and the media
79
- downloads that set `request.http = thread_http(...)` themselves."""
151
+ """AuthorizedHttp that records a failed token refresh before raising it, and that
152
+ survives a keep-alive connection Google dropped while the server sat idle (#1052).
153
+ Every request goes through here: `.execute()` via execute_in_thread, and the media
154
+ downloads that set `request.http = thread_http(...)` themselves.
155
+
156
+ A transport is cached per worker thread, so its pooled connections sit unused
157
+ whenever the server is idle. Once an idle connection has died without the client
158
+ seeing the close, the first request on it fails with ECONNRESET or hangs until the
159
+ OS times it out (ETIMEDOUT, 50-200 s). httplib2 retries neither. Over a
160
+ `_StaleConnectionHttp` (as thread_http builds it), a connection idle longer than
161
+ _IDLE_RECONNECT_SECONDS is closed before reuse and a connection that fails is
162
+ closed. A read that still fails on a dead connection is resent once, and so is a
163
+ token refresh (`_ResendingRefreshRequest`); a write is not.
164
+ """
165
+
166
+ def __init__(self, *args: Any, **kwargs: Any) -> None:
167
+ super().__init__(*args, **kwargs)
168
+ self._request = _ResendingRefreshRequest(self.http)
169
+
170
+ def request(self, uri: str, method: str = "GET", *args: Any, **kwargs: Any) -> Any:
171
+ if "_credential_refresh_attempt" in kwargs:
172
+ # AuthorizedHttp re-entering after a 401 refresh: the outer call already
173
+ # handles resending.
174
+ return self._request_noting_refresh(uri, method, *args, **kwargs)
175
+ try:
176
+ return self._request_noting_refresh(uri, method, *args, **kwargs)
177
+ except _CONNECTION_ERRORS as e:
178
+ headers = kwargs.get("headers", args[1] if len(args) > 1 else None)
179
+ if not _is_resendable(method, headers):
180
+ raise
181
+ logger.info("Resending %s on a new connection after %r", method, e)
182
+ return self._request_noting_refresh(uri, method, *args, **kwargs)
80
183
 
81
- def request(self, *args: Any, **kwargs: Any) -> Any:
184
+ def _request_noting_refresh(self, *args: Any, **kwargs: Any) -> Any:
82
185
  try:
83
186
  return super().request(*args, **kwargs)
84
187
  except RefreshError as e:
@@ -107,7 +210,7 @@ def thread_http(service: Any) -> AuthorizedHttp:
107
210
  credentials = service._http.credentials
108
211
  http = cache.get(key)
109
212
  if http is None or http.credentials is not credentials:
110
- http = cache[key] = _RefreshTrackingHttp(credentials, http=httplib2.Http())
213
+ http = cache[key] = _RefreshTrackingHttp(credentials, http=_StaleConnectionHttp())
111
214
  return http
112
215
 
113
216
 
@@ -0,0 +1,395 @@
1
+ """Tests for http_transport.after_abandoned_calls (#907): a request abandoned to a
2
+ cancellation while its worker thread runs still lands, so the caller's cache
3
+ invalidation has to follow the thread, not the cancellation. Also the per-thread
4
+ transport's handling of a pooled connection that died while idle (#1052)."""
5
+
6
+ import socket
7
+ import ssl
8
+ import struct
9
+ import threading
10
+ import time
11
+ from unittest.mock import MagicMock, patch
12
+
13
+ import anyio
14
+ import pytest
15
+
16
+ from mcp_gee_sweet import http_transport
17
+
18
+ # Captured before the autouse fixture below swaps thread_http out.
19
+ _real_thread_http = http_transport.thread_http
20
+
21
+
22
+ @pytest.fixture(autouse=True)
23
+ def _no_real_transport():
24
+ # execute_in_thread builds a per-thread transport from the service's
25
+ # credentials; these tests never make a real request.
26
+ with patch.object(http_transport, "thread_http", return_value=MagicMock()):
27
+ yield
28
+
29
+
30
+ def _blocking_execute(started: threading.Event, release: threading.Event, landed: list):
31
+ def execute(**kwargs):
32
+ started.set()
33
+ release.wait(5)
34
+ landed.append(True)
35
+ return {}
36
+
37
+ return execute
38
+
39
+
40
+ async def _wait_for(predicate, timeout=2.0):
41
+ with anyio.fail_after(timeout):
42
+ while not predicate():
43
+ await anyio.sleep(0.01)
44
+
45
+
46
+ async def _cancel_once_started(execute, started):
47
+ async with anyio.create_task_group() as tg:
48
+
49
+ async def _call():
50
+ await http_transport.execute_in_thread(execute, MagicMock())
51
+
52
+ tg.start_soon(_call)
53
+ await anyio.to_thread.run_sync(started.wait, 5)
54
+ tg.cancel_scope.cancel()
55
+
56
+
57
+ async def test_callback_runs_after_abandoned_call_finishes():
58
+ started, release, landed = threading.Event(), threading.Event(), []
59
+ seen_landed = []
60
+ with http_transport.after_abandoned_calls(lambda: seen_landed.append(bool(landed))):
61
+ await _cancel_once_started(_blocking_execute(started, release, landed), started)
62
+ # The cancellation has unwound, but the request hasn't landed yet.
63
+ assert seen_landed == []
64
+ release.set()
65
+ await _wait_for(lambda: seen_landed)
66
+ assert seen_landed == [True]
67
+
68
+
69
+ async def test_callback_not_run_for_a_call_that_completes():
70
+ calls = []
71
+ with http_transport.after_abandoned_calls(lambda: calls.append(1)):
72
+ assert await http_transport.execute_in_thread(lambda **kw: {"ok": 1}, MagicMock()) == {
73
+ "ok": 1
74
+ }
75
+ await anyio.sleep(0.05)
76
+ assert calls == []
77
+
78
+
79
+ async def test_callback_not_run_for_a_call_that_raises():
80
+ calls = []
81
+
82
+ def execute(**kwargs):
83
+ raise RuntimeError("boom")
84
+
85
+ with (
86
+ http_transport.after_abandoned_calls(lambda: calls.append(1)),
87
+ pytest.raises(RuntimeError),
88
+ ):
89
+ await http_transport.execute_in_thread(execute, MagicMock())
90
+ await anyio.sleep(0.05)
91
+ assert calls == []
92
+
93
+
94
+ async def test_abandoned_call_that_then_raises_still_runs_callback():
95
+ started, release = threading.Event(), threading.Event()
96
+ calls = []
97
+
98
+ def execute(**kwargs):
99
+ started.set()
100
+ release.wait(5)
101
+ raise RuntimeError("landed with an error")
102
+
103
+ with http_transport.after_abandoned_calls(lambda: calls.append(1)):
104
+ await _cancel_once_started(execute, started)
105
+ release.set()
106
+ await _wait_for(lambda: calls)
107
+ assert calls == [1]
108
+
109
+
110
+ async def test_no_callback_outside_the_block():
111
+ started, release, landed = threading.Event(), threading.Event(), []
112
+ calls = []
113
+ with http_transport.after_abandoned_calls(lambda: calls.append(1)):
114
+ pass
115
+ await _cancel_once_started(_blocking_execute(started, release, landed), started)
116
+ release.set()
117
+ await _wait_for(lambda: landed)
118
+ await anyio.sleep(0.05)
119
+ assert calls == []
120
+
121
+
122
+ async def test_failing_callback_is_logged_not_raised():
123
+ started, release, landed = threading.Event(), threading.Event(), []
124
+
125
+ def boom():
126
+ raise RuntimeError("callback boom")
127
+
128
+ with (
129
+ patch.object(http_transport, "logger") as mock_logger,
130
+ http_transport.after_abandoned_calls(boom),
131
+ ):
132
+ await _cancel_once_started(_blocking_execute(started, release, landed), started)
133
+ release.set()
134
+ await _wait_for(lambda: mock_logger.exception.called)
135
+
136
+
137
+ class _ResettingServer:
138
+ """Plain-HTTP keep-alive server that resets (RST) a connection left idle for
139
+ `idle_reset` seconds: a local stand-in for Google's front end dropping a pooled
140
+ connection while the MCP server sits idle (#1052)."""
141
+
142
+ def __init__(self, idle_reset: float = 0.3):
143
+ self.idle_reset = idle_reset
144
+ self.connections = 0
145
+ self.requests: list[bytes] = []
146
+ self._sock = socket.socket()
147
+ self._sock.bind(("127.0.0.1", 0))
148
+ self._sock.listen()
149
+ self.url = f"http://127.0.0.1:{self._sock.getsockname()[1]}/"
150
+ threading.Thread(target=self._serve, daemon=True).start()
151
+
152
+ def _serve(self):
153
+ while True:
154
+ try:
155
+ conn, _ = self._sock.accept()
156
+ except OSError:
157
+ return
158
+ self.connections += 1
159
+ threading.Thread(target=self._handle, args=(conn,), daemon=True).start()
160
+
161
+ def _handle(self, conn):
162
+ conn.settimeout(self.idle_reset)
163
+ buffer = b""
164
+ try:
165
+ while True:
166
+ # One request is its headers plus Content-Length bytes of body,
167
+ # however the client splits them across TCP segments.
168
+ while b"\r\n\r\n" not in buffer:
169
+ data = conn.recv(65536)
170
+ if not data:
171
+ return
172
+ buffer += data
173
+ head, buffer = buffer.split(b"\r\n\r\n", 1)
174
+ length = 0
175
+ for line in head.split(b"\r\n")[1:]:
176
+ name, _, value = line.partition(b":")
177
+ if name.strip().lower() == b"content-length":
178
+ length = int(value)
179
+ while len(buffer) < length:
180
+ data = conn.recv(65536)
181
+ if not data:
182
+ return
183
+ buffer += data
184
+ buffer = buffer[length:]
185
+ self.requests.append(head.split(b" ", 1)[0])
186
+ conn.sendall(b"HTTP/1.1 200 OK\r\nContent-Length: 2\r\n\r\nok")
187
+ except TimeoutError:
188
+ conn.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0))
189
+ finally:
190
+ conn.close()
191
+
192
+ def close(self):
193
+ self._sock.close()
194
+
195
+
196
+ @pytest.fixture
197
+ def resetting_server():
198
+ server = _ResettingServer()
199
+ yield server
200
+ server.close()
201
+
202
+
203
+ def _transport():
204
+ # A real httplib2.Http, so the dead pooled connection is a real socket.
205
+ return http_transport._RefreshTrackingHttp(
206
+ MagicMock(), http=http_transport._StaleConnectionHttp()
207
+ )
208
+
209
+
210
+ @pytest.fixture
211
+ def quiet_server():
212
+ # Never resets: every reconnect it sees is the client's own doing.
213
+ server = _ResettingServer(idle_reset=60)
214
+ yield server
215
+ server.close()
216
+
217
+
218
+ def test_resetting_server_counts_a_split_post_once(quiet_server):
219
+ # http.client can send a POST's body in its own segment; the fixture must still
220
+ # see one request, or the `requests` assertions below flake.
221
+ port = int(quiet_server.url.rsplit(":", 1)[1].strip("/"))
222
+ with socket.create_connection(("127.0.0.1", port)) as client:
223
+ client.sendall(b"POST / HTTP/1.1\r\nHost: x\r\nContent-Length: 5\r\n\r\n")
224
+ time.sleep(0.05)
225
+ client.sendall(b"hello")
226
+ assert client.recv(65536).startswith(b"HTTP/1.1 200")
227
+ time.sleep(0.1) # let a miscounted body land before checking
228
+ assert quiet_server.requests == [b"POST"]
229
+
230
+
231
+ class TestStaleConnections:
232
+ """#1052: a per-thread transport's pooled connection dies while the server idles."""
233
+
234
+ def test_thread_http_builds_the_stale_aware_transport(self):
235
+ http = _real_thread_http(MagicMock())
236
+ assert isinstance(http, http_transport._RefreshTrackingHttp)
237
+ assert isinstance(http.http, http_transport._StaleConnectionHttp)
238
+ assert isinstance(http._request, http_transport._ResendingRefreshRequest)
239
+
240
+ def test_idle_transport_reconnects_instead_of_reusing(self, resetting_server):
241
+ http = _transport()
242
+ with patch.object(http_transport, "_IDLE_RECONNECT_SECONDS", 0.1):
243
+ assert http.request(resetting_server.url, "POST", body="x")[0].status == 200
244
+ time.sleep(0.6) # past both the idle threshold and the server's reset
245
+ # A POST isn't resent, so this passes only because the dead connection
246
+ # was closed before the request instead of reused.
247
+ assert http.request(resetting_server.url, "POST", body="x")[0].status == 200
248
+ assert resetting_server.connections == 2
249
+
250
+ def test_recently_used_transport_keeps_its_connection(self, resetting_server):
251
+ http = _transport()
252
+ http.request(resetting_server.url)
253
+ http.request(resetting_server.url)
254
+ assert resetting_server.connections == 1
255
+
256
+ def test_get_on_a_dead_connection_is_resent_once(self, resetting_server):
257
+ http = _transport()
258
+ http.request(resetting_server.url)
259
+ time.sleep(0.6) # the server resets it, but it's within the idle threshold
260
+ assert http.request(resetting_server.url)[0].status == 200
261
+ assert resetting_server.connections == 2
262
+
263
+ def test_write_on_a_dead_connection_is_not_resent(self, resetting_server):
264
+ http = _transport()
265
+ http.request(resetting_server.url)
266
+ time.sleep(0.6)
267
+ with pytest.raises(http_transport._CONNECTION_ERRORS):
268
+ http.request(resetting_server.url, "POST", body="x")
269
+ assert resetting_server.requests == [b"GET"]
270
+
271
+ def test_failed_write_does_not_leave_its_dead_connection_pooled(self, resetting_server):
272
+ http = _transport()
273
+ http.request(resetting_server.url)
274
+ time.sleep(0.6)
275
+ with pytest.raises(http_transport._CONNECTION_ERRORS):
276
+ http.request(resetting_server.url, "POST", body="x")
277
+ # The next write reconnects instead of failing on the same dead socket.
278
+ assert http.request(resetting_server.url, "POST", body="x")[0].status == 200
279
+ assert resetting_server.connections == 2
280
+
281
+ def test_method_override_read_is_resent(self, resetting_server):
282
+ # googleapiclient turns a GET with a URI over 2048 characters into this.
283
+ http = _transport()
284
+ http.request(resetting_server.url)
285
+ time.sleep(0.6)
286
+ response, _ = http.request(
287
+ resetting_server.url,
288
+ "POST",
289
+ body="q=...",
290
+ headers={"X-HTTP-Method-Override": "GET"},
291
+ )
292
+ assert response.status == 200
293
+ assert resetting_server.requests == [b"GET", b"POST"]
294
+
295
+ def test_idle_time_counts_system_sleep(self, quiet_server):
296
+ # time.monotonic() stops while a laptop sleeps; a wall-clock jump of an hour
297
+ # with no monotonic movement must still count as idle.
298
+ http = _transport()
299
+ http.request(quiet_server.url)
300
+ now = time.time()
301
+ with patch.object(http_transport.time, "time", return_value=now + 3600):
302
+ http.request(quiet_server.url)
303
+ assert quiet_server.connections == 2
304
+
305
+ def test_clock_jumping_backward_also_reconnects(self, quiet_server):
306
+ http = _transport()
307
+ http.request(quiet_server.url)
308
+ now = time.time()
309
+ with patch.object(http_transport.time, "time", return_value=now - 3600):
310
+ http.request(quiet_server.url)
311
+ assert quiet_server.connections == 2
312
+
313
+ def test_idle_is_tracked_per_connection(self, quiet_server):
314
+ # A transport kept busy on one host still reconnects a second host's
315
+ # connection that has sat idle, e.g. the token endpoint's between refreshes.
316
+ other = _ResettingServer(idle_reset=60)
317
+ try:
318
+ http = _transport()
319
+ with patch.object(http_transport, "_IDLE_RECONNECT_SECONDS", 0.3):
320
+ http.request(other.url)
321
+ for _ in range(5):
322
+ http.request(quiet_server.url)
323
+ time.sleep(0.1)
324
+ http.request(other.url)
325
+ assert quiet_server.connections == 1
326
+ assert other.connections == 2
327
+ finally:
328
+ other.close()
329
+
330
+ def test_refresh_on_a_dead_connection_is_resent_before_a_write(self, quiet_server):
331
+ # The refresh runs before the write is sent, so resending it is safe even
332
+ # though the write itself is never resent.
333
+ token_server = _ResettingServer()
334
+ refresh = {"due": True}
335
+
336
+ def before_request(request, method, uri, headers):
337
+ if refresh["due"]:
338
+ request(token_server.url, method="POST", body="grant_type=refresh_token")
339
+
340
+ creds = MagicMock()
341
+ creds.before_request.side_effect = before_request
342
+ try:
343
+ http = http_transport._RefreshTrackingHttp(
344
+ creds, http=http_transport._StaleConnectionHttp()
345
+ )
346
+ http.request(quiet_server.url, "POST", body="x")
347
+ time.sleep(0.6) # the token server resets its idle connection
348
+ assert http.request(quiet_server.url, "POST", body="x")[0].status == 200
349
+ assert token_server.connections == 2
350
+ assert quiet_server.requests == [b"POST", b"POST"]
351
+ finally:
352
+ token_server.close()
353
+
354
+ @pytest.mark.parametrize(
355
+ "error",
356
+ [
357
+ ConnectionResetError(54, "Connection reset by peer"),
358
+ BrokenPipeError(32, "Broken pipe"),
359
+ TimeoutError(60, "Operation timed out"),
360
+ ssl.SSLEOFError(8, "EOF occurred in violation of protocol"),
361
+ ],
362
+ )
363
+ def test_get_is_resent_at_most_once(self, error):
364
+ inner = MagicMock()
365
+ inner.connections = {}
366
+ inner.request.side_effect = error
367
+ http = http_transport._RefreshTrackingHttp(MagicMock(), http=inner)
368
+ with pytest.raises(type(error)):
369
+ http.request("https://sheets.googleapis.com/x")
370
+ assert inner.request.call_count == 2
371
+
372
+ def test_other_errors_are_not_resent(self):
373
+ inner = MagicMock()
374
+ inner.connections = {}
375
+ inner.request.side_effect = ValueError("not a connection error")
376
+ http = http_transport._RefreshTrackingHttp(MagicMock(), http=inner)
377
+ with pytest.raises(ValueError):
378
+ http.request("https://sheets.googleapis.com/x")
379
+ assert inner.request.call_count == 1
380
+
381
+ def test_refresh_reentry_does_not_resend_twice(self):
382
+ # A 401 makes AuthorizedHttp refresh and call request() again; a connection
383
+ # error there must not get a second resend on top of the outer call's.
384
+ inner = MagicMock()
385
+ inner.connections = {}
386
+ unauthorized = MagicMock(status=401)
387
+ inner.request.side_effect = [
388
+ (unauthorized, b""),
389
+ ConnectionResetError(54, "reset"),
390
+ ConnectionResetError(54, "reset"),
391
+ ]
392
+ http = http_transport._RefreshTrackingHttp(MagicMock(), http=inner)
393
+ with pytest.raises(ConnectionResetError):
394
+ http.request("https://sheets.googleapis.com/x")
395
+ assert inner.request.call_count == 3