Output Surfaces
| Surface | Command | Write behavior |
|---|---|---|
| Scan JSON | nw scan --json or --output | stdout unless an explicit output path is provided |
| HTML report | nw report html or --input scan.json --output report.html | private default report file or explicit local HTML file |
| Report diff | nw report diff --from previous.json --to current.json | stdout only |
| Latest report | nw report latest | stdout only |
| Report history | nw report history | stdout only |
| History index | nw report index --output index.html | explicit local HTML file |
| Policy report | nw policy check --json | stdout only |
| SARIF | nw policy sarif --output nightward.sarif | explicit SARIF file or stdout with - |
| Badge JSON | nw policy badge --output badge.json | explicit badge file or stdout with - |
| Fix plan | nw fix plan --json | stdout only |
| Fix export | nw fix export --format markdown | stdout only |
| MCP server | nw mcp serve | stdio JSON-RPC only; no config writes or network listener |
| Schedule install | nw schedule install --dry-run | plan-only in v1 |
Labels used in docs:
read-only: reads local config and writes only stdout.explicit write: writes only the path requested by the user.online-capable: can invoke provider behavior that contacts a network service.plan-only: generates review material without mutating live config.future/not shipped: documented as roadmap, not a current interface.