Loading...
Loading...
(NS) Autonomous execution engine — plans depth, resolves doubts from docs/specs, multi-agent work in an isolated worktree. Use for a local/pasted plan or "run this autonomously" without GitLab. Also Phase 2 under ns-execution-gitlab-issue (do not run standalone then). Not for single-step edits (ns-coder) or GitLab issues directly (ns-execution-gitlab-issue).
npx skill4agent add nextstage-brasil/skills ns-autonomous../../ns-harness/references/subagent-dispatch.md../ns-reviewer/references/review-gate-workflow.mdreviewer-agentns-reviewerC2coder-agentns-codermainmasterSOURCE_BRANCHWORK_BRANCHWORKTREE_ROOTOperation not permitted.cursor/../../ns-harness/references/session-boot.mdsession-boot.md../../ns-harness/references/code-skill-routing.mdreferences/entry-triggers.mdISSUE_URLns-execution-gitlab-issuereferences/routing.mdns-execution-gitlab-issuens-execution-gitlab-issueWORKTREE_ROOTWORK_BRANCHSOURCE_BRANCHrequirements.mdtasks/task-NNN-*.mdexecution-plan.mddocs/versions/{version_san}/references/planning-decision.mdreferences/doubt-resolution.mdcoder-agentns-coderWORKTREE_ROOTreferences/multi-agent-dispatch.md../../ns-harness/references/subagent-dispatch.mdRejectedestimate_secondsset_issue_estimate../ns-execution-gitlab-issue/references/time-tracking.mdchange_kind{version_san}docs/versions/{version_san}/.worktrees/{version_san}/work/{version_san}../../ns-harness/references/worktree-setup.md.cursor/references/standalone-pipeline.md../ns-reviewer/references/review-gate-workflow.mdreviewer-agentns-reviewerApprovedRejectedBlockedreview-gate-workflow.md{version_san}docs/context/gitlab-sync-config.mdreferences/standalone-pipeline.md| Condition | Action |
|---|---|
| Destructive doubt (Engine mode) | Return escalation event to caller — no chat pause here |
| Destructive doubt (standalone) | Stop in chat, ask, resume with the answer as context |
Worktree conflict for the same | Stop unless explicit resume |
| Abort — report path attempted; never fall back to main checkout or |
Still on | Abort — isolation missing; do not implement |
| Human explicitly said "do not create a new branch / work in place" | Only then may edit the current branch; still never invent a |
| Base branch for standalone worktree unresolved | Stop — ask once |
Review | Stop, report as blocked — do not fabricate success |
| Engine mode invoked with a GitLab origin but no worktree/branch given | Stop — this is a caller contract violation, not a doubt |
| Skill | Role |
|---|---|
| GitLab flow owner — calls this skill for Phase 2 |
| Subagent implementation via |
| Review gate via |
| Artifact layout, worktree mechanics, discovery |
| File | When |
|---|---|
| Issue vs. standalone; Engine-mode I/O and anti-cycle with |
| Priority 3 standalone entry phrases |
| Self-evaluation heuristic: single unit vs. requirements+tasks+plan |
| Self-ask, docs-first lookup, destructive criteria, escalation shape |
| DAG + disjoint-scope parallel rule, subagent prompt, checkpoint commits |
| Full non-GitLab flow: version alloc, own worktree, review loop |
senior-tech-lead-reviewerbugbotsecurity-reviewns-reviewerreviewer-agent../ns-reviewer/references/review-gate-workflow.mdns-reviewerRejected