Origin subcommand topic
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- BREAKING —
catalyst generateno longer triggers the interactive review at the end of a run, and the--no-reviewflag is removed (oclif rejects it as unknown). The closing log now points atcatalyst origin listandcatalyst origin review. - New
catalyst origintopic with six subcommands:list,diff,accept,reject,ignore,review. Each non-reviewverb takes an optional pathspec (cwd recursive when omitted; file or directory otherwise) and emits a structured--jsonsummary on demand. - The three mutating verbs (
accept,reject,ignore) are atomic and idempotent — invoking them on a path without a.originexits 0 with anoopentry, so AI agents and shell scripts can retry safely.
Why it matters
Section titled “Why it matters”The old end-of-run prompt was a hard wall for non-human consumers: CI pipelines, automation, and AI agents could not drive it, and --no-review only silenced it without giving back any tools to manage origins. Decoupling generation from review means generate always produces files; review is a separate verb you opt into. catalyst origin review keeps the interactive walk-through (with VS Code diff when code is on PATH), while the other five verbs expose the same domain operations as atomic, scriptable commands — single source of truth, identical behaviour whether driven by a human prompt or a script. Migration: drop --no-review from automation and call catalyst origin review after generate if you want the human flow. Next release is a major bump (2.0.0 → 3.0.0).