gobby 0.2.5__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 (389) hide show
  1. gobby-0.2.5/LICENSE.md +193 -0
  2. gobby-0.2.5/PKG-INFO +351 -0
  3. gobby-0.2.5/README.md +307 -0
  4. gobby-0.2.5/pyproject.toml +212 -0
  5. gobby-0.2.5/setup.cfg +4 -0
  6. gobby-0.2.5/src/gobby/__init__.py +3 -0
  7. gobby-0.2.5/src/gobby/adapters/__init__.py +30 -0
  8. gobby-0.2.5/src/gobby/adapters/base.py +93 -0
  9. gobby-0.2.5/src/gobby/adapters/claude_code.py +276 -0
  10. gobby-0.2.5/src/gobby/adapters/codex.py +1292 -0
  11. gobby-0.2.5/src/gobby/adapters/gemini.py +343 -0
  12. gobby-0.2.5/src/gobby/agents/__init__.py +37 -0
  13. gobby-0.2.5/src/gobby/agents/codex_session.py +120 -0
  14. gobby-0.2.5/src/gobby/agents/constants.py +112 -0
  15. gobby-0.2.5/src/gobby/agents/context.py +362 -0
  16. gobby-0.2.5/src/gobby/agents/definitions.py +133 -0
  17. gobby-0.2.5/src/gobby/agents/gemini_session.py +111 -0
  18. gobby-0.2.5/src/gobby/agents/registry.py +618 -0
  19. gobby-0.2.5/src/gobby/agents/runner.py +968 -0
  20. gobby-0.2.5/src/gobby/agents/session.py +259 -0
  21. gobby-0.2.5/src/gobby/agents/spawn.py +916 -0
  22. gobby-0.2.5/src/gobby/agents/spawners/__init__.py +77 -0
  23. gobby-0.2.5/src/gobby/agents/spawners/base.py +142 -0
  24. gobby-0.2.5/src/gobby/agents/spawners/cross_platform.py +266 -0
  25. gobby-0.2.5/src/gobby/agents/spawners/embedded.py +225 -0
  26. gobby-0.2.5/src/gobby/agents/spawners/headless.py +226 -0
  27. gobby-0.2.5/src/gobby/agents/spawners/linux.py +125 -0
  28. gobby-0.2.5/src/gobby/agents/spawners/macos.py +277 -0
  29. gobby-0.2.5/src/gobby/agents/spawners/windows.py +308 -0
  30. gobby-0.2.5/src/gobby/agents/tty_config.py +319 -0
  31. gobby-0.2.5/src/gobby/autonomous/__init__.py +32 -0
  32. gobby-0.2.5/src/gobby/autonomous/progress_tracker.py +447 -0
  33. gobby-0.2.5/src/gobby/autonomous/stop_registry.py +269 -0
  34. gobby-0.2.5/src/gobby/autonomous/stuck_detector.py +383 -0
  35. gobby-0.2.5/src/gobby/cli/__init__.py +67 -0
  36. gobby-0.2.5/src/gobby/cli/__main__.py +8 -0
  37. gobby-0.2.5/src/gobby/cli/agents.py +529 -0
  38. gobby-0.2.5/src/gobby/cli/artifacts.py +266 -0
  39. gobby-0.2.5/src/gobby/cli/daemon.py +329 -0
  40. gobby-0.2.5/src/gobby/cli/extensions.py +526 -0
  41. gobby-0.2.5/src/gobby/cli/github.py +263 -0
  42. gobby-0.2.5/src/gobby/cli/init.py +53 -0
  43. gobby-0.2.5/src/gobby/cli/install.py +614 -0
  44. gobby-0.2.5/src/gobby/cli/installers/__init__.py +37 -0
  45. gobby-0.2.5/src/gobby/cli/installers/antigravity.py +65 -0
  46. gobby-0.2.5/src/gobby/cli/installers/claude.py +363 -0
  47. gobby-0.2.5/src/gobby/cli/installers/codex.py +192 -0
  48. gobby-0.2.5/src/gobby/cli/installers/gemini.py +294 -0
  49. gobby-0.2.5/src/gobby/cli/installers/git_hooks.py +377 -0
  50. gobby-0.2.5/src/gobby/cli/installers/shared.py +737 -0
  51. gobby-0.2.5/src/gobby/cli/linear.py +250 -0
  52. gobby-0.2.5/src/gobby/cli/mcp.py +30 -0
  53. gobby-0.2.5/src/gobby/cli/mcp_proxy.py +698 -0
  54. gobby-0.2.5/src/gobby/cli/memory.py +304 -0
  55. gobby-0.2.5/src/gobby/cli/merge.py +384 -0
  56. gobby-0.2.5/src/gobby/cli/projects.py +79 -0
  57. gobby-0.2.5/src/gobby/cli/sessions.py +622 -0
  58. gobby-0.2.5/src/gobby/cli/tasks/__init__.py +30 -0
  59. gobby-0.2.5/src/gobby/cli/tasks/_utils.py +658 -0
  60. gobby-0.2.5/src/gobby/cli/tasks/ai.py +1025 -0
  61. gobby-0.2.5/src/gobby/cli/tasks/commits.py +169 -0
  62. gobby-0.2.5/src/gobby/cli/tasks/crud.py +685 -0
  63. gobby-0.2.5/src/gobby/cli/tasks/deps.py +135 -0
  64. gobby-0.2.5/src/gobby/cli/tasks/labels.py +63 -0
  65. gobby-0.2.5/src/gobby/cli/tasks/main.py +273 -0
  66. gobby-0.2.5/src/gobby/cli/tasks/search.py +178 -0
  67. gobby-0.2.5/src/gobby/cli/tui.py +34 -0
  68. gobby-0.2.5/src/gobby/cli/utils.py +513 -0
  69. gobby-0.2.5/src/gobby/cli/workflows.py +927 -0
  70. gobby-0.2.5/src/gobby/cli/worktrees.py +481 -0
  71. gobby-0.2.5/src/gobby/config/__init__.py +129 -0
  72. gobby-0.2.5/src/gobby/config/app.py +551 -0
  73. gobby-0.2.5/src/gobby/config/extensions.py +167 -0
  74. gobby-0.2.5/src/gobby/config/features.py +472 -0
  75. gobby-0.2.5/src/gobby/config/llm_providers.py +98 -0
  76. gobby-0.2.5/src/gobby/config/logging.py +66 -0
  77. gobby-0.2.5/src/gobby/config/mcp.py +346 -0
  78. gobby-0.2.5/src/gobby/config/persistence.py +247 -0
  79. gobby-0.2.5/src/gobby/config/servers.py +141 -0
  80. gobby-0.2.5/src/gobby/config/sessions.py +250 -0
  81. gobby-0.2.5/src/gobby/config/tasks.py +784 -0
  82. gobby-0.2.5/src/gobby/hooks/__init__.py +104 -0
  83. gobby-0.2.5/src/gobby/hooks/artifact_capture.py +213 -0
  84. gobby-0.2.5/src/gobby/hooks/broadcaster.py +243 -0
  85. gobby-0.2.5/src/gobby/hooks/event_handlers.py +723 -0
  86. gobby-0.2.5/src/gobby/hooks/events.py +218 -0
  87. gobby-0.2.5/src/gobby/hooks/git.py +169 -0
  88. gobby-0.2.5/src/gobby/hooks/health_monitor.py +171 -0
  89. gobby-0.2.5/src/gobby/hooks/hook_manager.py +856 -0
  90. gobby-0.2.5/src/gobby/hooks/hook_types.py +575 -0
  91. gobby-0.2.5/src/gobby/hooks/plugins.py +813 -0
  92. gobby-0.2.5/src/gobby/hooks/session_coordinator.py +396 -0
  93. gobby-0.2.5/src/gobby/hooks/verification_runner.py +268 -0
  94. gobby-0.2.5/src/gobby/hooks/webhooks.py +339 -0
  95. gobby-0.2.5/src/gobby/install/claude/commands/gobby/bug.md +51 -0
  96. gobby-0.2.5/src/gobby/install/claude/commands/gobby/chore.md +51 -0
  97. gobby-0.2.5/src/gobby/install/claude/commands/gobby/epic.md +52 -0
  98. gobby-0.2.5/src/gobby/install/claude/commands/gobby/eval.md +235 -0
  99. gobby-0.2.5/src/gobby/install/claude/commands/gobby/feat.md +49 -0
  100. gobby-0.2.5/src/gobby/install/claude/commands/gobby/nit.md +52 -0
  101. gobby-0.2.5/src/gobby/install/claude/commands/gobby/ref.md +52 -0
  102. gobby-0.2.5/src/gobby/install/claude/hooks/HOOK_SCHEMAS.md +632 -0
  103. gobby-0.2.5/src/gobby/install/claude/hooks/hook_dispatcher.py +364 -0
  104. gobby-0.2.5/src/gobby/install/claude/hooks/validate_settings.py +102 -0
  105. gobby-0.2.5/src/gobby/install/claude/hooks-template.json +118 -0
  106. gobby-0.2.5/src/gobby/install/codex/hooks/hook_dispatcher.py +153 -0
  107. gobby-0.2.5/src/gobby/install/codex/prompts/forget.md +7 -0
  108. gobby-0.2.5/src/gobby/install/codex/prompts/memories.md +7 -0
  109. gobby-0.2.5/src/gobby/install/codex/prompts/recall.md +7 -0
  110. gobby-0.2.5/src/gobby/install/codex/prompts/remember.md +13 -0
  111. gobby-0.2.5/src/gobby/install/gemini/hooks/hook_dispatcher.py +268 -0
  112. gobby-0.2.5/src/gobby/install/gemini/hooks-template.json +138 -0
  113. gobby-0.2.5/src/gobby/install/shared/plugins/code_guardian.py +456 -0
  114. gobby-0.2.5/src/gobby/install/shared/plugins/example_notify.py +331 -0
  115. gobby-0.2.5/src/gobby/integrations/__init__.py +10 -0
  116. gobby-0.2.5/src/gobby/integrations/github.py +145 -0
  117. gobby-0.2.5/src/gobby/integrations/linear.py +145 -0
  118. gobby-0.2.5/src/gobby/llm/__init__.py +40 -0
  119. gobby-0.2.5/src/gobby/llm/base.py +120 -0
  120. gobby-0.2.5/src/gobby/llm/claude.py +578 -0
  121. gobby-0.2.5/src/gobby/llm/claude_executor.py +503 -0
  122. gobby-0.2.5/src/gobby/llm/codex.py +322 -0
  123. gobby-0.2.5/src/gobby/llm/codex_executor.py +513 -0
  124. gobby-0.2.5/src/gobby/llm/executor.py +316 -0
  125. gobby-0.2.5/src/gobby/llm/factory.py +34 -0
  126. gobby-0.2.5/src/gobby/llm/gemini.py +258 -0
  127. gobby-0.2.5/src/gobby/llm/gemini_executor.py +339 -0
  128. gobby-0.2.5/src/gobby/llm/litellm.py +287 -0
  129. gobby-0.2.5/src/gobby/llm/litellm_executor.py +303 -0
  130. gobby-0.2.5/src/gobby/llm/resolver.py +499 -0
  131. gobby-0.2.5/src/gobby/llm/service.py +236 -0
  132. gobby-0.2.5/src/gobby/mcp_proxy/__init__.py +29 -0
  133. gobby-0.2.5/src/gobby/mcp_proxy/actions.py +175 -0
  134. gobby-0.2.5/src/gobby/mcp_proxy/daemon_control.py +198 -0
  135. gobby-0.2.5/src/gobby/mcp_proxy/importer.py +436 -0
  136. gobby-0.2.5/src/gobby/mcp_proxy/lazy.py +325 -0
  137. gobby-0.2.5/src/gobby/mcp_proxy/manager.py +798 -0
  138. gobby-0.2.5/src/gobby/mcp_proxy/metrics.py +609 -0
  139. gobby-0.2.5/src/gobby/mcp_proxy/models.py +139 -0
  140. gobby-0.2.5/src/gobby/mcp_proxy/registries.py +215 -0
  141. gobby-0.2.5/src/gobby/mcp_proxy/schema_hash.py +381 -0
  142. gobby-0.2.5/src/gobby/mcp_proxy/semantic_search.py +706 -0
  143. gobby-0.2.5/src/gobby/mcp_proxy/server.py +549 -0
  144. gobby-0.2.5/src/gobby/mcp_proxy/services/__init__.py +0 -0
  145. gobby-0.2.5/src/gobby/mcp_proxy/services/fallback.py +306 -0
  146. gobby-0.2.5/src/gobby/mcp_proxy/services/recommendation.py +224 -0
  147. gobby-0.2.5/src/gobby/mcp_proxy/services/server_mgmt.py +214 -0
  148. gobby-0.2.5/src/gobby/mcp_proxy/services/system.py +72 -0
  149. gobby-0.2.5/src/gobby/mcp_proxy/services/tool_filter.py +231 -0
  150. gobby-0.2.5/src/gobby/mcp_proxy/services/tool_proxy.py +309 -0
  151. gobby-0.2.5/src/gobby/mcp_proxy/stdio.py +565 -0
  152. gobby-0.2.5/src/gobby/mcp_proxy/tools/__init__.py +27 -0
  153. gobby-0.2.5/src/gobby/mcp_proxy/tools/agents.py +1103 -0
  154. gobby-0.2.5/src/gobby/mcp_proxy/tools/artifacts.py +207 -0
  155. gobby-0.2.5/src/gobby/mcp_proxy/tools/hub.py +335 -0
  156. gobby-0.2.5/src/gobby/mcp_proxy/tools/internal.py +337 -0
  157. gobby-0.2.5/src/gobby/mcp_proxy/tools/memory.py +543 -0
  158. gobby-0.2.5/src/gobby/mcp_proxy/tools/merge.py +422 -0
  159. gobby-0.2.5/src/gobby/mcp_proxy/tools/metrics.py +283 -0
  160. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/__init__.py +23 -0
  161. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/cleanup.py +619 -0
  162. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/monitor.py +380 -0
  163. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/orchestrate.py +746 -0
  164. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/review.py +736 -0
  165. gobby-0.2.5/src/gobby/mcp_proxy/tools/orchestration/utils.py +16 -0
  166. gobby-0.2.5/src/gobby/mcp_proxy/tools/session_messages.py +1056 -0
  167. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_dependencies.py +219 -0
  168. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_expansion.py +591 -0
  169. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_github.py +393 -0
  170. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_linear.py +379 -0
  171. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_orchestration.py +77 -0
  172. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_readiness.py +522 -0
  173. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_sync.py +351 -0
  174. gobby-0.2.5/src/gobby/mcp_proxy/tools/task_validation.py +843 -0
  175. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/__init__.py +25 -0
  176. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_context.py +112 -0
  177. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_crud.py +516 -0
  178. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_factory.py +176 -0
  179. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_helpers.py +129 -0
  180. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_lifecycle.py +517 -0
  181. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_lifecycle_validation.py +301 -0
  182. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_resolution.py +55 -0
  183. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_search.py +215 -0
  184. gobby-0.2.5/src/gobby/mcp_proxy/tools/tasks/_session.py +125 -0
  185. gobby-0.2.5/src/gobby/mcp_proxy/tools/workflows.py +973 -0
  186. gobby-0.2.5/src/gobby/mcp_proxy/tools/worktrees.py +1264 -0
  187. gobby-0.2.5/src/gobby/mcp_proxy/transports/__init__.py +0 -0
  188. gobby-0.2.5/src/gobby/mcp_proxy/transports/base.py +95 -0
  189. gobby-0.2.5/src/gobby/mcp_proxy/transports/factory.py +44 -0
  190. gobby-0.2.5/src/gobby/mcp_proxy/transports/http.py +139 -0
  191. gobby-0.2.5/src/gobby/mcp_proxy/transports/stdio.py +213 -0
  192. gobby-0.2.5/src/gobby/mcp_proxy/transports/websocket.py +136 -0
  193. gobby-0.2.5/src/gobby/memory/backends/__init__.py +116 -0
  194. gobby-0.2.5/src/gobby/memory/backends/mem0.py +408 -0
  195. gobby-0.2.5/src/gobby/memory/backends/memu.py +485 -0
  196. gobby-0.2.5/src/gobby/memory/backends/null.py +111 -0
  197. gobby-0.2.5/src/gobby/memory/backends/openmemory.py +537 -0
  198. gobby-0.2.5/src/gobby/memory/backends/sqlite.py +304 -0
  199. gobby-0.2.5/src/gobby/memory/context.py +87 -0
  200. gobby-0.2.5/src/gobby/memory/manager.py +1001 -0
  201. gobby-0.2.5/src/gobby/memory/protocol.py +451 -0
  202. gobby-0.2.5/src/gobby/memory/search/__init__.py +66 -0
  203. gobby-0.2.5/src/gobby/memory/search/text.py +127 -0
  204. gobby-0.2.5/src/gobby/memory/viz.py +258 -0
  205. gobby-0.2.5/src/gobby/prompts/__init__.py +13 -0
  206. gobby-0.2.5/src/gobby/prompts/defaults/expansion/system.md +119 -0
  207. gobby-0.2.5/src/gobby/prompts/defaults/expansion/user.md +48 -0
  208. gobby-0.2.5/src/gobby/prompts/defaults/external_validation/agent.md +72 -0
  209. gobby-0.2.5/src/gobby/prompts/defaults/external_validation/external.md +63 -0
  210. gobby-0.2.5/src/gobby/prompts/defaults/external_validation/spawn.md +83 -0
  211. gobby-0.2.5/src/gobby/prompts/defaults/external_validation/system.md +6 -0
  212. gobby-0.2.5/src/gobby/prompts/defaults/features/import_mcp.md +22 -0
  213. gobby-0.2.5/src/gobby/prompts/defaults/features/import_mcp_github.md +17 -0
  214. gobby-0.2.5/src/gobby/prompts/defaults/features/import_mcp_search.md +16 -0
  215. gobby-0.2.5/src/gobby/prompts/defaults/features/recommend_tools.md +32 -0
  216. gobby-0.2.5/src/gobby/prompts/defaults/features/recommend_tools_hybrid.md +35 -0
  217. gobby-0.2.5/src/gobby/prompts/defaults/features/recommend_tools_llm.md +30 -0
  218. gobby-0.2.5/src/gobby/prompts/defaults/features/server_description.md +20 -0
  219. gobby-0.2.5/src/gobby/prompts/defaults/features/server_description_system.md +6 -0
  220. gobby-0.2.5/src/gobby/prompts/defaults/features/task_description.md +31 -0
  221. gobby-0.2.5/src/gobby/prompts/defaults/features/task_description_system.md +6 -0
  222. gobby-0.2.5/src/gobby/prompts/defaults/features/tool_summary.md +17 -0
  223. gobby-0.2.5/src/gobby/prompts/defaults/features/tool_summary_system.md +6 -0
  224. gobby-0.2.5/src/gobby/prompts/defaults/research/step.md +58 -0
  225. gobby-0.2.5/src/gobby/prompts/defaults/validation/criteria.md +47 -0
  226. gobby-0.2.5/src/gobby/prompts/defaults/validation/validate.md +38 -0
  227. gobby-0.2.5/src/gobby/prompts/loader.py +346 -0
  228. gobby-0.2.5/src/gobby/prompts/models.py +113 -0
  229. gobby-0.2.5/src/gobby/py.typed +0 -0
  230. gobby-0.2.5/src/gobby/runner.py +488 -0
  231. gobby-0.2.5/src/gobby/search/__init__.py +23 -0
  232. gobby-0.2.5/src/gobby/search/protocol.py +104 -0
  233. gobby-0.2.5/src/gobby/search/tfidf.py +232 -0
  234. gobby-0.2.5/src/gobby/servers/__init__.py +7 -0
  235. gobby-0.2.5/src/gobby/servers/http.py +636 -0
  236. gobby-0.2.5/src/gobby/servers/models.py +31 -0
  237. gobby-0.2.5/src/gobby/servers/routes/__init__.py +23 -0
  238. gobby-0.2.5/src/gobby/servers/routes/admin.py +416 -0
  239. gobby-0.2.5/src/gobby/servers/routes/dependencies.py +118 -0
  240. gobby-0.2.5/src/gobby/servers/routes/mcp/__init__.py +24 -0
  241. gobby-0.2.5/src/gobby/servers/routes/mcp/hooks.py +135 -0
  242. gobby-0.2.5/src/gobby/servers/routes/mcp/plugins.py +121 -0
  243. gobby-0.2.5/src/gobby/servers/routes/mcp/tools.py +1337 -0
  244. gobby-0.2.5/src/gobby/servers/routes/mcp/webhooks.py +159 -0
  245. gobby-0.2.5/src/gobby/servers/routes/sessions.py +582 -0
  246. gobby-0.2.5/src/gobby/servers/websocket.py +766 -0
  247. gobby-0.2.5/src/gobby/sessions/__init__.py +13 -0
  248. gobby-0.2.5/src/gobby/sessions/analyzer.py +322 -0
  249. gobby-0.2.5/src/gobby/sessions/lifecycle.py +240 -0
  250. gobby-0.2.5/src/gobby/sessions/manager.py +563 -0
  251. gobby-0.2.5/src/gobby/sessions/processor.py +225 -0
  252. gobby-0.2.5/src/gobby/sessions/summary.py +532 -0
  253. gobby-0.2.5/src/gobby/sessions/transcripts/__init__.py +41 -0
  254. gobby-0.2.5/src/gobby/sessions/transcripts/base.py +125 -0
  255. gobby-0.2.5/src/gobby/sessions/transcripts/claude.py +386 -0
  256. gobby-0.2.5/src/gobby/sessions/transcripts/codex.py +143 -0
  257. gobby-0.2.5/src/gobby/sessions/transcripts/gemini.py +195 -0
  258. gobby-0.2.5/src/gobby/storage/__init__.py +21 -0
  259. gobby-0.2.5/src/gobby/storage/agents.py +409 -0
  260. gobby-0.2.5/src/gobby/storage/artifact_classifier.py +341 -0
  261. gobby-0.2.5/src/gobby/storage/artifacts.py +285 -0
  262. gobby-0.2.5/src/gobby/storage/compaction.py +67 -0
  263. gobby-0.2.5/src/gobby/storage/database.py +357 -0
  264. gobby-0.2.5/src/gobby/storage/inter_session_messages.py +194 -0
  265. gobby-0.2.5/src/gobby/storage/mcp.py +680 -0
  266. gobby-0.2.5/src/gobby/storage/memories.py +562 -0
  267. gobby-0.2.5/src/gobby/storage/merge_resolutions.py +550 -0
  268. gobby-0.2.5/src/gobby/storage/migrations.py +860 -0
  269. gobby-0.2.5/src/gobby/storage/migrations_legacy.py +1359 -0
  270. gobby-0.2.5/src/gobby/storage/projects.py +166 -0
  271. gobby-0.2.5/src/gobby/storage/session_messages.py +251 -0
  272. gobby-0.2.5/src/gobby/storage/session_tasks.py +97 -0
  273. gobby-0.2.5/src/gobby/storage/sessions.py +817 -0
  274. gobby-0.2.5/src/gobby/storage/task_dependencies.py +223 -0
  275. gobby-0.2.5/src/gobby/storage/tasks/__init__.py +42 -0
  276. gobby-0.2.5/src/gobby/storage/tasks/_aggregates.py +180 -0
  277. gobby-0.2.5/src/gobby/storage/tasks/_crud.py +449 -0
  278. gobby-0.2.5/src/gobby/storage/tasks/_id.py +104 -0
  279. gobby-0.2.5/src/gobby/storage/tasks/_lifecycle.py +311 -0
  280. gobby-0.2.5/src/gobby/storage/tasks/_manager.py +889 -0
  281. gobby-0.2.5/src/gobby/storage/tasks/_models.py +300 -0
  282. gobby-0.2.5/src/gobby/storage/tasks/_ordering.py +119 -0
  283. gobby-0.2.5/src/gobby/storage/tasks/_path_cache.py +110 -0
  284. gobby-0.2.5/src/gobby/storage/tasks/_queries.py +343 -0
  285. gobby-0.2.5/src/gobby/storage/tasks/_search.py +143 -0
  286. gobby-0.2.5/src/gobby/storage/workflow_audit.py +393 -0
  287. gobby-0.2.5/src/gobby/storage/worktrees.py +547 -0
  288. gobby-0.2.5/src/gobby/sync/__init__.py +29 -0
  289. gobby-0.2.5/src/gobby/sync/github.py +333 -0
  290. gobby-0.2.5/src/gobby/sync/linear.py +304 -0
  291. gobby-0.2.5/src/gobby/sync/memories.py +284 -0
  292. gobby-0.2.5/src/gobby/sync/tasks.py +641 -0
  293. gobby-0.2.5/src/gobby/tasks/__init__.py +8 -0
  294. gobby-0.2.5/src/gobby/tasks/build_verification.py +193 -0
  295. gobby-0.2.5/src/gobby/tasks/commits.py +633 -0
  296. gobby-0.2.5/src/gobby/tasks/context.py +747 -0
  297. gobby-0.2.5/src/gobby/tasks/criteria.py +342 -0
  298. gobby-0.2.5/src/gobby/tasks/enhanced_validator.py +226 -0
  299. gobby-0.2.5/src/gobby/tasks/escalation.py +263 -0
  300. gobby-0.2.5/src/gobby/tasks/expansion.py +626 -0
  301. gobby-0.2.5/src/gobby/tasks/external_validator.py +764 -0
  302. gobby-0.2.5/src/gobby/tasks/issue_extraction.py +171 -0
  303. gobby-0.2.5/src/gobby/tasks/prompts/expand.py +327 -0
  304. gobby-0.2.5/src/gobby/tasks/research.py +421 -0
  305. gobby-0.2.5/src/gobby/tasks/tdd.py +352 -0
  306. gobby-0.2.5/src/gobby/tasks/tree_builder.py +263 -0
  307. gobby-0.2.5/src/gobby/tasks/validation.py +712 -0
  308. gobby-0.2.5/src/gobby/tasks/validation_history.py +357 -0
  309. gobby-0.2.5/src/gobby/tasks/validation_models.py +89 -0
  310. gobby-0.2.5/src/gobby/tools/__init__.py +0 -0
  311. gobby-0.2.5/src/gobby/tools/summarizer.py +170 -0
  312. gobby-0.2.5/src/gobby/tui/__init__.py +5 -0
  313. gobby-0.2.5/src/gobby/tui/api_client.py +281 -0
  314. gobby-0.2.5/src/gobby/tui/app.py +327 -0
  315. gobby-0.2.5/src/gobby/tui/screens/__init__.py +25 -0
  316. gobby-0.2.5/src/gobby/tui/screens/agents.py +333 -0
  317. gobby-0.2.5/src/gobby/tui/screens/chat.py +450 -0
  318. gobby-0.2.5/src/gobby/tui/screens/dashboard.py +377 -0
  319. gobby-0.2.5/src/gobby/tui/screens/memory.py +305 -0
  320. gobby-0.2.5/src/gobby/tui/screens/metrics.py +231 -0
  321. gobby-0.2.5/src/gobby/tui/screens/orchestrator.py +904 -0
  322. gobby-0.2.5/src/gobby/tui/screens/sessions.py +412 -0
  323. gobby-0.2.5/src/gobby/tui/screens/tasks.py +442 -0
  324. gobby-0.2.5/src/gobby/tui/screens/workflows.py +289 -0
  325. gobby-0.2.5/src/gobby/tui/screens/worktrees.py +174 -0
  326. gobby-0.2.5/src/gobby/tui/widgets/__init__.py +21 -0
  327. gobby-0.2.5/src/gobby/tui/widgets/chat.py +210 -0
  328. gobby-0.2.5/src/gobby/tui/widgets/conductor.py +104 -0
  329. gobby-0.2.5/src/gobby/tui/widgets/menu.py +132 -0
  330. gobby-0.2.5/src/gobby/tui/widgets/message_panel.py +160 -0
  331. gobby-0.2.5/src/gobby/tui/widgets/review_gate.py +224 -0
  332. gobby-0.2.5/src/gobby/tui/widgets/task_tree.py +99 -0
  333. gobby-0.2.5/src/gobby/tui/widgets/token_budget.py +166 -0
  334. gobby-0.2.5/src/gobby/tui/ws_client.py +258 -0
  335. gobby-0.2.5/src/gobby/utils/__init__.py +3 -0
  336. gobby-0.2.5/src/gobby/utils/daemon_client.py +235 -0
  337. gobby-0.2.5/src/gobby/utils/git.py +222 -0
  338. gobby-0.2.5/src/gobby/utils/id.py +38 -0
  339. gobby-0.2.5/src/gobby/utils/json_helpers.py +161 -0
  340. gobby-0.2.5/src/gobby/utils/logging.py +376 -0
  341. gobby-0.2.5/src/gobby/utils/machine_id.py +135 -0
  342. gobby-0.2.5/src/gobby/utils/metrics.py +589 -0
  343. gobby-0.2.5/src/gobby/utils/project_context.py +182 -0
  344. gobby-0.2.5/src/gobby/utils/project_init.py +263 -0
  345. gobby-0.2.5/src/gobby/utils/status.py +256 -0
  346. gobby-0.2.5/src/gobby/utils/validation.py +80 -0
  347. gobby-0.2.5/src/gobby/utils/version.py +23 -0
  348. gobby-0.2.5/src/gobby/workflows/__init__.py +4 -0
  349. gobby-0.2.5/src/gobby/workflows/actions.py +1310 -0
  350. gobby-0.2.5/src/gobby/workflows/approval_flow.py +138 -0
  351. gobby-0.2.5/src/gobby/workflows/artifact_actions.py +103 -0
  352. gobby-0.2.5/src/gobby/workflows/audit_helpers.py +110 -0
  353. gobby-0.2.5/src/gobby/workflows/autonomous_actions.py +286 -0
  354. gobby-0.2.5/src/gobby/workflows/context_actions.py +394 -0
  355. gobby-0.2.5/src/gobby/workflows/definitions.py +130 -0
  356. gobby-0.2.5/src/gobby/workflows/detection_helpers.py +208 -0
  357. gobby-0.2.5/src/gobby/workflows/engine.py +485 -0
  358. gobby-0.2.5/src/gobby/workflows/evaluator.py +669 -0
  359. gobby-0.2.5/src/gobby/workflows/git_utils.py +96 -0
  360. gobby-0.2.5/src/gobby/workflows/hooks.py +169 -0
  361. gobby-0.2.5/src/gobby/workflows/lifecycle_evaluator.py +613 -0
  362. gobby-0.2.5/src/gobby/workflows/llm_actions.py +70 -0
  363. gobby-0.2.5/src/gobby/workflows/loader.py +333 -0
  364. gobby-0.2.5/src/gobby/workflows/mcp_actions.py +60 -0
  365. gobby-0.2.5/src/gobby/workflows/memory_actions.py +272 -0
  366. gobby-0.2.5/src/gobby/workflows/premature_stop.py +164 -0
  367. gobby-0.2.5/src/gobby/workflows/session_actions.py +139 -0
  368. gobby-0.2.5/src/gobby/workflows/state_actions.py +123 -0
  369. gobby-0.2.5/src/gobby/workflows/state_manager.py +104 -0
  370. gobby-0.2.5/src/gobby/workflows/stop_signal_actions.py +163 -0
  371. gobby-0.2.5/src/gobby/workflows/summary_actions.py +344 -0
  372. gobby-0.2.5/src/gobby/workflows/task_actions.py +249 -0
  373. gobby-0.2.5/src/gobby/workflows/task_enforcement_actions.py +901 -0
  374. gobby-0.2.5/src/gobby/workflows/templates.py +52 -0
  375. gobby-0.2.5/src/gobby/workflows/todo_actions.py +84 -0
  376. gobby-0.2.5/src/gobby/workflows/webhook.py +223 -0
  377. gobby-0.2.5/src/gobby/workflows/webhook_executor.py +399 -0
  378. gobby-0.2.5/src/gobby/worktrees/__init__.py +5 -0
  379. gobby-0.2.5/src/gobby/worktrees/git.py +690 -0
  380. gobby-0.2.5/src/gobby/worktrees/merge/__init__.py +20 -0
  381. gobby-0.2.5/src/gobby/worktrees/merge/conflict_parser.py +177 -0
  382. gobby-0.2.5/src/gobby/worktrees/merge/resolver.py +485 -0
  383. gobby-0.2.5/src/gobby.egg-info/PKG-INFO +351 -0
  384. gobby-0.2.5/src/gobby.egg-info/SOURCES.txt +387 -0
  385. gobby-0.2.5/src/gobby.egg-info/dependency_links.txt +1 -0
  386. gobby-0.2.5/src/gobby.egg-info/entry_points.txt +2 -0
  387. gobby-0.2.5/src/gobby.egg-info/requires.txt +22 -0
  388. gobby-0.2.5/src/gobby.egg-info/top_level.txt +1 -0
  389. gobby-0.2.5/tests/test_runner.py +1720 -0
