Skip to content

FORGE v4.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 16:53
· 27 commits to main since this release
5992af3

FORGE Changelog

4.1.0 — Verified everywhere

FORGE 4.1 makes every claim checkable. The Guard is scored against a public benchmark, every catalog item passes a quality gate, and coding agents are ranked by FORGE Arena on tasks that are themselves verified. FORGE also installs in seconds as a native Claude Code or Codex plugin, and publishes to npm.

Install:

npm install -g forge-engineering-workbench
# or, inside Claude Code
/plugin marketplace add ansh44233/FORGE-ECC
/plugin install forge@forge
  • FORGE Arena: a public leaderboard for coding agents. It has 8 self-contained tasks (bug fix, feature, security, performance, async, parsing, time zones, Python), each with failing tests and a reference solution. npm run arena -- --agents claude,codex,gemini runs every agent on every task in a fresh repository through the verified loop, and a task counts as solved only with passing checks and a clean integrity gate. --validate (in CI) proves that every task fails as shipped and passes with its solution. A weekly workflow runs the agents that have API keys configured and proposes the leaderboard as a PR.
  • Shield self-scan 100/100: third-party actions in the release and arena workflows are pinned to commit SHAs.
  • Catalog: 72 agents, 126 skills, 42 commands. There are 23 new agents (threat modeler, privacy, auth, reliability, concurrency, query optimizer, Terraform, Kubernetes, Docker, GraphQL, LLM apps, license, cloud cost, test-gap and flaky-test hunters, PR describer, requirements analyst, codebase guide, and Angular, Svelte, Elixir and Scala reviewers) and 50 new skills, each with a ## Verify section. They cover security (threat modeling, OAuth/OIDC, RBAC, web security headers, input validation, PII), reliability (idempotency, rate limiting, SLOs, runbooks, postmortems), APIs (pagination, versioning, OpenAPI, gRPC, messaging), AI (structured outputs, vector databases, LLM cost), testing (contract, mutation, factories, mocking) and new stacks (Angular, SvelteKit, Astro, Cloudflare Workers, Python async/typing, Go concurrency, async Rust). There are also 8 new commands: /threat-model, /postmortem, /pr-describe, /onboard, /privacy-review, /cost-review, /test-gaps and /flaky-hunt.
  • Catalog quality gate: npm run catalog:lint runs in CI and fails on thin, duplicate or mis-scoped items, and on any skill without a ## Verify section, agent without an ## Output section, or untagged item. All 266 items pass: 29 older skills got Verify sections, 46 older agents got Output sections, and 34 commands got tags. The gate also caught three thin skills, which are rewritten.
  • Claude Code plugin marketplace: install FORGE without the CLI with /plugin marketplace add ansh44233/FORGE-ECC and /plugin install forge@forge. The plugin, which ships the full agent, skill and command catalog plus the Guard hooks, is generated from catalog/ by npm run plugin:build, and CI fails if it drifts.
  • Codex plugin marketplace: run codex plugin marketplace add ansh44233/FORGE-ECC and codex plugin add forge@forge to get every FORGE skill. The plugin has no hooks, so it stays eligible for the public directory.
  • Guard benchmark: npm run bench:guard scores the Guard against 122 labeled commands in bench/guard/cases.json and writes docs/benchmarks/guard.md. CI fails if the report is out of date. Result: 73/73 dangerous commands caught, 33/33 catastrophic ones blocked, and 1 of 49 safe commands wrongly stopped (published as a known gap).
  • Guard hardening (security): the benchmark found real bypasses, now fixed. rm -Rf /etc, rm -r -f /usr, rm --recursive --force /, find / -delete, find ~ -exec rm, and curl … | python3 / | node - / | perl used to be allowed. They are now blocked, and curl … | python3 -m json.tool stays allowed.
  • npm publishing: the release workflow publishes to npm with provenance through trusted publishing (GitHub OIDC), so no npm token is stored. See docs/RELEASING.md.
  • Sponsor program: added SPONSORING.md (tiers and rules for sponsors), SPONSORS.md and a GitHub Sponsors button.

4.0.0 — Guard everywhere

