Scripts and the herdr panel could not tell why an uninstall or install
failed: uninstall --json had no error field, project mode ignored --json
(printing text and still prompting), and a multi-skill or config install
in which every skill was blocked exited 0.
- uninstall --json (skills and agents, global and -p) sets "error" with
each failed name and reason; skills exit non-zero when all fail,
agents when any fails. Project mode now emits pure JSON, including on
the first run that initializes the project.
- uninstall -p agents parses its flags instead of treating --help or an
unknown flag as an agent name, and uninstall agents --json is logged.
- install exits non-zero, naming each skill and reason, when every skill
from a source or from config fails; installed or skipped skills make it
a partial success that still exits 0. Config installs show each
failure's reason, and the dashboard logs an all-failed run as an error.
- herdr asks for JSON in project scope and shows the CLI's error.