multi-forge 0.2.0__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 (311) hide show
  1. multi_forge-0.2.0/.gitignore +78 -0
  2. multi_forge-0.2.0/LICENSE +203 -0
  3. multi_forge-0.2.0/NOTICE +14 -0
  4. multi_forge-0.2.0/PKG-INFO +242 -0
  5. multi_forge-0.2.0/README.md +201 -0
  6. multi_forge-0.2.0/pyproject.toml +154 -0
  7. multi_forge-0.2.0/src/agents/.gitkeep +0 -0
  8. multi_forge-0.2.0/src/commands/.gitkeep +0 -0
  9. multi_forge-0.2.0/src/forge/__init__.py +3 -0
  10. multi_forge-0.2.0/src/forge/backend/__init__.py +174 -0
  11. multi_forge-0.2.0/src/forge/backend/adapters/__init__.py +38 -0
  12. multi_forge-0.2.0/src/forge/backend/adapters/litellm.py +158 -0
  13. multi_forge-0.2.0/src/forge/backend/creation.py +89 -0
  14. multi_forge-0.2.0/src/forge/backend/registry.py +178 -0
  15. multi_forge-0.2.0/src/forge/cli/__init__.py +16 -0
  16. multi_forge-0.2.0/src/forge/cli/auth.py +483 -0
  17. multi_forge-0.2.0/src/forge/cli/backend.py +298 -0
  18. multi_forge-0.2.0/src/forge/cli/claude.py +411 -0
  19. multi_forge-0.2.0/src/forge/cli/config_cmd.py +303 -0
  20. multi_forge-0.2.0/src/forge/cli/extensions.py +1001 -0
  21. multi_forge-0.2.0/src/forge/cli/gc.py +165 -0
  22. multi_forge-0.2.0/src/forge/cli/guard.py +1018 -0
  23. multi_forge-0.2.0/src/forge/cli/guards.py +106 -0
  24. multi_forge-0.2.0/src/forge/cli/handoff.py +110 -0
  25. multi_forge-0.2.0/src/forge/cli/hooks/__init__.py +36 -0
  26. multi_forge-0.2.0/src/forge/cli/hooks/_group.py +20 -0
  27. multi_forge-0.2.0/src/forge/cli/hooks/_helpers.py +149 -0
  28. multi_forge-0.2.0/src/forge/cli/hooks/commands.py +1677 -0
  29. multi_forge-0.2.0/src/forge/cli/hooks/direct_commands.py +1304 -0
  30. multi_forge-0.2.0/src/forge/cli/hooks/install.py +232 -0
  31. multi_forge-0.2.0/src/forge/cli/hooks/policy.py +151 -0
  32. multi_forge-0.2.0/src/forge/cli/hooks/read_hygiene.py +74 -0
  33. multi_forge-0.2.0/src/forge/cli/hooks/verification.py +370 -0
  34. multi_forge-0.2.0/src/forge/cli/logs.py +406 -0
  35. multi_forge-0.2.0/src/forge/cli/main.py +292 -0
  36. multi_forge-0.2.0/src/forge/cli/proxy.py +1821 -0
  37. multi_forge-0.2.0/src/forge/cli/proxy_costs.py +313 -0
  38. multi_forge-0.2.0/src/forge/cli/search.py +416 -0
  39. multi_forge-0.2.0/src/forge/cli/session.py +892 -0
  40. multi_forge-0.2.0/src/forge/cli/session_addendum.py +81 -0
  41. multi_forge-0.2.0/src/forge/cli/session_fork.py +750 -0
  42. multi_forge-0.2.0/src/forge/cli/session_handoff.py +141 -0
  43. multi_forge-0.2.0/src/forge/cli/session_lifecycle.py +2053 -0
  44. multi_forge-0.2.0/src/forge/cli/session_manage.py +1336 -0
  45. multi_forge-0.2.0/src/forge/cli/session_memory.py +201 -0
  46. multi_forge-0.2.0/src/forge/cli/status_line.py +1398 -0
  47. multi_forge-0.2.0/src/forge/cli/workflow.py +1964 -0
  48. multi_forge-0.2.0/src/forge/config/__init__.py +110 -0
  49. multi_forge-0.2.0/src/forge/config/dataclass_utils.py +88 -0
  50. multi_forge-0.2.0/src/forge/config/defaults/__init__.py +0 -0
  51. multi_forge-0.2.0/src/forge/config/defaults/backends/__init__.py +0 -0
  52. multi_forge-0.2.0/src/forge/config/defaults/backends/litellm.yaml +196 -0
  53. multi_forge-0.2.0/src/forge/config/defaults/templates/__init__.py +0 -0
  54. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-anthropic-local.yaml +33 -0
  55. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-anthropic.yaml +24 -0
  56. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-gemini-flash-local.yaml +37 -0
  57. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-gemini-local.yaml +32 -0
  58. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-gemini-test.yaml +34 -0
  59. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-gemini.yaml +21 -0
  60. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-openai-codex-local.yaml +36 -0
  61. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-openai-local.yaml +38 -0
  62. multi_forge-0.2.0/src/forge/config/defaults/templates/litellm-openai.yaml +28 -0
  63. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-anthropic.yaml +23 -0
  64. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-deepseek.yaml +26 -0
  65. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-gemini-flash.yaml +26 -0
  66. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-gemini.yaml +23 -0
  67. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-glm.yaml +23 -0
  68. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-kimi.yaml +30 -0
  69. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-minimax.yaml +26 -0
  70. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-openai-codex.yaml +23 -0
  71. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-openai.yaml +28 -0
  72. multi_forge-0.2.0/src/forge/config/defaults/templates/openrouter-qwen.yaml +25 -0
  73. multi_forge-0.2.0/src/forge/config/loader.py +675 -0
  74. multi_forge-0.2.0/src/forge/config/schema.py +448 -0
  75. multi_forge-0.2.0/src/forge/core/__init__.py +5 -0
  76. multi_forge-0.2.0/src/forge/core/auth/__init__.py +67 -0
  77. multi_forge-0.2.0/src/forge/core/auth/capabilities.py +219 -0
  78. multi_forge-0.2.0/src/forge/core/auth/credentials_file.py +244 -0
  79. multi_forge-0.2.0/src/forge/core/auth/protocols.py +18 -0
  80. multi_forge-0.2.0/src/forge/core/auth/secrets.py +243 -0
  81. multi_forge-0.2.0/src/forge/core/auth/template_secrets.py +112 -0
  82. multi_forge-0.2.0/src/forge/core/data/__init__.py +5 -0
  83. multi_forge-0.2.0/src/forge/core/data/model_catalog.yaml +1522 -0
  84. multi_forge-0.2.0/src/forge/core/data/pricing.yaml +140 -0
  85. multi_forge-0.2.0/src/forge/core/data/system_prompt_addendums/__init__.py +0 -0
  86. multi_forge-0.2.0/src/forge/core/data/system_prompt_addendums/gemini.md +330 -0
  87. multi_forge-0.2.0/src/forge/core/data/system_prompt_addendums/openai.md +328 -0
  88. multi_forge-0.2.0/src/forge/core/llm/__init__.py +231 -0
  89. multi_forge-0.2.0/src/forge/core/llm/clients/__init__.py +14 -0
  90. multi_forge-0.2.0/src/forge/core/llm/clients/base.py +115 -0
  91. multi_forge-0.2.0/src/forge/core/llm/clients/litellm.py +619 -0
  92. multi_forge-0.2.0/src/forge/core/llm/clients/openai_compat.py +244 -0
  93. multi_forge-0.2.0/src/forge/core/llm/clients/openrouter.py +234 -0
  94. multi_forge-0.2.0/src/forge/core/llm/credentials.py +439 -0
  95. multi_forge-0.2.0/src/forge/core/llm/detection.py +86 -0
  96. multi_forge-0.2.0/src/forge/core/llm/errors.py +44 -0
  97. multi_forge-0.2.0/src/forge/core/llm/protocols.py +80 -0
  98. multi_forge-0.2.0/src/forge/core/llm/types.py +176 -0
  99. multi_forge-0.2.0/src/forge/core/logging.py +146 -0
  100. multi_forge-0.2.0/src/forge/core/models/__init__.py +91 -0
  101. multi_forge-0.2.0/src/forge/core/models/catalog.py +467 -0
  102. multi_forge-0.2.0/src/forge/core/models/pricing.py +165 -0
  103. multi_forge-0.2.0/src/forge/core/models/types.py +167 -0
  104. multi_forge-0.2.0/src/forge/core/naming.py +212 -0
  105. multi_forge-0.2.0/src/forge/core/ops/__init__.py +73 -0
  106. multi_forge-0.2.0/src/forge/core/ops/context.py +141 -0
  107. multi_forge-0.2.0/src/forge/core/ops/gc.py +802 -0
  108. multi_forge-0.2.0/src/forge/core/ops/proxy.py +146 -0
  109. multi_forge-0.2.0/src/forge/core/ops/resolution.py +135 -0
  110. multi_forge-0.2.0/src/forge/core/ops/session.py +344 -0
  111. multi_forge-0.2.0/src/forge/core/ops/session_context.py +548 -0
  112. multi_forge-0.2.0/src/forge/core/paths.py +38 -0
  113. multi_forge-0.2.0/src/forge/core/process.py +54 -0
  114. multi_forge-0.2.0/src/forge/core/reactive/__init__.py +38 -0
  115. multi_forge-0.2.0/src/forge/core/reactive/cost_tracking.py +300 -0
  116. multi_forge-0.2.0/src/forge/core/reactive/env.py +180 -0
  117. multi_forge-0.2.0/src/forge/core/reactive/proxy.py +78 -0
  118. multi_forge-0.2.0/src/forge/core/reactive/routing.py +622 -0
  119. multi_forge-0.2.0/src/forge/core/reactive/session_runner.py +185 -0
  120. multi_forge-0.2.0/src/forge/core/reactive/structured_output.py +62 -0
  121. multi_forge-0.2.0/src/forge/core/reactive/tagger.py +94 -0
  122. multi_forge-0.2.0/src/forge/core/reactive/throttle.py +132 -0
  123. multi_forge-0.2.0/src/forge/core/state/__init__.py +59 -0
  124. multi_forge-0.2.0/src/forge/core/state/exceptions.py +59 -0
  125. multi_forge-0.2.0/src/forge/core/state/io.py +140 -0
  126. multi_forge-0.2.0/src/forge/core/state/lock.py +99 -0
  127. multi_forge-0.2.0/src/forge/core/state/timestamps.py +60 -0
  128. multi_forge-0.2.0/src/forge/core/transcript.py +78 -0
  129. multi_forge-0.2.0/src/forge/core/typing_helpers.py +24 -0
  130. multi_forge-0.2.0/src/forge/core/workqueue/__init__.py +67 -0
  131. multi_forge-0.2.0/src/forge/core/workqueue/queue.py +552 -0
  132. multi_forge-0.2.0/src/forge/core/workqueue/types.py +63 -0
  133. multi_forge-0.2.0/src/forge/guard/__init__.py +26 -0
  134. multi_forge-0.2.0/src/forge/guard/deterministic/__init__.py +26 -0
  135. multi_forge-0.2.0/src/forge/guard/deterministic/base.py +158 -0
  136. multi_forge-0.2.0/src/forge/guard/deterministic/coding_standards.py +256 -0
  137. multi_forge-0.2.0/src/forge/guard/deterministic/registry.py +148 -0
  138. multi_forge-0.2.0/src/forge/guard/deterministic/tdd.py +171 -0
  139. multi_forge-0.2.0/src/forge/guard/engine.py +216 -0
  140. multi_forge-0.2.0/src/forge/guard/protocols.py +91 -0
  141. multi_forge-0.2.0/src/forge/guard/queries.py +96 -0
  142. multi_forge-0.2.0/src/forge/guard/semantic/__init__.py +34 -0
  143. multi_forge-0.2.0/src/forge/guard/semantic/promotion.py +18 -0
  144. multi_forge-0.2.0/src/forge/guard/semantic/supervisor.py +813 -0
  145. multi_forge-0.2.0/src/forge/guard/semantic/verdict.py +183 -0
  146. multi_forge-0.2.0/src/forge/guard/store.py +124 -0
  147. multi_forge-0.2.0/src/forge/guard/team/__init__.py +6 -0
  148. multi_forge-0.2.0/src/forge/guard/team/config.py +24 -0
  149. multi_forge-0.2.0/src/forge/guard/team/handlers.py +209 -0
  150. multi_forge-0.2.0/src/forge/guard/team/prompts.py +41 -0
  151. multi_forge-0.2.0/src/forge/guard/types.py +125 -0
  152. multi_forge-0.2.0/src/forge/guard/workflow/__init__.py +17 -0
  153. multi_forge-0.2.0/src/forge/guard/workflow/branches.py +67 -0
  154. multi_forge-0.2.0/src/forge/guard/workflow/config.py +63 -0
  155. multi_forge-0.2.0/src/forge/guard/workflow/divergence.py +113 -0
  156. multi_forge-0.2.0/src/forge/guard/workflow/policy.py +87 -0
  157. multi_forge-0.2.0/src/forge/guard/workflow/stages.py +205 -0
  158. multi_forge-0.2.0/src/forge/install/__init__.py +55 -0
  159. multi_forge-0.2.0/src/forge/install/cli.py +281 -0
  160. multi_forge-0.2.0/src/forge/install/exceptions.py +163 -0
  161. multi_forge-0.2.0/src/forge/install/hooks.py +109 -0
  162. multi_forge-0.2.0/src/forge/install/installer.py +1037 -0
  163. multi_forge-0.2.0/src/forge/install/models.py +321 -0
  164. multi_forge-0.2.0/src/forge/install/preset.py +272 -0
  165. multi_forge-0.2.0/src/forge/install/settings_merge.py +831 -0
  166. multi_forge-0.2.0/src/forge/install/tracking.py +238 -0
  167. multi_forge-0.2.0/src/forge/install/version.py +141 -0
  168. multi_forge-0.2.0/src/forge/proxy/__init__.py +0 -0
  169. multi_forge-0.2.0/src/forge/proxy/base_client.py +181 -0
  170. multi_forge-0.2.0/src/forge/proxy/client_adapter.py +476 -0
  171. multi_forge-0.2.0/src/forge/proxy/client_factory.py +531 -0
  172. multi_forge-0.2.0/src/forge/proxy/converters.py +1206 -0
  173. multi_forge-0.2.0/src/forge/proxy/cost_logger.py +132 -0
  174. multi_forge-0.2.0/src/forge/proxy/cost_tracker.py +242 -0
  175. multi_forge-0.2.0/src/forge/proxy/data_models.py +338 -0
  176. multi_forge-0.2.0/src/forge/proxy/error_hints.py +92 -0
  177. multi_forge-0.2.0/src/forge/proxy/metrics.py +222 -0
  178. multi_forge-0.2.0/src/forge/proxy/model_spec.py +158 -0
  179. multi_forge-0.2.0/src/forge/proxy/proxies.py +333 -0
  180. multi_forge-0.2.0/src/forge/proxy/proxy_identity.py +134 -0
  181. multi_forge-0.2.0/src/forge/proxy/proxy_orchestrator.py +1018 -0
  182. multi_forge-0.2.0/src/forge/proxy/proxy_startup.py +54 -0
  183. multi_forge-0.2.0/src/forge/proxy/server.py +1561 -0
  184. multi_forge-0.2.0/src/forge/proxy/utils.py +537 -0
  185. multi_forge-0.2.0/src/forge/review/__init__.py +6 -0
  186. multi_forge-0.2.0/src/forge/review/adversarial.py +111 -0
  187. multi_forge-0.2.0/src/forge/review/consensus.py +236 -0
  188. multi_forge-0.2.0/src/forge/review/engine.py +356 -0
  189. multi_forge-0.2.0/src/forge/review/models.py +437 -0
  190. multi_forge-0.2.0/src/forge/review/resources/__init__.py +5 -0
  191. multi_forge-0.2.0/src/forge/review/resources/codereview-performance.md +85 -0
  192. multi_forge-0.2.0/src/forge/review/resources/codereview-quick.md +75 -0
  193. multi_forge-0.2.0/src/forge/review/resources/codereview-security.md +92 -0
  194. multi_forge-0.2.0/src/forge/review/resources/codereview.md +85 -0
  195. multi_forge-0.2.0/src/forge/review/resources/docreview-quick.md +75 -0
  196. multi_forge-0.2.0/src/forge/review/resources/docreview.md +86 -0
  197. multi_forge-0.2.0/src/forge/review/resources/thinkdeep.md +89 -0
  198. multi_forge-0.2.0/src/forge/review/routing.py +368 -0
  199. multi_forge-0.2.0/src/forge/review/synthesis.py +73 -0
  200. multi_forge-0.2.0/src/forge/runtime_config.py +438 -0
  201. multi_forge-0.2.0/src/forge/search/__init__.py +55 -0
  202. multi_forge-0.2.0/src/forge/search/bm25_store.py +264 -0
  203. multi_forge-0.2.0/src/forge/search/content_store.py +197 -0
  204. multi_forge-0.2.0/src/forge/search/engine.py +352 -0
  205. multi_forge-0.2.0/src/forge/search/exceptions.py +51 -0
  206. multi_forge-0.2.0/src/forge/search/extractor.py +234 -0
  207. multi_forge-0.2.0/src/forge/search/index_state.py +295 -0
  208. multi_forge-0.2.0/src/forge/search/store.py +215 -0
  209. multi_forge-0.2.0/src/forge/search/tokenizer.py +24 -0
  210. multi_forge-0.2.0/src/forge/session/__init__.py +130 -0
  211. multi_forge-0.2.0/src/forge/session/active.py +339 -0
  212. multi_forge-0.2.0/src/forge/session/artifacts.py +202 -0
  213. multi_forge-0.2.0/src/forge/session/claude/__init__.py +50 -0
  214. multi_forge-0.2.0/src/forge/session/claude/cleanup.py +105 -0
  215. multi_forge-0.2.0/src/forge/session/claude/invoke.py +236 -0
  216. multi_forge-0.2.0/src/forge/session/claude/paths.py +200 -0
  217. multi_forge-0.2.0/src/forge/session/cleanup.py +216 -0
  218. multi_forge-0.2.0/src/forge/session/config.py +34 -0
  219. multi_forge-0.2.0/src/forge/session/direct_model.py +107 -0
  220. multi_forge-0.2.0/src/forge/session/effective.py +169 -0
  221. multi_forge-0.2.0/src/forge/session/exceptions.py +255 -0
  222. multi_forge-0.2.0/src/forge/session/handoff.py +881 -0
  223. multi_forge-0.2.0/src/forge/session/handoff_agent.py +544 -0
  224. multi_forge-0.2.0/src/forge/session/hooks/__init__.py +35 -0
  225. multi_forge-0.2.0/src/forge/session/hooks/models.py +73 -0
  226. multi_forge-0.2.0/src/forge/session/hooks/session_start.py +507 -0
  227. multi_forge-0.2.0/src/forge/session/identity.py +84 -0
  228. multi_forge-0.2.0/src/forge/session/index.py +553 -0
  229. multi_forge-0.2.0/src/forge/session/manager.py +1506 -0
  230. multi_forge-0.2.0/src/forge/session/models.py +572 -0
  231. multi_forge-0.2.0/src/forge/session/overrides.py +344 -0
  232. multi_forge-0.2.0/src/forge/session/plan_resolution.py +286 -0
  233. multi_forge-0.2.0/src/forge/session/prev_sessions.py +128 -0
  234. multi_forge-0.2.0/src/forge/session/store.py +431 -0
  235. multi_forge-0.2.0/src/forge/session/validation.py +47 -0
  236. multi_forge-0.2.0/src/forge/session/worktree/__init__.py +65 -0
  237. multi_forge-0.2.0/src/forge/session/worktree/cleanup.py +262 -0
  238. multi_forge-0.2.0/src/forge/session/worktree/config_copy.py +203 -0
  239. multi_forge-0.2.0/src/forge/session/worktree/create.py +332 -0
  240. multi_forge-0.2.0/src/forge/sidecar/__init__.py +29 -0
  241. multi_forge-0.2.0/src/forge/sidecar/container.py +161 -0
  242. multi_forge-0.2.0/src/forge/sidecar/docker.py +86 -0
  243. multi_forge-0.2.0/src/forge/sidecar/secrets.py +19 -0
  244. multi_forge-0.2.0/src/skills/analyze/SKILL.md +87 -0
  245. multi_forge-0.2.0/src/skills/challenge/SKILL.md +91 -0
  246. multi_forge-0.2.0/src/skills/consensus/SKILL.md +120 -0
  247. multi_forge-0.2.0/src/skills/consensus/resources/code_consensus_evaluation.md +94 -0
  248. multi_forge-0.2.0/src/skills/consensus/resources/consensus_evaluation.md +70 -0
  249. multi_forge-0.2.0/src/skills/consensus/resources/synthesis.md +101 -0
  250. multi_forge-0.2.0/src/skills/debate/SKILL.md +116 -0
  251. multi_forge-0.2.0/src/skills/debate/resources/code_debate_evaluation.md +101 -0
  252. multi_forge-0.2.0/src/skills/debate/resources/debate_evaluation.md +90 -0
  253. multi_forge-0.2.0/src/skills/panel/SKILL.md +141 -0
  254. multi_forge-0.2.0/src/skills/panel/resources/synthesis.md +103 -0
  255. multi_forge-0.2.0/src/skills/qa/SKILL.md +704 -0
  256. multi_forge-0.2.0/src/skills/qa/resources/checklist/0-enable.md +78 -0
  257. multi_forge-0.2.0/src/skills/qa/resources/checklist/1-preflight.md +24 -0
  258. multi_forge-0.2.0/src/skills/qa/resources/checklist/10-resume.md +143 -0
  259. multi_forge-0.2.0/src/skills/qa/resources/checklist/11-config.md +150 -0
  260. multi_forge-0.2.0/src/skills/qa/resources/checklist/12-search.md +58 -0
  261. multi_forge-0.2.0/src/skills/qa/resources/checklist/13-guard.md +237 -0
  262. multi_forge-0.2.0/src/skills/qa/resources/checklist/14-workflow.md +305 -0
  263. multi_forge-0.2.0/src/skills/qa/resources/checklist/15-skills.md +155 -0
  264. multi_forge-0.2.0/src/skills/qa/resources/checklist/16-handoff.md +224 -0
  265. multi_forge-0.2.0/src/skills/qa/resources/checklist/17-info.md +50 -0
  266. multi_forge-0.2.0/src/skills/qa/resources/checklist/18-disable.md +84 -0
  267. multi_forge-0.2.0/src/skills/qa/resources/checklist/19-uninstall.md +146 -0
  268. multi_forge-0.2.0/src/skills/qa/resources/checklist/2-extensions.md +188 -0
  269. multi_forge-0.2.0/src/skills/qa/resources/checklist/20-cleanup.md +36 -0
  270. multi_forge-0.2.0/src/skills/qa/resources/checklist/3-auth.md +234 -0
  271. multi_forge-0.2.0/src/skills/qa/resources/checklist/4-proxy.md +481 -0
  272. multi_forge-0.2.0/src/skills/qa/resources/checklist/5-session.md +541 -0
  273. multi_forge-0.2.0/src/skills/qa/resources/checklist/6-hooks.md +275 -0
  274. multi_forge-0.2.0/src/skills/qa/resources/checklist/7-costs.md +309 -0
  275. multi_forge-0.2.0/src/skills/qa/resources/checklist/8-status-line.md +174 -0
  276. multi_forge-0.2.0/src/skills/qa/resources/checklist/9-direct-commands.md +146 -0
  277. multi_forge-0.2.0/src/skills/qa/resources/checklist.md +103 -0
  278. multi_forge-0.2.0/src/skills/qa/resources/report-template.md +62 -0
  279. multi_forge-0.2.0/src/skills/qa/scripts/start-container.sh +529 -0
  280. multi_forge-0.2.0/src/skills/qa/scripts/walkthrough-state.py +1137 -0
  281. multi_forge-0.2.0/src/skills/review/SKILL.md +125 -0
  282. multi_forge-0.2.0/src/skills/review/references/claude-4.6.md +474 -0
  283. multi_forge-0.2.0/src/skills/review/references/claude-4.7.md +710 -0
  284. multi_forge-0.2.0/src/skills/review/references/gemini-3.1.md +546 -0
  285. multi_forge-0.2.0/src/skills/review/references/gpt-5.5.md +490 -0
  286. multi_forge-0.2.0/src/skills/review/references/skills-writing-guide.md +1588 -0
  287. multi_forge-0.2.0/src/skills/review/resources/code-anthropic.md +1 -0
  288. multi_forge-0.2.0/src/skills/review/resources/code-gemini.md +184 -0
  289. multi_forge-0.2.0/src/skills/review/resources/code-openai.md +203 -0
  290. multi_forge-0.2.0/src/skills/review/resources/code.md +160 -0
  291. multi_forge-0.2.0/src/skills/review-docs/SKILL.md +121 -0
  292. multi_forge-0.2.0/src/skills/review-docs/resources/docs-anthropic.md +1 -0
  293. multi_forge-0.2.0/src/skills/review-docs/resources/docs-gemini.md +204 -0
  294. multi_forge-0.2.0/src/skills/review-docs/resources/docs-openai.md +231 -0
  295. multi_forge-0.2.0/src/skills/review-docs/resources/docs.md +170 -0
  296. multi_forge-0.2.0/src/skills/smoke-test/SKILL.md +27 -0
  297. multi_forge-0.2.0/src/skills/smoke-test/scripts/smoke-test.sh +118 -0
  298. multi_forge-0.2.0/src/skills/understand/SKILL.md +148 -0
  299. multi_forge-0.2.0/src/skills/understand/resources/code-anthropic.md +1 -0
  300. multi_forge-0.2.0/src/skills/understand/resources/code-gemini.md +194 -0
  301. multi_forge-0.2.0/src/skills/understand/resources/code-openai.md +181 -0
  302. multi_forge-0.2.0/src/skills/understand/resources/code.md +163 -0
  303. multi_forge-0.2.0/src/skills/understand/resources/docs-anthropic.md +1 -0
  304. multi_forge-0.2.0/src/skills/understand/resources/docs-gemini.md +202 -0
  305. multi_forge-0.2.0/src/skills/understand/resources/docs-openai.md +191 -0
  306. multi_forge-0.2.0/src/skills/understand/resources/docs.md +177 -0
  307. multi_forge-0.2.0/src/skills/walkthrough/SKILL.md +599 -0
  308. multi_forge-0.2.0/src/skills/walkthrough/resources/checklist.md +765 -0
  309. multi_forge-0.2.0/src/skills/walkthrough/scripts/run-in-repo.sh +118 -0
  310. multi_forge-0.2.0/src/skills/walkthrough/scripts/setup-test-repo.sh +198 -0
  311. multi_forge-0.2.0/src/skills/walkthrough/scripts/walkthrough-state.py +1137 -0
