hevn — Fix List for CLI Authors
Generated: 2026-06-01 CLI version: hevn-cli 0.1.0 Scope: critical
Priority Fixes
- Add
--versionand a stable health check. -
hevn --versionshould exit 0 and printhevn-cli 0.1.0or equivalent parseable text. -
Ship a machine-readable manifest.
-
Add
hevn --schemawith commands, flags, output modes, possible exit codes, required credentials/scopes, interactivity, destructive behavior, and max output contracts. -
Make JSON an invariant for agent mode.
- Prefer a global
--output jsonor auto-enable structured output whenCI=true. - Use a consistent envelope:
ok,data,error,warnings,meta. -
Include
exit_codein error bodies. -
Fix headless auth behavior.
hevn login --jsonshould either return an auth URL plus structured wait metadata or fail immediately in non-TTY withAUTH_REQUIREDandauth_methods.-
Avoid
webbrowser.open()unless stdout/stdin indicate an interactive human session or the user explicitly requests it. -
Package the agent skill resource.
-
Include
hevn_cli/res/CLAUDE.mdin the wheel or remove theagent-skillcommand until it works. -
Add non-interactive prompt contracts.
- Convert stdin/prompt failures into structured
STDIN_REQUIREDorINTERACTIVE_REQUIREDerrors with hints. -
Add a global
--non-interactiveor--no-inputflag. -
Add mutation safety contracts.
- Add
--dry-run,effect,danger_level, and full idempotency coverage for mutating commands.
Passing Areas
- No REPL/shell subcommand was exposed.
- No editor-requiring command was found.
Remaining Critical Gaps
Failing checks: §43, §45, §53, §60, §64, §13, §25, §74.
Partial checks: §34, §42, §50, §61, §71, §10, §11, §12, §23, §24, §1, §2.