@moretea-labs/forge 1.8.1 → 1.8.2

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 (328) hide show
  1. package/AGENTS.md +5 -2
  2. package/CHANGELOG.md +20 -0
  3. package/README.en.md +24 -3
  4. package/README.md +10 -6
  5. package/README.zh-CN.md +5 -3
  6. package/THIRD_PARTY_NOTICES.md +1 -2
  7. package/adapters/chatgpt/browser-delivery-runtime.ts +5 -3
  8. package/adapters/chatgpt/provider-delivery.ts +1 -1
  9. package/adapters/chatgpt/work-conversation-binding-store.ts +20 -1
  10. package/adapters/computer/chatgpt-extension-target.ts +295 -50
  11. package/adapters/computer/chrome-extension/background.js +227 -71
  12. package/adapters/computer/chrome-extension/content.js +181 -157
  13. package/adapters/computer/chrome-extension/manifest.json +3 -1
  14. package/adapters/computer/desktop-operator-provider.ts +18 -6
  15. package/adapters/computer/interaction-target-authority.ts +39 -9
  16. package/adapters/mcp/access-mode.ts +18 -39
  17. package/adapters/mcp/auth.ts +2 -6
  18. package/adapters/mcp/instructions.ts +2 -2
  19. package/adapters/mcp/multi-repository.ts +7 -28
  20. package/adapters/mcp/runtime-gateway/context-adapter.ts +79 -40
  21. package/adapters/mcp/runtime-gateway/context-pack-sidecar.ts +7 -15
  22. package/adapters/mcp/runtime-gateway/execution-tools.ts +7 -13
  23. package/adapters/mcp/runtime-gateway/plugin-adapter.ts +16 -3
  24. package/adapters/mcp/runtime-gateway/process-tools.ts +3 -21
  25. package/adapters/mcp/runtime-gateway/router.ts +3 -5
  26. package/adapters/mcp/runtime-gateway/routing-policy.ts +17 -10
  27. package/adapters/mcp/runtime-gateway/runtime-observation-adapter.ts +1 -1
  28. package/adapters/mcp/runtime-gateway/runtime-tool-definitions.ts +14 -9
  29. package/adapters/mcp/runtime-gateway/runtime-tools.ts +1 -5
  30. package/adapters/mcp/runtime-gateway/scheduler-adapter.ts +36 -1
  31. package/adapters/mcp/runtime-gateway/status-inbox-adapter.ts +58 -4
  32. package/adapters/mcp/runtime-gateway/typescript-navigation-sidecar.ts +7 -3
  33. package/adapters/mcp/runtime-gateway/work-adapter.ts +16 -16
  34. package/adapters/mcp/runtime-gateway/work-input-wire-migration.ts +0 -17
  35. package/adapters/mcp/runtime-gateway/work-semantic-operations.ts +69 -12
  36. package/adapters/mcp/runtime-gateway/workflow-supervisor-adapter.ts +26 -2
  37. package/adapters/mcp/server.ts +24 -3
  38. package/adapters/mcp/setup.ts +4 -10
  39. package/adapters/mcp/tool-mapping/access-tools.ts +0 -6
  40. package/adapters/mcp/tool-mapping/legacy-tool-service.ts +672 -2935
  41. package/adapters/mcp/tool-mapping/post-finalize-work-attribution.ts +1 -1
  42. package/adapters/mcp/tool-mapping/repository-tools.ts +52 -86
  43. package/adapters/mcp/toolset-names.ts +11 -42
  44. package/adapters/mcp/toolset.ts +16 -90
  45. package/{src/cli → adapters}/mcp/transports/AGENTS.md +5 -5
  46. package/{src/cli → adapters}/mcp/transports/CLAUDE.md +5 -5
  47. package/adapters/mcp/transports/http-observation.ts +18 -6
  48. package/adapters/mcp/transports/http-post-lifecycle.ts +19 -0
  49. package/adapters/mcp/transports/http.ts +54 -14
  50. package/adapters/mcp/types.ts +0 -6
  51. package/assets/hooks/lib/session-state.sh +0 -38
  52. package/assets/hooks/post-bash.sh +1 -1
  53. package/assets/hooks/post-tool-observer.sh +0 -5
  54. package/assets/hooks/prompt-guard.sh +0 -55
  55. package/assets/partials/04-project-structure.partial.md +1 -1
  56. package/assets/partials/07-footer.partial.md +1 -1
  57. package/assets/partials-agents/02-operating-mode.partial.md +1 -1
  58. package/assets/partials-agents/08-deep-docs.partial.md +1 -1
  59. package/assets/reference-configs/agentic-development-flow.md +1 -1
  60. package/assets/reference-configs/external-tooling.md +0 -76
  61. package/assets/reference-configs/release-deploy.md +1 -1
  62. package/assets/templates/helpers/architecture-queue.sh +1 -1
  63. package/assets/templates/helpers/check-agent-tooling.sh +1 -327
  64. package/assets/templates/helpers/check-task-workflow.sh +1 -1
  65. package/assets/templates/helpers/ensure-task-workflow.sh +0 -14
  66. package/assets/templates/helpers/migrate-project-template.sh +2 -2
  67. package/assets/workflow-contract.v1.json +0 -2
  68. package/docs/README.md +5 -2
  69. package/docs/architecture/CURRENT.md +114 -30
  70. package/docs/architecture/decisions/20260904-ios-device-migration-baseline.md +42 -0
  71. package/docs/architecture/decisions/20260918-stable-candidate-release-lifecycle.md +15 -2
  72. package/docs/architecture/decisions/20260924-thin-semantic-working-context.md +4 -2
  73. package/docs/architecture/decisions/20261001-supervisor-turn-authority.md +109 -4
  74. package/docs/architecture/decisions/20261009-exact-code-context-discovery.md +19 -0
  75. package/docs/architecture/decisions/20261009-generated-xcode-cache-retention.md +37 -0
  76. package/docs/architecture/decisions/20261011-autonomous-continuation-convergence.md +597 -0
  77. package/docs/architecture/decisions/20261017-edit-session-finalization-reconciliation.md +17 -0
  78. package/docs/architecture/decisions/20261019-retire-host-skills.md +16 -0
  79. package/docs/architecture/diagrams/agentic-dev-plugin-architecture.html +1 -1
  80. package/docs/architecture/domains/public-surface.md +3 -5
  81. package/docs/architecture/domains/verification.md +5 -5
  82. package/docs/architecture/modules/controller-runtime/transport-lifecycle.md +2 -2
  83. package/docs/architecture/requests/2026-09-04-computer-plugin-workflow-taxonomy.md +4 -4
  84. package/docs/architecture/reviews/20261015-code-search-runtime-acceptance.md +75 -0
  85. package/docs/forge-plugin-management.md +14 -2
  86. package/docs/operations/controller-browser-plugin.md +23 -0
  87. package/docs/operations/features.md +6 -7
  88. package/docs/operations/features.zh-CN.md +1 -1
  89. package/docs/operations/github-repository.md +4 -4
  90. package/docs/operations/github-semantic-release-projection.md +20 -0
  91. package/docs/operations/homebrew.md +2 -2
  92. package/docs/operations/mcp-tool-exposure.md +13 -54
  93. package/docs/operations/runtime-performance-diagnostics.md +8 -0
  94. package/docs/operations/standalone-disaster-recovery.md +1 -1
  95. package/docs/tutorials/01-install-and-start.zh-CN.md +1 -1
  96. package/docs/tutorials/03-first-repository-task.md +2 -0
  97. package/docs/wiki/Computer-and-Plugins.md +78 -0
  98. package/docs/wiki/Computer-and-Plugins.zh-CN.md +88 -0
  99. package/docs/wiki/Home.md +16 -2
  100. package/docs/wiki/Implementation.md +24 -12
  101. package/docs/wiki/Installation.md +28 -32
  102. package/docs/wiki/Integrations.md +4 -0
  103. package/docs/wiki/Quick-Start.md +35 -22
  104. package/docs/wiki/Releases-and-Upgrades.md +15 -25
  105. package/docs/wiki/_Sidebar.md +5 -1
  106. package/package.json +1 -12
  107. package/packages/kernel/controller/infrastructure/controller-session-store.ts +63 -38
  108. package/packages/kernel/identity/infrastructure/activity-projection-store.ts +10 -0
  109. package/packages/kernel/scheduler/application/eligibility.ts +4 -1
  110. package/packages/kernel/scheduler/infrastructure/schedule-store.ts +13 -10
  111. package/packages/kernel/work/application/work-service.ts +1 -0
  112. package/packages/kernel/work/domain/repository-completion-receipt.ts +1 -1
  113. package/packages/kernel/work/domain/state-machine.ts +9 -2
  114. package/packages/kernel/work/infrastructure/work-contract-store.ts +28 -1
  115. package/packages/plugin-runtime/browser/provider-registry.ts +12 -36
  116. package/packages/plugin-runtime/computer/conversation-target.ts +17 -7
  117. package/scripts/assemble-template.ts +11 -72
  118. package/scripts/check-mcp-compatibility.ts +55 -74
  119. package/scripts/check-package-identity.mjs +0 -5
  120. package/scripts/check-runtime-architecture.mjs +305 -28
  121. package/scripts/init-project.sh +0 -46
  122. package/scripts/install-ios-hid-toolchain.sh +60 -0
  123. package/scripts/install-standalone-recovery.ts +1 -1
  124. package/scripts/lib/project-init-lib.sh +3 -3
  125. package/scripts/migrate-windows-wsl-controller-home.ts +2 -0
  126. package/scripts/open-source-audit-allowlist.txt +0 -1
  127. package/scripts/run-governed-gate.ts +2 -0
  128. package/scripts/smoke-ios-physical-device.ts +38 -10
  129. package/scripts/smoke-mcp-http-runtime.ts +7 -8
  130. package/scripts/smoke-mcp-tool-surface.ts +27 -41
  131. package/scripts/smoke-workflow-supervisor-chrome-adapter.ts +6 -3
  132. package/scripts/sync-generated-authority.mjs +0 -1
  133. package/src/cli/agent-jobs/executor-health.ts +1 -1
  134. package/src/cli/agent-jobs/integration.ts +2 -2
  135. package/src/cli/chatgpt-browser/file-policy.ts +2 -2
  136. package/src/cli/commands/doctor.ts +1 -143
  137. package/src/cli/commands/global-runtime.ts +3 -196
  138. package/src/cli/commands/init-hook.ts +6 -23
  139. package/src/cli/commands/init.ts +3 -252
  140. package/src/cli/commands/mcp.ts +0 -5
  141. package/src/cli/commands/prompt-guard-decision.ts +0 -2
  142. package/src/cli/commands/recovery.ts +2 -14
  143. package/src/cli/commands/repository.ts +17 -1
  144. package/src/cli/commands/setup-execution.ts +41 -0
  145. package/src/cli/controller/completion-orchestrator.ts +1 -1
  146. package/src/cli/controller/composite-operations.ts +1 -1
  147. package/src/cli/controller/context/instruction-context.ts +1 -1
  148. package/src/cli/controller/context/known-paths.ts +2 -2
  149. package/src/cli/controller/context/query-planning.ts +11 -4
  150. package/src/cli/controller/context/rule-resolution.ts +2 -2
  151. package/src/cli/controller/context/source-materializer.ts +2 -2
  152. package/src/cli/controller/context/structural-provider.ts +84 -0
  153. package/src/cli/controller/context/structural.ts +6 -6
  154. package/src/cli/controller/context/types.ts +8 -9
  155. package/src/cli/controller/context-pack.ts +97 -76
  156. package/src/cli/controller/operational-plan.ts +1 -1
  157. package/src/cli/controller/systemd-user.ts +4 -10
  158. package/src/cli/editing/edit-session.ts +17 -5
  159. package/src/cli/github/github.ts +4 -4
  160. package/src/cli/github/semantic-projection.ts +174 -0
  161. package/src/cli/hook/prompt-intents.ts +0 -9
  162. package/src/cli/index.ts +1 -43
  163. package/src/cli/local-bridge/connector-freshness.ts +1 -12
  164. package/src/cli/local-bridge/console-automations.ts +1 -1
  165. package/src/cli/local-bridge/console-view-models.ts +1 -1
  166. package/src/cli/local-bridge/facade-api.ts +0 -2
  167. package/src/cli/repositories/command-classifier.ts +0 -9
  168. package/src/cli/repositories/command-scope.ts +2 -2
  169. package/src/cli/repositories/locks.ts +20 -0
  170. package/src/cli/repositories/registry.ts +2 -1
  171. package/src/cli/repositories/safe-patch.ts +2 -12
  172. package/src/cli/repositories/structured-git.ts +39 -3
  173. package/src/cli/repository/inspector.ts +185 -343
  174. package/src/effects/process-runner.ts +17 -1
  175. package/src/runtime/context/generic-lsp-provider.ts +1 -1
  176. package/src/runtime/context/semantic-navigation-contract.ts +7 -0
  177. package/src/runtime/context/semantic-navigation.ts +1 -1
  178. package/src/runtime/control-plane/cleanup-artifact-retention.ts +4 -4
  179. package/src/runtime/control-plane/execution/work-delivery-service.ts +150 -31
  180. package/src/runtime/control-plane/execution/work-handle-authority.ts +12 -4
  181. package/src/runtime/control-plane/execution/work-handle-store.ts +53 -1
  182. package/src/runtime/control-plane/execution/work-operation-service.ts +20 -10
  183. package/src/runtime/control-plane/execution/work-preparation-service.ts +108 -4
  184. package/src/runtime/control-plane/execution/work-process-evidence.ts +2 -2
  185. package/src/runtime/control-plane/execution/work-terminal-cleanup.ts +28 -13
  186. package/src/runtime/control-plane/execution/work-validation-reconciler.ts +5 -1
  187. package/src/runtime/control-plane/execution/work-verification-snapshot.ts +1 -1
  188. package/src/runtime/control-plane/facade/capability-registry.ts +2 -0
  189. package/src/runtime/control-plane/facade/work-continuation.ts +1 -1
  190. package/src/runtime/control-plane/generated-cache-retention.ts +114 -63
  191. package/src/runtime/control-plane/global-scheduler/maintenance.ts +20 -8
  192. package/src/runtime/control-plane/global-scheduler/reconciliation.ts +1 -11
  193. package/src/runtime/control-plane/governance/external-effects.ts +1 -1
  194. package/src/runtime/control-plane/launcher/chatgpt-work-continuation.ts +1 -0
  195. package/src/runtime/control-plane/runtime-cleanup.ts +12 -93
  196. package/src/runtime/evidence/sensitive-output.ts +22 -2
  197. package/src/runtime/execution/jobs/child-reference.ts +11 -0
  198. package/src/runtime/execution/jobs/receipt-recovery.ts +1 -11
  199. package/src/runtime/execution/process-runtime/command-facade.ts +3 -3
  200. package/src/runtime/execution/process-runtime/runtime.ts +20 -16
  201. package/src/runtime/execution/thin-harness/execution-router.ts +16 -16
  202. package/src/runtime/execution/thin-harness/fast-executor.ts +2 -2
  203. package/src/runtime/execution/thin-harness/search-worker.ts +2 -2
  204. package/src/runtime/execution/workers/executor.ts +1 -2
  205. package/src/runtime/maintenance/cleanup.ts +41 -5
  206. package/src/runtime/plugins/action-application.ts +12 -1
  207. package/src/runtime/plugins/app-store-connect-adapter.ts +252 -4
  208. package/src/runtime/plugins/browser-adapter.ts +381 -313
  209. package/src/runtime/plugins/browser-macos-bridge.ts +114 -112
  210. package/src/runtime/plugins/browser-manifest-surface.ts +2 -1
  211. package/src/runtime/plugins/browser-registration.ts +2 -0
  212. package/src/runtime/plugins/browser-runtime.ts +26 -35
  213. package/src/runtime/plugins/computer-chatgpt-browser-adapter-installer.ts +11 -2
  214. package/src/runtime/plugins/computer-registration.ts +76 -9
  215. package/src/runtime/plugins/github-adapter.ts +30 -3
  216. package/src/runtime/plugins/gmail-adapter.ts +166 -1
  217. package/src/runtime/plugins/google-shared.ts +10 -5
  218. package/src/runtime/plugins/ios/remote-xpc-hid.ts +70 -30
  219. package/src/runtime/plugins/ios-adapter.ts +45 -40
  220. package/src/runtime/plugins/ios-agent-device.ts +54 -4
  221. package/src/runtime/plugins/ios-device-ownership.ts +103 -0
  222. package/src/runtime/plugins/ios-physical-device.ts +497 -79
  223. package/src/runtime/plugins/local-system-adapter.ts +1 -99
  224. package/src/runtime/plugins/store.ts +80 -7
  225. package/src/runtime/plugins/types.ts +4 -0
  226. package/src/runtime/projections/git-status-sampler.ts +2 -19
  227. package/src/runtime/recovery/actions.ts +1 -1
  228. package/src/runtime/recovery/lifecycle-inventory.ts +1 -11
  229. package/src/runtime/recovery/probe.ts +2 -2
  230. package/src/runtime/release/release-coordinator.ts +20 -4
  231. package/src/runtime/root/controller-progression-composition.ts +67 -5
  232. package/src/runtime/root/package-connector-service.ts +123 -11
  233. package/src/runtime/root/package-runtime-release.ts +6 -18
  234. package/src/runtime/root/package-runtime-service.ts +7 -13
  235. package/src/runtime/root/release-execution-canary.ts +18 -5
  236. package/src/runtime/root/release-manifest.ts +0 -34
  237. package/src/runtime/root/release-materialize.ts +0 -78
  238. package/src/runtime/root/runtime.ts +1 -2
  239. package/src/runtime/root/scheduled-controller-composition.ts +2 -1
  240. package/src/runtime/root/service.ts +90 -11
  241. package/src/runtime/root/types.ts +0 -6
  242. package/src/runtime/root/workflow-supervisor-composition.ts +207 -19
  243. package/src/runtime/root/workflow-supervisor-runtime.ts +365 -10
  244. package/src/runtime/safe-tooling/google-credential-store.ts +1 -11
  245. package/src/runtime/safe-tooling/ios-development.ts +22 -8
  246. package/src/runtime/safe-tooling/job-summary.ts +1 -1
  247. package/src/runtime/safe-tooling/workspace-auth.ts +4 -1
  248. package/src/runtime/shared/atomic-text-file.ts +21 -0
  249. package/src/runtime/shared/json-files.ts +8 -3
  250. package/src/runtime/standalone-recovery/core.ts +189 -174
  251. package/src/runtime/standalone-recovery/entry.ts +62 -30
  252. package/src/runtime/standalone-recovery/operation-lock.ts +11 -1
  253. package/src/runtime/workflow/schedules/chatgpt-automation-migration.ts +1 -0
  254. package/src/runtime/workflow/schedules/engine.ts +36 -14
  255. package/src/runtime/workflow/schedules/pending-activation.ts +11 -4
  256. package/src/runtime/workflow/schedules/work-continuation.ts +51 -6
  257. package/supervisor/client.ts +31 -14
  258. package/supervisor/control-plane.ts +210 -115
  259. package/supervisor/forge-validators.ts +88 -21
  260. package/supervisor/native-browser-adapter.ts +393 -28
  261. package/supervisor/native-messaging/host.ts +21 -2
  262. package/supervisor/protocol.ts +74 -26
  263. package/supervisor/server.ts +16 -8
  264. package/supervisor/store.ts +476 -57
  265. package/supervisor/types.ts +19 -13
  266. package/SKILL.md +0 -427
  267. package/adapters/computer/chatgpt-target-router.ts +0 -103
  268. package/adapters/mcp/runtime-gateway/automation-receipt-adapter.ts +0 -87
  269. package/adapters/mcp/runtime-gateway/work-validation-reconciler.ts +0 -1
  270. package/adapters/mcp/toolset-selection.ts +0 -41
  271. package/agents/openai.yaml +0 -4
  272. package/assets/skill-hooks.json +0 -41
  273. package/assets/skill-version.json +0 -189
  274. package/assets/skills/claude-review/SKILL.md +0 -231
  275. package/assets/skills/codex-review/SKILL.md +0 -103
  276. package/assets/templates/helpers/check-skill-version.ts +0 -193
  277. package/scripts/check-skill-version.ts +0 -5
  278. package/scripts/ensure-codegraph.sh +0 -16
  279. package/scripts/run-skill-hook.ts +0 -244
  280. package/scripts/sync-codex-installed-copies.sh +0 -182
  281. package/src/cli/commands/tools.ts +0 -167
  282. package/src/cli/mcp/access-mode.ts +0 -2
  283. package/src/cli/mcp/access-tools.ts +0 -2
  284. package/src/cli/mcp/audit.ts +0 -2
  285. package/src/cli/mcp/auth.ts +0 -2
  286. package/src/cli/mcp/instructions.ts +0 -2
  287. package/src/cli/mcp/legacy-context.ts +0 -2
  288. package/src/cli/mcp/legacy-tool-service.ts +0 -2
  289. package/src/cli/mcp/multi-repository.ts +0 -2
  290. package/src/cli/mcp/oauth.ts +0 -2
  291. package/src/cli/mcp/openai-secure-tunnel.ts +0 -2
  292. package/src/cli/mcp/paths.ts +0 -2
  293. package/src/cli/mcp/policy.ts +0 -2
  294. package/src/cli/mcp/post-finalize-work-attribution.ts +0 -2
  295. package/src/cli/mcp/proxy-env.ts +0 -2
  296. package/src/cli/mcp/readiness-projection.ts +0 -2
  297. package/src/cli/mcp/redaction.ts +0 -2
  298. package/src/cli/mcp/repo.ts +0 -2
  299. package/src/cli/mcp/repository-tools.ts +0 -2
  300. package/src/cli/mcp/server.ts +0 -2
  301. package/src/cli/mcp/setup.ts +0 -2
  302. package/src/cli/mcp/tool-capability-cache.ts +0 -2
  303. package/src/cli/mcp/tool-contract.ts +0 -2
  304. package/src/cli/mcp/tools.ts +0 -2
  305. package/src/cli/mcp/toolset-names.ts +0 -2
  306. package/src/cli/mcp/toolset-selection.ts +0 -2
  307. package/src/cli/mcp/toolset.ts +0 -2
  308. package/src/cli/mcp/transports/http.ts +0 -2
  309. package/src/cli/mcp/transports/session-registry.ts +0 -2
  310. package/src/cli/mcp/transports/stdio.ts +0 -2
  311. package/src/cli/mcp/types.ts +0 -2
  312. package/src/cli/mcp/umbrella-tools.ts +0 -2
  313. package/src/cli/tools/codegraph.ts +0 -695
  314. package/src/core/adoption/helper-wrapper-plan.ts +0 -159
  315. package/src/runtime/context/codegraph-cache-boundary.ts +0 -255
  316. package/src/runtime/context/codegraph-read-provider.ts +0 -611
  317. package/src/runtime/context/codegraph-sidecar.cjs +0 -248
  318. package/src/runtime/control-plane/codegraph-cache-retention.ts +0 -164
  319. package/src/runtime/gateway/mcp/execution-tools.ts +0 -2
  320. package/src/runtime/gateway/mcp/legacy-ios-tool-adapter.ts +0 -2
  321. package/src/runtime/gateway/mcp/persisted-check-process.ts +0 -2
  322. package/src/runtime/gateway/mcp/process-tools.ts +0 -2
  323. package/src/runtime/gateway/mcp/router.ts +0 -2
  324. package/src/runtime/gateway/mcp/runtime-tool-definitions.ts +0 -2
  325. package/src/runtime/gateway/mcp/runtime-tools.ts +0 -2
  326. package/src/runtime/gateway/mcp/work-validation-reconciler.ts +0 -2
  327. package/src/runtime/plugins/browser-provider-registry.ts +0 -2
  328. package/src/runtime/plugins/computer-chatgpt-macos-target.ts +0 -891
