What
rafter agent init and rafter agent install-hook print progress messages to stdout, making them noisy in CI pipelines and agent automation. Add --quiet flag to suppress status messages.
Why
CI/CD scripts and AI agents that call these commands during setup don't need progress output. The --quiet flag pattern already exists on rafter agent scan and rafter scan local.
Files to change
node/src/commands/agent/init.ts — add --quiet option, suppress status output when set
node/src/commands/agent/install-hook.ts — same
- Python equivalents in
python/rafter_cli/commands/agent.py
- Add tests verifying quiet mode produces no stdout output
Behavior
--quiet: suppress all progress/success messages. Only output on error (to stderr).
- Exit codes remain unchanged (0 = success, 1 = error).
What
rafter agent initandrafter agent install-hookprint progress messages to stdout, making them noisy in CI pipelines and agent automation. Add--quietflag to suppress status messages.Why
CI/CD scripts and AI agents that call these commands during setup don't need progress output. The
--quietflag pattern already exists onrafter agent scanandrafter scan local.Files to change
node/src/commands/agent/init.ts— add--quietoption, suppress status output when setnode/src/commands/agent/install-hook.ts— samepython/rafter_cli/commands/agent.pyBehavior
--quiet: suppress all progress/success messages. Only output on error (to stderr).