wade-cli 1.2.13__tar.gz → 1.2.14__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 (445) hide show
  1. {wade_cli-1.2.13 → wade_cli-1.2.14}/CHANGELOG.md +7 -0
  2. {wade_cli-1.2.13 → wade_cli-1.2.14}/CONTRIBUTING.md +29 -2
  3. {wade_cli-1.2.13 → wade_cli-1.2.14}/KNOWLEDGE.ratings.jsonl +5 -0
  4. {wade_cli-1.2.13 → wade_cli-1.2.14}/PKG-INFO +9 -1
  5. {wade_cli-1.2.13 → wade_cli-1.2.14}/README.md +8 -0
  6. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/architecture.md +7 -0
  7. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/extending.md +13 -1
  8. {wade_cli-1.2.13 → wade_cli-1.2.14}/pyproject.toml +1 -1
  9. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/auto_version.py +69 -3
  10. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/__init__.py +1 -1
  11. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/done.py +9 -3
  12. wade_cli-1.2.14/tests/integration/test_auto_version.py +212 -0
  13. wade_cli-1.2.14/tests/unit/test_scripts/test_auto_version.py +141 -0
  14. wade_cli-1.2.14/tests/unit/test_services/test_done_pr_body_read.py +208 -0
  15. {wade_cli-1.2.13 → wade_cli-1.2.14}/uv.lock +2 -2
  16. {wade_cli-1.2.13 → wade_cli-1.2.14}/.gitattributes +0 -0
  17. {wade_cli-1.2.13 → wade_cli-1.2.14}/.github/workflows/auto-version.yml +0 -0
  18. {wade_cli-1.2.13 → wade_cli-1.2.14}/.github/workflows/ci.yml +0 -0
  19. {wade_cli-1.2.13 → wade_cli-1.2.14}/.github/workflows/pr-title-lint.yml +0 -0
  20. {wade_cli-1.2.13 → wade_cli-1.2.14}/.github/workflows/publish.yml +0 -0
  21. {wade_cli-1.2.13 → wade_cli-1.2.14}/.github/workflows/release.yml +0 -0
  22. {wade_cli-1.2.13 → wade_cli-1.2.14}/.gitignore +0 -0
  23. {wade_cli-1.2.13 → wade_cli-1.2.14}/.pre-commit-config.yaml +0 -0
  24. {wade_cli-1.2.13 → wade_cli-1.2.14}/.wade.yml +0 -0
  25. {wade_cli-1.2.13 → wade_cli-1.2.14}/AGENTS.md +0 -0
  26. {wade_cli-1.2.13 → wade_cli-1.2.14}/KNOWLEDGE.md +0 -0
  27. {wade_cli-1.2.13 → wade_cli-1.2.14}/assets/wade.png +0 -0
  28. {wade_cli-1.2.13 → wade_cli-1.2.14}/docker-compose.e2e.yml +0 -0
  29. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/crossby-native-planning-checkpoint.md +0 -0
  30. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/documentation-policies.md +0 -0
  31. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/native-cli-plan-verification.md +0 -0
  32. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/skills-system.md +0 -0
  33. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/testing.md +0 -0
  34. {wade_cli-1.2.13 → wade_cli-1.2.14}/docs/dev/workflows-and-skills.md +0 -0
  35. {wade_cli-1.2.13 → wade_cli-1.2.14}/install.sh +0 -0
  36. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/changelog.py +0 -0
  37. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/check-all.sh +0 -0
  38. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/check.sh +0 -0
  39. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/fmt.sh +0 -0
  40. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/hooks/pre-push +0 -0
  41. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/install-hooks.sh +0 -0
  42. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/probe_native_plan_handoff.py +0 -0
  43. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/release.sh +0 -0
  44. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/setup-worktree.sh +0 -0
  45. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-concurrency.sh +0 -0
  46. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-e2e-docker.sh +0 -0
  47. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-e2e.sh +0 -0
  48. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-live-ai-taskr.sh +0 -0
  49. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-live-ai.sh +0 -0
  50. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test-live-gh.sh +0 -0
  51. {wade_cli-1.2.13 → wade_cli-1.2.14}/scripts/test.sh +0 -0
  52. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/__main__.py +0 -0
  53. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/__init__.py +0 -0
  54. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/admin.py +0 -0
  55. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/autocomplete.py +0 -0
  56. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/deps_session.py +0 -0
  57. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/hook.py +0 -0
  58. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/implementation_session.py +0 -0
  59. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/knowledge.py +0 -0
  60. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/main.py +0 -0
  61. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/plan_session.py +0 -0
  62. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/review.py +0 -0
  63. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/review_pr_comments_session.py +0 -0
  64. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/session.py +0 -0
  65. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/session_shared.py +0 -0
  66. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/skills.py +0 -0
  67. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/task.py +0 -0
  68. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/cli/worktree.py +0 -0
  69. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/config/__init__.py +0 -0
  70. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/config/loader.py +0 -0
  71. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/config/migrations.py +0 -0
  72. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/config/schema.py +0 -0
  73. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/__init__.py +0 -0
  74. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/branch.py +0 -0
  75. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/hooks.py +0 -0
  76. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/pr.py +0 -0
  77. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/repo.py +0 -0
  78. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/stash.py +0 -0
  79. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/sync.py +0 -0
  80. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/git/worktree.py +0 -0
  81. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/hooks/__init__.py +0 -0
  82. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/hooks/cli.py +0 -0
  83. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/hooks/policies.py +0 -0
  84. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/logging/__init__.py +0 -0
  85. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/logging/context.py +0 -0
  86. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/logging/setup.py +0 -0
  87. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/__init__.py +0 -0
  88. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/batch.py +0 -0
  89. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/config.py +0 -0
  90. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/delegation.py +0 -0
  91. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/deps.py +0 -0
  92. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/events.py +0 -0
  93. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/hooks.py +0 -0
  94. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/interactive_plan.py +0 -0
  95. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/permission.py +0 -0
  96. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/plan_bundle.py +0 -0
  97. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/readiness.py +0 -0
  98. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/review.py +0 -0
  99. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/review_cycle.py +0 -0
  100. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/session.py +0 -0
  101. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/session_manifest.py +0 -0
  102. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/skill.py +0 -0
  103. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/task.py +0 -0
  104. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/workflow.py +0 -0
  105. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/models/worktree.py +0 -0
  106. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/__init__.py +0 -0
  107. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/_pr_delegate.py +0 -0
  108. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/base.py +0 -0
  109. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/clickup.py +0 -0
  110. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/github.py +0 -0
  111. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/markdown.py +0 -0
  112. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/providers/registry.py +0 -0
  113. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/__init__.py +0 -0
  114. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/ai_resolution.py +0 -0
  115. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/batch_review_service.py +0 -0
  116. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/bot_trigger.py +0 -0
  117. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/check_service.py +0 -0
  118. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/delegation_service.py +0 -0
  119. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/deps_service.py +0 -0
  120. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/documentation_receipt_service.py +0 -0
  121. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/__init__.py +0 -0
  122. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/_shared.py +0 -0
  123. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/batch.py +0 -0
  124. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/bootstrap.py +0 -0
  125. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/cleanup.py +0 -0
  126. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/core.py +0 -0
  127. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/draft_pr.py +0 -0
  128. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/lifecycle.py +0 -0
  129. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/sync.py +0 -0
  130. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/implementation_service/usage_tracking.py +0 -0
  131. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/__init__.py +0 -0
  132. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/auth.py +0 -0
  133. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/commands.py +0 -0
  134. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/config_io.py +0 -0
  135. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/manifest.py +0 -0
  136. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/migrations.py +0 -0
  137. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/prompts_ai.py +0 -0
  138. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/prompts_setup.py +0 -0
  139. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/init_service/shell.py +0 -0
  140. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/interactive_plan_service.py +0 -0
  141. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/knowledge_recovery.py +0 -0
  142. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/knowledge_search.py +0 -0
  143. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/knowledge_service.py +0 -0
  144. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/native_plan_service.py +0 -0
  145. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/plan_service.py +0 -0
  146. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/prompt_delivery.py +0 -0
  147. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/review_cycle_service.py +0 -0
  148. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/review_delegation_service.py +0 -0
  149. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/review_record_service.py +0 -0
  150. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/review_service.py +0 -0
  151. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/review_settle.py +0 -0
  152. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/session_composition_service.py +0 -0
  153. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/skill_diagnostics_service.py +0 -0
  154. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/skill_invocation_service.py +0 -0
  155. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/smart_start.py +0 -0
  156. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/services/task_service.py +0 -0
  157. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/__init__.py +0 -0
  158. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/catalog.py +0 -0
  159. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/discovery.py +0 -0
  160. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/doc_targets.py +0 -0
  161. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/installer.py +0 -0
  162. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/materializer.py +0 -0
  163. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/pointer.py +0 -0
  164. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/resolver.py +0 -0
  165. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/skills/validation.py +0 -0
  166. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/ui/__init__.py +0 -0
  167. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/ui/console.py +0 -0
  168. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/ui/prompts.py +0 -0
  169. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/__init__.py +0 -0
  170. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/body_markers.py +0 -0
  171. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/clipboard.py +0 -0
  172. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/conventional.py +0 -0
  173. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/filelock.py +0 -0
  174. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/gitref.py +0 -0
  175. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/http.py +0 -0
  176. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/install.py +0 -0
  177. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/knowledge_file.py +0 -0
  178. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/markdown.py +0 -0
  179. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/markers.py +0 -0
  180. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/paths.py +0 -0
  181. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/plan_validation.py +0 -0
  182. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/process.py +0 -0
  183. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/runtime_env.py +0 -0
  184. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/safe_state.py +0 -0
  185. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/slug.py +0 -0
  186. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/stale_base.py +0 -0
  187. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/templates.py +0 -0
  188. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/terminal.py +0 -0
  189. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/token_usage_markdown.py +0 -0
  190. {wade_cli-1.2.13 → wade_cli-1.2.14}/src/wade/utils/update_check.py +0 -0
  191. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/agents-pointer.md +0 -0
  192. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/hooks/commit-msg +0 -0
  193. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/hooks/pre-commit +0 -0
  194. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/hooks/pre-push +0 -0
  195. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/deps-analysis.md +0 -0
  196. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/implement-context.md +0 -0
  197. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/plan-session.md +0 -0
  198. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-batch.md +0 -0
  199. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-code.md +0 -0
  200. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-finding-admission.md +0 -0
  201. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-plan.md +0 -0
  202. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-pr-comments.md +0 -0
  203. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-batch.md +0 -0
  204. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-code.md +0 -0
  205. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-deps.md +0 -0
  206. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-full-branch.md +0 -0
  207. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-implementation.md +0 -0
  208. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-plan.md +0 -0
  209. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/review-result-pr-comments.md +0 -0
  210. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/session-start-implement.md +0 -0
  211. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/session-start-plan.md +0 -0
  212. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/prompts/session-start-review.md +0 -0
  213. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/setup-worktree.sh.example +0 -0
  214. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/batch-review/SKILL.md +0 -0
  215. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/code-review/SKILL.md +0 -0
  216. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/dependency-analysis/SKILL.md +0 -0
  217. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/feedback-fix-review/SKILL.md +0 -0
  218. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/implementation/SKILL.md +0 -0
  219. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/knowledge/SKILL.md +0 -0
  220. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/plan-review/SKILL.md +0 -0
  221. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/planning/SKILL.md +0 -0
  222. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/review-comments/SKILL.md +0 -0
  223. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/task/SKILL.md +0 -0
  224. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/task/examples.md +0 -0
  225. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/task/plan-format.md +0 -0
  226. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/skills/task/reference/session-summary-format.md +0 -0
  227. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/statusline-command.sh +0 -0
  228. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/_partials/completion.md +0 -0
  229. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/_partials/documentation-step.md +0 -0
  230. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/_partials/interaction-policy.md +0 -0
  231. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/_partials/knowledge-step.md +0 -0
  232. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/_partials/review-budget.md +0 -0
  233. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/implementation.md +0 -0
  234. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/plan.md +0 -0
  235. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/documentation.md +0 -0
  236. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/new-plan.md +0 -0
  237. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/plan-output-contract.md +0 -0
  238. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/pr-summary-format.md +0 -0
  239. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/recovery.md +0 -0
  240. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/session-summary-format.md +0 -0
  241. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/reference/tracking-issues.md +0 -0
  242. {wade_cli-1.2.13 → wade_cli-1.2.14}/templates/workflows/review-pr-comments.md +0 -0
  243. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/__init__.py +0 -0
  244. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/concurrency/__init__.py +0 -0
  245. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/concurrency/test_batch_multi_pr.py +0 -0
  246. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/concurrency/test_knowledge_merge.py +0 -0
  247. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/concurrency/test_lock_retry.py +0 -0
  248. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/concurrency/test_stash_race.py +0 -0
  249. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/conftest.py +0 -0
  250. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/__init__.py +0 -0
  251. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/_support.py +0 -0
  252. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/conftest.py +0 -0
  253. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/mock_gh_script.py +0 -0
  254. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_admin_contract.py +0 -0
  255. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_check_contract.py +0 -0
  256. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_implement_work_done_contract.py +0 -0
  257. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_knowledge_contract.py +0 -0
  258. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_mock_gh_contract.py +0 -0
  259. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_plan_contract.py +0 -0
  260. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_review_contract.py +0 -0
  261. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_smart_start_contract.py +0 -0
  262. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_task_contract.py +0 -0
  263. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/e2e/test_work_sync_list_contract.py +0 -0
  264. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/live/taskr_header_hi_body.md +0 -0
  265. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/live/taskr_header_howdy_body.md +0 -0
  266. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/transcripts/claude_session.txt +0 -0
  267. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/transcripts/codex_session.txt +0 -0
  268. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/transcripts/copilot_session.txt +0 -0
  269. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/fixtures/transcripts/generic_session.txt +0 -0
  270. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/__init__.py +0 -0
  271. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_autostash.py +0 -0
  272. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_check.py +0 -0
  273. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_dynamic_skill_sessions.py +0 -0
  274. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_git.py +0 -0
  275. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_implementation_lifecycle.py +0 -0
  276. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_init.py +0 -0
  277. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_knowledge.py +0 -0
  278. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_markdown_provider.py +0 -0
  279. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_skill_context_budget.py +0 -0
  280. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/integration/test_skill_install.py +0 -0
  281. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/live/__init__.py +0 -0
  282. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/live/test_wade_live_ai.py +0 -0
  283. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/live/test_wade_live_ai_taskr.py +0 -0
  284. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/live/test_wade_live_gh.py +0 -0
  285. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/test_cli_basics.py +0 -0
  286. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/__init__.py +0 -0
  287. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/conftest.py +0 -0
  288. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/__init__.py +0 -0
  289. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_autocomplete.py +0 -0
  290. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_done_doc_pass_advisory.py +0 -0
  291. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_done_review_hint.py +0 -0
  292. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_knowledge_cli.py +0 -0
  293. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_review_cli.py +0 -0
  294. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_session_subapps.py +0 -0
  295. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_shell_init.py +0 -0
  296. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_skills_session_cli.py +0 -0
  297. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_task_cli.py +0 -0
  298. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_work_ai_flags.py +0 -0
  299. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_cli/test_work_cli.py +0 -0
  300. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/__init__.py +0 -0
  301. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_bot_review_config.py +0 -0
  302. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_dynamic_skill_config.py +0 -0
  303. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_loader.py +0 -0
  304. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_merge_strategy_migration.py +0 -0
  305. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_migrations.py +0 -0
  306. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_config/test_migrations_atomic.py +0 -0
  307. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_console.py +0 -0
  308. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_effort.py +0 -0
  309. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/__init__.py +0 -0
  310. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_all_patches_present.py +0 -0
  311. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_branch_list.py +0 -0
  312. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_branch_slugify.py +0 -0
  313. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_detached_worktree.py +0 -0
  314. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_is_merged_into.py +0 -0
  315. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_main_checkout_root.py +0 -0
  316. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_merge_count.py +0 -0
  317. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_pr_base.py +0 -0
  318. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_pr_lookup.py +0 -0
  319. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_pr_retry.py +0 -0
  320. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_pr_title.py +0 -0
  321. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_repo.py +0 -0
  322. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_reset_branch.py +0 -0
  323. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_scaffold_commit.py +0 -0
  324. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_stash_drop.py +0 -0
  325. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_sync_conflicted_files.py +0 -0
  326. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_tip_commit_is_empty.py +0 -0
  327. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_git/test_worktree_remove.py +0 -0
  328. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_hooks/__init__.py +0 -0
  329. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_hooks/test_hook_cli.py +0 -0
  330. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_hooks/test_policies.py +0 -0
  331. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_hooks/test_post_tool_use.py +0 -0
  332. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_hooks/test_session_start.py +0 -0
  333. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/__init__.py +0 -0
  334. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_batch.py +0 -0
  335. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_config_models.py +0 -0
  336. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_delegation.py +0 -0
  337. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_deps_models.py +0 -0
  338. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_deps_partition.py +0 -0
  339. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_review.py +0 -0
  340. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_review_expectation.py +0 -0
  341. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_task_models.py +0 -0
  342. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_models/test_workflow_models.py +0 -0
  343. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_permission_mode.py +0 -0
  344. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_providers/__init__.py +0 -0
  345. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_providers/test_clickup.py +0 -0
  346. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_providers/test_github.py +0 -0
  347. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_providers/test_github_pr.py +0 -0
  348. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_providers/test_markdown.py +0 -0
  349. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_scripts/__init__.py +0 -0
  350. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_scripts/test_changelog.py +0 -0
  351. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_scripts/test_probe_native_plan_handoff.py +0 -0
  352. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/__init__.py +0 -0
  353. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_ai_resolution.py +0 -0
  354. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_batch_build_cmd.py +0 -0
  355. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_batch_pr_index.py +0 -0
  356. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_batch_review_service.py +0 -0
  357. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_allowlist.py +0 -0
  358. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_guard_matcher.py +0 -0
  359. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_hook_timeout.py +0 -0
  360. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_post_tool_use.py +0 -0
  361. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_pre_push.py +0 -0
  362. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bootstrap_session_start.py +0 -0
  363. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_bot_trigger.py +0 -0
  364. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_catchup.py +0 -0
  365. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_catchup_reconcile.py +0 -0
  366. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_check.py +0 -0
  367. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_cleanup_loss_guard.py +0 -0
  368. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_codex_worktree_launch_context.py +0 -0
  369. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_delegation_service.py +0 -0
  370. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_deps_service.py +0 -0
  371. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_documentation_receipt.py +0 -0
  372. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_done_gates.py +0 -0
  373. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_done_idempotent.py +0 -0
  374. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_done_plan_flag.py +0 -0
  375. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_done_pr_title_sync.py +0 -0
  376. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_draft_pr_base_fetch.py +0 -0
  377. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_draft_pr_retarget.py +0 -0
  378. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_implementation_done_sync.py +0 -0
  379. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_implementation_launch_context.py +0 -0
  380. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_implementation_service.py +0 -0
  381. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_implementation_service_resume.py +0 -0
  382. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_init.py +0 -0
  383. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_init_shell_integration.py +0 -0
  384. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_interactive_plan_service.py +0 -0
  385. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_knowledge_recovery.py +0 -0
  386. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_knowledge_search.py +0 -0
  387. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_knowledge_service.py +0 -0
  388. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_managed_git_hooks.py +0 -0
  389. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_native_plan_service.py +0 -0
  390. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_no_direct_git.py +0 -0
  391. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_plan_service.py +0 -0
  392. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_plan_startup_events.py +0 -0
  393. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_poll_for_reviews.py +0 -0
  394. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_post_implementation_lifecycle.py +0 -0
  395. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_pr_lookup_guards.py +0 -0
  396. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_pr_summary_path.py +0 -0
  397. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_pre_push_backstop.py +0 -0
  398. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_preserve_session_data.py +0 -0
  399. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_prompt_delivery.py +0 -0
  400. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_push_recovery.py +0 -0
  401. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_resolve_task_branch.py +0 -0
  402. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_resume_autonomy.py +0 -0
  403. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_cycle_service.py +0 -0
  404. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_delegation_service.py +0 -0
  405. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_receipts.py +0 -0
  406. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_records.py +0 -0
  407. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_service.py +0 -0
  408. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_review_status_block.py +0 -0
  409. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_skill_diagnostics_service.py +0 -0
  410. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_skill_invocation_service.py +0 -0
  411. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_smart_start.py +0 -0
  412. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_smart_start_resume.py +0 -0
  413. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_stale_base_surface.py +0 -0
  414. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_sync_base_branch.py +0 -0
  415. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_task_service.py +0 -0
  416. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_tracked_managed_files.py +0 -0
  417. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_services/test_worktree_gitignore.py +0 -0
  418. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_crossby_contract.py +0 -0
  419. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_doc_targets.py +0 -0
  420. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_dynamic_skills.py +0 -0
  421. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_generic_builtin_boundaries.py +0 -0
  422. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_knowledge_attributes.py +0 -0
  423. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_managed_gitignore.py +0 -0
  424. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_pointer.py +0 -0
  425. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_skills/test_review_budget_partial.py +0 -0
  426. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/__init__.py +0 -0
  427. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_body_markers.py +0 -0
  428. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_conventional.py +0 -0
  429. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_filelock.py +0 -0
  430. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_gitref.py +0 -0
  431. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_http.py +0 -0
  432. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_install.py +0 -0
  433. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_markdown.py +0 -0
  434. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_markers.py +0 -0
  435. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_plan_validation.py +0 -0
  436. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_process.py +0 -0
  437. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_prompts.py +0 -0
  438. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_runtime_env.py +0 -0
  439. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_safe_state.py +0 -0
  440. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_slug.py +0 -0
  441. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_stale_base.py +0 -0
  442. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_terminal.py +0 -0
  443. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_terminal_launch.py +0 -0
  444. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_utils/test_update_check.py +0 -0
  445. {wade_cli-1.2.13 → wade_cli-1.2.14}/tests/unit/test_yolo.py +0 -0
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Conventional Commits](https://conventionalcommits.org/).
6
6
 
7
+ ## [v1.2.14] — 2026-10-14
8
+
9
+ ### Bug Fixes
10
+
11
+ - commit synchronized uv.lock with automatic version bumps (#534) (3ff2e97)
12
+ - refuse PR body updates when the current body cannot be read (#525) (d3e3be5)
13
+
7
14
  ## [v1.2.13] — 2026-10-14
8
15
 
9
16
  ### Bug Fixes
@@ -67,11 +67,25 @@ Use [Conventional Commits](https://www.conventionalcommits.org/):
67
67
 
68
68
  ### Every release
69
69
 
70
+ Merging a conventional-commit-titled PR into `main` runs Auto Version Bump.
71
+ It uses the same script as this explicit local release command:
72
+
70
73
  ```bash
71
74
  uv run python scripts/auto_version.py patch --push # or minor / major
72
75
  ```
73
76
 
74
- This bumps the version, generates `CHANGELOG.md`, commits, tags, and pushes. CI then:
77
+ This bumps the source and manifest versions, runs `uv lock` against the script's
78
+ project root, and includes the synchronized `uv.lock` with `CHANGELOG.md` in the
79
+ release commit before tagging and pushing. Compatible dependency resolutions
80
+ are retained; no upgrade flags are used. The lock child process clears inherited
81
+ `UV_FROZEN` so frozen installation preferences cannot silently skip the refresh;
82
+ the caller's environment is unchanged. uv must be on PATH, including for direct
83
+ Python and pre-push-hook callers. A lock failure stops before staging, committing,
84
+ tagging or pushing and leaves any partial edits visible for inspection. Unrelated
85
+ staged paths are rejected before release edits; unrelated unstaged edits are
86
+ preserved and can still prevent the later pull/rebase.
87
+
88
+ CI then:
75
89
 
76
90
  1. Creates a **draft GitHub Release** with the changelog notes
77
91
  2. You review it on GitHub and click **Publish Release**
@@ -96,7 +110,20 @@ uv run python scripts/auto_version.py minor # new features 0.1.0 → 0.2.0
96
110
  uv run python scripts/auto_version.py major # breaking 0.1.0 → 1.0.0
97
111
  ```
98
112
 
99
- Add `--dry-run` to preview without making changes.
113
+ For a preview without script writes or commands, run
114
+ `python3 scripts/auto_version.py patch --dry-run`. An outer `uv run` can synchronize
115
+ a stale lock before Python starts, even when the script receives `--dry-run`.
116
+
117
+ uv may normalize the lock schema: uv 0.13.1 changes revision 3 to 5 without
118
+ changing dependency resolutions. The resulting coherent lock was verified with
119
+ `uv sync --all-extras --locked` under both uv 0.9.27 and 0.13.1. No global uv
120
+ upgrade is required for this repair.
121
+
122
+ If an automatic bump failed before push because a prior release omitted lock
123
+ metadata, merge the reviewed release fix through the normal workflow and verify
124
+ remote main, the tag target, postmerge CI and the draft release. Do not manually
125
+ bump main, discard the lock edit, or rerun the unchanged failing workflow. The
126
+ next generated changelog includes the pending conventional commits.
100
127
 
101
128
  ## Detailed Reference
102
129
 
@@ -192,6 +192,8 @@
192
192
  {"dir": "stale", "event_id": "86da7ec333234953869f880b857ce682", "id": "6cd9b543", "ts": "2026-09-15T15:24:19.088735+00:00"}
193
193
  {"dir": "up", "event_id": "5bf57cae39ae477f9295c18a3ac6d6c9", "id": "7c6526983755", "ts": "2026-09-16T22:22:59.183519+00:00"}
194
194
  {"dir": "up", "event_id": "6cccca145ffa471abd9ee11f3c2d259b", "id": "2bc8b5ab31d3", "ts": "2026-09-24T18:50:40.963016+00:00"}
195
+ {"dir": "up", "event_id": "a0a414dbdfc44ee88b8c77d05e61ff26", "id": "4d419ec6629c", "ts": "2026-10-14T14:38:56.313716+00:00"}
196
+ {"dir": "up", "event_id": "f156766ddcf8451891f4d20ef9f6a9d4", "id": "851bb6ec", "ts": "2026-10-14T14:54:52.737233+00:00"}
195
197
  {"dir": "up", "event_id": "5c97dee9-80d8-5d18-9a6a-637139e7bbc3", "handoff_id": "4fbe04a3-c1f7-4635-8820-8e1e90f04a17", "id": "cb42b47b0a78", "ts": "2026-10-14T14:44:55.828705+00:00"}
196
198
  {"dir": "up", "event_id": "6024c050-97a4-5bc6-bb48-49d6c890d207", "handoff_id": "4fbe04a3-c1f7-4635-8820-8e1e90f04a17", "id": "a15045c3", "ts": "2026-10-14T14:44:55.854491+00:00"}
197
199
  {"dir": "stale", "event_id": "1f6f31d9-1750-55f7-8901-0d7a606058d9", "handoff_id": "4fbe04a3-c1f7-4635-8820-8e1e90f04a17", "id": "2112b028ab73", "ts": "2026-10-14T14:44:55.881186+00:00"}
@@ -201,3 +203,6 @@
201
203
  {"dir": "up", "event_id": "dc3d8621-5dec-5be3-94e4-3d3474e1af8f", "handoff_id": "6fcf98cd-2ee1-4cba-b97f-594241cb642e", "id": "20772eaadc78", "ts": "2026-10-14T14:47:54.387969+00:00"}
202
204
  {"dir": "up", "event_id": "e83900f4860f4265a009bc9d11f7db0e", "id": "caa4604d0d03", "ts": "2026-10-14T14:59:01.886618+00:00"}
203
205
  {"dir": "up", "event_id": "b4024e75ec794cabbbc5d12e9bb1020f", "id": "fde883286787", "ts": "2026-10-14T14:59:02.126619+00:00"}
206
+ {"dir": "stale", "event_id": "5f9c1b3f-4b15-5778-bddd-a6f3710271c1", "handoff_id": "f77d8a4f-5f3f-4e63-b3cc-eeb96cda560e", "id": "2112b028ab73", "ts": "2026-10-14T15:57:44.981795+00:00"}
207
+ {"dir": "stale", "event_id": "9758a4ab-ad76-57a3-803b-7535b9edd8ac", "handoff_id": "f77d8a4f-5f3f-4e63-b3cc-eeb96cda560e", "id": "c55057c13ebb", "ts": "2026-10-14T15:57:45.003223+00:00"}
208
+ {"dir": "up", "event_id": "9c26c375-7d6f-5deb-a5f5-6c8e3eb4a4d9", "handoff_id": "f77d8a4f-5f3f-4e63-b3cc-eeb96cda560e", "id": "ace2eb931e5e", "ts": "2026-10-14T15:57:45.024518+00:00"}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: wade-cli
3
- Version: 1.2.13
3
+ Version: 1.2.14
4
4
  Summary: WADE — Workflow for AI-Driven Engineering
5
5
  Project-URL: Homepage, https://github.com/ivanviragine/wade
6
6
  Project-URL: Repository, https://github.com/ivanviragine/wade
@@ -643,6 +643,14 @@ Decision and integrity gates deliberately require an explicit valid outcome:
643
643
  | Conventional title | the task title is not a conventional-commit title (the PR title is derived from it, so it would fail `PR Title Lint`) — blocks; when valid but the open PR's title differs, syncs the PR title to match (both session types) — if that sync fails while the PR's current title is itself non-conventional (lint would fail), `done` fails so it can be retried | `done.require_conventional_title: false` |
644
644
  | Knowledge valid | the knowledge file is structurally corrupt — duplicate entry IDs or unresolved conflict markers (e.g. from a `merge=union` merge) | *none — gated by `knowledge.enabled`; no `done.*` hatch* |
645
645
 
646
+ Finalizing an existing PR requires reading its current body successfully. If
647
+ that read or the body update fails, completion stops, clears the local done
648
+ marker, and leaves ready promotion, label removal, and bot-review triggers
649
+ pending. Re-run the session's `done` command after resolving access; it reads the
650
+ body again and preserves existing plan and user content. A successfully read
651
+ empty body remains valid. The branch may already have been pushed before this
652
+ retryable failure.
653
+
646
654
  A **pre-push git hook** (`done.pre_push_backstop`, default on) backs the gate up:
647
655
  a push of the session branch without a current `.wade/done@<sha>` marker is
648
656
  refused, so committing-and-pushing straight past `done` doesn't work. It is
@@ -607,6 +607,14 @@ Decision and integrity gates deliberately require an explicit valid outcome:
607
607
  | Conventional title | the task title is not a conventional-commit title (the PR title is derived from it, so it would fail `PR Title Lint`) — blocks; when valid but the open PR's title differs, syncs the PR title to match (both session types) — if that sync fails while the PR's current title is itself non-conventional (lint would fail), `done` fails so it can be retried | `done.require_conventional_title: false` |
608
608
  | Knowledge valid | the knowledge file is structurally corrupt — duplicate entry IDs or unresolved conflict markers (e.g. from a `merge=union` merge) | *none — gated by `knowledge.enabled`; no `done.*` hatch* |
609
609
 
610
+ Finalizing an existing PR requires reading its current body successfully. If
611
+ that read or the body update fails, completion stops, clears the local done
612
+ marker, and leaves ready promotion, label removal, and bot-review triggers
613
+ pending. Re-run the session's `done` command after resolving access; it reads the
614
+ body again and preserves existing plan and user content. A successfully read
615
+ empty body remains valid. The branch may already have been pushed before this
616
+ retryable failure.
617
+
610
618
  A **pre-push git hook** (`done.pre_push_backstop`, default on) backs the gate up:
611
619
  a push of the session branch without a current `.wade/done@<sha>` marker is
612
620
  refused, so committing-and-pushing straight past `done` doesn't work. It is
@@ -1056,6 +1056,13 @@ HEAD, so any sha-keyed check must precede it):
1056
1056
  corruption cannot ship.
1057
1057
  8. `_done_via_pr` writes `.wade/done@<post-sync HEAD>` immediately before pushing
1058
1058
  and projects the review outcome into the PR body.
1059
+ The existing-PR body callback preserves `None` for a failed read; the shared
1060
+ body helper refuses to transform or write it, while an empty string remains
1061
+ a valid read. A failed body read or write clears the active marker root's
1062
+ `done` marker family and returns before ready promotion, label removal, or
1063
+ bot-review actions. Retry reads the current remote body again. Other review,
1064
+ documentation, bot, and feedback-cycle state stays intact; the successful
1065
+ push and any earlier title synchronization are not rolled back.
1059
1066
 
1060
1067
  **Review status is legible in the PR body (#367).** `_classify_review()` is the
1061
1068
  single source for the gate and the `wade:review-status` PR-body block. It records
@@ -61,7 +61,19 @@ uv run python scripts/auto_version.py major # breaking changes (0.1.0
61
61
  uv run python scripts/auto_version.py minor --dry-run # preview only
62
62
  ```
63
63
 
64
- The script updates both files, generates `CHANGELOG.md`, commits, and creates an annotated git tag.
64
+ The script updates both files, synchronizes an existing `uv.lock` with checked
65
+ `uv lock --project <script-root>` (without dependency upgrade flags), and includes
66
+ the lock with generated `CHANGELOG.md` in the commit and annotated tag. Lock
67
+ synchronization clears inherited `UV_FROZEN` in its child environment and must
68
+ succeed before staging, committing, tagging, or optional
69
+ push. Missing uv and lock failures leave visible partial edits but no release
70
+ commit/tag; a missing tracked lock or unrelated staged paths fail before edits.
71
+ Standalone copies without git and without a lock retain source-only behavior.
72
+
73
+ Use direct Python for a strictly inert `--dry-run`: an outer ordinary `uv run`
74
+ may update lock metadata before the script starts. See [Releasing](../../CONTRIBUTING.md#releasing)
75
+ for tool-version/schema compatibility and recovery through the normal
76
+ merge-triggered release workflow.
65
77
 
66
78
  ### Changelog Generation
67
79
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "wade-cli"
7
- version = "1.2.13"
7
+ version = "1.2.14"
8
8
  description = "WADE — Workflow for AI-Driven Engineering"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -4,11 +4,13 @@
4
4
  Usage: python scripts/auto_version.py <patch|minor|major> [--dry-run]
5
5
 
6
6
  Updates __version__ in src/wade/__init__.py and version in pyproject.toml
7
- to the next semver value. Optionally commits and tags the release.
7
+ to the next semver value, synchronizes an existing uv.lock, and optionally
8
+ commits and tags the coherent release.
8
9
  """
9
10
 
10
11
  from __future__ import annotations
11
12
 
13
+ import os
12
14
  import re
13
15
  import subprocess
14
16
  import sys
@@ -17,6 +19,7 @@ from pathlib import Path
17
19
  ROOT_DIR = Path(__file__).resolve().parent.parent
18
20
  INIT_FILE = ROOT_DIR / "src" / "wade" / "__init__.py"
19
21
  PYPROJECT_FILE = ROOT_DIR / "pyproject.toml"
22
+ LOCK_FILE = ROOT_DIR / "uv.lock"
20
23
 
21
24
 
22
25
  def read_version() -> str:
@@ -62,12 +65,66 @@ def is_git_repo() -> bool:
62
65
  """Check if we're inside a git repo."""
63
66
  result = subprocess.run(
64
67
  ["git", "rev-parse", "--is-inside-work-tree"],
68
+ cwd=ROOT_DIR,
65
69
  capture_output=True,
66
70
  text=True,
67
71
  )
68
72
  return result.returncode == 0
69
73
 
70
74
 
75
+ def check_release_index() -> None:
76
+ """Reject unrelated staged files without rejecting ordinary lock drift."""
77
+ result = subprocess.run(
78
+ ["git", "diff", "--cached", "--name-only", "-z"],
79
+ cwd=ROOT_DIR,
80
+ capture_output=True,
81
+ text=True,
82
+ check=True,
83
+ )
84
+ allowed = {"src/wade/__init__.py", "pyproject.toml", "uv.lock", "CHANGELOG.md"}
85
+ unrelated = sorted(set(result.stdout.split("\0")) - allowed - {""})
86
+ if unrelated:
87
+ print(
88
+ "Cannot bump version with unrelated staged paths: " + ", ".join(unrelated),
89
+ file=sys.stderr,
90
+ )
91
+ sys.exit(1)
92
+ if not LOCK_FILE.exists():
93
+ tracked = subprocess.run(
94
+ ["git", "ls-files", "--error-unmatch", "--with-tree=HEAD", "uv.lock"],
95
+ cwd=ROOT_DIR,
96
+ capture_output=True,
97
+ check=False,
98
+ )
99
+ if tracked.returncode == 0:
100
+ print("Cannot bump version: tracked uv.lock is missing.", file=sys.stderr)
101
+ sys.exit(1)
102
+
103
+
104
+ def sync_lockfile() -> bool:
105
+ """Refresh existing lock metadata before any release commit or tag."""
106
+ if not LOCK_FILE.exists():
107
+ return False
108
+ env = os.environ.copy()
109
+ # A release must refresh metadata even when the caller uses frozen installs.
110
+ env.pop("UV_FROZEN", None)
111
+ try:
112
+ subprocess.run(
113
+ ["uv", "lock", "--project", str(ROOT_DIR)],
114
+ cwd=ROOT_DIR,
115
+ env=env,
116
+ check=True,
117
+ )
118
+ except (OSError, subprocess.CalledProcessError) as exc:
119
+ print(
120
+ f"Could not synchronize uv.lock; no release commit/tag created: {exc}",
121
+ file=sys.stderr,
122
+ )
123
+ sys.exit(1)
124
+ print("Synchronized uv.lock")
125
+ return True
126
+
127
+
71
128
  def main() -> None:
72
129
  # Parse args
73
130
  args = sys.argv[1:]
@@ -98,6 +155,10 @@ def main() -> None:
98
155
  print("(dry run — no changes made)")
99
156
  return
100
157
 
158
+ in_git = is_git_repo()
159
+ if in_git:
160
+ check_release_index()
161
+
101
162
  # Update version in source files
102
163
  update_init_file(current, new)
103
164
  print(f"Updated __version__ in {INIT_FILE.relative_to(ROOT_DIR)}")
@@ -105,10 +166,15 @@ def main() -> None:
105
166
  update_pyproject(current, new)
106
167
  print(f"Updated version in {PYPROJECT_FILE.relative_to(ROOT_DIR)}")
107
168
 
169
+ has_lock = sync_lockfile()
170
+
108
171
  # Commit and tag if in a git repo
109
- if is_git_repo():
172
+ if in_git:
173
+ release_files = [str(INIT_FILE), str(PYPROJECT_FILE)]
174
+ if has_lock:
175
+ release_files.append(str(LOCK_FILE))
110
176
  subprocess.run(
111
- ["git", "add", str(INIT_FILE), str(PYPROJECT_FILE)],
177
+ ["git", "add", *release_files],
112
178
  cwd=ROOT_DIR,
113
179
  check=True,
114
180
  )
@@ -1,3 +1,3 @@
1
1
  """WADE (Workflow for AI-Driven Engineering) — AI-agent-driven git workflow management CLI."""
2
2
 
3
- __version__ = "1.2.13"
3
+ __version__ = "1.2.14"
@@ -1251,7 +1251,8 @@ def _done_via_pr(
1251
1251
  # `.wade/done@<pushed sha>` right before each push (so `done`'s own push
1252
1252
  # satisfies the pre-push backstop and the Stop hook reads the session as
1253
1253
  # finalized) and clears it on any push failure. A new commit changes the sha
1254
- # and invalidates the marker.
1254
+ # and invalidates the marker. A later PR-body read/write failure also clears
1255
+ # it, because a successful push alone does not complete finalization.
1255
1256
  marker_root = worktree_path or repo_root
1256
1257
  console.step("Pushing branch...")
1257
1258
  if not _push_branch_with_recovery(repo_root, branch, worktree_path, marker_root):
@@ -1388,13 +1389,18 @@ def _done_via_pr(
1388
1389
  return body.rstrip("\n") + "\n\n" + joined + "\n"
1389
1390
 
1390
1391
  if not update_body_preserving_markers(
1391
- read_body=lambda: git_pr.get_pr_body(repo_root, pr_number) or "",
1392
+ read_body=lambda: git_pr.get_pr_body(repo_root, pr_number),
1392
1393
  write_body=lambda b: git_pr.update_pr_body(repo_root, pr_number, b),
1393
1394
  transform=_transform,
1394
1395
  warn=console.warn,
1395
1396
  label=f"PR #{pr_number} body",
1396
1397
  ):
1397
- console.error("Could not update the PR body.")
1398
+ # Push needs the marker for its backstop, but a body read/write
1399
+ # failure means this finalization has not completed. Retrying must
1400
+ # read the current remote body again, never synthesize an empty one.
1401
+ markers.clear_markers(marker_root, "done")
1402
+ console.error("Could not read or update the current PR body.")
1403
+ console.hint("Re-run this session's done command to retry after resolving access.")
1398
1404
  return False
1399
1405
  console.success("PR body updated with summary.")
1400
1406
 
@@ -0,0 +1,212 @@
1
+ """Real-git release coherence without network dependencies or remote publication."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import os
6
+ import shutil
7
+ import subprocess
8
+ import sys
9
+ import tomllib
10
+ from pathlib import Path
11
+
12
+ import pytest
13
+
14
+ SCRIPT_ROOT = Path(__file__).resolve().parents[2] / "scripts"
15
+
16
+
17
+ def run(repo: Path, *args: str, check: bool = True) -> subprocess.CompletedProcess[str]:
18
+ env = os.environ.copy()
19
+ env["UV_PROJECT"] = str(repo)
20
+ env["UV_PROJECT_ENVIRONMENT"] = str(repo / ".venv")
21
+ env["UV_OFFLINE"] = "true"
22
+ return subprocess.run(args, cwd=repo, env=env, text=True, capture_output=True, check=check)
23
+
24
+
25
+ @pytest.fixture
26
+ def release_repo(tmp_path: Path) -> Path:
27
+ repo = tmp_path / "release"
28
+ (repo / "src/wade").mkdir(parents=True)
29
+ (repo / "scripts").mkdir()
30
+ for filename in ("auto_version.py", "changelog.py"):
31
+ shutil.copy2(SCRIPT_ROOT / filename, repo / "scripts" / filename)
32
+ (repo / "src/wade/__init__.py").write_text('__version__ = "1.2.12"\n')
33
+ (repo / "pyproject.toml").write_text(
34
+ '[project]\nname = "wade-cli"\nversion = "1.2.12"\nrequires-python = ">=3.11"\n'
35
+ )
36
+ (repo / ".gitignore").write_text(".venv/\n")
37
+ run(repo, "git", "init", "-b", "main")
38
+ run(repo, "git", "config", "user.name", "Release test")
39
+ run(repo, "git", "config", "user.email", "release@example.invalid")
40
+ run(repo, "uv", "lock")
41
+ run(repo, "git", "add", ".")
42
+ run(repo, "git", "commit", "-m", "chore: initial release fixture")
43
+ run(repo, "git", "tag", "-a", "v1.2.12", "-m", "Initial release")
44
+ # Reproduce the previous automatic bump: tracked lock remains one version behind.
45
+ (repo / "src/wade/__init__.py").write_text('__version__ = "1.2.13"\n')
46
+ (repo / "pyproject.toml").write_text(
47
+ (repo / "pyproject.toml").read_text().replace("1.2.12", "1.2.13")
48
+ )
49
+ (repo / "sentinel.txt").write_text("original\n")
50
+ run(repo, "git", "add", "src", "pyproject.toml", "sentinel.txt")
51
+ run(repo, "git", "commit", "-m", "fix: fixture preceding release")
52
+ run(repo, "git", "clone", "--bare", str(repo), str(tmp_path / "origin.git"))
53
+ run(repo, "git", "remote", "add", "origin", str(tmp_path / "origin.git"))
54
+ return repo
55
+
56
+
57
+ def assert_release(repo: Path, version: str) -> None:
58
+ def committed(path: str) -> str:
59
+ return run(repo, "git", "show", f"HEAD:{path}").stdout
60
+
61
+ assert committed("src/wade/__init__.py") == f'__version__ = "{version}"\n'
62
+ assert tomllib.loads(committed("pyproject.toml"))["project"]["version"] == version
63
+ packages = tomllib.loads(committed("uv.lock"))["package"]
64
+ assert next(p["version"] for p in packages if p["name"] == "wade-cli") == version
65
+ assert version in committed("CHANGELOG.md")
66
+ assert run(repo, "git", "cat-file", "-t", f"v{version}").stdout.strip() == "tag"
67
+ assert (
68
+ run(repo, "git", "rev-parse", f"v{version}^{{}}").stdout
69
+ == run(repo, "git", "rev-parse", "HEAD").stdout
70
+ )
71
+
72
+
73
+ def test_stale_lock_and_consecutive_workflow_cycles(release_repo: Path) -> None:
74
+ repo = release_repo
75
+ for version in ("1.2.14", "1.2.15"):
76
+ if version == "1.2.15":
77
+ run(repo, "git", "commit", "--allow-empty", "-m", "fix: next release fixture")
78
+ run(repo, "uv", "sync", "--all-extras")
79
+ run(repo, "uv", "run", "python", "scripts/auto_version.py", "patch")
80
+ assert_release(repo, version)
81
+ assert run(repo, "git", "status", "--porcelain").stdout == ""
82
+ run(repo, "git", "pull", "--rebase", "origin", "main")
83
+ run(repo, "uv", "sync", "--locked", "--all-extras")
84
+ assert run(repo, "git", "status", "--porcelain").stdout == ""
85
+
86
+
87
+ def test_unrelated_unstaged_edit_is_preserved(release_repo: Path) -> None:
88
+ repo = release_repo
89
+ (repo / "sentinel.txt").write_text("user edit\n")
90
+ run(repo, sys.executable, "scripts/auto_version.py", "patch")
91
+ assert_release(repo, "1.2.14")
92
+ assert run(repo, "git", "status", "--porcelain").stdout == " M sentinel.txt\n"
93
+ assert run(repo, "git", "show", "HEAD:sentinel.txt").stdout == "original\n"
94
+ assert (repo / "sentinel.txt").read_text() == "user edit\n"
95
+
96
+
97
+ def test_unrelated_staged_edit_rejected_before_writes(release_repo: Path) -> None:
98
+ repo = release_repo
99
+ (repo / "sentinel.txt").write_text("user edit\n")
100
+ run(repo, "git", "add", "sentinel.txt")
101
+ before = {
102
+ p: (repo / p).read_bytes() for p in ("pyproject.toml", "uv.lock", "src/wade/__init__.py")
103
+ }
104
+ head = run(repo, "git", "rev-parse", "HEAD").stdout
105
+ result = run(repo, sys.executable, "scripts/auto_version.py", "patch", check=False)
106
+ assert result.returncode != 0
107
+ assert "staged" in result.stderr.lower()
108
+ assert run(repo, "git", "rev-parse", "HEAD").stdout == head
109
+ assert not run(repo, "git", "tag", "--list", "v1.2.14").stdout
110
+ assert all((repo / p).read_bytes() == content for p, content in before.items())
111
+ assert run(repo, "git", "diff", "--cached", "--name-only").stdout == "sentinel.txt\n"
112
+
113
+
114
+ def test_direct_dry_run_push_leaves_everything_unchanged(release_repo: Path) -> None:
115
+ repo = release_repo
116
+ before = run(repo, "git", "status", "--porcelain").stdout
117
+ head = run(repo, "git", "rev-parse", "HEAD").stdout
118
+ files = {
119
+ p: (repo / p).read_bytes() for p in ("pyproject.toml", "uv.lock", "src/wade/__init__.py")
120
+ }
121
+ run(repo, sys.executable, "scripts/auto_version.py", "patch", "--dry-run", "--push")
122
+ assert run(repo, "git", "rev-parse", "HEAD").stdout == head
123
+ assert run(repo, "git", "status", "--porcelain").stdout == before
124
+ assert not run(repo, "git", "tag", "--list", "v1.2.14").stdout
125
+ assert all((repo / p).read_bytes() == content for p, content in files.items())
126
+
127
+
128
+ def test_lock_failure_keeps_head_index_tags_and_stops_push(
129
+ release_repo: Path,
130
+ tmp_path: Path,
131
+ ) -> None:
132
+ repo = release_repo
133
+ shim = tmp_path / "bin"
134
+ shim.mkdir()
135
+ (shim / "uv").write_text("#!/bin/sh\necho deliberate-lock-failure >&2\nexit 7\n")
136
+ (shim / "uv").chmod(0o755)
137
+ env = os.environ.copy()
138
+ env["PATH"] = str(shim) + os.pathsep + env["PATH"]
139
+ head = run(repo, "git", "rev-parse", "HEAD").stdout
140
+ tags = run(repo, "git", "tag").stdout
141
+ index = run(repo, "git", "diff", "--cached").stdout
142
+ result = subprocess.run(
143
+ [sys.executable, "scripts/auto_version.py", "patch", "--push"],
144
+ cwd=repo,
145
+ env=env,
146
+ capture_output=True,
147
+ text=True,
148
+ )
149
+ assert result.returncode != 0
150
+ assert "deliberate-lock-failure" in result.stderr
151
+ assert "no release commit/tag created" in result.stderr
152
+ assert run(repo, "git", "rev-parse", "HEAD").stdout == head
153
+ assert run(repo, "git", "tag").stdout == tags
154
+ assert run(repo, "git", "diff", "--cached").stdout == index
155
+ assert run(repo, "git", "ls-remote", "origin", "refs/tags/v1.2.14").stdout == ""
156
+ # Failed synchronization leaves visible release-file edits for inspection.
157
+ assert 'version = "1.2.14"' in (repo / "pyproject.toml").read_text()
158
+
159
+
160
+ def test_ambient_project_does_not_redirect_lock(release_repo: Path, tmp_path: Path) -> None:
161
+ repo = release_repo
162
+ other = tmp_path / "other"
163
+ other.mkdir()
164
+ (other / "pyproject.toml").write_text('[project]\nname = "other"\nversion = "9.0.0"\n')
165
+ env = os.environ.copy()
166
+ env["UV_PROJECT"] = str(other)
167
+ env["UV_OFFLINE"] = "true"
168
+ subprocess.run(
169
+ [sys.executable, "scripts/auto_version.py", "patch"],
170
+ cwd=repo,
171
+ env=env,
172
+ text=True,
173
+ capture_output=True,
174
+ check=True,
175
+ )
176
+ assert_release(repo, "1.2.14")
177
+ assert not (other / "uv.lock").exists()
178
+
179
+
180
+ @pytest.mark.parametrize("staged", [False, True])
181
+ def test_missing_tracked_lock_cannot_be_deleted_from_release(
182
+ release_repo: Path,
183
+ staged: bool,
184
+ ) -> None:
185
+ repo = release_repo
186
+ (repo / "uv.lock").unlink()
187
+ if staged:
188
+ run(repo, "git", "add", "uv.lock")
189
+ head = run(repo, "git", "rev-parse", "HEAD").stdout
190
+ result = run(repo, sys.executable, "scripts/auto_version.py", "patch", check=False)
191
+ assert result.returncode != 0
192
+ assert "tracked uv.lock is missing" in result.stderr
193
+ assert run(repo, "git", "rev-parse", "HEAD").stdout == head
194
+ assert (repo / "src/wade/__init__.py").read_text() == '__version__ = "1.2.13"\n'
195
+ assert not run(repo, "git", "tag", "--list", "v1.2.14").stdout
196
+
197
+
198
+ def test_inherited_frozen_setting_cannot_create_stale_release(release_repo: Path) -> None:
199
+ repo = release_repo
200
+ env = os.environ.copy()
201
+ env["UV_FROZEN"] = "true"
202
+ env["UV_OFFLINE"] = "true"
203
+ subprocess.run(
204
+ [sys.executable, "scripts/auto_version.py", "patch"],
205
+ cwd=repo,
206
+ env=env,
207
+ text=True,
208
+ capture_output=True,
209
+ check=True,
210
+ )
211
+ assert_release(repo, "1.2.14")
212
+ assert run(repo, "git", "status", "--porcelain").stdout == ""