Real commands. Real workflows.
A dependency-free Node.js CLI for local project checks, default-deny tool policy, webhook signature validation and execution history.
- NODE.JS 22.14+
- ES MODULES
- ZERO RUNTIME DEPS
- 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 --helpOne 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 --jsonInspect 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 NAMEEvaluate tool access
Evaluate local policy, or use guard allow, guard deny and guard policy show to maintain it.
forge hooks verify FILEValidate 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 5Inspect execution evidence
Review recent local events using a bounded --limit or machine-readable --json output.
Run checks you already maintain.
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.
Access is explicit.
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.