In FORGE 3.0, the runtime layer (Guard, the verification gate, the prompt secret guard, session memory and handoffs) ran only inside Claude Code. FORGE 4.0 runs the same policy natively in Cursor, Codex and Gemini CLI. One rule set and one log now cover four agents. Previously the other tools got instructions and no enforcement.

4.0 also adds:

  • forge race: agents compete on your task in isolated worktrees, and your checks pick the winner.
  • forge mcp: one pinned MCP config written for seven harnesses.
  • forge context: measures what each tool loads before the first prompt.
  • forge consult: finds the right components for a task.
  • A larger catalog: 49 agents, 76 skills, 34 commands and 26 rules.

Install:

npm install -g https://github.com/ansh44233/FORGE-ECC/releases/download/v4.0.0/forge-engineering-workbench-4.0.0.tgz
forge install . --hooks

Upgrading from 3.x

  • Nothing breaks. Rerun forge install --hooks to add native hooks for the Cursor, Codex and Gemini targets you already install. Claude Code hooks are unchanged.
  • .forge/install-state.json gains an optional nativeHooks list. Older FORGE versions ignore it, and forge uninstall removes only FORGE's entries.
  • Codex asks you to trust project hooks the first time. Run /hooks in Codex and approve the FORGE entries.
  • Approval prompts: Codex, Gemini and Cursor's beforeReadFile cannot pause for approval. Where Claude Code would ask, FORGE blocks the action there and tells the agent to get your explicit approval. Use allow patterns in .forge/harness-hooks.json for commands you trust.

Added

  • Native hook adapters (forge hook --harness cursor|codex|gemini <event>):
    • Cursor: writes .cursor/hooks.json with beforeShellExecution, beforeReadFile, afterFileEdit, beforeSubmitPrompt, stop and sessionStart.
    • Codex: writes .codex/hooks.json. Guard covers Bash and every file in an apply_patch, and adds the prompt guard, the Stop verification gate, session memory, and pre-compact and session-end handoffs.
    • Gemini CLI: merges into .gemini/settings.json with BeforeTool, AfterTool, BeforeAgent, AfterAgent, SessionStart, PreCompress and SessionEnd.
    • Every adapter translates the native payload, runs the same handler Claude Code uses, and answers in that tool's schema. Cursor permission hooks always get valid JSON, so a FORGE failure never locks the editor.
  • forge guard:
    • check "CMD" or check --file PATH [--write] dry-runs Guard with the project's own rules. It exits with code 2 on deny, so you can test policy in CI.
    • log shows interventions by harness and rule.
    • status shows which harnesses have Guard running.
  • Guard log per harness: every block records which agent attempted it. Blocked prompts that contain credentials are logged as GUARD-PROMPT-SECRET, with the secret left out.
  • Shield now scans native hook configs. Commands in .cursor/hooks.json, .codex/hooks.json and .gemini/settings.json get the same checks as Claude Code hooks: remote code execution, network calls, credential reads, catch-all matchers and unpinned packages. The GitHub App reviews pull requests that touch these files.
  • Control Center: the Harnesses tab shows a "guarded" badge per tool. It also offers the install command when a tool that supports hooks is installed without them. The repository header shows how many harnesses are guarded.
  • The capability manifest lists hooks as native for Claude Code, Cursor, Codex and Gemini CLI.
  • forge race:
    • Runs the same goal and checks for several agents (--agents claude,codex,gemini,opencode or --contestant name="cmd") in parallel, each in its own detached git worktree, through the verified loop.
    • Ranks them with FORGE's own checks and the integrity gate.
    • pick applies the winner with a 3-way merge, and clean removes the worktrees.
    • Receipts are kept in .forge/races/.
  • forge mcp:
    • catalog lists 12 curated servers with pinned packages.
    • add, sync, list and remove write Claude Code, Cursor, Codex (TOML managed block), Gemini CLI, Copilot, OpenCode and Kiro configs, each with its own env reference syntax.
    • Literal secrets and plain-HTTP remotes are refused. User-owned entries are kept, and .forge/mcp-state.json tracks what FORGE wrote.
  • forge context:
    • Estimates, per harness, what loads before the first prompt: instructions and @imports, always-on rules, skill, agent and command indexes, and MCP servers.
    • Reports findings with savings, and --max works as a CI gate (exit code 4).
  • forge consult "TASK":
    • A deterministic, stack-aware advisor over the catalog and MCP servers.
    • forge install --with kind:id and --without manage the extra items, which persist across reinstalls.
  • Catalog:
    • 25 new skills: MCP server development, agent workflow design, RAG, LLM evals, Redis, MongoDB, payments, realtime, web performance, i18n, secrets, Actions hardening, supply chain, load testing, flaky tests, property-based testing, strategic compaction, git worktrees, Vue/Nuxt, Flutter, React Native, Kotlin Android, AWS serverless, data pipelines and ML training.
    • 8 new agents.
    • Kotlin, Dart and Vue rules, with stack detection for each.
    • New commands: /race, /consult, /context-budget, /mcp-sync and /guard.
  • forge status: one screen for install health, where Guard is live, the context budget, MCP coverage, and the latest loop and race, with the next commands to run.
  • Control Center: a Context tab (budget per harness with findings) and an MCP server × harness matrix in the Harnesses tab.

