NVST uses one opinionated development loop:
Define/Refine/Approve Requirement → Create Prototype → Audit Prototype → Refactor Prototype → Approve Prototype
The loop is executed with these commands, in order:
bun nvst define requirement --agent <provider>bun nvst refine requirement --agent <provider> [--challenge](optional, repeatable)bun nvst approve requirementbun nvst create prototype --agent <provider> [--iterations <N>] [--retry-on-fail <N>] [--stop-on-critical]bun nvst audit prototype --agent <provider>bun nvst refactor prototype --agent <provider>bun nvst approve prototype
flowchart LR
A[define requirement] --> B[refine requirement optional]
B --> C[approve requirement]
C --> D[create prototype]
D --> E[audit prototype]
E --> F[refactor prototype]
F --> G[approve prototype]
Public CLI command groups relevant to the workflow are:
define requirementrefine requirementapprove requirementcreate prototypeaudit prototyperefactor prototypeapprove prototype
Utility commands that are still part of the CLI:
initdestroywrite-json
bun nvst define requirement --agent codex
bun nvst refine requirement --agent codex --challenge
bun nvst approve requirement
bun nvst create prototype --agent codex --iterations 10
bun nvst audit prototype --agent codex
bun nvst refactor prototype --agent codex
bun nvst approve prototypeThis example is the canonical order for a normal iteration.