Three-layer module: find_neuropose_processes() scans the process table via psutil for running watch/serve instances; terminate_processes() SIGINTs with a configurable grace period before optional SIGKILL escalation; wipe_state() clears $data_dir/in/, out/, failed/, the .neuropose.lock file, and leftover .ingest_<uuid>/ staging dirs while preserving the container directories themselves. reset_pipeline() composes the three and refuses to wipe while any process survives termination. CLI wraps it with --yes/-y, --keep-failed, --force-kill, --grace-seconds, and --dry-run/-n. Always prints a preview before prompting; returns EXIT_USAGE=2 when survivors block the wipe. Unblocks the Mac benchmark iteration loop where partially-complete runs need to be cleared between experiments. |
||
|---|---|---|
| .. | ||
| api | ||
| architecture.md | ||
| deployment.md | ||
| development.md | ||
| getting-started.md | ||
| index.md | ||