FORGE logo
The FORGE CLI / 02

Real commands. Real workflows.

A dependency-free Node.js CLI for local project checks, default-deny tool policy, webhook signature validation and execution history.

Install from source

Try the current CLI.

The npm package is configured, but the public registry release is pending publisher credentials and the first release run.

git clone https://github.com/NetCore-Technologies/FORGE.git
cd FORGE
npm install
npm link
forge --help
Command reference

One CLI. Seven workflows.

forge init [directory]

Initialise a workspace

Creates the local config, default-deny policy and event log. Existing configuration is protected unless --force is passed.

forge doctor --json

Inspect the environment

Checks Node.js compatibility, Git availability, project manifests and local configuration and policy validity.

forge inspect .

Audit repository readiness

Audits open-source repository readiness without executing project scripts or making network calls.

forge verify .

Run project checks

Runs available lint, typecheck, test and build scripts with the detected npm, pnpm, Yarn or Bun manager. It does not install dependencies.

forge guard check --tool NAME

Evaluate tool access

Evaluate local policy, or use guard allow, guard deny and guard policy show to maintain it.

forge hooks verify FILE

Validate webhook HMAC

Checks raw payload bytes against a SHA-256 signature using an environment-provided secret. Payloads are limited to 5 MiB.

forge trace list --limit 5

Inspect execution evidence

Review recent local events using a bounded --limit or machine-readable --json output.

Example / verify

Run checks you already maintain.

example output · forge verify
forge verify .→ npm run lint→ npm run typecheck→ npm run test→ npm run build✓ Verification passed · 4/4 checks passedforge trace list --limit 5

Verification executes scripts defined in the project’s package.json. Inspect these scripts before running.

It does not invent missing checks or claim to run a security scanner.

Example / guard

Access is explicit.

example · forge guard
forge initforge guard check --tool filesystem.read# denied by defaultforge guard allow filesystem.readforge guard check --tool filesystem.read# allowedforge guard deny filesystem.readforge guard check --tool filesystem.read# denied; explicit deny wins

The guard command is a policy decision evaluator. It does not yet intercept agent tool calls, sandbox processes or enforce operating-system permissions.