Changed

  • The managed instruction block is a lean index with short "when to use" lines. A full-profile AGENTS.md drops from about 4.8k to about 2.6k tokens.

3.0.0 — Learn, loop and prove

FORGE 3.0 adds learning, unattended agent loops and a readiness score, and checks every result itself. The agent's word that it is done is never enough:

  • 10 harnesses with one install.
  • 60 Shield rules.
  • A readiness scorecard.
  • Instincts that need your approval before an agent uses them.
  • Cost tracking and a status line.
  • A verified loop that will not count a pass when the agent deleted or skipped tests.

Install:

npm install -g https://github.com/ansh44233/FORGE-ECC/releases/download/v3.0.0/forge-engineering-workbench-3.0.0.tgz

Upgrading from 2.x

  • Nothing breaks. The default install targets are the same five as in 2.x, and .forge/install-state.json is migrated from schema 1 to 2 automatically.
  • To add the new hooks (prompt secret guard, pre-compact and session-end handoffs, cost tracking), run forge install --hooks again. Add --statusline for the status line.
  • Shield has many more rules, so existing repos may show new findings. forge shield --fail-on high in CI only fails on high and critical findings.
  • forge loop needs the agent CLI you choose (claude, codex, gemini or opencode) on your PATH.

Added

  • Five new harness targets: GitHub Copilot, Windsurf, Kiro, Cline and Zed, each in its own native format and listed in the capability manifest. The five original targets stay the default. A new target is added automatically when the project already uses that tool. Use --target default|all|LIST to choose.
  • forge scorecard (alias harness-audit): deterministic 0–10 readiness score across nine categories. Each point cites its evidence, the output lists top actions, and --min works as a CI gate. It can also print JSON or Markdown.
  • Instincts and forge evolve: learns habits from git co-change history, commit conventions, Guard denials and verification failures. Learned and imported instincts stay candidates until a person promotes them. Includes promote, reject, export and import. forge evolve compiles active instincts into a forge-learned skill, and active instincts are injected at session start.
  • Lifecycle hooks:
    • prompt-submit blocks pasted live credentials.
    • pre-compact and session-end save automatic handoffs.
    • stop and session-end record token usage.
  • Guard rules:
    • Blocks --no-verify.
    • Asks before git hooks are bypassed and before agents edit lint, format or type-check configs.
    • Supports validated project-specific rules in .forge/harness-hooks.json.
  • forge cost: exact token usage per session, model and day, with labelled USD estimates and per-project rates.
  • forge statusline and forge install --statusline. FORGE never replaces your own status line.
  • forge loop, a verified agent loop:
    • Runs Claude Code, Codex, Gemini, OpenCode or any command until checks that FORGE runs itself pass.
    • Records a baseline, feeds failures back into the next iteration, and keeps a receipt for every iteration.
    • Stops when the agent stalls.
    • Integrity gate: stops with needs-review when the agent deletes or skips tests or changes test, lint or type configs, package scripts or CI, even if the checks went green.
  • Shield now has 60 rules (up from 23):
    • Covers Codex, Gemini, VS Code/Copilot, Windsurf, Kiro, Cline, Zed and Roo config.
    • New critical rule: AI-agent GitHub workflows that anyone can trigger from an issue or comment.
    • New checks for dangerous pre-approved command families, subagent permission bypass, hook persistence and credential reads.
    • New MCP checks: container escapes, tunnels, credentials in URLs, and shadowed servers.
    • New secret checks: connection strings, webhooks, and .env files not ignored by git.
    • Two false positives found by scanning real-world harness repos are fixed.
    • The GitHub App scans the new locations too.
  • 51 skills (up from 26), matched to your stack.
    • 25 new skills:
      • Language and framework: TypeScript strict mode, Next.js App Router, React, Node.js APIs, Python tooling, FastAPI, Django, Go, Rust, Spring Boot, Rails, Laravel, .NET and SwiftUI.
      • Cross-stack: PostgreSQL, Kubernetes, Terraform, GraphQL, authentication and sessions, caching, LLM apps, ADRs, codebase onboarding, feature flags and background jobs.
    • The new languages: frontmatter field means a stack skill is installed only when that stack is detected, or with --profile full. A Python repo gets the Django skill, not the Spring one.
  • Catalog commands: /scorecard, /instincts, /evolve, /cost, /loop.
  • Transactional installer with a recovery journal, versioned install state with v1 migration, and the harness capability manifest (forge harnesses).

