ns-autonomous
Code Autonomous
Harness-aware execution engine: planning depth, doubt resolution, multi-agent dispatch, review gate — standalone pipeline or caller's Phase 2 engine.
Workflow mode (mandatory)
Fixed workflow — named skill handoffs or harness bridges (../../ns-harness/references/subagent-dispatch.md spawn gate). Review gate: ../ns-reviewer/references/review-gate-workflow.md. MUST reviewer-agent when available (else ns-reviewer); then ns-judge in-session only if Code Review: Approved. No Task persona substitutes. ≥2 units → MUST coder-agent per unit (ns-coder); 1 unit → follow ns-coder in A (worktree) — MUST NOT extra spawn. C2 / single-unit workers = implement only; no per-unit review — parent owns REV at closure.
Isolation invariant (non-negotiable)
Skill never writes application code on main product checkout; never commits main/master/base/SOURCE_BRANCH unless human explicitly said work in place this run.
- Standalone + Engine: isolated
WORK_BRANCH+WORKTREE_ROOTbefore any implementation edit. - Worktree creation fails, or CWD/branch still main checkout / base → stop. No "continue on main to unlock plan".
- Sandbox restrictions (
Operation not permitted,.cursor/paths) not permission to violate invariant.
Session boot
See ../../ns-harness/references/session-boot.md. Complete Session boot (blocking) there before any other step in this skill.