Skip to content

feat: add summary parameter to case create#262

Merged
maximelb merged 2 commits intocli-v2from
cases-create-summary
Mar 19, 2026
Merged

feat: add summary parameter to case create#262
maximelb merged 2 commits intocli-v2from
cases-create-summary

Conversation

@maximelb
Copy link
Copy Markdown
Contributor

Summary

  • Add optional summary parameter to Cases.create_case() SDK method
  • Add --summary CLI option to limacharlie case create
  • Mirrors the ext-cases backend change that supports setting a summary at creation time, included in the created audit event metadata

Test plan

  • Unit tests pass (60/60)
  • Manual test: limacharlie case create --summary "test" creates case with summary
  • Manual test: limacharlie case create (no summary) still works

🤖 Generated with Claude Code

maximelb and others added 2 commits March 19, 2026 06:37
Mirror the ext-cases backend change that supports setting a summary
at case creation time. The summary is included in the 'created'
audit event metadata for D&R rules and webhooks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The existing CLI tests asserted create_case was called without the
summary kwarg, but the CLI now always passes summary=. Fix all 4
existing assertions and add a test for --summary.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@maximelb maximelb requested a review from dzimine-lc March 19, 2026 13:41
@maximelb maximelb marked this pull request as ready for review March 19, 2026 13:41
@maximelb maximelb merged commit 605eff4 into cli-v2 Mar 19, 2026
1 check passed
@maximelb maximelb deleted the cases-create-summary branch March 19, 2026 14:15
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