gobby-0.2.5/LICENSE.md ADDED
@@ -0,0 +1,193 @@
1
+ # Apache License
2
+ Version 2.0, January 2004
3
+ <http://www.apache.org/licenses/>
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1\. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to the Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2\. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3\. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4\. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5\. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6\. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7\. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8\. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9\. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 GobbyAI
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ <http://www.apache.org/licenses/LICENSE-2.0>
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
191
+
192
+ Copyright 2026 GobbyAI
193
+ SPDX-License-Identifier: Apache-2.0
gobby-0.2.5/PKG-INFO ADDED
@@ -0,0 +1,351 @@
1
+ Metadata-Version: 2.4
2
+ Name: gobby
3
+ Version: 0.2.5
4
+ Summary: A local-first daemon to unify your AI coding tools. Session tracking and handoffs across Claude Code, Gemini CLI, and Codex. An MCP proxy that discovers tools without flooding context. Task management with dependencies, validation, and TDD expansion. Agent spawning and worktree orchestration. Persistent memory, extensible workflows, and hooks.
5
+ Author-email: Josh Wilhelmi <josh@gobby.ai>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/GobbyAI/gobby
8
+ Project-URL: Repository, https://github.com/GobbyAI/gobby
9
+ Project-URL: Documentation, https://github.com/GobbyAI/gobby#readme
10
+ Project-URL: Issues, https://github.com/GobbyAI/gobby/issues
11
+ Keywords: cli,mcp,claude,gemini,codex,daemon,session-management
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
+ Requires-Python: >=3.13
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE.md
21
+ Requires-Dist: anthropic>=0.75.0
22
+ Requires-Dist: click>=8.1.0
23
+ Requires-Dist: fastapi>=0.115.0
24
+ Requires-Dist: fastmcp>=2.14.0
25
+ Requires-Dist: httpx>=0.27.0
26
+ Requires-Dist: litellm>=1.0.0
27
+ Requires-Dist: psutil>=6.1.0
28
+ Requires-Dist: py-machineid>=0.6.0
29
+ Requires-Dist: pydantic>=2.9.0
30
+ Requires-Dist: uvicorn[standard]>=0.30.0
31
+ Requires-Dist: websockets>=15.0
32
+ Requires-Dist: pyyaml>=6.0.3
33
+ Requires-Dist: jinja2>=3.1.0
34
+ Requires-Dist: claude-agent-sdk>=0.1.18
35
+ Requires-Dist: wcwidth>=0.2.14
36
+ Requires-Dist: tomli-w>=1.0.0
37
+ Requires-Dist: msgspec>=0.20.0
38
+ Requires-Dist: gitingest>=0.3.1
39
+ Requires-Dist: scikit-learn>=1.0.0
40
+ Requires-Dist: textual>=7.3.0
41
+ Requires-Dist: mem0ai
42
+ Requires-Dist: memu-py>=1.0.0
43
+ Dynamic: license-file
44
+
45
+ <!-- markdownlint-disable MD033 MD041 -->
46
+ <p align="center">
47
+ <img src="logo.png" alt="Gobby" width="200" />
48
+ </p>
49
+
50
+ <h1 align="center">Gobby</h1>
51
+
52
+ <p align="center">
53
+ <strong>The control plane for AI coding tools.</strong><br>
54
+ One daemon. All your agents. No more context window roulette.
55
+ </p>
56
+
57
+ <p align="center">
58
+ <a href="https://github.com/GobbyAI/gobby"><img src="built-with-gobby.svg" alt="Built with Gobby"></a>
59
+ <a href="https://github.com/GobbyAI/gobby/blob/main/LICENSE.md"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License"></a>
60
+ <a href="https://github.com/GobbyAI/gobby/stargazers"><img src="https://img.shields.io/github/stars/GobbyAI/gobby?style=flat" alt="Stars"></a>
61
+ <a href="https://github.com/GobbyAI/gobby/issues"><img src="https://img.shields.io/github/issues/GobbyAI/gobby" alt="Issues"></a>
62
+ </p>
63
+
64
+ ---
65
+
66
+ Gobby is a local-first daemon that unifies your AI coding assistants—Claude Code, Gemini CLI, and Codex—under one persistent, extensible platform. It handles the stuff these tools forget: sessions that survive restarts, context that carries across compactions, workflows that keep agents from going off the rails, and an MCP proxy that doesn't eat half your context window just loading tool definitions.
67
+
68
+ **Gobby is built with Gobby.** Most of this codebase was written by AI agents running through Gobby's own task system and workflows. Dogfooding isn't a buzzword here—it's the development process.
69
+
70
+ Note: Gobby is currently in alpha. Expect rough edges and breaking changes until the first stable release.
71
+
72
+ ## Why Gobby?
73
+
74
+ ### 🎯 A Task System That Actually Works
75
+
76
+ If you've tried Beads or TaskMaster, you know the pain: databases that corrupt, agents that can't figure out the schema, worktrees that fall out of sync. Gobby's task system was designed by someone who got fed up with all of them.
77
+
78
+ - **Dependency graphs** that agents actually understand
79
+ - **TDD expansion** — describe a feature, get red/green/blue subtasks with test-first ordering
80
+ - **Validation gates** — tasks can't close without passing criteria (with git diff context)
81
+ - **Git-native sync** — `.gobby/tasks.jsonl` lives in your repo, works with worktrees
82
+ - **Commit linking** — `[task-id] feat: thing` auto-links commits to tasks
83
+
84
+ ```bash
85
+ # Create a task
86
+ gobby tasks create "Add user authentication" --type feature
87
+
88
+ # Let the AI break it down with TDD ordering
89
+ gobby tasks expand <task-id>
90
+
91
+ # See what's ready to work on
92
+ gobby tasks list --ready
93
+ ```
94
+
95
+ ### 🔌 MCP Proxy Without the Token Tax
96
+
97
+ Connect 5 MCP servers and watch 50K+ tokens vanish before you write a single line of code. Gobby's proxy uses **progressive disclosure**—tools stay as lightweight metadata until you actually need them:
98
+
99
+ ```text
100
+ list_tools() → Just names and descriptions (~200 tokens)
101
+ get_tool_schema(name) → Full inputSchema when you need it
102
+ call_tool(name, args) → Execute
103
+ ```
104
+
105
+ Add servers dynamically. Import from GitHub repos. Search semantically. Your context window stays yours.
106
+
107
+ ### 🔄 Session Handoffs That Don't Lose the Plot
108
+
109
+ When you `/compact` in Claude Code, Gobby captures what matters: the goal, what you changed, git status, recent tool calls. Next session, it injects that context automatically. No more "wait, what were we doing?"
110
+
111
+ Works across CLIs too. Start in Claude Code, pick up in Gemini. Gobby remembers.
112
+
113
+ ### 🛤️ Workflows That Enforce Discipline
114
+
115
+ YAML-defined workflows with state machines, tool restrictions, and exit conditions:
116
+
117
+ ```yaml
118
+ # auto-task workflow: autonomous execution until task tree is complete
119
+ name: auto-task
120
+ steps:
121
+ - name: work
122
+ description: "Work on assigned task until complete"
123
+ allowed_tools: all
124
+ transitions:
125
+ - to: complete
126
+ when: "task_tree_complete(variables.session_task)"
127
+
128
+ - name: complete
129
+ description: "Task work finished - terminal step"
130
+
131
+ exit_condition: "task_tree_complete(variables.session_task)"
132
+
133
+ on_premature_stop:
134
+ action: guide_continuation
135
+ message: "Task has incomplete subtasks. Use suggest_next_task() and continue."
136
+ ```
137
+
138
+ Built-in workflows: `auto-task`, `plan-execute`, `test-driven`. Or write your own.
139
+
140
+ ### 🌳 Worktree Orchestration
141
+
142
+ Spawn agents in isolated git worktrees. Run tasks in parallel without stepping on each other. Gobby tracks which agent is where and what they're doing.
143
+
144
+ ```python
145
+ call_tool("gobby-worktrees", "spawn_agent_in_worktree", {
146
+ "prompt": "Implement OAuth flow",
147
+ "branch_name": "feature/oauth",
148
+ "task_id": "task-123"
149
+ })
150
+ ```
151
+
152
+ ## Quick Start
153
+
154
+ ```bash
155
+ # Clone and install
156
+ git clone https://github.com/GobbyAI/gobby.git
157
+ cd gobby
158
+ uv sync
159
+
160
+ # Start the daemon
161
+ uv run gobby start
162
+
163
+ # In your project directory
164
+ uv run gobby init
165
+ uv run gobby install # Installs hooks for detected CLIs
166
+
167
+ # Optional: install globally
168
+ uv pip install -e .
169
+ ```
170
+
171
+ **Requirements:** Python 3.11+, [uv](https://github.com/astral-sh/uv), at least one AI CLI ([Claude Code](https://claude.ai/code), [Gemini CLI](https://github.com/google-gemini/gemini-cli), or [Codex CLI](https://github.com/openai/codex))
172
+
173
+ Works with your Claude, Gemini, or Codex subscriptions—or bring your own API keys. Local model support coming soon.
174
+
175
+ ## Configure Your AI CLI
176
+
177
+ Add Gobby as an MCP server:
178
+
179
+ **Claude Code** (`.mcp.json` or `~/.claude.json`):
180
+
181
+ ```json
182
+ {
183
+ "mcpServers": {
184
+ "gobby": {
185
+ "command": "uv",
186
+ "args": ["run", "gobby", "mcp-server"]
187
+ }
188
+ }
189
+ }
190
+ ```
191
+
192
+ **Gemini CLI** (`.gemini/settings.json`):
193
+
194
+ ```json
195
+ {
196
+ "mcpServers": {
197
+ "gobby": {
198
+ "command": "uv",
199
+ "args": ["run", "gobby", "mcp-server"]
200
+ }
201
+ }
202
+ }
203
+ ```
204
+
205
+ **Codex CLI** (`~/.codex/config.toml`):
206
+
207
+ ```toml
208
+ [mcp_servers.gobby]
209
+ command = "uv"
210
+ args = ["run", "gobby", "mcp-server"]
211
+ ```
212
+
213
+ **Gemini Antigravity** (`~/.gemini/antigravity/mcp_config.json`):
214
+
215
+ ```json
216
+ {
217
+ "mcpServers": {
218
+ "gobby": {
219
+ "command": "/path/to/uv",
220
+ "args": ["run", "--directory", "/path/to/gobby", "gobby", "mcp-server"],
221
+ "disabled": false
222
+ }
223
+ }
224
+ }
225
+ ```
226
+
227
+ ## CLI Support
228
+
229
+ | CLI | Hooks | Status |
230
+ | :--- | :--- | :--- |
231
+ | **Claude Code** | ✅ All 14 types | Full support |
232
+ | **Gemini CLI** | ⏳ Ready | Waiting on upstream PR (see [#9070](https://github.com/google-gemini/gemini-cli/issues/9070)) |
233
+ | **Codex CLI** | 🔸 Basic | `after_agent` only |
234
+
235
+ ## How It Compares
236
+
237
+ | | Gobby | TaskMaster | Beads | mcp-agent |
238
+ | :--- | :---: | :---: | :---: | :---: |
239
+ | Task dependencies | ✅ | ✅ | ✅ | ❌ |
240
+ | TDD expansion | ✅ | ❌ | ❌ | ❌ |
241
+ | Validation gates | ✅ | ❌ | ❌ | ❌ |
242
+ | Progressive MCP discovery | ✅ | Partial | ❌ | ❌ |
243
+ | Multi-CLI orchestration | ✅ | ❌ | ❌ | ❌ |
244
+ | Session handoffs | ✅ | ❌ | ❌ | ❌ |
245
+ | YAML workflows | ✅ | ❌ | ❌ | ✅ |
246
+ | Worktree orchestration | ✅ | ❌ | ❌ | ❌ |
247
+ | Zero external deps | ✅ | ❌ | ✅ | ❌ |
248
+ | Local-first | ✅ | ✅ | ✅ | ✅ |
249
+
250
+ ## Architecture
251
+
252
+ ```text
253
+ AI CLI (Claude/Gemini/Codex)
254
+ │ hooks fire
255
+
256
+ Hook Dispatcher
257
+ │ HTTP POST
258
+
259
+ Gobby Daemon (:8765)
260
+
261
+ ┌────┴────┐
262
+ ▼ ▼
263
+ FastAPI FastMCP
264
+ │ │
265
+ ▼ ▼
266
+ ┌─────────────────────┐
267
+ │ HookManager │
268
+ │ SessionManager │
269
+ │ WorkflowEngine │
270
+ │ MCPClientProxy │
271
+ │ TaskStore │
272
+ │ MemoryStore │
273
+ └─────────────────────┘
274
+
275
+
276
+ SQLite
277
+ (~/.gobby/gobby-hub.db)
278
+ ```
279
+
280
+ Everything runs locally. No cloud. No API keys required (beyond what your AI CLIs need). Works offline.
281
+
282
+ ## MCP Tools
283
+
284
+ Gobby exposes tools via MCP that your AI coding assistant can use:
285
+
286
+ **Task Management** (`gobby-tasks`)
287
+ `create_task`, `expand_task`, `validate_task`, `close_task`, `list_ready_tasks`, `suggest_next_task`, `add_dependency`, `get_dependency_tree`, and more.
288
+
289
+ **Session Management** (`gobby-sessions`)
290
+ `pickup` (restore context), `get_handoff_context`, `list_sessions`
291
+
292
+ **Memory** (`gobby-memory`)
293
+ `remember`, `recall`, `forget` — persistent facts across sessions
294
+
295
+ **Workflows** (`gobby-workflows`)
296
+ `activate`, `advance`, `set_variable`, `get_status`
297
+
298
+ **Worktrees** (`gobby-worktrees`)
299
+ `create_worktree`, `spawn_agent_in_worktree`, `list_worktrees`
300
+
301
+ **MCP Proxy**
302
+ `list_mcp_servers`, `add_mcp_server`, `import_mcp_server`, `list_tools`, `get_tool_schema`, `call_tool`, `recommend_tools`
303
+
304
+ ## For AI Agents
305
+
306
+ **If you're an AI agent reading this:** Check out [docs/AGENT_INSTRUCTIONS.md](docs/AGENT_INSTRUCTIONS.md) for your operating procedures, and [CLAUDE.md](CLAUDE.md) for Claude Code-specific guidance.
307
+
308
+ ## Roadmap
309
+
310
+ See [ROADMAP.md](ROADMAP.md) for the full plan, but highlights:
311
+
312
+ **Shipped:** Task system v2 (commit linking, validation gates), TDD expansion v2 (red/green/blue generation), workflow engine, MCP proxy with progressive discovery, session tracking and handoffs, memory, hooks integration, worktree primitives
313
+
314
+ **In Progress:** Memory v3 (backend abstraction layer for external memory solutions: MemU, Mem0, OpenMemory)
315
+
316
+ **Next:** Autonomous orchestration, TUI, Web UI (for remote access to your agents), Observability (tool call tracing, OpenTelemetry), Security posture for MCP (allow/deny lists, audit logging)
317
+
318
+ **Vision:** Always local first, but Pro cloud features to keep the lights on: Fleet management (manage sessions across multiple machines), Plugin ecosystem, Team workflows, Enterprise hardening
319
+
320
+ ## Development
321
+
322
+ ```bash
323
+ uv sync # Install deps
324
+ uv run gobby start -v # Run daemon (verbose)
325
+ uv run pytest # Tests
326
+ uv run ruff check src/ # Lint
327
+ uv run mypy src/ # Type check
328
+ ```
329
+
330
+ Coverage threshold: 80%. We're serious about it.
331
+
332
+ ## Contributing
333
+
334
+ We'd love your help. Gobby is built by developers who got frustrated with the state of AI coding tool orchestration. If that's you too, jump in:
335
+
336
+ - **Found a bug?** Open an issue
337
+ - **Have a feature idea?** Open a discussion first
338
+ - **Want to contribute code?** PRs welcome — check the roadmap for what's in flight
339
+ - **UI/UX skills?** We *really* need you. The maintainer is colorblind and Photoshop makes him itch.
340
+
341
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
342
+
343
+ ## License
344
+
345
+ [Apache 2.0](LICENSE.md) — Use it, fork it, build on it.
346
+
347
+ ---
348
+
349
+ <p align="center">
350
+ <sub>Built with 🤖 by humans and AI, working together.</sub>
351
+ </p>