Skip to content

fix(cli): handle agent JSON serialization errors - #1274

Merged
yvgude merged 1 commit into
yvgude:mainfrom
cedric013:fix/1272-agent-json-errors
Jul 27, 2026
Merged

fix(cli): handle agent JSON serialization errors#1274
yvgude merged 1 commit into
yvgude:mainfrom
cedric013:fix/1272-agent-json-errors

Conversation

@cedric013

Copy link
Copy Markdown
Contributor

Summary

  • replace agent JSON serialization expects with a shared CLI error path
  • keep agent JSON output behavior while avoiding panics

Validation

  • rustfmt --check src/cli/agent_cmd.rs
  • cargo check --bin lean-ctx --message-format=short (running locally; CI will verify full branch)

Closes #1272

@yvgude
yvgude merged commit e19b615 into yvgude:main Jul 27, 2026
25 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(cli): avoid panics when rendering agent JSON

2 participants