2.0.1 — Install and stability fixes

Fixed

  • Installing a release no longer builds on your machine. Install the prebuilt package attached to the GitHub release:
    npm install -g https://github.com/ansh44233/FORGE-ECC/releases/download/v2.0.1/forge-engineering-workbench-2.0.1.tgz
    Installing from a Git ref ran the TypeScript build during npm install -g and failed on some systems. README, docs, the landing page and the GitHub Action (for version tags) now use the release package.
  • GitHub App private key parsing. GITHUB_APP_PRIVATE_KEY is accepted with real newlines, literal \n, CRLF, surrounding quotes, newlines turned into spaces, or base64, and a clear error is shown when it still cannot be read. /api/github/health?check=key reports the key's shape without exposing it.
  • CLI pipes. forge catalog | head and similar pipes exit cleanly instead of crashing with EPIPE.

Changed

  • Landing page redesign with the FORGE icon set, and new README screenshots.

2.0.0 — The verified agent harness

FORGE 2.0 turns the workbench into a harness layer for the AI coding tools you already use — and keeps FORGE's evidence-first approach: install, guard, verify and prove.

Install into every harness

  • forge install renders FORGE agents, skills, slash commands and coding rules into Claude Code, Cursor, Codex, OpenCode and Gemini native formats, with minimal, standard and full profiles and automatic language detection (TypeScript/Node, React, Python, Go, Rust, Java/Kotlin, C#, PHP, Ruby, Swift).
  • Every written file is hashed in .forge/install-state.json; FORGE never overwrites files it did not write or that you edited (unless --force), only edits its own managed block in AGENTS.md/GEMINI.md, and refuses to write through symlinks.
  • forge doctor, forge repair, forge uninstall (restores the original project) and forge catalog.
  • Catalog: 41 agents, 26 skills, 24 commands and 23 rules, each validated in CI.

FORGE Shield

  • forge shield scores agent configuration 0–100: Claude Code permissions and hooks, MCP servers (Claude, Cursor, VS Code, Gemini, OpenCode), hidden prompt injection (invisible Unicode, override phrases, hidden comments), secrets and CI workflow risks.
  • JSON, Markdown and SARIF 2.1.0 output, --fail-on CI gate, safe --fix; defensive guidance that quotes attack phrases is not flagged.
  • GitHub Action operation: shield; FORGE's own CI self-scans.

Runtime hooks and memory

  • forge install --hooks adds Claude Code hooks: FORGE Guard (denies catastrophic commands, asks before force-push, history discard, destructive SQL, publish/deploy, sudo, secret access and agent-config edits), a Shield check when agents edit their own configuration, an optional verification gate on Stop, and session-start memory injection.
  • Layered memory (project + global) with provenance, credential rejection, relevance + recency search, handoffs; MCP tools forge_memory_search, forge_memory_add, forge_shield_scan.

GitHub App and hosted dashboard

  • Comment /forge analyze to get a setup pull request with FORGE files and a generated repository-specific forge-project skill (real verify commands, conventions, commit style). Also /forge repair, audit, doctor, risk, help.
  • Every pull request gets a FORGE check run with an explainable change-risk score and Shield annotations.
  • Hosted dashboard at /app/: Shield scores, setup health, PR risk, stack, activity and one-click setup PRs for repositories you can access.
  • forge analyze --write generates the project skill locally.

Upgrade notes

  • The GitHub App needs Contents, Pull requests, Issues and Checks read & write, plus Issue comment and Pull request events. Sign in to the dashboard again after upgrading.
  • forge memory context --query no longer mistakes the query for a project path.
  • All 1.0 commands keep working unchanged.

1.0.0 — First major release

FORGE 1.0.0 brings the independent FORGE engineering workbench together as a versioned, installable product. It is designed to provide a local-first alternative for teams and developers who want codebase intelligence, agent orchestration, reviewable workflows, and measurable verification.

Product experience

  • Local engineering dashboard with project overview, health snapshots, architecture and dependency graphs, run history, task inspection, approvals, traces, reviews, verification history, and benchmark/evaluation views.
  • Workspace explorer and code search for inspecting project files and symbols.
  • Agent Configuration Studio for custom agent and skill Markdown, snapshots, and benchmark-gated configuration promotion.
  • Visual workflow editor for reusable specialist-agent pipelines and draft run creation.
  • Provider readiness and diagnostics views that avoid exposing credential values.

Engineering capabilities

  • Project inspection, architecture mapping, dependency intelligence, engineering-risk analysis, change intelligence, and quality auditing.
  • Specialist-agent orchestration with saved runs, incremental task settlement, approval gates, replay/retry, and resume recovery.
  • Project memory, workspace skills, declarative hooks, permission policies, and bounded read-only workspace tools.
  • Review history, dry-run patch validation, explicit patch approval records, and staged promotion APIs.
  • Verification history, evaluation suites, benchmark matrices, regression comparisons, and experiment manifests.
  • MCP server and CLI workflows for local engineering automation.

Install and launch

npm install -g forge-engineering-workbench
forge --version
forge init ./my-project
forge dashboard ./my-project

The dashboard binds to localhost by default. Open the URL printed in the terminal.

Important V1 boundaries

  • The public Vercel website is a static product site. The live dashboard runs locally against a workspace selected on the user's machine; it is not a hosted multi-user dashboard.
  • Provider-backed runs require the user's own supported provider configuration and credentials. No provider connection or API spend is included by this release.
  • Native model tool-calling is currently limited to bounded read-only workspace tools for the OpenAI-compatible provider. Other documented providers remain proposal-only in the normal run path.
  • MCP workspace tools are read-only. Patch validation is a dry run; patch promotion is a separately reviewed library API, not an automatic agent action.
  • Local script verification executes project-controlled code on the host. Docker verification is opt-in and depends on the host runtime. Do not treat local execution or heuristic risk scores as a security guarantee.
  • Rootless Docker, live provider end-to-end validation, and hosted multi-user operation are not claimed as verified V1 capabilities.

This release establishes the FORGE product foundation. Future releases can expand integrations and hosted operation without weakening the local-first permission and approval model.

What's Changed

  • docs: README for 4.0, with a highlights grid, a 60-second quick start… by @ansh44233 in #42
  • Hero video by @ansh44233 in #43
  • fix(site): nav switches to the menu below 1120px instead of wrapping by @ansh44233 in #44
  • docs: fix README release badge by @ansh44233 in #45
  • feat: Claude Code + Codex plugins, Guard benchmark, Guard hardening, sponsor program by @ansh44233 in #47
  • feat: catalog to 72 agents, 126 skills, 42 commands + quality gate by @ansh44233 in #48
  • feat: 100% verified catalog — house style enforced (0 warnings) by @ansh44233 in #49
  • feat: FORGE Arena — verified coding-agent leaderboard by @ansh44233 in #50
  • ci: npm trusted publishing (no stored token) by @ansh44233 in #51
  • release: v4.1.0 — Verified everywhere by @ansh44233 in #52

Full Changelog: v4.0.0...v4.1.0