
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@harness-forge/cli
Advanced tools
Harness Forge: modular agentic AI workspace installer, catalog, and workflow runtime.
Your AI coding agent is only as good as its harness.
One command to scan, equip, and continuously improve any AI coding agent in your repository.
π Get Started β’ π Living Loop β’ π‘οΈ Sentinel (preview) β’ π· Double Diamond β’ π Dashboard β’ π§ Decisions β’ β¨οΈ Commands β’ π‘ Scenarios β’ π― Targets β’ β FAQ
π Scans & EquipsYour AI agent gets your repo's languages, frameworks, and patterns from the first prompt |
π Self-ImprovesA closed feedback loop learns what works, tunes itself, and gets smarter every session |
π Full VisibilityReal-time dashboard shows every decision, token spend, and compaction β no black boxes |
| Without Harness Forge | With Harness Forge | |
|---|---|---|
| π§ Context | Agent guesses at project structure | Agent knows your languages, frameworks, boundaries |
| β‘ Performance | Starts fresh every session | Self-improves over time via the Living Loop |
| π Visibility | Black box β no idea what the agent decided | Real-time dashboard with 20 live panels |
| π§ Decisions | ADRs get buried or forgotten | Chronological decision timeline with stale-decision checks |
| π§© Complex tasks | Agent wanders or over-delegates without clear thresholds | Automatic complex-task protocol keeps simple work light, bounds sidecars, verifies results, and captures durable learning |
| π° Cost | Wasted tokens on retries and wrong paths | Compaction + auto-tuning saves 20-40% |
| π€ Portability | Stuck on one machine, one setup | Export & import learned patterns as .hfb bundles |
Most tools configure once and forget. Harness Forge keeps learning.
ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ
β π β β π§ β β β‘ β β π€ β β π₯ β
β OBSERVE βββββΆβ LEARN βββββΆβ ADAPT βββββΆβ SHARE βββββΆβ IMPORT β
β β β β β β β β β β
β Tracks β β Finds β β Auto- β β Export β β Bootstrapβ
β sessions β β patterns β β tunes β β bundles β β anywhere β
ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ ββββββββββββ
β² β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
π Day 1 β You install
Scans your repo. Installs skills, rules, knowledge packs. Default settings. Everything works out of the box. |
π Day 3 β After ~10 sessions
|
π Day 5 β Share with your team
|
π Ongoing β Dashboard shows it all
Loop health ring, effectiveness scores, pattern list, tuning log β live in your browser. |
The more you use it, the better it gets. After ~10 sessions, Harness Forge has learned your repo's patterns and tuned itself for optimal performance. No manual configuration needed.
hforge dashboardβ see everything, live in your browser.
π Loop RingLive status of each loop stage with health score |
π EffectivenessSession score trend β are things getting better? |
π§ InsightsDiscovered patterns with confidence bars |
β‘ Tuning LogPolicy changes with one-click revert |
| Panel | What it shows |
|---|---|
| π’ KPI Cards | Total events, tokens, enforcement level, budget gauge |
| π Event Timeline | Scatter plot of all events over time, color-coded by category |
| πΎ Memory Pressure | Token usage line chart with threshold marklines |
| π Budget Breakdown | Donut chart of budget allocation (hot-path, output, tools, safety) |
| π Live Event Feed | Searchable, expandable table of every harness decision |
| π€ Subagent Briefs | Delegated tasks, their context, and outcomes |
| π Brief Metrics | Subagent activity summary and success rates |
| π Suppression Gauge | How many duplicate context items were removed |
| πͺ Expansion Gate | History access requests β granted vs denied |
| βοΈ Config Editor | Edit memory-policy, context-budget, load-order live |
| π Loop Health Ring | Self-improvement cycle status with stage counts |
| π Effectiveness Trend | Session score sparkline (last 20 sessions) |
| π§ Insights Panel | Discovered patterns with confidence and "NEW" badges |
| β‘ Tuning Log | Policy changes with before/after and revert button |
| π Event Distribution | Bar chart of top event types |
| β±οΈ Event Rate | Events per minute over time |
| πΊοΈ Event Heatmap | Category Γ time heatmap |
| π° Tokens Saved | Running counter of tokens saved by compaction |
| π Profile Distribution | Output profile selection breakdown |
| βΉοΈ Session Info | Session ID, uptime, version, connection status |
π Desktop notifications for critical events β budget exceeded, memory rotation, tuning applied, pattern discovered.
π’ Multi-project support β switch between projects in one dashboard. Your project list is saved in the browser.
Sentinel watches your project for you. It notices when key files change, when the build is wrong, or when an AI agent gets stuck β and writes it down. It never spends AI tokens on its own (default daily budget is 0), and it never changes anything without your approval.
ββββββββββββ ββββββββββββββββ ββββββββββββ ββββββββββββββββ ββββββββββββ
β ποΈ WATCH ββββΆβ π OBSERVE ββββΆβ π¦ SIGNAL ββββΆβ β APPROVE ββββΆβ π§ ACT β
β drift / β β dedup + log β β classify β β authority β β sandbox β
β deps / β β by severity β β + route β β A0..A5 chain β β worktree β
β ADR mons β β β β β β + denylist β β +rollbackβ
ββββββββββββ ββββββββββββββββ ββββββββββββ ββββββββββββββββ ββββββββββββ
β² β
βββββββββββββββ side-effect ledger Β· panic-stop βββββββββββββββββββββ
ποΈ Watches deterministicallyRepo / dependency / ADR-drift monitors β 0 LLM tokens by default, fully offline |
β Never acts unaskedTamper-evident SHA-256 approval chain, denied paths & commands, instant panic-stop |
π§ Reversible by designApproved actions run in isolated git worktrees with a full side-effect ledger |
hforge monitor init-defaults # one-time setup
hforge monitor once # run all watchers one tick
hforge observe # see what changed
hforge monitor status # check the cost meter
package.json, lockfile, tsconfig.json, or your harness manifest changecadence.yaml and budget.yaml cap how often watchers run and how much they may spendmaxMonitorRunsPerHour blocks new ticks once exhausteddefault plus named rules (e.g. manifest_changed: warning)fingerprints.json, ledgers){pid, startedAt, hostname, workspaceRoot}, foreign-host detection, stale-PID recoverypanicStop: true and Sentinel halts immediatelyhforge signals groups observations into prioritized signals with category routing (maintenance, agent-health, regression, etc.)hforge signals suppress <id> --until 7d, --forever, resolvehforge actions shows proposed plans with risk + verification + rollback declaredrefresh-harness-runtime (drift signal β hforge refresh action plan)hforge autonomy status | policy | explain | set-profile | set-level | panic-stophforge actions approve <id> --authority A3 --expires 2h writes a SHA-256-chained record; tamper detected on next read.env, **/secrets/**, npm publish, git push --force, β¦).hforge/runtime/actions/runs/<id>/worktree/child_process.spawn({shell: false}), AbortController timeouts, POSIX process-group + Windows taskkill /F /T killtreeHOME/USERPROFILE redirected, only PATH + small allowlist passed through; secrets never leakcommand, file_exists, no_diff_outside, schema_valid); agent_review correctly skipped while LLM budget=0actions diff/logs/rollback for forensic review and reversalactions rollback delete_worktree removes the worktree and flips status to revertedhforge world watch add npm:<pkg> / runtime:nodejs:lts + hforge world sync fetches real npm + Node.js Release schedule with ETag cachingpackage.json drops events for unused packages and downgrades borderline ones to infonone / package-registry-only / github-only / allowlist) β no surprise outbound callshforge monitor run schedules each watcher on its own interval with jitter, polls panic-stop, exits cleanly on Ctrl+C / hforge monitor stopfailed on the next bootautonomy panic-stop on halts the daemon AND aborts every in-flight executor within one tickhforge dashboard now serves the full Sentinel section: Status, World Feed, Signals, Approval Inbox, Action Queue, Verification Results, Autonomy Posture, Agent Watchdog, Side-Effect Ledger β backed by REST endpoints with a 5s page-visibility-gated React pollobserve β warn β constrain β pause β require_approval β terminate β rollback), hforge watchdog status / events / pause / resume / explain CLI, persisted intervention ledgervalidate:sentinel runtime gate wired into validate:runtime-gates (now 7 gates) β Zod-validates default monitor + policy YAMLs and scans for inline comments across all sentinel pathspackage.json + node_modules + the world-monitor cache, fully offlinedocs/adrs/, docs/adr/, and .hforge/runtime/decisions/; emits a signal when an ADR references files that no longer exist, escalates to warning when 3+ refs are brokeninvoke_agent, write_file, apply_patch, open_pr), GitHub releases + advisories adapter, CI Failure Monitor (needs the GitHub adapter), click-to-approve UIπ New here? Read docs/sentinel/README.md and docs/sentinel/getting-started.md β both written in plain English with no jargon.
Most agents code the first idea they have. Double Diamond makes your agent explore the problem before committing and compare options before delivering β with just enough structure, never ceremony.
DISCOVER DEVELOP
β β
β± β² β± β²
β± β² defined β± β² shipped
βββββββΆ βββββββββββββββββββΆ ββββββββΆ
request β² β± problem β² β± change
β² β± β² β±
β β
DEFINE DELIVER
βββββ PROBLEM SPACE ββββ ββββ SOLUTION SPACE ββββ
diverge β converge diverge β converge
π·
|
π
|
Β
Lite keeps small changes one-liner-light Β· Standard is the default for real features Β· Deep adds option matrices and human checkpoints for risky, ambiguous, or architecture-significant work. Host-agnostic and honest about parity: native slash skill in Claude Code,
/skillsor$skillin Codex β no overstated capabilities.
hforge review --root . --jsonβ see what your team decided, when it changed, and what needs attention.
AI work moves fast. The hard part is remembering why the team chose a path three weeks later. Harness Forge now turns ASR and ADR records into a simple timeline:
π What happened?Decisions are sorted by creation time, so the newest architecture choices are easy to find. |
π What changed?Superseded ADRs point to the newer decision, so old notes do not fight new direction. |
π¦ What needs review?Stale proposals, broken links, and missing decision coverage show up in review output. |
# Review decision health, lineage, and architecture coverage
hforge review --root . --json
# Generate a readable decision log for handoff or onboarding
hforge runtime decision-log --root . --json
In plain words: if a task is architecture-significant, Harness Forge helps the team answer:
That makes ADRs useful day to day, not just documents people write once and forget.
The CLI walks you through:
Then make
|
One-liner for CI / scripts:
Verify everything is healthy:
|
Commands organized by when you use them β not alphabetically.
| Command | What it does | |
|---|---|---|
| π§ | /hforge-init | Ask the agent to read the compact Harness Forge brief and orient itself |
| π‘ | hforge next | Recommends the single most useful action right now |
| π₯ | hforge doctor | Full health check with evidence |
| π | hforge refresh | Regenerate runtime after code changes |
| π | hforge status | Review what's installed |
| Command | What it does | |
|---|---|---|
| π | hforge dashboard | Open the real-time browser dashboard |
| π§ | hforge review --root . --json | Check decision health, lineage, and coverage |
| π | hforge runtime decision-log --root . --json | Generate a readable decision timeline |
| π | hforge score | Show recent session effectiveness scores |
| π§ | hforge insights | Browse learned patterns with confidence |
| β‘ | hforge adapt | View/manage auto-tunings |
| π | hforge trace | View recent session traces |
| π | hforge loop | Living Loop health summary |
| Command | What it does | |
|---|---|---|
| π¦ | hforge export --bundle team.hfb | Export tuned harness as portable bundle |
| π₯ | hforge import team.hfb | Bootstrap from a shared bundle |
| π§ | hforge update | Update harness to latest version in place |
| π¬ | hforge audit | Verify install integrity |
| π | hforge diff-install | Check what drifted since last install |
| π§Ή | hforge prune | Clean up unused artifacts |
| Command | What it does | |
|---|---|---|
| πΊοΈ | hforge cartograph | Map repo structure and boundaries |
| π | hforge recommend | Evidence-backed setup recommendations |
| 𧬠| hforge recursive plan "..." | Structured recursive analysis for hard problems |
| π― | hforge target compare codex claude-code | Side-by-side target comparison |
π "Just cloned a repo, want AI help"
|
π€ "I use both Codex and Claude Code"
Both agents share |
π "Coming back to a project after a break"
|
π₯ "Standardize AI setup across my team"
|
|
Use both together β they share the same
|
TypeScript, Python, Java, Go, Kotlin, Rust, C++, .NET, PHP, Perl, Swift, Shell, Lua, PowerShell
React, Next.js, Vite, Express, FastAPI, Django, ASP.NET Core, Spring Boot, Laravel, Symfony, Gin, Ktor
Language engineering, workflow orchestration, operational helpers, and specialized skills like incident triage, dependency upgrades, API contract review, database migration review, release readiness, and token-budget-optimizer for context-aware compaction.
Your Repo
β
βββ AGENTS.md β AI agents read this first
βββ .agents/skills/ β Discoverable skills
βββ .codex/ or .claude/ β Target-specific config
βββ .hforge/ β Hidden canonical runtime
βββ library/ β Skills, rules, knowledge packs
βββ runtime/ β State, indexes, traces, insights
βββ generated/ β Command catalog, launchers
βββ templates/ β Workflow templates
Visible bridges where AI agents need discovery. Hidden canonical layer where runtime content stays authoritative.
No. npx @harness-forge/cli runs directly. For the shorter hforge command, run hforge shell setup --yes once.
Never. Harness Forge only creates its own files (AGENTS.md, .agents/, .hforge/, .codex/, .claude/). Your application code is untouched.
Yes. Add --yes for non-interactive and --json for machine-readable output:
hforge init --root . --agent codex --setup-profile recommended --yes
hforge doctor --root . --json
Delete: .hforge/, .agents/, .codex/, .claude/, AGENTS.md. Your project is back to normal.
No. Everything stays local under .hforge/. Nothing is ever sent to the internet. Inspect, delete, or back up anytime.
Node.js 22 or newer. Check with node --version.
See CONTRIBUTING.md for development setup and guidelines.
Harness Forge was inspired by github/spec-kit. Credit to the GitHub team for shaping cleaner workflow models.
GPL-3.0 β see LICENSE.
Your AI agent deserves a better harness.
npx @harness-forge/cli
FAQs
Harness Forge: modular agentic AI workspace installer, catalog, and workflow runtime.
We found that @harness-forge/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.