FM-3 migrate agents to forge-mcp, drop forgejo-mcp + patches #687
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!687
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "boss/654"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cuts container-mode agents over from
mcp__forgejo__*(upstream Go binary) tomcp__forge__*(our forge-neutral wrapper) and removes the upstream binary +patches/directory from the image.Test plan
git grep mcp__forgejo__under/skills/returns zero hitsbun x turbo run typecheckcleanbun x @biomejs/biome check .exit 0bun x turbo run testpasses (2983 server + 51 forge-mcp tests)renderForInstanceclaude-hooks:devto confirm the Go toolchain is gone andforge-mcp --helpruns (release.yml smoke step covers this)Closes #654
- Skills: rewrite all `/skills/*.md` to call `mcp__forge__*` (rename table from spec). `git grep mcp__forgejo__` under /skills returns zero hits. - Dockerfile: drop the multi-stage `forgejo-mcp` Go builder + the `patches/` directory; the image now ships only the compiled `forge-mcp` binary at /usr/local/bin/forge-mcp. - config/mcp-builtin{,-defs}.json: rename the legacy `forgejo` entry to `forge`, switch env to FORGE_TOKEN (FORGE_FORGEJO_URL stays). - agent-env-sync.renderForInstance: optional dispatch-context arg layered on top of the static MCP env writes FORGE_TYPE / FORGE_REPO / FORGE_TOKEN (and FORGE_TOKENS for cross-forge dispatches) into `.claude.json::mcpServers.forge.env` per dispatch. - registry.ts pre-dispatch render passes the request's repo + forge + token through. - New `docs/forge-mcp.md` (env contract, tool surface, rename table, per-forge differences). Update `docs/credentials.md` (FORGE_TOKEN replaces FORGEJO_ACCESS_TOKEN), `docs/design-review.md`, `docs/runner-setup.md`, project CLAUDE.md. - release.yml smoke + justfile install recipe: forgejo-mcp → forge-mcp. Closes #654 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>Correct — Go builder stage gone, patches/ deleted, skills fully on
mcp__forge__*,renderForInstancedispatch context wired with tests for single-forge / multi-forge / boot-time cases, docs complete. CI green.7b58eadd62070b635981