@@ -0,0 +1,78 @@
1
+ # MacOS
2
+ .DS_Store
3
+
4
+ # PyCharm
5
+ .idea
6
+ *.iml
7
+ *.iws
8
+
9
+ # Virtual environment
10
+ .venv/
11
+ venv/
12
+ ENV/
13
+ env/
14
+
15
+ # Environment variables
16
+ .env
17
+ .envrc
18
+
19
+ # git files
20
+ .git
21
+
22
+ # Byte-compiled / optimized / DLL files
23
+ __pycache__/
24
+ *.py[codz]
25
+ *$py.class
26
+
27
+ # C extensions
28
+ *.so
29
+
30
+ # Distribution / packaging
31
+ .Python
32
+ build/
33
+ develop-eggs/
34
+ dist/
35
+ downloads/
36
+ eggs/
37
+ .eggs/
38
+ lib/
39
+ lib64/
40
+ parts/
41
+ sdist/
42
+ var/
43
+ wheels/
44
+ share/python-wheels/
45
+ *.egg-info/
46
+ .installed.cfg
47
+ *.egg
48
+ MANIFEST
49
+
50
+
51
+ # Jupyter Notebook
52
+ .ipynb_checkpoints
53
+
54
+ # IPython
55
+ profile_default/
56
+ ipython_config.py
57
+
58
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
59
+ __pypackages__/
60
+
61
+ # Claude Code local artifacts (machine-specific)
62
+ .claude/
63
+
64
+ # Codex local config
65
+ .agents
66
+ .codex/
67
+
68
+ # Forge local artifacts (machine-specific, may contain sensitive transcript snippets)
69
+ .forge/
70
+
71
+ # Runtime config files
72
+ config.yaml.runtime.*
73
+
74
+ # Logs (proxy and general)
75
+ logs/
76
+ src/forge/logs/
77
+ docker/certs/*.pem
78
+ docker/certs/*.crt
@@ -0,0 +1,203 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2025 Thomson Reuters
191
+ Copyright 2026 Habib Farr
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
@@ -0,0 +1,14 @@
1
+ Multi-Forge
2
+
3
+ Original work:
4
+ Copyright 2025 Thomson Reuters
5
+
6
+ Modifications and continued development:
7
+ Copyright 2026 Habib Farr
8
+
9
+ Originally developed as Claude Forge at Thomson Reuters and open-sourced
10
+ under the Apache License, Version 2.0. Continued as Multi-Forge by the
11
+ original author.
12
+
13
+ This product includes software developed at Thomson Reuters
14
+ (https://github.com/thomsonreuters/claude-forge).
@@ -0,0 +1,242 @@
1
+ Metadata-Version: 2.4
2
+ Name: multi-forge
3
+ Version: 0.2.0
4
+ Summary: Multi-runtime agent toolkit: proxy routing, cost control, session management, policy enforcement, and workflow orchestration
5
+ Project-URL: Homepage, https://github.com/hapa1i/multi-forge
6
+ Project-URL: Repository, https://github.com/hapa1i/multi-forge
7
+ Project-URL: Issues, https://github.com/hapa1i/multi-forge/issues
8
+ Project-URL: Documentation, https://github.com/hapa1i/multi-forge/tree/main/docs
9
+ Author-email: Habib Farr <hapali@pm.me>
10
+ License-Expression: Apache-2.0
11
+ License-File: LICENSE
12
+ License-File: NOTICE
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Operating System :: MacOS
17
+ Classifier: Operating System :: POSIX :: Linux
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development
23
+ Requires-Python: <3.14,>=3.11
24
+ Requires-Dist: click>=8.3.1
25
+ Requires-Dist: coolname<6,>=5.0.0
26
+ Requires-Dist: dacite>=1.8.0
27
+ Requires-Dist: fastapi>=0.115.11
28
+ Requires-Dist: httpx>=0.25.0
29
+ Requires-Dist: litellm[proxy]>=1.84.0
30
+ Requires-Dist: openai>=1.0.0
31
+ Requires-Dist: packaging>=21.0
32
+ Requires-Dist: pydantic>=2.0.0
33
+ Requires-Dist: python-dotenv>=1.2.2
34
+ Requires-Dist: pyyaml>=6.0.0
35
+ Requires-Dist: rich>=13.0.0
36
+ Requires-Dist: ruamel-yaml>=0.18.0
37
+ Requires-Dist: tenacity>=8.0.0
38
+ Requires-Dist: uvicorn>=0.31.1
39
+ Requires-Dist: watchfiles>=0.20
40
+ Description-Content-Type: text/markdown
41
+
42
+ # Multi-Forge
43
+
44
+ [![License](https://img.shields.io/github/license/hapa1i/multi-forge)](LICENSE)
45
+ [![Python](https://img.shields.io/badge/python-3.11--3.13-blue)](https://github.com/hapa1i/multi-forge)
46
+
47
+ > [!WARNING]
48
+ > **Research Preview** -- Forge is under active development. APIs, commands, and file formats may change without notice
49
+ > between releases. Not recommended for production use.
50
+
51
+ **Multi-runtime agent toolkit: proxy routing, cost control, session management, and policy enforcement for coding
52
+ agents.**
53
+
54
+ Forge sits between you and your coding agent (Claude Code today, Codex and Gemini next), adding persistent sessions,
55
+ multi-provider model routing, cost visibility with spend caps, and autonomous verification. You run
56
+ `forge session start` instead of `claude`, and Forge handles the rest -- routing to your chosen model provider, tracking
57
+ state across sessions, and enforcing policies.
58
+
59
+ ```bash
60
+ # Use Claude with session tracking (no proxy needed)
61
+ forge session start
62
+
63
+ # Or route through different model providers (after creating proxies -- see Quick Start)
64
+ forge session start planner --proxy openrouter-openai # GPT for planning
65
+ forge session start --proxy openrouter-gemini # Gemini for review
66
+ ```
67
+
68
+ ## Why Forge?
69
+
70
+ Claude Code talks to Anthropic and tracks conversations. Forge adds an operational layer on top:
71
+
72
+ - **Session Tracking** -- Named sessions that persist artifacts, plans, and transcripts. Works with or without a proxy.
73
+ - **Multi-Model Routing** -- Route to GPT, Gemini, or any model via OpenRouter or LiteLLM through a local proxy.
74
+ - **Cost Control** -- Proxy cost logs and spend caps keep metered API and multi-model workflow usage predictable.
75
+ - **Context Compatibility** -- When routing to models with different context windows, Forge sets the native
76
+ `CLAUDE_CODE_AUTO_COMPACT_WINDOW` so compaction timing matches the routed model.
77
+ - **Autonomous Loops** -- Verification policies that keep Claude working until tests pass.
78
+ - **Session Resume** -- When context fills up, hand off to a fresh session with structured or AI-curated history.
79
+ - **Policy Engine** -- TDD enforcement, coding standards, and semantic alignment checks.
80
+ - **Multi-Model Review** -- Fan out code reviews to multiple models, get adversarial consensus.
81
+
82
+ ### Why launch through Forge?
83
+
84
+ Running `claude` directly bypasses session tracking. When you launch through Forge (`forge session start`), you get:
85
+
86
+ | Feature | `claude` directly | `forge session start` |
87
+ | ---------------------- | ----------------- | --------------------------------------------- |
88
+ | Session tracking | No | Yes -- named sessions, artifacts, transcripts |
89
+ | Session resume | No | Yes -- editable handoff to fresh context |
90
+ | Status line | No | Yes -- proxy, session, policy info |
91
+ | Hook-driven artifacts | No | Yes -- plan snapshots, transcript capture |
92
+ | Policy enforcement | No | Yes -- TDD, coding standards, supervisor |
93
+ | Search across sessions | No | Yes -- `forge search` indexes transcripts |
94
+ | Handoff agent | No | Yes -- auto-updates project docs on exit |
95
+
96
+ Even without a proxy, `forge session start` gives you session tracking, hooks, and the status line (direct mode is the
97
+ default). The proxy adds multi-model routing on top. (`forge claude start` is also available as a bare launcher with
98
+ proxy routing only, no session state.)
99
+
100
+ ## How it Works
101
+
102
+ Forge runs a local proxy that translates Claude Code's Anthropic API calls into requests for any LLM provider. Claude
103
+ Code connects to this proxy (via `ANTHROPIC_BASE_URL`), and Forge handles model selection, session state, and policy
104
+ enforcement.
105
+
106
+ ```
107
+ Claude Code --> Forge Proxy (local) --> OpenRouter / LiteLLM --> Any LLM provider
108
+ |
109
+ Session state, policies, artifacts
110
+ ```
111
+
112
+ **OpenRouter** templates call the OpenRouter API directly -- no LiteLLM needed. One API key gives access to Anthropic,
113
+ OpenAI, Google, Meta, and other models. **LiteLLM** templates route through a
114
+ [LiteLLM](https://github.com/BerriAI/litellm) proxy (remote or local subprocess).
115
+
116
+ **Direct mode** (the default) skips the proxy and talks to Anthropic directly. `forge session start` gives you session
117
+ tracking, hooks, and all Forge features except multi-model routing. Use `--proxy` to add routing.
118
+
119
+ ## Requirements
120
+
121
+ - **Platform**: macOS or Linux
122
+ - **Python**: 3.11–3.13 (3.14 blocked on upstream `uvloop` wheels — see #1)
123
+ - **Claude Code**: installed and on PATH
124
+ - **Provider auth**: Claude Code login is enough for direct interactive sessions. Proxies and headless workflows need a
125
+ supported API or gateway credential such as `OPENROUTER_API_KEY`, `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`,
126
+ `OPENAI_API_KEY`, or LiteLLM auth.
127
+
128
+ ## Quick Start
129
+
130
+ ```bash
131
+ # Install Forge
132
+ pip install multi-forge
133
+
134
+ # Or for development (editable install from local clone):
135
+ git clone https://github.com/hapa1i/multi-forge.git
136
+ cd multi-forge && pip install -e .
137
+
138
+ # Install extensions (hooks, skills, status line) into Claude Code
139
+ forge extension enable
140
+
141
+ # Launch Claude with session tracking (no proxy needed)
142
+ forge session start
143
+
144
+ # Or with multi-model routing via OpenRouter (easiest, no LiteLLM):
145
+ forge auth login -c openrouter # Store OPENROUTER_API_KEY
146
+ forge proxy create openrouter-anthropic # Create and start a Claude-family proxy
147
+ forge session start --proxy openrouter-anthropic
148
+
149
+ # Optional: create default workflow proxies for GPT/Gemini review workers
150
+ forge proxy create openrouter-openai
151
+ forge proxy create openrouter-gemini
152
+
153
+ # Alternative: LiteLLM-based routing (shared/internal or local):
154
+ # forge auth login -c litellm-remote # Store API key + base URL
155
+ # forge proxy create litellm-openai # Connects to shared/internal LiteLLM
156
+ # forge proxy create litellm-openai-local # Or start local LiteLLM
157
+ ```
158
+
159
+ Once running, try `/forge:walkthrough` inside Claude Code for a guided tour in a sandboxed test environment.
160
+
161
+ ### Upgrading from Pre-OSS Forge
162
+
163
+ Existing pre-OSS Forge installs are not supported in-place. If upgrading:
164
+
165
+ 1. If Claude Code was previously patched, run `claude update` or reinstall Claude Code for a pristine binary.
166
+ 2. Remove stale Forge state: `rm ~/.forge/installed.json`
167
+ 3. Re-enable extensions: `forge extension enable`
168
+ 4. If you had `FORGE_CONTEXT_LIMIT` in your shell config, remove it. Use `CLAUDE_CODE_AUTO_COMPACT_WINDOW` for native
169
+ Claude Code behavior, or `forge config set context_limit=N` for Forge proxy fallback.
170
+
171
+ ### Example Workflow: Plan, Execute, Review
172
+
173
+ With proxies configured, a typical feature workflow looks like:
174
+
175
+ ```bash
176
+ # 1. Start a planning session with a high-reasoning model
177
+ forge session start planner --proxy openrouter-openai
178
+ # ... Claude creates a plan, you approve it, /exit
179
+
180
+ # 2. Fork the planner into a worktree with plan supervision
181
+ forge session fork planner --name executor --worktree --supervise
182
+ # ... Claude implements the plan; supervisor auto-checks every Write/Edit
183
+
184
+ # 3. Context fills up? Resume with AI-curated history (supervisor config carries over)
185
+ forge session resume executor --fresh --strategy ai-curated
186
+ # ... keeps working with fresh context
187
+
188
+ # 4. Fork the planner into the executor's worktree to review
189
+ forge session fork planner --into ../executor-worktree # Path to executor's worktree
190
+ # ... reviews with full plan context, suggests fixes
191
+
192
+ # 5. Push and create a PR for human review
193
+ git push origin feature-branch
194
+ ```
195
+
196
+ Each step uses the best model for the job. The `--supervise` flag wires the planner as a semantic supervisor -- every
197
+ code change is checked against the approved plan. Sessions track artifacts and transcripts automatically, so context
198
+ flows across forks and resumes. See the [end-user guide](docs/end-user/) for the full tour, or run `/forge:walkthrough`
199
+ inside Claude Code for an interactive walkthrough.
200
+
201
+ ## CLI Overview
202
+
203
+ | Command Group | Purpose |
204
+ | ---------------------- | -------------------------------------------- |
205
+ | `forge claude` | Bare launch, settings preset management |
206
+ | `forge session` | Named sessions, worktrees, resume, fork |
207
+ | `forge proxy` | Model routing, templates, tier mappings |
208
+ | `forge authentication` | Credential management (`credentials.yaml`) |
209
+ | `forge guard` | Policy enforcement, plan supervision |
210
+ | `forge workflow` | Workflow runners (panel, analyze, debate) |
211
+ | `forge search` | Transcript search across sessions |
212
+ | `forge config` | Runtime preferences (`~/.forge/config.yaml`) |
213
+ | `forge extension` | Enable/sync/disable extensions |
214
+ | `forge info` | System health and installation info |
215
+
216
+ Run `forge <command> --help` for details on any command.
217
+
218
+ ## Documentation
219
+
220
+ | Audience | Location | Contents |
221
+ | ---------------- | ---------------------------------- | ------------------------------------------------- |
222
+ | **Users** | [docs/end-user/](docs/end-user/) | Tour, guides for sessions, proxies, policies, ... |
223
+ | **Developers** | [docs/developer/](docs/developer/) | Setup, coding standards, testing guidelines |
224
+ | **Architecture** | [docs/design.md](docs/design.md) | System narrative, data flow, invariants |
225
+
226
+ ## Contributing
227
+
228
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup and PR guidelines.
229
+
230
+ ## Uninstall
231
+
232
+ ```bash
233
+ forge extension disable
234
+ pip uninstall multi-forge
235
+ ```
236
+
237
+ ## License
238
+
239
+ Apache 2.0 -- see [LICENSE](LICENSE).
240
+
241
+ Originally developed as Claude Forge at [Thomson Reuters](https://github.com/thomsonreuters/claude-forge) and
242
+ open-sourced under Apache 2.0. Continued as Multi-Forge by the original author.