Skip to content

Honor --json in the deprecated 'mulch update' command - #40

Merged
jayminwest merged 2 commits into
mainfrom
warren/run_vwx6x749xrf9
May 28, 2026
Merged

Honor --json in the deprecated 'mulch update' command#40
jayminwest merged 2 commits into
mainfrom
warren/run_vwx6x749xrf9

Conversation

@jayminwest

Copy link
Copy Markdown
Owner

Summary

fix(update): honor --json in deprecated 'mulch update' command

Run

  • Warren run: run_vwx6x749xrf9
  • Agent: pi
  • Cost: $0.425 (33 in / 4.5k out / 384.3k cache-r)

Seeds

  • mulch-a8cd — Honor --json in the deprecated 'mulch update' command

Commits (2)

  • 088bf69 fix(update): honor --json in deprecated 'mulch update' command
  • d796fb9 chore(warren): seeds state

Files changed

.seeds/issues.jsonl          |  2 +-
 src/commands/update.ts       |  8 +++++++-
 test/commands/update.test.ts | 18 ++++++++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)

Prompt

Show prompt
work on sd mulch-a8cd

🤖 Opened by warren run run_vwx6x749xrf9

jayminwest and others added 2 commits May 28, 2026 19:24
The deprecated 'mulch update' command previously printed a non-JSON
warning to stdout even when --json was set, breaking the JSON-output
contract every other command honors.

Now when --json is active, emit the standard error envelope
{success:false, command:'update', error:...} to stderr via
outputJsonError; otherwise keep the existing yellow warning on stdout.
Either way, exit 1.

Closes mulch-a8cd (plan pl-7a81 step 4).
@jayminwest
jayminwest enabled auto-merge (squash) May 28, 2026 19:24
@jayminwest
jayminwest merged commit 93f4569 into main May 28, 2026
2 checks passed
@jayminwest
jayminwest deleted the warren/run_vwx6x749xrf9 branch May 28, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant