Harness Recursive Command
Escalate complex tasks into structured recursive analysis with durable session artifacts.
Harness Recursive Command
Syntax
Invoke this command in runtimes that support markdown-backed command entrypoints,
for example /hforge-recursive followed by the investigation goal, task id, or
the specific recursive structured-analysis step you want to run.
Expected workflow
- resolve command execution through
.hforge/generated/bin/hforge(.cmd|.ps1)first, barehforgesecond, andnpx @harness-forge/clilast - run
hforge recursive capabilities --root . --jsonbefore claiming language support - run
hforge recursive runtimes --root . --jsonbefore assuming Python or PowerShell code-cell availability - use
hforge recursive provision-runtime <python|powershell> --root . --jsononly when a workspace-managed runtime alias is genuinely needed - create or inspect a session with
hforge recursive plan ... --root . --jsonorhforge recursive inspect <sessionId> --root . --json - submit typed recursive action bundles with
hforge recursive execute <sessionId> --file <bundle.json>or--stdinwhen the task fits Typed RLM - submit structured analysis with
hforge recursive run <sessionId> --file <snippet>or--stdinwhen a bounded snippet is the right tool - inspect durable results with
hforge recursive iterations <sessionId> --root . --json,hforge recursive subcalls <sessionId> --root . --json,hforge recursive cells <sessionId> --root . --json,hforge recursive promotions <sessionId> --root . --json,hforge recursive meta-ops <sessionId> --root . --json,hforge recursive score <sessionId> --root . --json, andhforge recursive replay <sessionId> --root . --json
Failure behavior
- if the current language is not supported, say so explicitly and fall back to non-recursive investigation
- do not imply recursive-native parity on partial targets; keep support claims aligned with the capability map
- treat Cursor and OpenCode recursive RLM posture as translated shared-runtime support rather than native target parity