@@ -0,0 +1,78 @@
1
+ # Computer and Plugin Setup — macOS desktop, Browser, Design, Knowledge, Figma
2
+
3
+ Forge includes a typed **Computer** capability for local-machine tasks and a separate **Browser** capability for websites. ChatGPT (or a selected MCP client) decides actions; Forge enforces permissions and reports evidence. Installing Forge's CLI does not automatically update independently released providers.
4
+
5
+ ## Quick setup on macOS
6
+
7
+ Install or upgrade the Forge CLI first:
8
+
9
+ ```bash
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge --version
12
+ forge setup next
13
+ ```
14
+
15
+ Then install the pinned native Computer provider and verify its health:
16
+
17
+ ```bash
18
+ forge computer setup
19
+ forge computer doctor
20
+ forge computer status --json
21
+ ```
22
+
23
+ For an **already installed** Computer provider, run `forge computer update` to install the provider release pinned by the current Forge catalog. If no newer compatible pin exists, this does not upgrade to an arbitrary GitHub tip. Complete any macOS Accessibility / Screen Recording permission prompts that the native provider requires, then re-run `forge computer doctor`. Only macOS currently has the catalogued native Desktop Operator provider; Linux/Windows users should not run `forge computer setup` expecting macOS desktop control.
24
+
25
+ Computer's provider is **Forge Desktop Operator** (catalog tag `v0.4.5`). Computer can observe and interact with the macOS desktop, request capture and element operations, and use native console-unlock capabilities where authorized. Browser navigation/DOM and web sessions remain a separately owned Browser surface, not a second copy of Desktop Operator authority.
26
+
27
+ ## Other official providers
28
+
29
+ Review available, platform-compatible pinned releases first:
30
+
31
+ ```bash
32
+ forge plugin catalog
33
+ forge plugin list --refresh
34
+ ```
35
+
36
+ | Plugin ID | Purpose | Pinned catalog tag | Supported installation hosts |
37
+ | --- | --- | --- | --- |
38
+ | `desktop_operator` | Native Computer provider (use `forge computer` commands) | `v0.4.5` | macOS |
39
+ | `design` | Repository-local design workspace and design artifacts | `v0.3.0` | macOS / Linux / Windows |
40
+ | `personal_knowledge` | Local personal-knowledge retrieval and safe operations | `v0.2.1` | macOS / Linux / Windows |
41
+ | `figma` | Figma plugin bridge and typed canvas operations | `v0.3.0` | macOS |
42
+
43
+ Install only what you need:
44
+
45
+ ```bash
46
+ forge plugin install design
47
+ forge plugin install personal_knowledge
48
+ forge plugin install figma # macOS; requires its Figma bridge to be running
49
+ forge plugin list --refresh
50
+ ```
51
+
52
+ Re-running a provider's `forge plugin install <id>` uses the version pinned by the installed Forge catalog. Provider health can be `degraded` if the target app, local socket, native permission, browser session, or service authentication is missing. An install receipt alone is **not** proof of an operational provider. Figma and other app-specific bridges need their own app/bridge setup before typed calls become ready.
53
+
54
+ ## How to use from ChatGPT
55
+
56
+ After [connecting ChatGPT to Forge MCP](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md), ask for a bounded goal:
57
+
58
+ - “Inspect the currently open Chrome page, check form fields, and report what is wrong.”
59
+ - “Read the authorized Finder folder, organize the documents, and show me the result.”
60
+ - “Use Computer to observe this app and take a screenshot before changing anything.”
61
+ - “Inspect the design workspace and prepare a reviewable design artifact.”
62
+ - “Search my connected local knowledge base for the project decision.” (requires `personal_knowledge` to be ready)
63
+ - “Inspect this open Figma file and tell me which components need review.” (requires a working Figma bridge)
64
+
65
+ Each provider has its **own** authorization and readiness. Avoid assuming desktop control or website mutation is allowed solely because the MCP connector responds.
66
+
67
+ ## Diagnostics
68
+
69
+ ```bash
70
+ forge computer status --json
71
+ forge computer doctor
72
+ forge plugin list --refresh
73
+ forge doctor
74
+ ```
75
+
76
+ If Browser readiness mentions Playwright, ensure the selected Browser attach mode and its browser dependencies are configured; native Chrome/Vivaldi attachment and managed Playwright browsing have different requirements. If Computer is not ready, resolve the reported macOS permissions/native provider state; if Figma reports a missing socket, start/configure the Figma bridge rather than repeatedly reinstalling Forge.
77
+
78
+ More detail: [Plugin Management](https://github.com/moretea-labs/forge/blob/main/docs/forge-plugin-management.md), [Browser runbook](https://github.com/moretea-labs/forge/blob/main/docs/operations/controller-browser-plugin.md), and [Security Model](Security-Model).
@@ -0,0 +1,88 @@
1
+ # Forge Computer 与官方插件中文使用指南
2
+
3
+ Forge 是本地优先的 **ChatGPT MCP 执行工具**:由 ChatGPT 理解任务和决定下一步,Forge 管理权限、执行与证据。Forge 的主程序和独立 Provider **不是同一个升级渠道**。
4
+
5
+ ## 第一步:安装 Forge,连接 ChatGPT
6
+
7
+ 基础要求:Node.js 20.10+、npm(或 Bun),macOS / Linux 或 Windows WSL2。打开终端:
8
+
9
+ ~~~bash
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge --version
12
+ forge setup
13
+ forge setup configure --controller chatgpt --tunnel auto
14
+ forge setup next
15
+ ~~~
16
+
17
+ 按程序提示完成 Package Runtime 和 ChatGPT MCP 连接。详见[连接 ChatGPT 中文教程](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.zh-CN.md)。
18
+
19
+ ## 第二步:macOS 安装 Computer
20
+
21
+ ~~~bash
22
+ forge computer setup
23
+ forge computer doctor
24
+ forge computer status --json
25
+ ~~~
26
+
27
+ 已经安装 Computer 的用户可以更新到当前 Forge 官方目录固定的版本:
28
+
29
+ ~~~bash
30
+ forge computer update
31
+ forge computer doctor
32
+ ~~~
33
+
34
+ Computer 原生实现是 [Forge Desktop Operator](https://github.com/moretea-labs/forge-desktop-operator),Forge v1.8.1 官方目录固定版本为 **v0.4.5**。使用桌面观察、截图、点击、输入时,macOS 可能需要手动授予**辅助功能**和**屏幕录制**权限。
35
+
36
+ **Linux/Windows 没有这款 macOS 原生 Computer Provider**;不要把内置的文件/浏览器能力误认作跨平台原生桌面控制。Browser 使用独立的浏览器会话和权限边界。
37
+
38
+ ## 第三步:按需要安装插件
39
+
40
+ 先检查当前官方目录与已安装插件:
41
+
42
+ ~~~bash
43
+ forge plugin catalog
44
+ forge plugin list --refresh
45
+ ~~~
46
+
47
+ | 插件 | v1.8.1 固定版本 | 用途 | 平台 |
48
+ | --- | --- | --- | --- |
49
+ | Computer / Desktop Operator | v0.4.5 | 原生桌面观察与交互 | macOS |
50
+ | Forge Design | v0.3.0 | 仓库设计工作区与设计产物 | macOS / Linux / Windows |
51
+ | Personal Knowledge Assistant | v0.2.1 | 本地知识检索、安全写入 | macOS / Linux / Windows |
52
+ | Forge Figma Bridge | v0.3.0 | Figma 画布与组件操作 | macOS |
53
+
54
+ 按需执行安装,**不必全部安装**:
55
+
56
+ ~~~bash
57
+ forge plugin install design
58
+ forge plugin install personal_knowledge
59
+ forge plugin install figma
60
+ forge plugin list --refresh
61
+ ~~~
62
+
63
+ Figma Bridge 还需要相应 Figma 插件与本地服务运行。插件安装成功不代表健康状态就绪;如果显示 degraded,应根据诊断信息检查应用、授权、Socket、浏览器连接或依赖。
64
+
65
+ ## 第四步:在 ChatGPT 中实际使用
66
+
67
+ 连接 Forge MCP 并授权目标资源后,直接用自然语言描述任务:
68
+
69
+ - “检查当前 Chrome 页面中的表单字段,先报告问题,不要提交。”
70
+ - “观察 Mac 当前桌面应用,截图并告诉我界面有什么异常。”
71
+ - “整理这个已授权文件夹里的文档,并列出更改前后情况。”
72
+ - “在已连接的本地知识库里搜索上次的架构决策。”
73
+ - “查看当前 Figma 文件的组件结构。”(需要 Figma Bridge 健康就绪)
74
+
75
+ Forge 不会因为连接成功就允许不受限的远程写入、破坏性操作、密钥获取或越权访问。
76
+
77
+ ## 第五步:升级和排查
78
+
79
+ ~~~bash
80
+ npm install -g @moretea-labs/forge@latest
81
+ forge setup next
82
+ forge computer update # 仅 macOS
83
+ forge computer doctor # 仅 macOS
84
+ forge plugin list --refresh
85
+ forge doctor
86
+ ~~~
87
+
88
+ [English Computer Guide](Computer-and-Plugins) · [插件管理](https://github.com/moretea-labs/forge/blob/main/docs/forge-plugin-management.md) · [平台支持说明](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.zh-CN.md)
package/docs/wiki/Home.md CHANGED
@@ -1,6 +1,19 @@
1
- # Forge Wiki
1
+ # Forge Wiki — ChatGPT MCP for local computer and software tasks
2
2
 
3
- Forge is a local-first action assistant that gives ChatGPT a durable, policy-bounded execution layer for local software work. The product is intentionally Direct-first: ordinary bounded work stays lightweight, while Process Runtime, Work, worktrees, scheduling, and Recovery exist for the cases that actually need lifecycle or isolation.
3
+ Forge is a local-first, permission-scoped MCP action runtime for ChatGPT and other explicitly selected external controllers. It gives ChatGPT durable execution tools for local files, Git repositories, browsers, and authorized services—**without putting an additional AI agent inside Forge**. The product is intentionally Direct-first: ordinary bounded work stays lightweight, while Process Runtime, Work, worktrees, scheduling, and Recovery exist for the cases that actually need lifecycle or isolation.
4
+
5
+ ## Get started with the latest stable version
6
+
7
+ Install [Forge v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1) from [npm](https://www.npmjs.com/package/@moretea-labs/forge):
8
+
9
+ ```bash
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge setup
12
+ forge setup configure --controller chatgpt --tunnel auto
13
+ forge setup next
14
+ ```
15
+
16
+ macOS and Linux are supported; WSL2 is the recommended Windows path. Native Windows remains a preview. For upgrades and service setup, see [Installation](Installation).
4
17
 
5
18
  ## Start here
6
19
 
@@ -12,6 +25,7 @@ Forge is a local-first action assistant that gives ChatGPT a durable, policy-bou
12
25
  - Runtime behavior: [Runtime Architecture](Runtime-Architecture)
13
26
  - Source implementation map: [Implementation](Implementation)
14
27
  - Run and recover the service: [Operations](Operations)
28
+ - Computer and provider setup: [Computer and Plugins](Computer-and-Plugins) · [中文教程](Computer-and-Plugins.zh-CN)
15
29
  - Optional capabilities: [Integrations](Integrations)
16
30
  - Diagnose a problem: [Troubleshooting](Troubleshooting)
17
31
  - Trust boundaries: [Security Model](Security-Model)
@@ -7,15 +7,15 @@ This page maps the public Forge model to the current source tree. It is an imple
7
7
  Primary code:
8
8
 
9
9
  ```text
10
- src/cli/mcp/server.ts
11
- src/cli/mcp/toolset-names.ts
12
- src/cli/mcp/repository-tools.ts
13
- src/cli/mcp/transports/http.ts
14
- src/cli/mcp/transports/session-registry.ts
15
- src/runtime/gateway/mcp/
10
+ adapters/mcp/server.ts
11
+ adapters/mcp/toolset-names.ts
12
+ adapters/mcp/tool-mapping/repository-tools.ts
13
+ adapters/mcp/transports/http.ts
14
+ adapters/mcp/transports/session-registry.ts
15
+ adapters/mcp/runtime-gateway/
16
16
  ```
17
17
 
18
- `toolset-names.ts` defines the bounded default connector surface. The five facade tools come from `src/runtime/control-plane/facade/types.ts`; repository, patch, check, Process, plugin-dispatch, and result tools bring the current default to 19.
18
+ `toolset-names.ts` defines the bounded default connector surface. The six facade tools come from `src/runtime/control-plane/facade/types.ts`; repository, patch, check, Process, plugin-dispatch, and result tools bring the current default to 20.
19
19
 
20
20
  The HTTP transport owns authentication and protocol-era routing. MCP 2026-07-28 is the canonical public path: `createMcpHandler` serves each modern request without `Mcp-Session-Id`. `McpSessionRegistry` is retained only for explicit 2025-era compatibility, where it owns session capacity, active-request protection, stream leases, replacement, and close accounting. Durable Work/Process/ControllerRound authority never comes from either transport form. Controller capability rotation and legacy-owner upgrades are Runtime recovery mechanics; ordinary model-facing Work operations neither expose nor require `controller_claim`. Legacy tool-surface mismatches still return a recoverable reinitialize response; modern requests resolve the current Runtime schema per request.
21
21
 
@@ -29,7 +29,7 @@ src/cli/repositories/ephemeral-workspace.ts
29
29
  src/runtime/control-plane/execution/execution-identity.ts
30
30
  ```
31
31
 
32
- Registered work is resolved to `repoId` plus `checkoutId`. Git top-level/common-directory checks prevent a caller from supplying a different checkout through `cwd`. `ephemeral-workspace.ts` represents the separate explicit authority for an existing unregistered local directory.
32
+ Registered work is resolved to `repoId` plus `checkoutId`. Git top-level/common-directory checks prevent a caller from supplying a different checkout through `cwd`. `ephemeral-workspace.ts` represents the separate explicit authority for an existing unregistered local directory. `src/cli/repositories/structured-git.ts` partitions porcelain status once; `src/runtime/projections/git-status-sampler.ts` uses that parser for its sampled projection rather than maintaining an independent classification.
33
33
 
34
34
  ## 3. Context and source access
35
35
 
@@ -51,10 +51,10 @@ Primary code:
51
51
 
52
52
  ```text
53
53
  src/cli/editing/edit-session.ts
54
- src/cli/mcp/repository-tools.ts
54
+ adapters/mcp/tool-mapping/repository-tools.ts
55
55
  ```
56
56
 
57
- A bounded patch can be applied directly to the selected checkout with file fingerprints, revisions, savepoints, change budgets, and focused verification. Direct Edit is the default for understood small work; a Plan or worktree is not a prerequisite.
57
+ A bounded patch can be applied directly to the selected checkout with file fingerprints, revisions, savepoints, change budgets, and focused verification. Direct Edit is the default for understood small work; a Plan or worktree is not a prerequisite. Anchor occurrence positioning is owned by `src/cli/editing/edit-session.ts` and reused by `src/cli/repositories/safe-patch.ts` preflight, so preview and the actual patch executor cannot drift on repeated anchors.
58
58
 
59
59
  ## 5. Command policy and ephemeral workspaces
60
60
 
@@ -70,6 +70,18 @@ The classifier distinguishes readonly, workspace write, remote write, and destru
70
70
 
71
71
  The MCP result envelope distinguishes “not authorized/executed” from “process executed and failed.” A blocked `rm` therefore returns authorization-required state rather than a fabricated exit-code failure, and successful ephemeral mutations are not labeled as readonly.
72
72
 
73
+ `src/cli/commands/setup-execution.ts` is the single synchronous CLI setup/adoption owner for temporary process environment overlays and mapping bounded child-process results to setup steps. `init.ts`, `init-hook.ts`, and `global-runtime.ts` import this owner directly instead of maintaining their own `process.env` mutation and process-step wrappers. This setup convenience layer does not own Runtime or Work execution authority.
74
+
75
+ Runtime/Connector service configuration, release materialization and CLI systemd unit
76
+ files use `src/runtime/shared/atomic-text-file.ts` for atomic text replacement,
77
+ including mode preservation and unique temporary paths. Independent Windows/WSL
78
+ host rescue deliberately retains its local writer rather than importing a
79
+ Runtime module into its emergency migration entrypoint.
80
+
81
+ Adoption no longer emits repo-local generated Helper wrapper scripts. The unused
82
+ compatibility generator under `src/core/adoption/helper-wrapper-plan.ts` is retired;
83
+ `src/core/adoption/plan.ts` installs only the current project-level assets.
84
+
73
85
  ## 6. Unified Process Runtime
74
86
 
75
87
  Primary code:
@@ -79,7 +91,7 @@ src/runtime/execution/process-runtime/runtime.ts
79
91
  src/runtime/execution/process-runtime/store.ts
80
92
  src/runtime/execution/process-runtime/interactive-admission.ts
81
93
  src/runtime/shared/process-identity.ts
82
- src/runtime/gateway/mcp/process-tools.ts
94
+ adapters/mcp/runtime-gateway/process-tools.ts
83
95
  ```
84
96
 
85
97
  `spawnManagedProcess` creates one Process record and one physical child execution. Exact PID/start-time/executable identity protects later lifecycle operations. Known-long processes can return handles immediately; short commands may complete during a bounded interactive window. Process startup captures command/start-time together and reuses the running-state persistence result instead of repeating store writes/reads on the hot path.
@@ -103,7 +115,7 @@ Primary code:
103
115
 
104
116
  ```text
105
117
  src/runtime/execution/process-runtime/check-facade.ts
106
- src/runtime/gateway/mcp/persisted-check-process.ts
118
+ adapters/mcp/runtime-gateway/persisted-check-process.ts
107
119
  src/runtime/evidence/
108
120
  src/runtime/projections/
109
121
  ```
@@ -1,50 +1,46 @@
1
- # Installation
1
+ # Install Forge — ChatGPT MCP local action runtime
2
2
 
3
- ## Supported paths
3
+ Forge is a local-first MCP execution runtime. ChatGPT (or another explicitly selected external controller) makes decisions; Forge handles permission-scoped computer, repository, browser, and service operations. **Stable release: v1.8.1**, published to npm `latest`.
4
4
 
5
- ### Source installation
5
+ ## Install from npm (recommended)
6
6
 
7
- This is the verified path while `@moretea-labs/forge` remains unpublished:
7
+ Requirements: **Node.js 20.10+**, npm (or Bun), and a writable home directory. Git is only needed for software/repository operations.
8
8
 
9
9
  ```bash
10
- bun install --frozen-lockfile
11
- npm install -g . --omit=optional --no-audit --no-fund
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge --version
12
+ forge setup
13
+ forge setup configure --controller chatgpt --tunnel auto
14
+ forge setup next
12
15
  ```
13
16
 
14
- ### npm RC channel
17
+ You can also use `bun add -g @moretea-labs/forge`. For ChatGPT, setup prefers the OpenAI Secure MCP Tunnel; connection requires your ChatGPT account/session and appropriate authorization. Codex, Claude, and other MCP clients are optional external controllers.
15
18
 
16
- After the package is visibly published to npm:
19
+ ## Upgrade an existing install
17
20
 
18
21
  ```bash
19
- npm install -g @moretea-labs/forge
22
+ npm install -g @moretea-labs/forge@latest
23
+ forge --version
24
+ forge setup next
25
+ forge doctor
20
26
  ```
21
27
 
22
- Bun installs the same npm artifact:
28
+ For an installed Package Runtime, use `forge runtime service install-package` to reconcile its service. Follow [Releases and Upgrades](Releases-and-Upgrades) and [release notes](https://github.com/moretea-labs/forge/releases/tag/v1.8.1).
29
+
30
+ ## Source development (not required for installation)
23
31
 
24
32
  ```bash
25
- bun add -g @moretea-labs/forge
33
+ git clone https://github.com/moretea-labs/forge.git
34
+ cd forge
35
+ bun install --frozen-lockfile
36
+ npm install -g . --omit=optional --no-audit --no-fund
26
37
  ```
27
38
 
28
- Do not infer npm publication from a GitHub tag or prerelease alone.
29
-
30
- ## Platforms
39
+ ## Supported platforms
31
40
 
32
- - macOS and Linux are primary runtime hosts.
33
- - WSL2 is the recommended Windows host for the complete controller runtime.
34
- - Native Windows supports the documented CLI and command-shim surface; check the current matrix before relying on host-specific integrations.
35
-
36
- See [Platform Support](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.md).
37
-
38
- ## Command compatibility
39
-
40
- Forge exposes only `forge`, `forge-hook`, and `forge-runtime`. State directories, environment variables, protocol identifiers, and release artifacts use the Forge namespace.
41
-
42
- ## Verify installation
43
-
44
- ```bash
45
- forge --version
46
- forge doctor
47
- forge repo list --json
48
- ```
41
+ - **macOS:** supported user-level Package Runtime using launchd.
42
+ - **Linux:** supported with systemd user service where available; portable-session fallback otherwise.
43
+ - **Windows + WSL2:** recommended Windows path, using Linux instructions inside WSL2.
44
+ - **Native Windows:** preview; check the explicitly supported CLI and portable Runtime scope.
49
45
 
50
- A successful CLI launch is not enough to prove the MCP runtime is healthy; verify the connector separately when using ChatGPT.
46
+ See the [platform support matrix](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.md). Forge publishes `forge`, `forge-hook`, and `forge-runtime`. A successful CLI version check alone does not prove MCP connectivity; complete the [ChatGPT connection tutorial](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md) and verify the connector.
@@ -14,6 +14,10 @@ Codex, Claude, and GitHub Copilot can implement bounded tasks when available. Ag
14
14
 
15
15
  GitHub operations cover issues, pull requests, checks, repository settings, Wiki synchronization, and releases. Remote writes remain explicit and should reference the exact local revision being published.
16
16
 
17
+ ## Computer, Desktop Operator, and official providers
18
+
19
+ On macOS, the supported user interface to the native Desktop Operator is `forge computer setup|status|doctor|update`. The separately owned Browser capability covers browser session/DOM actions, while Desktop Operator provides native Computer operations. Forge Design, Personal Knowledge Assistant, and Figma Bridge use independently pinned official provider releases. Follow [Computer and Plugins](Computer-and-Plugins) to install, diagnose, and use them from ChatGPT.
20
+
17
21
  ## Browser and local system
18
22
 
19
23
  Browser and local-system plugins are optional controller capabilities. They use separate grants and do not turn repository access into unrestricted machine access.
@@ -1,27 +1,29 @@
1
- # Quick Start
1
+ # Quick Start — use ChatGPT to work with your computer via Forge MCP
2
2
 
3
- ## 1. Install from source
3
+ Forge gives an external controller (ChatGPT recommended) a local-first, permission-scoped execution runtime for files, Git repositories, browser/desktop actions, and connected services. Forge itself is **not** a second AI agent and does not require a separate OpenAI API key when your controller is ChatGPT.
4
4
 
5
- Until the npm RC is publicly available, use the verified source path:
5
+ ## 1. Install the current stable CLI
6
+
7
+ Requires Node.js 20.10+, npm, and a writable home directory.
6
8
 
7
9
  ```bash
8
- git clone https://github.com/moretea-labs/forge.git
9
- cd forge
10
- bun install --frozen-lockfile
11
- npm install -g . --omit=optional --no-audit --no-fund
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge --version
12
12
  ```
13
13
 
14
- Requirements: Git, Node.js 20.10+, npm, and a writable user directory. Bun is recommended for development and the complete test suite.
14
+ Bun alternative: `bun add -g @moretea-labs/forge`. Source compilation is **not** necessary for a normal install; see [Installation](Installation).
15
15
 
16
- ## 2. Initialize and diagnose
16
+ ## 2. Configure ChatGPT as the external controller
17
17
 
18
18
  ```bash
19
- forge --version
20
- forge install --target both
21
- forge doctor
19
+ forge setup
20
+ forge setup configure --controller chatgpt --tunnel auto
21
+ forge setup next
22
22
  ```
23
23
 
24
- ## 3. Register a repository
24
+ Follow each reported next step to configure the Package Runtime and authenticated connector. OpenAI Secure MCP Tunnel is preferred when available; it is a transport, not another Forge controller. Read the [ChatGPT MCP setup tutorial](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md).
25
+
26
+ ## 3. Adopt a code repository only when needed
25
27
 
26
28
  ```bash
27
29
  forge adopt --repo /path/to/project --dry-run
@@ -29,18 +31,29 @@ forge adopt --repo /path/to/project
29
31
  forge repo list --json
30
32
  ```
31
33
 
32
- Use dry-run first when adopting an existing project. Review the proposed files and runtime configuration before applying.
34
+ You can use authorized file, browser or service capabilities without first adopting a Git repository.
35
+
36
+ ## 4. Complete a small task and check the result
33
37
 
34
- ## 4. Connect ChatGPT
38
+ Ask ChatGPT to inspect a repository, make a scoped change, run the focused check, review the diff, and commit if verified. The [first repository task](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/03-first-repository-task.md) walks through the process. Destructive, secret-bearing and external effects have separate authorization requirements.
35
39
 
36
- Follow the maintained [connector tutorial](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md). After connection, verify status and repository context before starting write work.
40
+ ## Source checkout for contributors
37
41
 
38
- ## 5. Complete one bounded task
42
+ A normal package install does not require source, Git, or Bun. If you are modifying Forge itself, use the same frozen Bun dependency lock as CI:
39
43
 
40
- Start with a small change, inspect the diff, run the focused check, commit, and clean the branch or worktree. The full walkthrough is in [First Repository Task](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/03-first-repository-task.md).
44
+ ```bash
45
+ git clone https://github.com/moretea-labs/forge.git
46
+ cd forge
47
+ bun install --frozen-lockfile
48
+ npm install -g . --omit=optional --no-audit --no-fund
49
+ ```
50
+
51
+ ## Upgrade and help
41
52
 
42
- ## Next
53
+ ```bash
54
+ npm install -g @moretea-labs/forge@latest
55
+ forge setup next
56
+ forge doctor
57
+ ```
43
58
 
44
- - [Core Concepts](Core-Concepts)
45
- - [Work Lifecycle](Work-Lifecycle)
46
- - [Troubleshooting](Troubleshooting)
59
+ Read [Releases and Upgrades](Releases-and-Upgrades), [Troubleshooting](Troubleshooting), and the [full documentation](https://github.com/moretea-labs/forge/tree/main/docs). Current stable: [v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1).
@@ -1,34 +1,24 @@
1
- # Releases and Upgrades
1
+ # Forge Releases and Upgrades
2
2
 
3
- ## Release channels
3
+ ## Published stable release
4
4
 
5
- - `next`: release candidates
6
- - `latest`: stable releases only
5
+ **Forge v1.8.2** was released on October 19, 2026. The canonical package is [`@moretea-labs/forge` on npm](https://www.npmjs.com/package/@moretea-labs/forge), and the matching [GitHub Release](https://github.com/moretea-labs/forge/releases/tag/v1.8.2) provides an immutable `v1.8.1` tag. npm `latest` is the stable channel; `next` is reserved for release candidates.
7
6
 
8
- The package version, Git tag, npm channel, GitHub prerelease state, and release notes must agree. GitHub Releases and npm publication are separate facts.
7
+ ## Install or upgrade to the latest stable
9
8
 
10
- ## Release gate
9
+ ```bash
10
+ npm install -g @moretea-labs/forge@latest
11
+ forge --version
12
+ forge setup next
13
+ forge doctor
14
+ ```
11
15
 
12
- A release candidate must pass the repository's release-readiness check on the exact revision. The gate covers type checking, package identity, public documentation, platform contracts, MCP compatibility, public export, package creation, and tarball installation.
16
+ When using the packaged persistent service, `forge runtime service install-package` reconciles the installed Package Runtime. Review [Installation](Installation) and [ChatGPT connection](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md) for platform-specific setup. Updates do not remove the requirement to validate the authenticated MCP connector.
13
17
 
14
- ## Stable runtime evidence
18
+ ## How releases are verified
15
19
 
16
- Before publication, build an immutable whole-Runtime release from a clean canonical source tree, activate it through the single Forge Runtime service, verify the complete authenticated MCP path, cold-restart that service, and confirm the active release authority still equals the intended commit. Record the fully verified release as known-good.
20
+ Source version, package identity, immutable Git tag, npm dist-tag, and GitHub Release must agree. `check:release` checks source gates, packaging, licensing/open-source hygiene, and isolated installation; `check:release-published` checks npm registry metadata and downloaded tarball integrity against the local version and tag. Publication is performed by protected GitHub Actions with npm OIDC Trusted Publishing.
17
21
 
18
- ## Upgrade principles
22
+ Release readiness and active whole-Runtime activation are different authorities; do not infer a healthy local service just from successful package publication. Follow the [maintained release process](https://github.com/moretea-labs/forge/blob/main/docs/operations/releasing.md) for contributor instructions.
19
23
 
20
- - Keep the Forge-only command, state, environment, protocol, and release identity consistent across upgrades.
21
- - Read release notes before changing runtime or connector configuration.
22
- - Do not overwrite a healthy active release with a stale rollout operation.
23
- - Keep a verified rollback path before changing production runtime state.
24
-
25
- ## Publication sequence
26
-
27
- 1. Merge reviewed code and docs.
28
- 2. Push the exact main revision.
29
- 3. Wait for required CI and Windows checks on that revision.
30
- 4. Synchronize reviewed Wiki source.
31
- 5. Create the exact `v`-prefixed tag and GitHub prerelease.
32
- 6. Verify npm separately; never claim publication without registry evidence.
33
-
34
- See the maintained [release process](https://github.com/moretea-labs/forge/blob/main/docs/operations/releasing.md).
24
+ For future releases, derive their version from the then-current `package.json` and update the matching immutable GitHub Release link.
@@ -1,4 +1,4 @@
1
- **Forge Wiki**
1
+ **Forge · ChatGPT MCP Wiki**
2
2
 
3
3
  - [Home](Home)
4
4
  - [Quick Start](Quick-Start)
@@ -10,6 +10,8 @@
10
10
  - [Implementation](Implementation)
11
11
  - [Operations](Operations)
12
12
  - [Integrations](Integrations)
13
+ - [Computer and Plugins](Computer-and-Plugins)
14
+ - [Computer 中文使用指南](Computer-and-Plugins.zh-CN)
13
15
  - [Troubleshooting](Troubleshooting)
14
16
  - [Security Model](Security-Model)
15
17
  - [Releases and Upgrades](Releases-and-Upgrades)
@@ -18,4 +20,6 @@
18
20
 
19
21
  - [Repository](https://github.com/moretea-labs/forge)
20
22
  - [Versioned Docs](https://github.com/moretea-labs/forge/tree/main/docs)
23
+ - [Latest stable v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1)
24
+ - [npm package](https://www.npmjs.com/package/@moretea-labs/forge)
21
25
  - [Support](https://github.com/moretea-labs/forge/blob/main/SUPPORT.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moretea-labs/forge",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Local-first action assistant for software work with resumable execution, bounded tools, and reviewable evidence",
5
5
  "license": "MIT",
6
6
  "author": "Moretea Labs contributors",
@@ -39,7 +39,6 @@
39
39
  "NOTICE",
40
40
  "THIRD_PARTY_NOTICES.md",
41
41
  "scripts/verify-forge-runtime.sh",
42
- "agents/",
43
42
  "assets/",
44
43
  "docs/README.md",
45
44
  "docs/tutorials/",
@@ -78,7 +77,6 @@
78
77
  "supervisor/",
79
78
  "AGENTS.md",
80
79
  "CLAUDE.md",
81
- "SKILL.md",
82
80
  "README.md"
83
81
  ],
84
82
  "bin": {
@@ -98,7 +96,6 @@
98
96
  "benchmark:thin-harness-mcp-e2e": "bun scripts/benchmark-thin-harness-mcp-e2e.ts --json",
99
97
  "benchmark:mcp-transport": "bun scripts/benchmark-mcp-transport.ts",
100
98
  "benchmark:mcp-host": "bash scripts/benchmark-mcp-host.sh",
101
- "benchmark:work-efficiency": "bun scripts/benchmark-work-efficiency.ts",
102
99
  "benchmark:route-session-concurrency": "bun scripts/benchmark-route-session-concurrency.ts",
103
100
  "benchmark:quality-harness": "bun scripts/benchmark-quality-harness.ts",
104
101
  "benchmark:background-check-overlap": "bun scripts/benchmark-background-check-overlap.ts",
@@ -168,7 +165,6 @@
168
165
  "runtime:activate-source-baseline": "bun scripts/activate-source-baseline.ts request",
169
166
  "plugin:install-desktop-operator": "bun scripts/install-desktop-operator-registration.ts",
170
167
  "sync:brain-docs": "bun src/cli/index.ts run sync-brain-docs --all",
171
- "sync:codex-installed": "bash scripts/sync-codex-installed-copies.sh",
172
168
  "check:forge-runtime": "bash scripts/verify-forge-runtime.sh",
173
169
  "repo:registry": "bun src/cli/v81-entry.ts repo",
174
170
  "smoke:schedule-engine": "node --loader ./src/runtime/shared/node-ts-loader.mjs scripts/smoke-schedule-engine.ts",
@@ -180,7 +176,6 @@
180
176
  "check:portable-package": "node --test tests/node/*.test.mjs && npm run smoke:tarball-install"
181
177
  },
182
178
  "devDependencies": {
183
- "@colbymchenry/codegraph": "1.0.1",
184
179
  "@types/bun": "latest",
185
180
  "@types/cors": "^2.8.19",
186
181
  "@types/express": "^5.0.6"
@@ -197,12 +192,6 @@
197
192
  },
198
193
  "packageManager": "npm@10.0.0",
199
194
  "optionalDependencies": {
200
- "@colbymchenry/codegraph-darwin-arm64": "1.0.1",
201
- "@colbymchenry/codegraph-darwin-x64": "1.0.1",
202
- "@colbymchenry/codegraph-linux-arm64": "1.0.1",
203
- "@colbymchenry/codegraph-linux-x64": "1.0.1",
204
- "@colbymchenry/codegraph-win32-arm64": "1.0.1",
205
- "@colbymchenry/codegraph-win32-x64": "1.0.1",
206
195
  "agent-device": "0.20.2"
207
196
  }
208
197
  }